File: //lib/google-cloud-sdk/lib/googlecloudsdk/schemas/compute/beta/BackendServiceCdnPolicy.yaml
$schema: "http://json-schema.org/draft-06/schema#"
title: compute beta BackendServiceCdnPolicy 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
cacheKeyPolicy:
description: The CacheKeyPolicy for this CdnPolicy.
$ref: CacheKeyPolicy.yaml
cacheMode:
description: A CacheModeValueValuesEnum attribute.
type: string
enum:
- CACHE_ALL_STATIC
- FORCE_CACHE_ALL
- INVALID_CACHE_MODE
- USE_ORIGIN_HEADERS
clientTtl:
description: |-
Specifies a separate client (e.g. browser client) TTL, separate from
the TTL for Cloud CDN's edge caches. Leaving this empty will use the
same cache TTL for both Cloud CDN and the client-facing response. The
maximum allowed value is 86400s (1 day).
type: integer
defaultTtl:
description: |-
Specifies the default TTL for cached content served by this origin for
responses that do not have an existing valid TTL (max-age or s-max-
age). Setting a TTL of "0" means "always revalidate" and a value of
"-1" disables caching for that status code. The value of defaultTTL
cannot be set to a value greater than that of maxTTL, but can be
equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL
will overwrite the TTL set in all responses. The maximum allowed value
is 31,622,400s (1 year), noting that infrequently accessed objects may
be evicted from the cache before the defined TTL.
type: integer
maxTtl:
description: |-
Specifies the maximum allowed TTL for cached content served by this
origin. Cache directives that attempt to set a max-age or s-maxage
higher than this, or an Expires header more than maxTTL seconds in the
future will be capped at the value of maxTTL, as if it were the value
of an s-maxage Cache-Control directive. Setting a TTL of "0" means
"always revalidate" and a value of "-1" disables caching for that
status code. The maximum allowed value is 31,622,400s (1 year), noting
that infrequently accessed objects may be evicted from the cache
before the defined TTL.
type: integer
signedUrlCacheMaxAgeSec:
description: |-
Maximum number of seconds the response to a signed URL request will be
considered fresh. After this time period, the response will be revalidated
before being served. Defaults to 1hr (3600s). When serving responses to
signed URL requests, Cloud CDN will internally behave as though all
responses from this backend had a "Cache-Control: public, max-age=[TTL]"
header, regardless of any existing Cache-Control header. The actual
headers served in responses will not be altered.
type: integer
signedUrlKeyNames:
description: '[Output Only] Names of the keys for signing request URLs.'
type: array
items:
type: string