Skip to content

Commit

Permalink
Remove max bytes validation (GoogleCloudPlatform#8642)
Browse files Browse the repository at this point in the history
* Remove validation on max_bytes

* Test max_bytes less than 1000

* Revert max_bytes to valid value
  • Loading branch information
roaks3 authored and ron-gal committed Aug 17, 2023
1 parent 6cceb0f commit 9aec940
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mmv1/products/pubsub/Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ properties:
description: |
The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB.
The maxBytes limit may be exceeded in cases where messages are larger than the limit.
validation: !ruby/object:Provider::Terraform::Validation
function: 'validation.IntBetween(1000, 10737418240)'
- !ruby/object:Api::Type::Enum
name: 'state'
description: |
Expand Down

0 comments on commit 9aec940

Please sign in to comment.