class ProjectsLocationsWorkstationClusters extends Resource (View source)

The "workstationClusters" collection of methods.

Typical usage is:

 $workstationsService = new Google\Service\CloudWorkstations(...);
 $workstationClusters = $workstationsService->projects_locations_workstationClusters;

Methods

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

Creates a new workstation cluster. (workstationClusters.create)

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

Deletes the specified workstation cluster. (workstationClusters.delete)

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

Returns the requested workstation cluster. (workstationClusters.get)

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

Returns all workstation clusters in the specified location.

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

Updates an existing workstation cluster. (workstationClusters.patch)

Details

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

Creates a new workstation cluster. (workstationClusters.create)

Parameters

string $parent

Required. Parent resource name.

WorkstationCluster $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Deletes the specified workstation cluster. (workstationClusters.delete)

Parameters

string $name

Required. Name of the workstation cluster to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

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

Returns the requested workstation cluster. (workstationClusters.get)

Parameters

string $name

Required. Name of the requested resource.

array $optParams

Optional parameters.

Return Value

WorkstationCluster

Exceptions

Exception

ListWorkstationClustersResponse listProjectsLocationsWorkstationClusters(string $parent, array $optParams = [])

Returns all workstation clusters in the specified location.

(workstationClusters.listProjectsLocationsWorkstationClusters)

Parameters

string $parent

Required. Parent resource name.

array $optParams

Optional parameters.

Return Value

ListWorkstationClustersResponse

Exceptions

Exception

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

Updates an existing workstation cluster. (workstationClusters.patch)

Parameters

string $name

Identifier. Full name of this workstation cluster.

WorkstationCluster $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception