NAME

Google::Cloud::Ces::V1beta::Conversation - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/conversation.proto

SYNOPSIS

use Google::Cloud::Ces::V1beta::Conversation;

my $msg = Google::Cloud::Ces::V1beta::Conversation::Conversation->new({
    name => $name,
    start_time => $start_time,
    end_time => $end_time,
    turns => $turns,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::Conversation::Conversation->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/conversation.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::Ces::V1beta::Conversation::Conversation

A conversation represents an interaction between an end user and the CES app.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The unique identifier of the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/conversations/{conversation}`

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the conversation was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the conversation was completed.

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

    Type: Message (Google::Cloud::Ces::V1beta::Conversation::Conversation::Turn)

    Required. The turns in the conversation.

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

    Type: Int32

    Output only. The number of turns in the conversation.

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

    Type: Enum (Google::Cloud::Ces::V1beta::Conversation::ChannelType)

    DEPRECATED. Please use [input_types][google.cloud.ces.v1beta.Conversation.input_types] instead.

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

    Type: Enum (Google::Cloud::Ces::V1beta::Conversation::Source)

    Output only. Indicate the source of the conversation.

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

    Type: Enum (Google::Cloud::Ces::V1beta::Conversation::InputType)

    Output only. The input types of the conversation.

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

    Type: String

    Output only. The agent that initially handles the conversation. If not specified, the conversation is handled by the root agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`

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

    Type: String

    Output only. The deployment of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}`

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

    Type: String

    Output only. The version of the app used for processing the conversation. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`

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

    Type: String

    Output only. The language code of the conversation.

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

    Type: Message (Google::Cloud::Ces::V1beta::Example::Message)

    Deprecated. Use turns instead.

Enum: Conversation::ChannelType

  • CHANNEL_TYPE_UNSPECIFIED => 0

  • TEXT => 1

  • AUDIO => 2

  • MULTIMODAL => 3

Enum: Conversation::Source

  • SOURCE_UNSPECIFIED => 0

  • LIVE => 1

  • SIMULATOR => 2

  • EVAL => 3

  • AGENT_TOOL => 4

Enum: Conversation::InputType

  • INPUT_TYPE_UNSPECIFIED => 0

  • INPUT_TYPE_TEXT => 1

  • INPUT_TYPE_EVENT => 7

  • INPUT_TYPE_AUDIO => 2

  • INPUT_TYPE_IMAGE => 3

  • INPUT_TYPE_BLOB => 4

  • INPUT_TYPE_TOOL_RESPONSE => 5

  • INPUT_TYPE_VARIABLES => 6

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::Conversation::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.