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/alpha/CorsPolicy.yaml
$schema: "http://json-schema.org/draft-06/schema#"

title: compute alpha CorsPolicy 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
  allowCredentials:
    description: |-
      In response to a preflight request, setting this to true indicates that
      the actual request can include user credentials. This field translates to
      the Access-Control-Allow-Credentials header. Default is false.
    type: boolean
  allowHeaders:
    description: |-
      Specifies the content for the Access-Control-Allow-Headers header.
    type: array
    items:
      type: string
  allowMethods:
    description: |-
      Specifies the content for the Access-Control-Allow-Methods header.
    type: array
    items:
      type: string
  allowOriginRegexes:
    description: |-
      Specifies a regular expression that matches allowed origins. For
      more information about the regular expression syntax, see Syntax.
      An origin is allowed if it matches either an item in allowOrigins
      or an item in allowOriginRegexes.
    type: array
    items:
      type: string
  allowOrigins:
    description: |-
      Specifies the list of origins that is allowed to do CORS
      requests. An origin is allowed if it matches either an item in
      allowOrigins or an item in allowOriginRegexes.
    type: array
    items:
      type: string
  disabled:
    description: |-
      If true, the setting specifies the CORS policy is
      disabled. The default value of false, which indicates that
      the CORS policy is in effect.
    type: boolean
  exposeHeaders:
    description: |-
      Specifies the content for the Access-Control-Expose-
      Headers header.
    type: array
    items:
      type: string
  maxAge:
    description: |-
      Specifies how long results of a preflight request can
      be cached in seconds. This field translates to the
      Access-Control-Max-Age header.
    type: integer