Service Client: Google::Cloud::Vectorsearch::V1beta::DataObjectService::DataObjectServiceClient
Client stub representing the remote DataObjectService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to vectorsearch.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Vectorsearch::V1beta::DataObjectService - Compiled Protocol Buffers messages for google/cloud/vectorsearch/v1beta/data_object_service.proto
SYNOPSIS
use Google::Cloud::Vectorsearch::V1beta::DataObjectService;
my $msg = Google::Cloud::Vectorsearch::V1beta::DataObjectService::CreateDataObjectRequest->new({
parent => $parent,
data_object_id => $data_object_id,
data_object => $data_object,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Vectorsearch::V1beta::DataObjectService::CreateDataObjectRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/vectorsearch/v1beta/data_object_service.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::DataObjectService::CreateDataObjectRequest
Request message for [DataObjectService.CreateDataObject][google.cloud.vectorsearch.v1beta.DataObjectService.CreateDataObject].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the Collection to create the DataObject in. Format: `projects/{project}/locations/{location}/collections/{collection}`
$msg->data_object_id()/$msg->data_object_id($value)Type:
StringRequired. The id of the dataObject to create. The id must be 1-63 characters long, and comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Specifically, it must be 1-63 characters long and match the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?`.
$msg->data_object()/$msg->data_object($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObject::DataObject)Required. The DataObject to create.
Google::Cloud::Vectorsearch::V1beta::DataObjectService::BatchCreateDataObjectsRequest
Request message for [DataObjectService.BatchCreateDataObjects][google.cloud.vectorsearch.v1beta.DataObjectService.BatchCreateDataObjects].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the Collection to create the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`. The parent field in the CreateDataObjectRequest messages must match this field.
$msg->requests()/$msg->requests($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObjectService::CreateDataObjectRequest)Required. The request message specifying the resources to create. A maximum of 1000 DataObjects can be created in a batch.
Google::Cloud::Vectorsearch::V1beta::DataObjectService::BatchCreateDataObjectsResponse
Response message for [DataObjectService.BatchCreateDataObjects][google.cloud.vectorsearch.v1beta.DataObjectService.BatchCreateDataObjects].
Inherits from Protobuf::Message.
Accessors
$msg->data_objects()/$msg->data_objects($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObject::DataObject)Output only. DataObjects created.
Google::Cloud::Vectorsearch::V1beta::DataObjectService::GetDataObjectRequest
Request message for [DataObjectService.GetDataObject][google.cloud.vectorsearch.v1beta.DataObjectService.GetDataObject].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the DataObject resource. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`
Google::Cloud::Vectorsearch::V1beta::DataObjectService::UpdateDataObjectRequest
Request message for [DataObjectService.UpdateDataObject][google.cloud.vectorsearch.v1beta.DataObjectService.UpdateDataObject].
Inherits from Protobuf::Message.
Accessors
$msg->data_object()/$msg->data_object($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObject::DataObject)Required. The DataObject which replaces the resource on the server.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The update mask applies to the resource. See [google.protobuf.FieldMask][google.protobuf.FieldMask].
Google::Cloud::Vectorsearch::V1beta::DataObjectService::BatchUpdateDataObjectsRequest
Request message for [DataObjectService.BatchUpdateDataObjects][google.cloud.vectorsearch.v1beta.DataObjectService.BatchUpdateDataObjects].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the Collection to update the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`. The parent field in the UpdateDataObjectRequest messages must match this field.
$msg->requests()/$msg->requests($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObjectService::UpdateDataObjectRequest)Required. The request message specifying the resources to update. A maximum of 1000 DataObjects can be updated in a batch.
Google::Cloud::Vectorsearch::V1beta::DataObjectService::BatchUpdateDataObjectsResponse
Response message for [DataObjectService.BatchUpdateDataObjects][google.cloud.vectorsearch.v1beta.DataObjectService.BatchUpdateDataObjects].
Inherits from Protobuf::Message.
Google::Cloud::Vectorsearch::V1beta::DataObjectService::DeleteDataObjectRequest
Request message for [DataObjectService.DeleteDataObject][google.cloud.vectorsearch.v1beta.DataObjectService.DeleteDataObject].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the DataObject resource to be deleted. Format: `projects/{project}/locations/{location}/collections/{collection}/dataObjects/{dataObject}`
$msg->etag()/$msg->etag($value)Type:
StringOptional. The current etag of the DataObject. If an etag is provided and does not match the current etag of the DataObject, deletion will be blocked and an ABORTED error will be returned.
Google::Cloud::Vectorsearch::V1beta::DataObjectService::BatchDeleteDataObjectsRequest
Request message for [DataObjectService.BatchDeleteDataObjects][google.cloud.vectorsearch.v1beta.DataObjectService.BatchDeleteDataObjects].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the Collection to delete the DataObjects in. Format: `projects/{project}/locations/{location}/collections/{collection}`.
$msg->requests()/$msg->requests($value)Type:
Message(Google::Cloud::Vectorsearch::V1beta::DataObjectService::DeleteDataObjectRequest)Required. The request message specifying the resources to delete. A maximum of 1000 DataObjects can be deleted in a batch.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Vectorsearch::V1beta::DataObjectService::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.