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

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: String

    Output 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: String

    Required. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output 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: String

    Required. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output 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: String

    Optional. 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: String

    Optional. 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

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: String

    Required. 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: String

    Required. 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: String

    Required. 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: String

    Output only. The display name of the tool.

  • $msg->action() / $msg->action($value)

    Type: String

    Optional. 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: String

    Required. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output 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: String

    Required. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output 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: String

    Required. The unique identifier of the playbook. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/playbooks/<PlaybookID>`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output 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: String

    Required. The unique identifier of the flow. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<Agentflows/<FlowID>`.

  • $msg->display_name() / $msg->display_name($value)

    Type: String

    Output 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.