Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TraceBlock

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3TraceBlock

Returns a new instance of GoogleCloudDialogflowCxV3TraceBlock.



8510
8511
8512
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8510

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

Instance Attribute Details

#actionsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Action>

Corresponds to the JSON property actions



8468
8469
8470
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8468

def actions
  @actions
end

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


8473
8474
8475
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8473

def complete_time
  @complete_time
end

#end_stateString

Corresponds to the JSON property endState

Returns:

  • (String)


8478
8479
8480
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8478

def end_state
  @end_state
end

#flow_trace_metadataGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowTraceMetadata

Corresponds to the JSON property flowTraceMetadata



8483
8484
8485
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8483

def 
  @flow_trace_metadata
end

#input_parametersHash<String,Object>

Corresponds to the JSON property inputParameters

Returns:

  • (Hash<String,Object>)


8488
8489
8490
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8488

def input_parameters
  @input_parameters
end

#output_parametersHash<String,Object>

Corresponds to the JSON property outputParameters

Returns:

  • (Hash<String,Object>)


8493
8494
8495
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8493

def output_parameters
  @output_parameters
end

#playbook_trace_metadataGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookTraceMetadata

Corresponds to the JSON property playbookTraceMetadata



8498
8499
8500
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8498

def 
  @playbook_trace_metadata
end

#speech_processing_metadataGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechProcessingMetadata

Corresponds to the JSON property speechProcessingMetadata



8503
8504
8505
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8503

def 
  @speech_processing_metadata
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


8508
8509
8510
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8508

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8515

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