class ProjectsLocationsQueuedResources extends Resource (View source)

The "queuedResources" collection of methods.

Typical usage is:

 $tpuService = new Google\Service\TPU(...);
 $queuedResources = $tpuService->projects_locations_queuedResources;

Methods

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

Creates a QueuedResource TPU instance. (queuedResources.create)

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

Deletes a QueuedResource TPU instance. (queuedResources.delete)

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

Gets details of a queued resource. (queuedResources.get)

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

Lists queued resources.

reset(string $name, ResetQueuedResourceRequest $postBody, array $optParams = [])

Resets a QueuedResource TPU instance (queuedResources.reset)

Details

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

Creates a QueuedResource TPU instance. (queuedResources.create)

Parameters

string $parent

Required. The parent resource name.

QueuedResource $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes a QueuedResource TPU instance. (queuedResources.delete)

Parameters

string $name

Required. The resource name.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Gets details of a queued resource. (queuedResources.get)

Parameters

string $name

Required. The resource name.

array $optParams

Optional parameters.

Return Value

QueuedResource

Exceptions

Exception

ListQueuedResourcesResponse listProjectsLocationsQueuedResources(string $parent, array $optParams = [])

Lists queued resources.

(queuedResources.listProjectsLocationsQueuedResources)

Parameters

string $parent

Required. The parent resource name.

array $optParams

Optional parameters.

Return Value

ListQueuedResourcesResponse

Exceptions

Exception

Operation reset(string $name, ResetQueuedResourceRequest $postBody, array $optParams = [])

Resets a QueuedResource TPU instance (queuedResources.reset)

Parameters

string $name

Required. The name of the queued resource.

ResetQueuedResourceRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception