NAME
Google::Cloud::Discoveryengine::V1::Collection - Compiled Protocol Buffers messages for google/cloud/discoveryengine/v1/collection.proto
SYNOPSIS
use Google::Cloud::Discoveryengine::V1::Collection;
my $msg = Google::Cloud::Discoveryengine::V1::Collection::Collection->new({
name => $name,
display_name => $display_name,
create_time => $create_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Discoveryengine::V1::Collection::Collection->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/discoveryengine/v1/collection.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::Discoveryengine::V1::Collection::Collection
Collection is a container for configuring resources and access to a set of DataStores.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The full resource name of the Collection. Format: `projects/{project}/locations/{location}/collections/{collection_id}`.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The Collection display name.
This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the [Collection][google.cloud.discoveryengine.v1.Collection] was created at.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Discoveryengine::V1::Collection::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.