Google Cloud Ai Platform V1 Client - Class CreateIndexRequest (0.10.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

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
Google\Cloud\AIPlatform\V1\Index

Required. The Index to create.

getParent

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

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
Type
Description
string

setParent

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

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIndex

Required. The Index to create.

Generated from protobuf field .google.cloud.aiplatform.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

hasIndex

clearIndex

setIndex

Required. The Index to create.

Generated from protobuf field .google.cloud.aiplatform.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: