ResponsePolicies

For a list of methods for this resource, see the end of this page.

Resource representations

A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.

{
  "kind": "dns#responsePolicy",
  "id": long,
  "responsePolicyName": string,
  "description": string,
  "networks": [
    {
      "kind": "dns#responsePolicyNetwork",
      "networkUrl": string
    }
  ]
}
Property name Value Description Notes
description string User-provided description for this Response Policy.
id long Unique identifier for the resource; defined by the server (output only).
kind string Identifies what kind of resource this is. Value: the fixed string "dns#responsePolicy".
networks[] list List of network names specifying networks to which this policy is applied.
networks[].kind string Identifies what kind of resource this is. Value: the fixed string "dns#responsePolicyNetwork".
networks[].networkUrl string The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
responsePolicyName string User assigned name for this Response Policy.

Methods

create
Creates a new Response Policy
delete
Deletes a previously created Response Policy. Fails if the response policy is non-empty or still being referenced by a network.
get
Fetches the representation of an existing Response Policy.
list
Enumerates all Response Policies associated with a project.
patch
Applies a partial update to an existing Response Policy.
update
Updates an existing Response Policy.