Google Cloud Ai Platform V1 Client - Class CreateIndexRequest (1.20.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CreateIndexRequest.

Request message for IndexService.CreateIndex .

Generated from protobuf message google.cloud.aiplatform.v1.CreateIndexRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The resource name of the Location to create the Index in. Format: projects/{project}/locations/{location}

↳ index
Index

Required. The Index to create.

getParent

Required. The resource name of the Location to create the Index in.

Format: projects/{project}/locations/{location}

Returns
Type
Description
string

setParent

Required. The resource name of the Location to create the Index in.

Format: projects/{project}/locations/{location}

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIndex

Required. The Index to create.

Returns
Type
Description
Index |null

hasIndex

clearIndex

setIndex

Required. The Index to create.

Parameter
Name
Description
var
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The resource name of the Location to create the Index in. Format: projects/{project}/locations/{location} Please see IndexServiceClient::locationName() for help formatting this field.

index
Index

Required. The Index to create.

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