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

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

Request message for RemoveIndexAsset.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the asset to index. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

↳ index string

Optional. The name of the index. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}

getName

Required. The resource name of the asset to index.

Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

Returns
Type Description
string

setName

Required. The resource name of the asset to index.

Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getIndex

Optional. The name of the index.

Format: projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}

Returns
Type Description
string

setIndex

Optional. The name of the index.

Format: projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}

Parameter
Name Description
var string
Returns
Type Description
$this