Google Cloud Vision Ai V1 Client - Class GetIndexRequest (0.3.0)

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

Request message for getting an Index.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Required. Name of the Index resource. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index}

getName

Required. Name of the Index resource.

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

Returns
Type
Description
string

setName

Required. Name of the Index resource.

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameter
Name
Description
name
string

Required. Name of the Index resource. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/indexes/{index} Please see WarehouseClient::indexName() for help formatting this field.

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