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>- (::Array<::Google::Cloud::Dialogflow::CX::V3::Action>) — The actions performed by the agent and the user during this session.
#actions=
def actions=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Action>- value (::Array<::Google::Cloud::Dialogflow::CX::V3::Action>) — The actions performed by the agent and the user during this session.
- (::Array<::Google::Cloud::Dialogflow::CX::V3::Action>) — The actions performed by the agent and the user during this session.
#complete_time
def complete_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Timestamp of the end of the trace block.
#end_state
def end_state() -> ::Google::Cloud::Dialogflow::CX::V3::OutputState- (::Google::Cloud::Dialogflow::CX::V3::OutputState) — Optional. Output only. The end state of the trace block.
#flow_trace_metadata
def flow_trace_metadata() -> ::Google::Cloud::Dialogflow::CX::V3::FlowTraceMetadata-
(::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-
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.
-
(::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- (::Google::Protobuf::Struct) — Optional. A list of input parameters of the trace block.
#input_parameters=
def input_parameters=(value) -> ::Google::Protobuf::Struct- value (::Google::Protobuf::Struct) — Optional. A list of input parameters of the trace block.
- (::Google::Protobuf::Struct) — Optional. A list of input parameters of the trace block.
#output_parameters
def output_parameters() -> ::Google::Protobuf::Struct- (::Google::Protobuf::Struct) — Optional. A list of output parameters of the trace block.
#output_parameters=
def output_parameters=(value) -> ::Google::Protobuf::Struct- value (::Google::Protobuf::Struct) — Optional. A list of output parameters of the trace block.
- (::Google::Protobuf::Struct) — Optional. A list of output parameters of the trace block.
#playbook_trace_metadata
def playbook_trace_metadata() -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookTraceMetadata-
(::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-
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.
-
(::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-
(::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-
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.
-
(::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- (::Google::Protobuf::Timestamp) — Output only. Timestamp of the start of the trace block.