Skip to content

Commit

Permalink
Added description of default_event_based_hold (hashicorp#5694)
Browse files Browse the repository at this point in the history
Followup on GoogleCloudPlatform/magic-modules#2954

Resolved hashicorp#11044

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician committed Feb 8, 2022
1 parent f15d051 commit e9b6f60
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/5694.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
5 changes: 3 additions & 2 deletions google/resource_storage_bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,9 @@ func resourceStorageBucket() *schema.Resource {
},

"default_event_based_hold": {
Type: schema.TypeBool,
Optional: true,
Type: schema.TypeBool,
Optional: true,
Description: `Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.`,
},

"logging": {
Expand Down
2 changes: 2 additions & 0 deletions website/docs/r/storage_bucket.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ The following arguments are supported:

* `cors` - (Optional) The bucket's [Cross-Origin Resource Sharing (CORS)](https://www.w3.org/TR/cors/) configuration. Multiple blocks of this type are permitted. Structure is [documented below](#nested_cors).

* `default_event_based_hold` - (Optional) Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.

* `retention_policy` - (Optional) Configuration of the bucket's data retention policy for how long objects in the bucket should be retained. Structure is [documented below](#nested_retention_policy).

* `labels` - (Optional) A map of key/value label pairs to assign to the bucket.
Expand Down

0 comments on commit e9b6f60

Please sign in to comment.