Google Cloud Ai Platform V1 Client - Class CreateDeploymentResourcePoolRequest (0.31.0)

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

Request message for CreateDeploymentResourcePool method.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent location resource where this DeploymentResourcePool will be created. Format: projects/{project}/locations/{location}

↳ deployment_resource_pool Google\Cloud\AIPlatform\V1\DeploymentResourcePool

Required. The DeploymentResourcePool to create.

↳ deployment_resource_pool_id string

Required. The ID to use for the DeploymentResourcePool, which will become the final component of the DeploymentResourcePool's resource name. The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.

getParent

Required. The parent location resource where this DeploymentResourcePool will be created. Format: projects/{project}/locations/{location}

Returns
TypeDescription
string

setParent

Required. The parent location resource where this DeploymentResourcePool will be created. Format: projects/{project}/locations/{location}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeploymentResourcePool

Required. The DeploymentResourcePool to create.

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

hasDeploymentResourcePool

clearDeploymentResourcePool

setDeploymentResourcePool

Required. The DeploymentResourcePool to create.

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

getDeploymentResourcePoolId

Required. The ID to use for the DeploymentResourcePool, which will become the final component of the DeploymentResourcePool's resource name.

The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.

Returns
TypeDescription
string

setDeploymentResourcePoolId

Required. The ID to use for the DeploymentResourcePool, which will become the final component of the DeploymentResourcePool's resource name.

The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent location resource where this DeploymentResourcePool will be created. Format: projects/{project}/locations/{location} Please see Google\Cloud\AIPlatform\V1\DeploymentResourcePoolServiceClient::locationName() for help formatting this field.

deploymentResourcePool Google\Cloud\AIPlatform\V1\DeploymentResourcePool

Required. The DeploymentResourcePool to create.

deploymentResourcePoolId string

Required. The ID to use for the DeploymentResourcePool, which will become the final component of the DeploymentResourcePool's resource name.

The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateDeploymentResourcePoolRequest