Google Cloud Ai Platform V1 Client - Class CreateEndpointRequest (0.10.0)

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

Request message for EndpointService.CreateEndpoint .

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

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 Endpoint in. Format: projects/{project}/locations/{location}

↳ endpoint
Google\Cloud\AIPlatform\V1\Endpoint

Required. The Endpoint to create.

↳ endpoint_id
string

Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are /[0-9]/. When using HTTP/JSON, this field is populated based on a query string argument, such as ?endpoint_id=12345 . This is the fallback for fields that are not included in either the URI or the body.

getParent

Required. The resource name of the Location to create the Endpoint 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 Endpoint 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

getEndpoint

Required. The Endpoint to create.

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

Returns
Type
Description

hasEndpoint

clearEndpoint

setEndpoint

Required. The Endpoint to create.

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

Parameter
Name
Description
Returns
Type
Description
$this

getEndpointId

Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name.

If not provided, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are /[0-9]/. When using HTTP/JSON, this field is populated based on a query string argument, such as ?endpoint_id=12345 . This is the fallback for fields that are not included in either the URI or the body.

Generated from protobuf field string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type
Description
string

setEndpointId

Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name.

If not provided, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are /[0-9]/. When using HTTP/JSON, this field is populated based on a query string argument, such as ?endpoint_id=12345 . This is the fallback for fields that are not included in either the URI or the body.

Generated from protobuf field string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE];

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