Google Cloud Ai Platform V1 Client - Class CreateDeploymentResourcePoolRequest (1.7.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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDeploymentResourcePool

Required. The DeploymentResourcePool to create.

Returns
Type Description
Google\Cloud\AIPlatform\V1\DeploymentResourcePool|null

hasDeploymentResourcePool

clearDeploymentResourcePool

setDeploymentResourcePool

Required. The DeploymentResourcePool to create.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\DeploymentResourcePool
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\AIPlatform\V1\CreateDeploymentResourcePoolRequest