class ProjectsLocationsPersistentResources extends Resource (View source)

The "persistentResources" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $persistentResources = $aiplatformService->projects_locations_persistentResources;

Methods

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

Creates a PersistentResource. (persistentResources.create)

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

Deletes a PersistentResource. (persistentResources.delete)

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

Gets a PersistentResource. (persistentResources.get)

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

Lists PersistentResources in a Location.

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

Updates a PersistentResource. (persistentResources.patch)

reboot(string $name, GoogleCloudAiplatformV1RebootPersistentResourceRequest $postBody, array $optParams = [])

Reboots a PersistentResource. (persistentResources.reboot)

Details

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

Creates a PersistentResource. (persistentResources.create)

Parameters

string $parent

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

GoogleCloudAiplatformV1PersistentResource $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Deletes a PersistentResource. (persistentResources.delete)

Parameters

string $name

Required. The name of the PersistentResource to be deleted. Format: projects/{project}/locations/{location}/persistentResources /{persistent_resource}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Gets a PersistentResource. (persistentResources.get)

Parameters

string $name

Required. The name of the PersistentResource resource. Format: projects/{project_id_or_number}/locations/{location_id}/persistentRe sources/{persistent_resource_id}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1PersistentResource

Exceptions

Exception

GoogleCloudAiplatformV1ListPersistentResourcesResponse listProjectsLocationsPersistentResources(string $parent, array $optParams = [])

Lists PersistentResources in a Location.

(persistentResources.listProjectsLocationsPersistentResources)

Parameters

string $parent

Required. The resource name of the Location to list the PersistentResources from. Format: projects/{project}/locations/{location}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListPersistentResourcesResponse

Exceptions

Exception

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

Updates a PersistentResource. (persistentResources.patch)

Parameters

string $name

Immutable. Resource name of a PersistentResource.

GoogleCloudAiplatformV1PersistentResource $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation reboot(string $name, GoogleCloudAiplatformV1RebootPersistentResourceRequest $postBody, array $optParams = [])

Reboots a PersistentResource. (persistentResources.reboot)

Parameters

string $name

Required. The name of the PersistentResource resource. Format: projects/{project_id_or_number}/locations/{location_id}/persistentRe sources/{persistent_resource_id}

GoogleCloudAiplatformV1RebootPersistentResourceRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception