Skip to content

Commit 80e0aa1

Browse files
Added description of default_event_based_hold (#5694) (#4038)
Followup on GoogleCloudPlatform/magic-modules#2954 Resolved hashicorp/terraform-provider-google#11044 Signed-off-by: Modular Magician <[email protected]>
1 parent 6fc5a1e commit 80e0aa1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.changelog/5694.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_storage_bucket.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,9 @@ func resourceStorageBucket() *schema.Resource {
318318
},
319319

320320
"default_event_based_hold": {
321-
Type: schema.TypeBool,
322-
Optional: true,
321+
Type: schema.TypeBool,
322+
Optional: true,
323+
Description: `Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.`,
323324
},
324325

325326
"logging": {

website/docs/r/storage_bucket.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ The following arguments are supported:
8989

9090
* `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).
9191

92+
* `default_event_based_hold` - (Optional) Whether or not to automatically apply an eventBasedHold to new objects added to the bucket.
93+
9294
* `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).
9395

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

0 commit comments

Comments
 (0)