Skip to content

Commit

Permalink
add google_logging_metric to version 5 upgrade doc for GoogleCloudPla…
Browse files Browse the repository at this point in the history
  • Loading branch information
pengq-google committed Sep 7, 2023
1 parent 3181b47 commit 90c2d09
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,3 +331,15 @@ If you were relying on accessing an individual flag by index (for example, `goog
### `rule.rate_limit_options.encorce_on_key` no longer has default value

Previously, the default value for `rule.rate_limit_options.encorce_on_key` is "ALL", now this field no longer has a default value.

## Resource: `google_logging_metric`

### Additional `bucket_options` subfields are now properly required

When setting the `bucket_options` block, the following fields may be required:

* `num_finite_buckets`, `width`, and `offset` are now required when `bucket_options.linear_buckets` is set.

* `num_finite_buckets`, `growth_factor`, and `scale` are now required when `bucket_options.exponential_buckets` is set.

Previously these fields should have been required but were not, which allowed for invalid `google_logging_metric` configurations.

0 comments on commit 90c2d09

Please sign in to comment.