NAME

Google::Cloud::Geminidataanalytics::V1::Conversation - Compiled Protocol Buffers messages for google/cloud/geminidataanalytics/v1/conversation.proto

SYNOPSIS

use Google::Cloud::Geminidataanalytics::V1::Conversation;

my $msg = Google::Cloud::Geminidataanalytics::V1::Conversation::Conversation->new({
    name => $name,
    agents => $agents,
    create_time => $create_time,
    last_used_time => $last_used_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/geminidataanalytics/v1/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::Geminidataanalytics::V1::Conversation::Conversation

Message for a conversation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. Identifier. The unique resource name of a conversation. Format: `projects/{project}/locations/{location}/conversations/{conversation_id}` `{conversation_id}` is the resource id and should be 63 characters or less and must match the format described in https://google.aip.dev/122#resource-id-segments

    Example: `projects/1234567890/locations/global/conversations/my-conversation`.

    It is recommended to skip setting this field during conversation creation as it will be inferred automatically and overwritten with the {parent}/conversations/{conversation_id}.

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

    Type: String

    Required. Agent(s) in the conversation. Currently, only one agent is supported. This field is repeated to allow for future support of multiple agents in a conversation. Format: `projects/{project}/locations/{location}/dataAgents/{agent}`

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

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

    Output only. Creation timestamp.

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

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

    Output only. Timestamp of the last used conversation.

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

    Type: Message (Google::Cloud::Geminidataanalytics::V1::Conversation::Conversation::LabelsEntry)

    Optional. Open-ended and user-defined labels that can be set by the client to tag a conversation (e.g. to filter conversations for specific surfaces/products).

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

    Type: String

    Optional. The display name for the conversation (max 63 chars).

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

    Type: String

    Optional. Customer managed encryption key (CMEK) to use for encrypting the Conversation resources. Encryption will happen at Titan layer, we will pass the KMS key to Titan.

    Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.

Google::Cloud::Geminidataanalytics::V1::Conversation::CreateConversationRequest

Request for creating a conversation.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for CreateConversationRequest. Format: `projects/{project}/locations/{location}`

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

    Type: String

    Optional. The conversation id of the conversation to create. Must be unique within the parent. The allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`. If not provided, the server will auto-generate a value for the id.

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

    Type: Message (Google::Cloud::Geminidataanalytics::V1::Conversation::Conversation)

    Required. The conversation to create.

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

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

Google::Cloud::Geminidataanalytics::V1::Conversation::UpdateConversationRequest

Request for updating a conversation.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Geminidataanalytics::V1::Conversation::Conversation)

    Required. The resource being updated.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the Conversation resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields with non-default values present in the request will be overwritten. If a wildcard mask is provided, all fields will be overwritten.

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

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

Google::Cloud::Geminidataanalytics::V1::Conversation::GetConversationRequest

Request for getting a conversation based on parent and conversation id.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource. Format: `projects/{project}/locations/{location}/conversations/{conversation}`

Google::Cloud::Geminidataanalytics::V1::Conversation::ListConversationsRequest

Request for listing conversations based on parent.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Parent value for ListConversationsRequest. Format: `projects/{project}/locations/{location}`

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. The max page size is `100`. All larger page sizes will be coerced to `100`. If unspecified, server will pick `50` as an appropriate default.

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

    Type: String

    Optional. A token identifying a page of results the server should return.

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

    Type: String

    Optional. Returned conversations will match criteria specified within the filter. ListConversations allows filtering by: * agents * labels

Google::Cloud::Geminidataanalytics::V1::Conversation::ListConversationsResponse

Message for response to listing conversations.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Geminidataanalytics::V1::Conversation::DeleteConversationRequest

Request for deleting a conversation based on parent and conversation id.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource. Format: `projects/{project}/locations/{location}/conversations/{conversation}`

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Geminidataanalytics::V1::Conversation::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.