SecurityPolicyList

ComputeGoogle CloudInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
kind string Output only. [Output Only] Type of resource. Alwayscompute#securityPolicyList for listsof securityPolicies
warning object [Output Only] Informational warning message.
nextPageToken string [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for the query parameter pageT
items array A list of SecurityPolicy resources.
id string [Output Only] Unique identifier for the resource; defined by the server.
View JSON Schema on GitHub

JSON Schema

google-cloud-compute-engine-security-policy-list-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-security-policy-list-schema.json",
  "title": "SecurityPolicyList",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-compute-engine-organization-security-policies-api-openapi.yml#/components/schemas/SecurityPolicyList",
  "properties": {
    "kind": {
      "description": "Output only. [Output Only] Type of resource. Alwayscompute#securityPolicyList for listsof securityPolicies",
      "readOnly": true,
      "type": "string",
      "default": "compute#securityPolicyList"
    },
    "warning": {
      "description": "[Output Only] Informational warning message.",
      "properties": {
        "data": {
          "description": "[Output Only] Metadata about this warning in key:\nvalue format. For example:\n\n\"data\": [\n  {\n   \"key\": \"scope\",\n   \"value\": \"zones/us-east1-d\"\n  }]",
          "items": {
            "type": "object",
            "properties": {
              "key": {
                "description": "[Output Only] A key that provides more detail on the warning being\nreturned. For example, for warnings where there are no results in a list\nrequest for a particular zone, this key might be scope and\nthe key value might be the zone name. Other examples might be a key\nindicating a deprecated resource and a suggested replacement, or a\nwarning about invalid network settings (for example, if an instance\nattempts to perform IP forwarding but is not enabled for IP forwarding).",
                "type": "string"
              },
              "value": {
                "description": "[Output Only] A warning data value corresponding to the key.",
                "type": "string"
              }
            }
          },
          "type": "array"
        },
        "message": {
          "description": "[Output Only] A human-readable description of the warning code.",
          "type": "string"
        },
        "code": {
          "type": "string",
          "description": "[Output Only] A warning code, if applicable. For example, Compute\nEngine returns NO_RESULTS_ON_PAGE if there\nare no results in the response.",
          "enum": [
            "CLEANUP_FAILED",
            "DEPRECATED_RESOURCE_USED",
            "DEPRECATED_TYPE_USED",
            "DISK_SIZE_LARGER_THAN_IMAGE_SIZE",
            "EXPERIMENTAL_TYPE_USED",
            "EXTERNAL_API_WARNING",
            "FIELD_VALUE_OVERRIDEN",
            "INJECTED_KERNELS_DEPRECATED",
            "INVALID_HEALTH_CHECK_FOR_DYNAMIC_WIEGHTED_LB",
            "LARGE_DEPLOYMENT_WARNING",
            "LIST_OVERHEAD_QUOTA_EXCEED",
            "MISSING_TYPE_DEPENDENCY",
            "NEXT_HOP_ADDRESS_NOT_ASSIGNED",
            "NEXT_HOP_CANNOT_IP_FORWARD",
            "NEXT_HOP_INSTANCE_HAS_NO_IPV6_INTERFACE",
            "NEXT_HOP_INSTANCE_NOT_FOUND",
            "NEXT_HOP_INSTANCE_NOT_ON_NETWORK",
            "NEXT_HOP_NOT_RUNNING",
            "NOT_CRITICAL_ERROR",
            "NO_RESULTS_ON_PAGE",
            "PARTIAL_SUCCESS",
            "QUOTA_INFO_UNAVAILABLE",
            "REQUIRED_TOS_AGREEMENT",
            "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING",
            "RESOURCE_NOT_DELETED",
            "SCHEMA_VALIDATION_IGNORED",
            "SINGLE_INSTANCE_PROPERTY_TEMPLATE",
            "UNDECLARED_PROPERTIES",
            "UNREACHABLE"
          ]
        }
      },
      "type": "object"
    },
    "nextPageToken": {
      "description": "[Output Only] This token allows you to get the next page of results for\nlist requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for\nthe query parameter pageToken in the next list request.\nSubsequent list requests will have their own nextPageToken to\ncontinue paging through the results.",
      "type": "string"
    },
    "items": {
      "description": "A list of SecurityPolicy resources.",
      "items": {
        "$ref": "#/$defs/SecurityPolicy"
      },
      "type": "array"
    },
    "id": {
      "description": "[Output Only] Unique identifier for the resource; defined by the server.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "Expr": {
      "properties": {
        "expression": {
          "description": "Textual representation of an expression in Common Expression Language\nsyntax.",
          "type": "string"
        },
        "location": {
          "type": "string",
          "description": "Optional. String indicating the location of the expression for error\nreporting, e.g. a file name and a position in the file."
        },
        "title": {
          "description": "Optional. Title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
          "type": "string"
        },
        "description": {
          "description": "Optional. Description of the expression. This is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
          "type": "string"
        }
      },
      "type": "object",
      "description": "Represents a textual expression in the Common Expression Language (CEL)\nsyntax. CEL is a C-like expression language. The syntax and semantics of CEL\nare documented at https://github.com/google/cel-spec.\n\nExample (Comparison):\n\n    title: \"Summary size limit\"\n    description: \"Determines if a summary is less than 100 chars\"\n    expression: \"document.summary.size() < 100\"\n\nExample (Equality):\n\n    title: \"Requestor is owner\"\n    description: \"Determines if requestor is the document owner\"\n    expression: \"document.owner == request.auth.claims.email\"\n\nExample (Logic):\n\n    title: \"Public documents\"\n    description: \"Determine whether the document should be publicly visible\"\n    expression: \"document.type != 'private' && document.type != 'internal'\"\n\nExample (Data Manipulation):\n\n    title: \"Notification string\"\n    description: \"Create a notification string with a timestamp.\"\n    expression: \"'New message received at ' + string(document.create_time)\"\n\nThe exact variables and functions that may be referenced within an expression\nare determined by the service that evaluates it. See the service\ndocumentation for additional information."
    },
    "SecurityPolicy": {
      "properties": {
        "selfLink": {
          "readOnly": true,
          "description": "Output only. [Output Only] Server-defined URL for the resource.",
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "The type indicates the intended use of the security policy.\n   \n   - CLOUD_ARMOR: Cloud Armor backend security policies can\n   be configured to filter incoming HTTP requests targeting backend services.\n   They filter requests before they hit the origin servers.\n   - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can\n   be configured to filter incoming HTTP requests targeting backend services\n   (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage).\n   They filter requests before the request is served from Google's cache.\n   - CLOUD_ARMOR_INTERNAL_SERVICE (preview only): Cloud Armor\n   internal service policies can be configured to filter HTTP requests\n   targeting services managed by Traffic Director in a service mesh. They\n   filter requests before the request is served from the application.\n\n- CLOUD_ARMOR_NETWORK: Cloud Armor network policies\ncan be configured to filter packets targeting network load balancing\nresources such as backend services, target pools, target instances, and\ninstances with external IPs. They filter requests before the request is\nserved from the application.\n\n\nThis field can be set only at resource creation time.",
          "enum": [
            "CLOUD_ARMOR",
            "CLOUD_ARMOR_EDGE",
            "CLOUD_ARMOR_NETWORK"
          ]
        },
        "ddosProtectionConfig": {
          "$ref": "#/$defs/SecurityPolicyDdosProtectionConfig"
        },
        "associations": {
          "items": {
            "$ref": "#/$defs/SecurityPolicyAssociation"
          },
          "description": "A list of associations that belong to this policy.",
          "type": "array"
        },
        "labelFingerprint": {
          "type": "string",
          "description": "A fingerprint for the labels being applied to this security policy, which\nis essentially a hash of the labels set used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update labels. You must always provide an\nup-to-date fingerprint hash in order to update or change labels.\n\nTo see the latest fingerprint, make get() request to the\nsecurity policy.",
          "format": "byte"
        },
        "shortName": {
          "description": "User-provided name of the organization security policy. The name should be\nunique in the organization in which the security policy is created. This\nshould only be used when SecurityPolicyType is CLOUD_ARMOR.\nThe name must be 1-63 characters long, and comply with\nhttps://www.ietf.org/rfc/rfc1035.txt. Specifically, the name must be 1-63\ncharacters long and match the regular expression\n`[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a\nlowercase letter, and all following characters must be a dash, lowercase\nletter, or digit, except the last character, which cannot be a dash.",
          "type": "string",
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
        },
        "rules": {
          "type": "array",
          "description": "A list of rules that belong to this policy.\nThere must always be a default rule which is a rule with priority\n2147483647 and match all condition (for the match condition this means\nmatch  \"*\" for srcIpRanges and for the networkMatch condition every field\nmust be either match \"*\" or not set). If no rules are provided when\ncreating a security policy, a default rule with action \"allow\" will be\nadded.",
          "items": {
            "$ref": "#/$defs/SecurityPolicyRule"
          }
        },
        "fingerprint": {
          "type": "string",
          "format": "byte",
          "description": "Specifies a fingerprint for this resource, which is essentially a hash of\nthe metadata's contents and used for optimistic locking. The\nfingerprint is initially generated by Compute Engine and changes after\nevery request to modify or update metadata. You must always provide an\nup-to-date fingerprint hash in order to update or change metadata,\notherwise the request will fail with error412 conditionNotMet.\n\nTo see the latest fingerprint, make get() request to the\nsecurity policy."
        },
        "labels": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Labels for this resource. These can only be added or modified by thesetLabels method. Each label key/value pair must comply withRFC1035.\nLabel values may be empty."
        },
        "recaptchaOptionsConfig": {
          "$ref": "#/$defs/SecurityPolicyRecaptchaOptionsConfig"
        },
        "userDefinedFields": {
          "description": "Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A\nuser-defined field consists of up to 4 bytes extracted from a fixed offset\nin the packet, relative to the IPv4, IPv6, TCP, or UDP header, with an\noptional mask to select certain bits. Rules may then specify matching\nvalues for these fields.\n\nExample:\n\n userDefinedFields:\n - name: \"ipv4_fragment_offset\"\n   base: IPV4\n   offset: 6\n   size: 2\n   mask: \"0x1fff\"",
          "type": "array",
          "items": {
            "$ref": "#/$defs/SecurityPolicyUserDefinedField"
          }
        },
        "kind": {
          "readOnly": true,
          "description": "Output only. [Output only] Type of the resource. Alwayscompute#securityPolicyfor security policies",
          "type": "string",
          "default": "compute#securityPolicy"
        },
        "creationTimestamp": {
          "description": "Output only. [Output Only] Creation timestamp inRFC3339\ntext format.",
          "type": "string",
          "readOnly": true
        },
        "description": {
          "description": "An optional description of this resource. Provide this property when you\ncreate the resource.",
          "type": "string"
        },
        "region": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output Only] URL of the region where the regional security policy\nresides. This field is not applicable to global security policies."
        },
        "name": {
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?",
          "type": "string",
          "description": "Name of the resource. Provided by the client when the resource is created.\nThe name must be 1-63 characters long, and comply withRFC1035.\nSpecifically, the name must be 1-63 characters long and match the regular\nexpression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first\ncharacter must be a lowercase letter, and all following characters must\nbe a dash, lowercase letter, or digit, except the last character, which\ncannot be a dash."
        },
        "advancedOptionsConfig": {
          "$ref": "#/$defs/SecurityPolicyAdvancedOptionsConfig"
        },
        "adaptiveProtectionConfig": {
          "$ref": "#/$defs/SecurityPolicyAdaptiveProtectionConfig"
        },
        "id": {
          "readOnly": true,
          "format": "uint64",
          "type": "string",
          "description": "Output only. [Output Only] The unique identifier for the resource. This identifier is\ndefined by the server."
        },
        "parent": {
          "type": "string",
          "description": "Output only. [Output Only] The parent of the security policy.",
          "readOnly": true
        }
      },
      "description": "Represents a Google Cloud Armor security policy resource.\n\nOnly external backend services that use load balancers can\nreference a security policy. For more information, see\nGoogle Cloud Armor security policy overview.",
      "type": "object"
    },
    "SecurityPolicyAdaptiveProtectionConfig": {
      "properties": {
        "layer7DdosDefenseConfig": {
          "$ref": "#/$defs/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig",
          "description": "If set to true, enables Cloud Armor Machine Learning."
        }
      },
      "type": "object",
      "description": "Configuration options for Cloud Armor Adaptive Protection (CAAP)."
    },
    "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig": {
      "type": "object",
      "properties": {
        "thresholdConfigs": {
          "type": "array",
          "description": "Configuration options for layer7 adaptive protection for various\ncustomizable thresholds.",
          "items": {
            "$ref": "#/$defs/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig"
          }
        },
        "ruleVisibility": {
          "enum": [
            "PREMIUM",
            "STANDARD"
          ],
          "type": "string",
          "description": "Rule visibility can be one of the following:\nSTANDARD - opaque rules. (default)\nPREMIUM - transparent rules.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR."
        },
        "enable": {
          "type": "boolean",
          "description": "If set to true, enables CAAP for L7 DDoS detection.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR."
        }
      },
      "description": "Configuration options for L7 DDoS detection.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR."
    },
    "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig": {
      "properties": {
        "detectionRelativeToBaselineQps": {
          "type": "number",
          "format": "float"
        },
        "detectionLoadThreshold": {
          "format": "float",
          "type": "number"
        },
        "autoDeployExpirationSec": {
          "type": "integer",
          "format": "int32"
        },
        "autoDeployConfidenceThreshold": {
          "format": "float",
          "type": "number"
        },
        "name": {
          "description": "The name must be 1-63 characters long, and comply withRFC1035.\nThe name must be unique within the security policy.",
          "type": "string",
          "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?"
        },
        "autoDeployLoadThreshold": {
          "type": "number",
          "format": "float"
        },
        "detectionAbsoluteQps": {
          "type": "number",
          "format": "float"
        },
        "autoDeployImpactedBaselineThreshold": {
          "type": "number",
          "format": "float"
        },
        "trafficGranularityConfigs": {
          "type": "array",
          "description": "Configuration options for enabling Adaptive Protection to operate\non specified granular traffic units.",
          "items": {
            "$ref": "#/$defs/SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig"
          }
        }
      },
      "type": "object"
    },
    "SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig": {
      "description": "Configurations to specifc granular traffic units processed by\nAdaptive Protection.",
      "type": "object",
      "properties": {
        "value": {
          "description": "Requests that match this value constitute a granular traffic unit.",
          "type": "string"
        },
        "type": {
          "type": "string",
          "description": "Type of this configuration.",
          "enum": [
            "HTTP_HEADER_HOST",
            "HTTP_PATH",
            "UNSPECIFIED_TYPE"
          ]
        },
        "enableEachUniqueValue": {
          "description": "If enabled, traffic matching each unique value for the specified\ntype constitutes a separate traffic unit.\nIt can only be set to true if `value` is empty.",
          "type": "boolean"
        }
      }
    },
    "SecurityPolicyAdvancedOptionsConfig": {
      "type": "object",
      "properties": {
        "requestBodyInspectionSize": {
          "description": "The maximum request size chosen by the customer with Waf enabled.\nValues supported are \"8KB\", \"16KB, \"32KB\", \"48KB\" and \"64KB\".\nValues are case insensitive.",
          "type": "string"
        },
        "logLevel": {
          "enum": [
            "NORMAL",
            "VERBOSE"
          ],
          "type": "string"
        },
        "jsonCustomConfig": {
          "$ref": "#/$defs/SecurityPolicyAdvancedOptionsConfigJsonCustomConfig",
          "description": "Custom configuration to apply the JSON parsing. Only applicable when\njson_parsing is set to STANDARD."
        },
        "jsonParsing": {
          "type": "string",
          "enum": [
            "DISABLED",
            "STANDARD",
            "STANDARD_WITH_GRAPHQL"
          ]
        },
        "userIpRequestHeaders": {
          "type": "array",
          "description": "An optional list of case-insensitive request header names to use for\nresolving the callers client IP address.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SecurityPolicyAdvancedOptionsConfigJsonCustomConfig": {
      "type": "object",
      "properties": {
        "contentTypes": {
          "items": {
            "type": "string"
          },
          "description": "A list of custom Content-Type header values to apply the JSON parsing.\n\nAs per RFC 1341, a Content-Type header value has the following format:\n\nContent-Type := type \"/\" subtype *[\";\" parameter]\n\nWhen configuring a custom Content-Type header value, only the\ntype/subtype needs to be specified, and the parameters should be\nexcluded.",
          "type": "array"
        }
      }
    },
    "SecurityPolicyAssociation": {
      "type": "object",
      "properties": {
        "excludedProjects": {
          "items": {
            "type": "string"
          },
          "description": "A list of projects to exclude from the security policy.",
          "type": "array"
        },
        "securityPolicyId": {
          "readOnly": true,
          "description": "Output only. [Output Only] The security policy ID of the association.",
          "type": "string"
        },
        "shortName": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output Only] The short name of the security policy of the association."
        },
        "name": {
          "type": "string",
          "description": "The name for an association."
        },
        "attachmentId": {
          "description": "The resource that the security policy is attached to.",
          "type": "string"
        },
        "displayName": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. [Output Only] The display name of the security policy of the association.",
          "deprecated": true
        },
        "excludedFolders": {
          "type": "array",
          "description": "A list of folders to exclude from the security policy.",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "SecurityPolicyDdosProtectionConfig": {
      "type": "object",
      "properties": {
        "ddosProtection": {
          "type": "string",
          "enum": [
            "ADVANCED",
            "ADVANCED_PREVIEW",
            "STANDARD"
          ]
        },
        "ddosImpactedBaselineThreshold": {
          "format": "float",
          "type": "number",
          "description": "DDoS Protection for Network Load Balancers (and VMs with public IPs)\nbuilds DDoS mitigations that minimize collateral damage. It quantifies\nthis as the fraction of a non-abuse baseline that's inadvertently\nblocked.\n\nRules whose collateral damage exceeds ddosImpactedBaselineThreshold will\nnot be deployed. Using a lower value will prioritize keeping collateral\ndamage low, possibly at the cost of its effectiveness in rate limiting\nsome or all of the attack. It should typically be unset, so Advanced DDoS\n(and Adaptive Protection) uses the best mitigation it can find. Setting\nthe threshold is advised if there are logs for false positive detections\nwith high collateral damage, and will cause Advanced DDoS to attempt to\nfind a less aggressive rule that satisfies the constraint. If a suitable\nrule cannot be found, the system falls back to either no mitigation for\nsmaller attacks or broader network throttles for larger ones."
        },
        "ddosAdaptiveProtection": {
          "type": "string",
          "enum": [
            "DDOS_ADAPTIVE_PROTECTION_UNSPECIFIED",
            "DISABLED",
            "ENABLED",
            "PREVIEW",
            "UNSPECIFIED_ADAPTIVE_PROTECTION"
          ]
        }
      }
    },
    "SecurityPolicyRecaptchaOptionsConfig": {
      "type": "object",
      "properties": {
        "redirectSiteKey": {
          "type": "string",
          "description": "An optional field to supply a reCAPTCHA site key to be used for all the\nrules using the redirect action with the type of GOOGLE_RECAPTCHA under\nthe security policy. The specified site key needs to be created from the\nreCAPTCHA API. The user is responsible for the validity of the specified\nsite key. If not specified, a Google-managed site key is used.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR."
        }
      }
    },
    "SecurityPolicyRule": {
      "type": "object",
      "properties": {
        "kind": {
          "readOnly": true,
          "default": "compute#securityPolicyRule",
          "type": "string",
          "description": "Output only. [Output only] Type of the resource. Alwayscompute#securityPolicyRule for security policy rules"
        },
        "rateLimitOptions": {
          "$ref": "#/$defs/SecurityPolicyRuleRateLimitOptions",
          "description": "Must be specified if the action is \"rate_based_ban\" or \"throttle\" or\n\"fairshare\". Cannot be specified for any other actions."
        },
        "redirectOptions": {
          "$ref": "#/$defs/SecurityPolicyRuleRedirectOptions",
          "description": "Parameters defining the redirect action. Cannot be specified for any\nother actions.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR."
        },
        "networkMatch": {
          "$ref": "#/$defs/SecurityPolicyRuleNetworkMatcher",
          "description": "A match condition that incoming packets are evaluated against for\nCLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding\n'action' is enforced.\n\nThe match criteria for a rule consists of built-in match fields (like\n'srcIpRanges') and potentially multiple user-defined match fields\n('userDefinedFields').\n\nField values may be extracted directly from the packet or derived from it\n(e.g. 'srcRegionCodes'). Some fields may not be present in every packet\n(e.g. 'srcPorts'). A user-defined field is only present if the base\nheader is found in the packet and the entire field is in bounds.\n\nEach match field may specify which values can match it, listing one or\nmore ranges, prefixes, or exact values that are considered a match for\nthe field. A field value must be present in order to match a specified\nmatch field. If no match values are specified for a match field, then any\nfield value is considered to match it, and it's not required to be\npresent. For strings specifying '*' is also equivalent to match all.\n\nFor a packet to match a rule, all specified match fields must match the\ncorresponding field values derived from the packet.\n\nExample:\n\nnetworkMatch:\n  srcIpRanges:\n  - \"192.0.2.0/24\"\n  - \"198.51.100.0/24\"\n  userDefinedFields:\n  - name: \"ipv4_fragment_offset\"\n    values:\n    - \"1-0x1fff\"\n\nThe above match condition matches packets with a source IP in\n192.0.2.0/24 or 198.51.100.0/24 and a user-defined field named\n\"ipv4_fragment_offset\" with a value between 1 and 0x1fff inclusive."
        },
        "description": {
          "description": "An optional description of this resource. Provide this property when you\ncreate the resource.",
          "type": "string"
        },
        "match": {
          "$ref": "#/$defs/SecurityPolicyRuleMatcher",
          "description": "A match condition that incoming traffic is evaluated against.\nIf it evaluates to true, the corresponding 'action' is enforced."
        },
        "headerAction": {
          "$ref": "#/$defs/SecurityPolicyRuleHttpHeaderAction",
          "description": "Optional, additional actions that are performed on headers.\nThis field is only supported in Global Security Policies of type\nCLOUD_ARMOR."
        },
        "priority": {
          "format": "int32",
          "type": "integer",
          "description": "An integer indicating the priority of a rule in the list. The priority\nmust be a positive value between 0 and 2147483647.\nRules are evaluated from highest to lowest priority where 0 is the\nhighest priority and 2147483647 is the lowest priority."
        },
        "preconfiguredWafConfig": {
          "$ref": "#/$defs/SecurityPolicyRulePreconfiguredWafConfig",
          "description": "Preconfigured WAF configuration to be applied for the rule. If the rule\ndoes not evaluate preconfigured WAF rules, i.e., if\nevaluatePreconfiguredWaf() is not used, this field will have no effect."
        },
        "preview": {
          "description": "If set to true, the specified action is not enforced.",
          "type": "boolean"
        },
        "action": {
          "type": "string",
          "description": "The Action to perform when the rule is matched.\nThe following are the valid actions:\n   \n   - allow: allow access to target.\n   - deny(STATUS): deny access to target, returns the\n   HTTP response code specified. Valid values for `STATUS`\n   are 403, 404, and 502.\n   - rate_based_ban: limit client traffic to the configured\n   threshold and ban the client if the traffic exceeds the threshold.\n   Configure parameters for this action in RateLimitOptions. Requires\n   rate_limit_options to be set.\n   - redirect: redirect to a different target. This can\n   either be an internal reCAPTCHA redirect, or an external URL-based\n   redirect via a 302 response. Parameters for this action can be configured\n   via redirectOptions. This action is only supported in Global Security\n   Policies of type CLOUD_ARMOR.\n   - throttle: limit\n   client traffic to the configured threshold. Configure parameters for this\n   action in rateLimitOptions. Requires rate_limit_options to be set for\n   this.\n   - fairshare (preview only): when traffic reaches the\n   threshold limit, requests from the clients matching this rule begin to be\n   rate-limited using the Fair Share algorithm. This action is only allowed\n   in security policies of type `CLOUD_ARMOR_INTERNAL_SERVICE`."
        }
      },
      "description": "Represents a rule that describes one or more match conditions along with\nthe action to be taken when traffic matches this condition (allow or deny)."
    },
    "SecurityPolicyRuleHttpHeaderAction": {
      "properties": {
        "requestHeadersToAdds": {
          "description": "The list of request headers to add or overwrite if they're already\npresent.",
          "items": {
            "$ref": "#/$defs/SecurityPolicyRuleHttpHeaderActionHttpHeaderOption"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "SecurityPolicyRuleHttpHeaderActionHttpHeaderOption": {
      "properties": {
        "headerName": {
          "description": "The name of the header to set.",
          "type": "string"
        },
        "headerValue": {
          "type": "string",
          "description": "The value to set the named header to."
        }
      },
      "type": "object"
    },
    "SecurityPolicyRuleMatcher": {
      "properties": {
        "exprOptions": {
          "$ref": "#/$defs/SecurityPolicyRuleMatcherExprOptions",
          "description": "The configuration options available when specifying a user defined\nCEVAL expression (i.e., 'expr')."
        },
        "config": {
          "$ref": "#/$defs/SecurityPolicyRuleMatcherConfig",
          "description": "The configuration options available when specifying versioned_expr.\nThis field must be specified if versioned_expr is specified and cannot\nbe specified if versioned_expr is not specified."
        },
        "expr": {
          "$ref": "#/$defs/Expr",
          "description": "User defined CEVAL expression.\nA CEVAL expression is used to specify match criteria such as origin.ip,\nsource.region_code and contents in the request header.\nExpressions containing `evaluateThreatIntelligence` require a Cloud\nArmor Enterprise subscription and are not supported in Edge Policies\nnor in Regional Policies. Expressions containing\n`evaluatePreconfiguredExpr('sourceiplist-*')` require a Cloud Armor\nEnterprise subscription and are only supported in Global Security\nPolicies."
        },
        "versionedExpr": {
          "type": "string",
          "description": "Preconfigured versioned expression.\nIf this field is specified, config must also be specified.\nAvailable preconfigured expressions along with their requirements are:\nSRC_IPS_V1 - must specify the corresponding src_ip_range field in\nconfig.",
          "enum": [
            "SRC_IPS_V1"
          ]
        }
      },
      "description": "Represents a match condition that incoming traffic is evaluated against.\nExactly one field must be specified.",
      "type": "object"
    },
    "SecurityPolicyRuleMatcherConfig": {
      "properties": {
        "srcIpRanges": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "CIDR IP address range.\nMaximum number of src_ip_ranges allowed is 10."
        }
      },
      "type": "object"
    },
    "SecurityPolicyRuleMatcherExprOptions": {
      "type": "object",
      "properties": {
        "recaptchaOptions": {
          "$ref": "#/$defs/SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions",

# --- truncated at 32 KB (50 KB total) ---
# Full source: https://artifacts.apis.io/google-cloud-compute-engine/json-schema/google-cloud-compute-engine-security-policy-list-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-compute-engine-security-policy-list"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.