ManagedZones
class ManagedZones extends Resource (View source)
The "managedZones" collection of methods.
Typical usage is:
$dnsService = new Google\Service\Dns(...);
$managedZones = $dnsService->managedZones;
Methods
Creates a new ManagedZone. (managedZones.create)
Deletes a previously created ManagedZone. (managedZones.delete)
Fetches the representation of an existing ManagedZone. (managedZones.get)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. (managedZones.getIamPolicy)
Enumerates ManagedZones that have been created but not yet deleted.
Applies a partial update to an existing ManagedZone. (managedZones.patch)
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors. (managedZones.setIamPolicy)
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this returns 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.
Updates an existing ManagedZone. (managedZones.update)
Details
ManagedZone
create(string $project, ManagedZone $postBody, array $optParams = [])
Creates a new ManagedZone. (managedZones.create)
delete(string $project, string $managedZone, array $optParams = [])
Deletes a previously created ManagedZone. (managedZones.delete)
ManagedZone
get(string $project, string $managedZone, array $optParams = [])
Fetches the representation of an existing ManagedZone. (managedZones.get)
GoogleIamV1Policy
getIamPolicy(string $resource, GoogleIamV1GetIamPolicyRequest $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. (managedZones.getIamPolicy)
ManagedZonesListResponse
listManagedZones(string $project, array $optParams = [])
Enumerates ManagedZones that have been created but not yet deleted.
(managedZones.listManagedZones)
Operation
patch(string $project, string $managedZone, ManagedZone $postBody, array $optParams = [])
Applies a partial update to an existing ManagedZone. (managedZones.patch)
GoogleIamV1Policy
setIamPolicy(string $resource, GoogleIamV1SetIamPolicyRequest $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. (managedZones.setIamPolicy)
GoogleIamV1TestIamPermissionsResponse
testIamPermissions(string $resource, GoogleIamV1TestIamPermissionsRequest $postBody, array $optParams = [])
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this returns 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. (managedZones.testIamPermissions)
Operation
update(string $project, string $managedZone, ManagedZone $postBody, array $optParams = [])
Updates an existing ManagedZone. (managedZones.update)