{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-dns/json-schema/google-cloud-dns-response-policies-update-response-schema.json",
  "title": "ResponsePoliciesUpdateResponse",
  "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/ResponsePoliciesUpdateResponse",
  "properties": {
    "responsePolicy": {
      "$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"
    }
  }
}