Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::TraceBlock (v1.11.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::TraceBlock.

The trace block tracks a sequence of actions taken by the agent in a flow or a playbook.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#actions

def actions() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Action>
Returns

#actions=

def actions=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Action>
Parameter
Returns

#complete_time

def complete_time() -> ::Google::Protobuf::Timestamp
Returns

#end_state

def end_state() -> ::Google::Cloud::Dialogflow::CX::V3::OutputState
Returns

#flow_trace_metadata

def flow_trace_metadata() -> ::Google::Cloud::Dialogflow::CX::V3::FlowTraceMetadata
Returns
  • (::Google::Cloud::Dialogflow::CX::V3::FlowTraceMetadata) — Metadata of the flow trace.

    Note: The following fields are mutually exclusive: flow_trace_metadata, playbook_trace_metadata, speech_processing_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

#flow_trace_metadata=

def flow_trace_metadata=(value) -> ::Google::Cloud::Dialogflow::CX::V3::FlowTraceMetadata
Parameter
  • value (::Google::Cloud::Dialogflow::CX::V3::FlowTraceMetadata) — Metadata of the flow trace.

    Note: The following fields are mutually exclusive: flow_trace_metadata, playbook_trace_metadata, speech_processing_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::CX::V3::FlowTraceMetadata) — Metadata of the flow trace.

    Note: The following fields are mutually exclusive: flow_trace_metadata, playbook_trace_metadata, speech_processing_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

#input_parameters

def input_parameters() -> ::Google::Protobuf::Struct
Returns

#input_parameters=

def input_parameters=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#output_parameters

def output_parameters() -> ::Google::Protobuf::Struct
Returns

#output_parameters=

def output_parameters=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#playbook_trace_metadata

def playbook_trace_metadata() -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookTraceMetadata
Returns
  • (::Google::Cloud::Dialogflow::CX::V3::PlaybookTraceMetadata) — Metadata of the playbook trace.

    Note: The following fields are mutually exclusive: playbook_trace_metadata, flow_trace_metadata, speech_processing_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

#playbook_trace_metadata=

def playbook_trace_metadata=(value) -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookTraceMetadata
Parameter
  • value (::Google::Cloud::Dialogflow::CX::V3::PlaybookTraceMetadata) — Metadata of the playbook trace.

    Note: The following fields are mutually exclusive: playbook_trace_metadata, flow_trace_metadata, speech_processing_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::CX::V3::PlaybookTraceMetadata) — Metadata of the playbook trace.

    Note: The following fields are mutually exclusive: playbook_trace_metadata, flow_trace_metadata, speech_processing_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

#speech_processing_metadata

def speech_processing_metadata() -> ::Google::Cloud::Dialogflow::CX::V3::SpeechProcessingMetadata
Returns
  • (::Google::Cloud::Dialogflow::CX::V3::SpeechProcessingMetadata) — Metadata of the speech-to-text and speech-to-text processing.

    Note: The following fields are mutually exclusive: speech_processing_metadata, playbook_trace_metadata, flow_trace_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

#speech_processing_metadata=

def speech_processing_metadata=(value) -> ::Google::Cloud::Dialogflow::CX::V3::SpeechProcessingMetadata
Parameter
  • value (::Google::Cloud::Dialogflow::CX::V3::SpeechProcessingMetadata) — Metadata of the speech-to-text and speech-to-text processing.

    Note: The following fields are mutually exclusive: speech_processing_metadata, playbook_trace_metadata, flow_trace_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Dialogflow::CX::V3::SpeechProcessingMetadata) — Metadata of the speech-to-text and speech-to-text processing.

    Note: The following fields are mutually exclusive: speech_processing_metadata, playbook_trace_metadata, flow_trace_metadata. If a field in that set is populated, all other fields in the set will automatically be cleared.

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns