Policies
class Policies extends Resource (View source)
The "policies" collection of methods.
Typical usage is:
$dnsService = new Google\Service\Dns(...);
$policies = $dnsService->policies;
Methods
Deletes a previously created Policy. Fails if the policy is still being referenced by a network. (policies.delete)
Fetches the representation of an existing Policy. (policies.get)
Enumerates all Policies associated with a project. (policies.listPolicies)
Details
Policy
create(string $project, Policy $postBody, array $optParams = [])
Creates a new Policy. (policies.create)
delete(string $project, string $policy, array $optParams = [])
Deletes a previously created Policy. Fails if the policy is still being referenced by a network. (policies.delete)
Policy
get(string $project, string $policy, array $optParams = [])
Fetches the representation of an existing Policy. (policies.get)
PoliciesListResponse
listPolicies(string $project, array $optParams = [])
Enumerates all Policies associated with a project. (policies.listPolicies)
PoliciesPatchResponse
patch(string $project, string $policy, Policy $postBody, array $optParams = [])
Applies a partial update to an existing Policy. (policies.patch)
PoliciesUpdateResponse
update(string $project, string $policy, Policy $postBody, array $optParams = [])
Updates an existing Policy. (policies.update)