Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TraceBlock

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TraceBlock

Returns a new instance of GoogleCloudDialogflowCxV3beta1TraceBlock.



13294
13295
13296
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13294

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#actionsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Action>

Corresponds to the JSON property actions



13252
13253
13254
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13252

def actions
  @actions
end

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


13257
13258
13259
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13257

def complete_time
  @complete_time
end

#end_stateString

Corresponds to the JSON property endState

Returns:

  • (String)


13262
13263
13264
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13262

def end_state
  @end_state
end

#flow_trace_metadataGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowTraceMetadata

Corresponds to the JSON property flowTraceMetadata



13267
13268
13269
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13267

def 
  @flow_trace_metadata
end

#input_parametersHash<String,Object>

Corresponds to the JSON property inputParameters

Returns:

  • (Hash<String,Object>)


13272
13273
13274
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13272

def input_parameters
  @input_parameters
end

#output_parametersHash<String,Object>

Corresponds to the JSON property outputParameters

Returns:

  • (Hash<String,Object>)


13277
13278
13279
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13277

def output_parameters
  @output_parameters
end

#playbook_trace_metadataGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookTraceMetadata

Corresponds to the JSON property playbookTraceMetadata



13282
13283
13284
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13282

def 
  @playbook_trace_metadata
end

#speech_processing_metadataGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechProcessingMetadata

Corresponds to the JSON property speechProcessingMetadata



13287
13288
13289
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13287

def 
  @speech_processing_metadata
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


13292
13293
13294
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13292

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13299

def update!(**args)
  @actions = args[:actions] if args.key?(:actions)
  @complete_time = args[:complete_time] if args.key?(:complete_time)
  @end_state = args[:end_state] if args.key?(:end_state)
  @flow_trace_metadata = args[:flow_trace_metadata] if args.key?(:flow_trace_metadata)
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
  @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
  @playbook_trace_metadata = args[:playbook_trace_metadata] if args.key?(:playbook_trace_metadata)
  @speech_processing_metadata = args[:speech_processing_metadata] if args.key?(:speech_processing_metadata)
  @start_time = args[:start_time] if args.key?(:start_time)
end