Google Cloud Vision Ai V1 Client - Class RemoveIndexAssetRequest (0.3.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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年03月30日 UTC.