Google Cloud Vector Search V1 Client - Class UpdateDataObjectRequest (0.2.0)

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

Request message for DataObjectService.UpdateDataObject.

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

Namespace

Google \ Cloud \ VectorSearch \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_object DataObject

Required. The DataObject which replaces the resource on the server.

↳ update_mask Google\Protobuf\FieldMask

Optional. The update mask applies to the resource. See google.protobuf.FieldMask.

getDataObject

Required. The DataObject which replaces the resource on the server.

Returns
Type Description
DataObject|null

hasDataObject

clearDataObject

setDataObject

Required. The DataObject which replaces the resource on the server.

Parameter
Name Description
var DataObject
Returns
Type Description
$this

getUpdateMask

Optional. The update mask applies to the resource. See google.protobuf.FieldMask.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The update mask applies to the resource. See google.protobuf.FieldMask.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
dataObject DataObject

Required. The DataObject which replaces the resource on the server.

updateMask Google\Protobuf\FieldMask

Optional. The update mask applies to the resource. See google.protobuf.FieldMask.

Returns
Type Description
UpdateDataObjectRequest