HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/lib/googlecloudsdk/schemas/compute/beta/CustomErrorResponsePolicy.yaml
$schema: "http://json-schema.org/draft-06/schema#"

title: compute beta CustomErrorResponsePolicy export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
  COMMENT:
    type: object
    description: User specified info ignored by gcloud import.
    additionalProperties: false
    properties:
      template-id:
        type: string
      region:
        type: string
      description:
        type: string
      date:
        type: string
      version:
        type: string
  UNKNOWN:
    type: array
    description: Unknown API fields that cannot be imported.
    items:
      type: string
  errorResponseRules:
    description: |-
      Specifies rules for returning error responses. In a given policy, if you
      specify rules for both a range of error codes as well as rules for
      specific error codes then rules with specific error codes have a higher
      priority. For example, assume that you configure a rule for 401 (Un-
      authorized) code, and another for all 4 series error codes (4XX). If the
      backend service returns a 401, then the rule for 401 will be applied.
      However if the backend service returns a 403, the rule for 4xx takes
      effect.
    type: array
    items:
      $ref: CustomErrorResponsePolicyCustomErrorResponseRule.yaml
  errorService:
    description: |-
      The full or partial URL to the BackendBucket resource that contains
      the custom error content. Examples are: - https://www.googleapi s.com/
      compute/v1/projects/project/global/backendBuckets/myBackendBucket -
      compute/v1/projects/project/global/backendBuckets/myBackendBucket -
      global/backendBuckets/myBackendBucket If errorService is not specified
      at lower levels like pathMatcher, pathRule and routeRule, an
      errorService specified at a higher level in the UrlMap will be used.
      If UrlMap.defaultCustomErrorResponsePolicy contains one or more
      errorResponseRules[], it must specify errorService. If load balancer
      cannot reach the backendBucket, a simple Not Found Error will be
      returned, with the original response code (or overrideResponseCode if
      configured). errorService is not supported for internal or regional
      HTTP/HTTPS load balancers.
    type: string