Skip to content

Commit

Permalink
Added description of default_event_based_hold (#5694) (#4038)
Browse files Browse the repository at this point in the history
  • Loading branch information
modular-magician authored Feb 8, 2022
1 parent 6fc5a1e commit 80e0aa1
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-beta/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 80e0aa1

Please sign in to comment.