ProjectsLocationsPrivateCloudsClusters
class ProjectsLocationsPrivateCloudsClusters extends Resource (View source)
The "clusters" collection of methods.
Typical usage is:
$vmwareengineService = new Google\Service\VMwareEngine(...);
$clusters = $vmwareengineService->projects_locations_privateClouds_clusters; Methods
Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.
Deletes a Cluster resource. To avoid unintended data loss, migrate or
gracefully shut down any workloads running on the cluster before deletion.
Retrieves a Cluster resource by its resource name. (clusters.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (clusters.getIamPolicy)
Lists Cluster resources in a given private cloud.
Modifies a Cluster resource. Only fields specified in updateMask are
applied. During operation processing, the resource is temporarily in the
ACTIVE state before the operation fully completes. For that period of time,
you can't update the resource. Use the operation status to determine when the
processing fully completes. (clusters.patch)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors. (clusters.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, Cluster $postBody, array $optParams = [])
Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient node quota.
(clusters.create)
Operation
delete(string $name, array $optParams = [])
Deletes a Cluster resource. To avoid unintended data loss, migrate or
gracefully shut down any workloads running on the cluster before deletion.
You cannot delete the management cluster of a private cloud using this method. (clusters.delete)
Cluster
get(string $name, array $optParams = [])
Retrieves a Cluster resource by its resource name. (clusters.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. (clusters.getIamPolicy)
ListClustersResponse
listProjectsLocationsPrivateCloudsClusters(string $parent, array $optParams = [])
Lists Cluster resources in a given private cloud.
(clusters.listProjectsLocationsPrivateCloudsClusters)
Operation
patch(string $name, Cluster $postBody, array $optParams = [])
Modifies a Cluster resource. Only fields specified in updateMask are
applied. During operation processing, the resource is temporarily in the
ACTIVE state before the operation fully completes. For that period of time,
you can't update the resource. Use the operation status to determine when the
processing fully completes. (clusters.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. (clusters.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. (clusters.testIamPermissions)