NAME
Google::Cloud::Dialogflow::Cx::V3::Trace - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3/trace.proto
SYNOPSIS
use Google::Cloud::Dialogflow::Cx::V3::Trace;
my $msg = Google::Cloud::Dialogflow::Cx::V3::Trace::TraceBlock->new({
playbook_trace_metadata => $playbook_trace_metadata,
flow_trace_metadata => $flow_trace_metadata,
speech_processing_metadata => $speech_processing_metadata,
actions => $actions,
});
# Read or update a field
my $val = $msg->playbook_trace_metadata();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::Cx::V3::Trace::TraceBlock->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3/trace.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Dialogflow::Cx::V3::Trace::TraceBlock
The trace block tracks a sequence of actions taken by the agent in a flow or a playbook.
Inherits from Protobuf::Message.
Accessors
$msg->playbook_trace_metadata()/$msg->playbook_trace_metadata($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTraceMetadata)Metadata of the playbook trace.
$msg->flow_trace_metadata()/$msg->flow_trace_metadata($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTraceMetadata)Metadata of the flow trace.
$msg->speech_processing_metadata()/$msg->speech_processing_metadata($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::SpeechProcessingMetadata)Metadata of the speech-to-text and speech-to-text processing.
$msg->actions()/$msg->actions($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::Action)The actions performed by the agent and the user during this session.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp of the start of the trace block.
$msg->complete_time()/$msg->complete_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp of the end of the trace block.
$msg->input_parameters()/$msg->input_parameters($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. A list of input parameters of the trace block.
$msg->output_parameters()/$msg->output_parameters($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. A list of output parameters of the trace block.
$msg->end_state()/$msg->end_state($value)Type:
Enum(Google::Cloud::Dialogflow::Cx::V3::OutputState)Optional. Output only. The end state of the trace block.
Google::Cloud::Dialogflow::Cx::V3::Trace::SpeechProcessingMetadata
Metadata of the speech-to-text and text-to-speech processing.
Inherits from Protobuf::Message.
Accessors
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The display name of the speech processing.
Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTraceMetadata
Metadata of the playbook trace.
Inherits from Protobuf::Message.
Accessors
$msg->playbook()/$msg->playbook($value)Type:
StringRequired. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The display name of the playbook.
Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTraceMetadata
Metadata of the flow trace.
Inherits from Protobuf::Message.
Accessors
$msg->flow()/$msg->flow($value)Type:
StringRequired. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The display name of the flow.
Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInput
Input of the playbook.
Inherits from Protobuf::Message.
Accessors
$msg->preceding_conversation_summary()/$msg->preceding_conversation_summary($value)Type:
StringOptional. Summary string of the preceding conversation for the child playbook invocation.
Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookOutput
Output of the playbook.
Inherits from Protobuf::Message.
Accessors
$msg->execution_summary()/$msg->execution_summary($value)Type:
StringOptional. Summary string of the execution result of the child playbook.
Google::Cloud::Dialogflow::Cx::V3::Trace::Action
Action performed by end user or Dialogflow agent in the conversation.
Inherits from Protobuf::Message.
Accessors
$msg->user_utterance()/$msg->user_utterance($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::UserUtterance)Optional. Agent obtained a message from the customer.
$msg->agent_utterance()/$msg->agent_utterance($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::AgentUtterance)Optional. Action performed by the agent as a message.
$msg->tool_use()/$msg->tool_use($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::ToolUse)Optional. Action performed on behalf of the agent by calling a plugin tool.
$msg->playbook_invocation()/$msg->playbook_invocation($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInvocation)Optional. Action performed on behalf of the agent by invoking a child playbook.
$msg->flow_invocation()/$msg->flow_invocation($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::FlowInvocation)Optional. Action performed on behalf of the agent by invoking a CX flow.
$msg->playbook_transition()/$msg->playbook_transition($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTransition)Optional. Action performed on behalf of the agent by transitioning to a target playbook.
$msg->flow_transition()/$msg->flow_transition($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTransition)Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
Google::Cloud::Dialogflow::Cx::V3::Trace::UserUtterance
UserUtterance represents one message sent by the customer.
Inherits from Protobuf::Message.
Accessors
$msg->text()/$msg->text($value)Type:
StringRequired. Message content in text.
Google::Cloud::Dialogflow::Cx::V3::Trace::AgentUtterance
AgentUtterance represents one message sent by the agent.
Inherits from Protobuf::Message.
Accessors
$msg->text()/$msg->text($value)Type:
StringRequired. Message content in text.
Google::Cloud::Dialogflow::Cx::V3::Trace::ToolUse
Stores metadata of the invocation of an action supported by a tool.
Inherits from Protobuf::Message.
Accessors
$msg->tool()/$msg->tool($value)Type:
StringRequired. The [tool][google.cloud.dialogflow.cx.v3.Tool] that should be used. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>`.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The display name of the tool.
$msg->action()/$msg->action($value)Type:
StringOptional. Name of the action to be called during the tool use.
$msg->input_action_parameters()/$msg->input_action_parameters($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. A list of input parameters for the action.
$msg->output_action_parameters()/$msg->output_action_parameters($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. A list of output parameters generated by the action.
Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInvocation
Stores metadata of the invocation of a child playbook.
Inherits from Protobuf::Message.
Accessors
$msg->playbook()/$msg->playbook($value)Type:
StringRequired. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The display name of the playbook.
$msg->playbook_input()/$msg->playbook_input($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookInput)Optional. Input of the child playbook invocation.
$msg->playbook_output()/$msg->playbook_output($value)Type:
Message(Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookOutput)Optional. Output of the child playbook invocation.
$msg->playbook_state()/$msg->playbook_state($value)Type:
Enum(Google::Cloud::Dialogflow::Cx::V3::OutputState)Required. Playbook invocation's output state.
Google::Cloud::Dialogflow::Cx::V3::Trace::FlowInvocation
Stores metadata of the invocation of a CX flow.
Inherits from Protobuf::Message.
Accessors
$msg->flow()/$msg->flow($value)Type:
StringRequired. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The display name of the flow.
$msg->flow_state()/$msg->flow_state($value)Type:
Enum(Google::Cloud::Dialogflow::Cx::V3::OutputState)Required. Flow invocation's output state.
Google::Cloud::Dialogflow::Cx::V3::Trace::PlaybookTransition
Stores metadata of the transition to another target playbook. Playbook transition actions exit the caller playbook and enter the target playbook.
Inherits from Protobuf::Message.
Accessors
$msg->playbook()/$msg->playbook($value)Type:
StringRequired. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The display name of the playbook.
Google::Cloud::Dialogflow::Cx::V3::Trace::FlowTransition
Stores metadata of the transition to a target CX flow. Flow transition actions exit the caller playbook and enter the child flow.
Inherits from Protobuf::Message.
Accessors
$msg->flow()/$msg->flow($value)Type:
StringRequired. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<Agentflows/<FlowID>`.
$msg->display_name()/$msg->display_name($value)Type:
StringOutput only. The display name of the flow.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3::Trace::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.