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 \ V1Methods
__construct
Constructor.
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
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}
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}
$this
getUpdateMask
The list of fields to be updated.
hasUpdateMask
clearUpdateMask
setUpdateMask
The list of fields to be updated.
$this
static::build
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}
updateMask

