Google Cloud Vision Ai V1 Client - Class UpdateAssetRequest (0.1.0)

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

Request message for UpdateAsset.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ asset Asset

Required. The asset to update. The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

↳ update_mask Google\Protobuf\FieldMask

The list of fields to be updated.

getAsset

Required. The asset to update.

The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

Returns
Type Description
Asset|null

hasAsset

clearAsset

setAsset

Required. The asset to update.

The asset's name field is used to identify the asset to be updated. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}

Parameter
Name Description
var Asset
Returns
Type Description
$this

getUpdateMask

The list of fields to be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

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