Google Cloud Ai Platform V1 Client - Class CreateIndexEndpointRequest (0.21.0)

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

Request message for IndexEndpointService.CreateIndexEndpoint.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ index_endpoint Google\Cloud\AIPlatform\V1\IndexEndpoint

Required. The IndexEndpoint to create.

getParent

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

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

Returns
TypeDescription
string

setParent

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIndexEndpoint

Required. The IndexEndpoint to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\IndexEndpoint|null

hasIndexEndpoint

clearIndexEndpoint

setIndexEndpoint

Required. The IndexEndpoint to create.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\IndexEndpoint
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The resource name of the Location to create the IndexEndpoint in. Format: projects/{project}/locations/{location} Please see Google\Cloud\AIPlatform\V1\IndexEndpointServiceClient::locationName() for help formatting this field.

indexEndpoint Google\Cloud\AIPlatform\V1\IndexEndpoint

Required. The IndexEndpoint to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateIndexEndpointRequest