Skip to content

Commit

Permalink
Send empty values for backend service cache key policy (#2897)
Browse files Browse the repository at this point in the history
Merged PR #2897.
  • Loading branch information
emilymye authored and modular-magician committed Dec 30, 2019
1 parent 52f4ca1 commit bb9bc9c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
2 changes: 1 addition & 1 deletion build/terraform-mapper
5 changes: 5 additions & 0 deletions products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,7 @@ objects:
properties:
- !ruby/object:Api::Type::Boolean
name: 'includeHost'
send_empty_value: true
at_least_one_of:
- cdn_policy.0.cache_key_policy.0.include_host
- cdn_policy.0.cache_key_policy.0.include_protocol
Expand All @@ -933,6 +934,7 @@ objects:
If true requests to different hosts will be cached separately.
- !ruby/object:Api::Type::Boolean
name: 'includeProtocol'
send_empty_value: true
at_least_one_of:
- cdn_policy.0.cache_key_policy.0.include_host
- cdn_policy.0.cache_key_policy.0.include_protocol
Expand All @@ -943,6 +945,7 @@ objects:
If true, http and https requests will be cached separately.
- !ruby/object:Api::Type::Boolean
name: 'includeQueryString'
send_empty_value: true
at_least_one_of:
- cdn_policy.0.cache_key_policy.0.include_host
- cdn_policy.0.cache_key_policy.0.include_protocol
Expand All @@ -959,6 +962,7 @@ objects:
key entirely.
- !ruby/object:Api::Type::Array
name: 'queryStringBlacklist'
send_empty_value: true
at_least_one_of:
- cdn_policy.0.cache_key_policy.0.include_host
- cdn_policy.0.cache_key_policy.0.include_protocol
Expand All @@ -974,6 +978,7 @@ objects:
delimiters.
item_type: Api::Type::String
- !ruby/object:Api::Type::Array
send_empty_value: true
name: 'queryStringWhitelist'
at_least_one_of:
- cdn_policy.0.cache_key_policy.0.include_host
Expand Down

0 comments on commit bb9bc9c

Please sign in to comment.