ProjectsLocationsRegistriesGroups
class ProjectsLocationsRegistriesGroups extends Resource (View source)
The "groups" collection of methods.
Typical usage is:
$cloudiotService = new Google\Service\CloudIot(...);
$groups = $cloudiotService->projects_locations_registries_groups;
Methods
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (groups.getIamPolicy)
Sets the access control policy on the specified resource. Replaces any existing policy. (groups.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. (groups.testIamPermissions)
Details
Policy
getIamPolicy(string $resource, GetIamPolicyRequest $postBody, 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. (groups.getIamPolicy)
Policy
setIamPolicy(string $resource, SetIamPolicyRequest $postBody, array $optParams = [])
Sets the access control policy on the specified resource. Replaces any existing policy. (groups.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. (groups.testIamPermissions)