class ProjectsLocationsDeploymentResourcePools extends Resource (View source)

The "deploymentResourcePools" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $deploymentResourcePools = $aiplatformService->projects_locations_deploymentResourcePools;

Methods

create(string $parent, GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest $postBody, array $optParams = [])

Create a DeploymentResourcePool. (deploymentResourcePools.create)

delete(string $name, array $optParams = [])

Delete a DeploymentResourcePool. (deploymentResourcePools.delete)

get(string $name, array $optParams = [])

Get a DeploymentResourcePool. (deploymentResourcePools.get)

listProjectsLocationsDeploymentResourcePools(string $parent, array $optParams = [])

List DeploymentResourcePools in a location.

patch(string $name, GoogleCloudAiplatformV1DeploymentResourcePool $postBody, array $optParams = [])

Update a DeploymentResourcePool. (deploymentResourcePools.patch)

queryDeployedModels(string $deploymentResourcePool, array $optParams = [])

List DeployedModels that have been deployed on this DeploymentResourcePool.

Details

GoogleLongrunningOperation create(string $parent, GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest $postBody, array $optParams = [])

Create a DeploymentResourcePool. (deploymentResourcePools.create)

Parameters

string $parent

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

GoogleCloudAiplatformV1CreateDeploymentResourcePoolRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Delete a DeploymentResourcePool. (deploymentResourcePools.delete)

Parameters

string $name

Required. The name of the DeploymentResourcePool to delete. Format: projects/{project}/locations/{location}/deploymentResourcePo ols/{deployment_resource_pool}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudAiplatformV1DeploymentResourcePool get(string $name, array $optParams = [])

Get a DeploymentResourcePool. (deploymentResourcePools.get)

Parameters

string $name

Required. The name of the DeploymentResourcePool to retrieve. Format: projects/{project}/locations/{location}/deploymentResource Pools/{deployment_resource_pool}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1DeploymentResourcePool

Exceptions

Exception

GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse listProjectsLocationsDeploymentResourcePools(string $parent, array $optParams = [])

List DeploymentResourcePools in a location.

(deploymentResourcePools.listProjectsLocationsDeploymentResourcePools)

Parameters

string $parent

Required. The parent Location which owns this collection of DeploymentResourcePools. Format: projects/{project}/locations/{location}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListDeploymentResourcePoolsResponse

Exceptions

Exception

GoogleLongrunningOperation patch(string $name, GoogleCloudAiplatformV1DeploymentResourcePool $postBody, array $optParams = [])

Update a DeploymentResourcePool. (deploymentResourcePools.patch)

Parameters

string $name

Immutable. The resource name of the DeploymentResourcePool. Format: projects/{project}/locations/{location}/depl oymentResourcePools/{deployment_resource_pool}

GoogleCloudAiplatformV1DeploymentResourcePool $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudAiplatformV1QueryDeployedModelsResponse queryDeployedModels(string $deploymentResourcePool, array $optParams = [])

List DeployedModels that have been deployed on this DeploymentResourcePool.

(deploymentResourcePools.queryDeployedModels)

Parameters

string $deploymentResourcePool

Required. The name of the target DeploymentResourcePool to query. Format: projects/{project}/locations/{locat ion}/deploymentResourcePools/{deployment_resource_pool}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1QueryDeployedModelsResponse

Exceptions

Exception