Skip to content

Commit

Permalink
update maxItems (GoogleCloudPlatform#7487)
Browse files Browse the repository at this point in the history
* update maxItems

* update description

---------

Co-authored-by: Edward Sun <sunedward@google.com>
  • Loading branch information
2 people authored and ericayyliu committed Jul 26, 2023
1 parent a6bff19 commit c052e6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions mmv1/products/networkservices/EdgeCacheOrigin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,9 @@ properties:
description: |
Describes a header to add.
You may add a maximum of 5 request headers.
You may add a maximum of 25 request headers.
min_size: 1
max_size: 5
max_size: 25
item_type: !ruby/object:Api::Type::NestedObject
properties:
- !ruby/object:Api::Type::String
Expand Down
12 changes: 6 additions & 6 deletions mmv1/products/networkservices/EdgeCacheService.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ properties:
description: |
Describes a header to add.
min_size: 1
max_size: 5
max_size: 25
item_type: !ruby/object:Api::Type::NestedObject
properties:
- !ruby/object:Api::Type::String
Expand All @@ -361,7 +361,7 @@ properties:
Response headers are only sent to the client, and do not have an effect on the cache serving the response.
min_size: 1
max_size: 5
max_size: 25
item_type: !ruby/object:Api::Type::NestedObject
properties:
- !ruby/object:Api::Type::String
Expand All @@ -385,7 +385,7 @@ properties:
description: |
A list of header names for headers that need to be removed from the request prior to forwarding the request to the origin.
min_size: 1
max_size: 10
max_size: 25
item_type: !ruby/object:Api::Type::NestedObject
properties:
- !ruby/object:Api::Type::String
Expand All @@ -399,7 +399,7 @@ properties:
description: |
A list of header names for headers that need to be removed from the request prior to forwarding the request to the origin.
min_size: 1
max_size: 10
max_size: 25
item_type: !ruby/object:Api::Type::NestedObject
properties:
- !ruby/object:Api::Type::String
Expand Down Expand Up @@ -780,13 +780,13 @@ properties:
name: allowHeaders
description: |
Specifies the content for the Access-Control-Allow-Headers response header.
max_size: 5
max_size: 25
item_type: Api::Type::String
- !ruby/object:Api::Type::Array
name: exposeHeaders
description: |
Specifies the content for the Access-Control-Allow-Headers response header.
max_size: 5
max_size: 25
item_type: Api::Type::String
- !ruby/object:Api::Type::Boolean
name: 'disabled'
Expand Down

0 comments on commit c052e6b

Please sign in to comment.