ProjectsLocationsWorkstationClustersWorkstationConfigs
class ProjectsLocationsWorkstationClustersWorkstationConfigs extends Resource (View source)
The "workstationConfigs" collection of methods.
Typical usage is:
$workstationsService = new Google\Service\CloudWorkstations(...);
$workstationConfigs = $workstationsService->projects_locations_workstationClusters_workstationConfigs;
Methods
Creates a new workstation configuration. (workstationConfigs.create)
Deletes the specified workstation configuration. (workstationConfigs.delete)
Returns the requested workstation configuration. (workstationConfigs.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Returns all workstation configurations in the specified cluster. (workstation Configs.listProjectsLocationsWorkstationClustersWorkstationConfigs)
Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission.
Updates an existing workstation configuration. (workstationConfigs.patch)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (workstationConfigs.setIamPolicy)
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
Details
Operation
create(string $parent, WorkstationConfig $postBody, array $optParams = [])
Creates a new workstation configuration. (workstationConfigs.create)
Operation
delete(string $name, array $optParams = [])
Deletes the specified workstation configuration. (workstationConfigs.delete)
WorkstationConfig
get(string $name, array $optParams = [])
Returns the requested workstation configuration. (workstationConfigs.get)
Policy
getIamPolicy(string $resource, array $optParams = [])
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
(workstationConfigs.getIamPolicy)
ListWorkstationConfigsResponse
listProjectsLocationsWorkstationClustersWorkstationConfigs(string $parent, array $optParams = [])
Returns all workstation configurations in the specified cluster. (workstation Configs.listProjectsLocationsWorkstationClustersWorkstationConfigs)
ListUsableWorkstationConfigsResponse
listUsable(string $parent, array $optParams = [])
Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission.
(workstationConfigs.listUsable)
Operation
patch(string $name, WorkstationConfig $postBody, array $optParams = [])
Updates an existing workstation configuration. (workstationConfigs.patch)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (workstationConfigs.setIamPolicy)
TestIamPermissionsResponse
testIamPermissions(string $resource, TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND
error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning. (workstationConfigs.testIamPermissions)