NAME
Google::Cloud::Vectorsearch::V1beta::DataObject - Compiled Protocol Buffers messages for google/cloud/vectorsearch/v1beta/data_object.proto
SYNOPSIS
use Google::Cloud::Vectorsearch::V1beta::DataObject;
my $msg = Google::Cloud::Vectorsearch::V1beta::DataObject::DataObject->new({
name => $name,
data_object_id => $data_object_id,
create_time => $create_time,
update_time => $update_time,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Vectorsearch::V1beta::DataObject::DataObject->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/vectorsearch/v1beta/data_object.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::Vectorsearch::V1beta::DataObject::DataObject
A dataObject resource in Vector Search.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The fully qualified resource name of the dataObject.
Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id}` The data_object_id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
$msg->data_object_id()/$msg->data_object_id($value)Type:
StringOutput only. The id of the dataObject.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the dataObject was created at.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Timestamp the dataObject was last updated.
$msg->data()/$msg->data($value)Type:
Message(Google::Protobuf::Struct::Struct)Optional. The data of the dataObject.
$msg->vectors()/$msg->vectors($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObject::DataObject::VectorsEntry)Optional. The vectors of the dataObject.
$msg->etag()/$msg->etag($value)Type:
StringOptional. The etag of the dataObject.
Google::Cloud::Vectorsearch::V1beta::DataObject::Vector
A vector which can be either dense or sparse.
Inherits from Protobuf::Message.
Accessors
$msg->dense()/$msg->dense($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObject::DenseVector)A dense vector.
$msg->sparse()/$msg->sparse($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObject::SparseVector)A sparse vector.
$msg->values()/$msg->values($value)Type:
FloatDeprecated: Use `dense` or `sparse` instead.
Google::Cloud::Vectorsearch::V1beta::DataObject::DenseVector
A dense vector.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
FloatRequired. The values of the vector.
Google::Cloud::Vectorsearch::V1beta::DataObject::SparseVector
A sparse vector.
Inherits from Protobuf::Message.
Accessors
$msg->values()/$msg->values($value)Type:
FloatRequired. The values of the vector.
$msg->indices()/$msg->indices($value)Type:
Int32Required. The corresponding indices for the values.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Vectorsearch::V1beta::DataObject::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.