ResponsePolicies
class ResponsePolicies extends Resource (View source)
The "responsePolicies" collection of methods.
Typical usage is:
$dnsService = new Google\Service\Dns(...);
$responsePolicies = $dnsService->responsePolicies;
Methods
Creates a new Response Policy (responsePolicies.create)
Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network. (responsePolicies.delete)
Fetches the representation of an existing Response Policy.
Enumerates all Response Policies associated with a project.
Applies a partial update to an existing Response Policy.
Updates an existing Response Policy. (responsePolicies.update)
Details
ResponsePolicy
create(string $project, ResponsePolicy $postBody, array $optParams = [])
Creates a new Response Policy (responsePolicies.create)
delete(string $project, string $responsePolicy, array $optParams = [])
Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network. (responsePolicies.delete)
ResponsePolicy
get(string $project, string $responsePolicy, array $optParams = [])
Fetches the representation of an existing Response Policy.
(responsePolicies.get)
ResponsePoliciesListResponse
listResponsePolicies(string $project, array $optParams = [])
Enumerates all Response Policies associated with a project.
(responsePolicies.listResponsePolicies)
ResponsePoliciesPatchResponse
patch(string $project, string $responsePolicy, ResponsePolicy $postBody, array $optParams = [])
Applies a partial update to an existing Response Policy.
(responsePolicies.patch)
ResponsePoliciesUpdateResponse
update(string $project, string $responsePolicy, ResponsePolicy $postBody, array $optParams = [])
Updates an existing Response Policy. (responsePolicies.update)