{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-dns/json-schema/google-cloud-dns-response-policies-list-response-schema.json",
  "title": "ResponsePoliciesListResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-dns-response-policies-api-openapi.yml#/components/schemas/ResponsePoliciesListResponse",
  "properties": {
    "nextPageToken": {
      "description": "This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.",
      "type": "string"
    },
    "responsePolicies": {
      "description": "The Response Policy resources.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResponsePolicy"
      }
    }
  },
  "type": "object",
  "$defs": {
    "ResponsePolicy": {
      "description": "A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.",
      "properties": {
        "id": {
          "description": "Unique identifier for the resource; defined by the server (output only).",
          "type": "string",
          "format": "int64"
        },
        "kind": {
          "type": "string",
          "default": "dns#responsePolicy",
          "readOnly": true
        },
        "labels": {
          "type": "object",
          "description": "User labels.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "networks": {
          "description": "List of network names specifying networks to which this policy is applied.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResponsePolicyNetwork"
          }
        },
        "description": {
          "description": "User-provided description for this Response Policy.",
          "type": "string"
        },
        "gkeClusters": {
          "type": "array",
          "description": "The list of Google Kubernetes Engine clusters to which this response policy is applied.",
          "items": {
            "$ref": "#/$defs/ResponsePolicyGKECluster"
          }
        },
        "responsePolicyName": {
          "description": "User assigned name for this Response Policy.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ResponsePolicyGKECluster": {
      "type": "object",
      "properties": {
        "kind": {
          "readOnly": true,
          "default": "dns#responsePolicyGKECluster",
          "type": "string"
        },
        "gkeClusterName": {
          "description": "The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects/*/locations/*/clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get",
          "type": "string"
        }
      }
    },
    "ResponsePolicyNetwork": {
      "properties": {
        "kind": {
          "type": "string",
          "readOnly": true,
          "default": "dns#responsePolicyNetwork"
        },
        "networkUrl": {
          "description": "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}`",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}