Google Cloud Vision Ai V1 Client - Class UpdateAssetRequest (0.3.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
Returns
Type
Description
$this

getUpdateMask

The list of fields to be updated.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
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
Google\Protobuf\FieldMask

The list of fields to be updated.

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