Google Cloud Vision Ai V1 Client - Class UpdateIndexEndpointRequest (0.3.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class UpdateIndexEndpointRequest.

Request message for UpdateIndexEndpoint.

Generated from protobuf message google.cloud.visionai.v1.UpdateIndexEndpointRequest

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ index_endpoint
IndexEndpoint

Required. The resource being updated.

↳ update_mask
Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

getIndexEndpoint

Required. The resource being updated.

Returns
Type
Description

hasIndexEndpoint

clearIndexEndpoint

setIndexEndpoint

Required. The resource being updated.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
indexEndpoint
IndexEndpoint

Required. The resource being updated.

updateMask
Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: