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.



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

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

Instance Attribute Details

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

Corresponds to the JSON property actions



8462
8463
8464
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8462

def actions
  @actions
end

#complete_timeString

Corresponds to the JSON property completeTime

Returns:

  • (String)


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

def complete_time
  @complete_time
end

#end_stateString

Corresponds to the JSON property endState

Returns:

  • (String)


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

def end_state
  @end_state
end

#flow_trace_metadataGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowTraceMetadata

Corresponds to the JSON property flowTraceMetadata



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

def 
  @flow_trace_metadata
end

#input_parametersHash<String,Object>

Corresponds to the JSON property inputParameters

Returns:

  • (Hash<String,Object>)


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

def input_parameters
  @input_parameters
end

#output_parametersHash<String,Object>

Corresponds to the JSON property outputParameters

Returns:

  • (Hash<String,Object>)


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

def output_parameters
  @output_parameters
end

#playbook_trace_metadataGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookTraceMetadata

Corresponds to the JSON property playbookTraceMetadata



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

def 
  @playbook_trace_metadata
end

#speech_processing_metadataGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechProcessingMetadata

Corresponds to the JSON property speechProcessingMetadata



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

def 
  @speech_processing_metadata
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


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

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8509

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