Google Cloud Vector Search V1 Client - Class BatchDeleteDataObjectsRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Vector Search V1 Client class BatchDeleteDataObjectsRequest.

Request message for DataObjectService.BatchDeleteDataObjects.

Generated from protobuf message google.cloud.vectorsearch.v1.BatchDeleteDataObjectsRequest

Namespace

Google \ Cloud \ VectorSearch \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Collection to delete the DataObjects in. Format: projects/{project}/locations/{location}/collections/{collection}.

↳ requests array<DeleteDataObjectRequest>

Required. The request message specifying the resources to delete. A maximum of 1000 DataObjects can be deleted in a batch.

getParent

Required. The resource name of the Collection to delete the DataObjects in.

Format: projects/{project}/locations/{location}/collections/{collection}.

Returns
Type Description
string

setParent

Required. The resource name of the Collection to delete the DataObjects in.

Format: projects/{project}/locations/{location}/collections/{collection}.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequests

Required. The request message specifying the resources to delete.

A maximum of 1000 DataObjects can be deleted in a batch.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRequests

Required. The request message specifying the resources to delete.

A maximum of 1000 DataObjects can be deleted in a batch.

Parameter
Name Description
var array<DeleteDataObjectRequest>
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the Collection to delete the DataObjects in. Format: projects/{project}/locations/{location}/collections/{collection}. Please see DataObjectServiceClient::collectionName() for help formatting this field.

requests array<DeleteDataObjectRequest>

Required. The request message specifying the resources to delete. A maximum of 1000 DataObjects can be deleted in a batch.

Returns
Type Description
BatchDeleteDataObjectsRequest