Skip to content

Commit 40c368d

Browse files
feat(storage): update the api
#### storage:v1 The following keys were added: - schemas.Bucket.properties.customPlacementConfig (Total Keys: 3)
1 parent c9f40c1 commit 40c368d

File tree

2 files changed

+70
-12
lines changed

2 files changed

+70
-12
lines changed

docs/dyn/storage_v1.buckets.html

Lines changed: 54 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ <h3>Method Details</h3>
196196
],
197197
},
198198
],
199+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
200+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
201+
&quot;A String&quot;,
202+
],
203+
},
199204
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
200205
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
201206
{ # An access-control entry.
@@ -253,7 +258,7 @@ <h3>Method Details</h3>
253258
{
254259
&quot;action&quot;: { # The action to take.
255260
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
256-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
261+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
257262
},
258263
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
259264
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
@@ -425,6 +430,11 @@ <h3>Method Details</h3>
425430
],
426431
},
427432
],
433+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
434+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
435+
&quot;A String&quot;,
436+
],
437+
},
428438
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
429439
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
430440
{ # An access-control entry.
@@ -482,7 +492,7 @@ <h3>Method Details</h3>
482492
{
483493
&quot;action&quot;: { # The action to take.
484494
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
485-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
495+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
486496
},
487497
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
488498
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
@@ -615,6 +625,11 @@ <h3>Method Details</h3>
615625
],
616626
},
617627
],
628+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
629+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
630+
&quot;A String&quot;,
631+
],
632+
},
618633
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
619634
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
620635
{ # An access-control entry.
@@ -672,7 +687,7 @@ <h3>Method Details</h3>
672687
{
673688
&quot;action&quot;: { # The action to take.
674689
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
675-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
690+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
676691
},
677692
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
678693
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
@@ -802,6 +817,11 @@ <h3>Method Details</h3>
802817
],
803818
},
804819
],
820+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
821+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
822+
&quot;A String&quot;,
823+
],
824+
},
805825
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
806826
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
807827
{ # An access-control entry.
@@ -859,7 +879,7 @@ <h3>Method Details</h3>
859879
{
860880
&quot;action&quot;: { # The action to take.
861881
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
862-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
882+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
863883
},
864884
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
865885
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
@@ -999,6 +1019,11 @@ <h3>Method Details</h3>
9991019
],
10001020
},
10011021
],
1022+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
1023+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
1024+
&quot;A String&quot;,
1025+
],
1026+
},
10021027
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
10031028
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
10041029
{ # An access-control entry.
@@ -1056,7 +1081,7 @@ <h3>Method Details</h3>
10561081
{
10571082
&quot;action&quot;: { # The action to take.
10581083
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
1059-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
1084+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
10601085
},
10611086
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
10621087
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
@@ -1175,6 +1200,11 @@ <h3>Method Details</h3>
11751200
],
11761201
},
11771202
],
1203+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
1204+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
1205+
&quot;A String&quot;,
1206+
],
1207+
},
11781208
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
11791209
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
11801210
{ # An access-control entry.
@@ -1232,7 +1262,7 @@ <h3>Method Details</h3>
12321262
{
12331263
&quot;action&quot;: { # The action to take.
12341264
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
1235-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
1265+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
12361266
},
12371267
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
12381268
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
@@ -1367,6 +1397,11 @@ <h3>Method Details</h3>
13671397
],
13681398
},
13691399
],
1400+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
1401+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
1402+
&quot;A String&quot;,
1403+
],
1404+
},
13701405
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
13711406
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
13721407
{ # An access-control entry.
@@ -1424,7 +1459,7 @@ <h3>Method Details</h3>
14241459
{
14251460
&quot;action&quot;: { # The action to take.
14261461
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
1427-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
1462+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
14281463
},
14291464
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
14301465
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
@@ -1672,6 +1707,11 @@ <h3>Method Details</h3>
16721707
],
16731708
},
16741709
],
1710+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
1711+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
1712+
&quot;A String&quot;,
1713+
],
1714+
},
16751715
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
16761716
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
16771717
{ # An access-control entry.
@@ -1729,7 +1769,7 @@ <h3>Method Details</h3>
17291769
{
17301770
&quot;action&quot;: { # The action to take.
17311771
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
1732-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
1772+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
17331773
},
17341774
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
17351775
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.
@@ -1864,6 +1904,11 @@ <h3>Method Details</h3>
18641904
],
18651905
},
18661906
],
1907+
&quot;customPlacementConfig&quot;: { # The bucket&#x27;s custom placement configuration for Custom Dual Regions.
1908+
&quot;dataLocations&quot;: [ # The list of regional locations in which data is placed.
1909+
&quot;A String&quot;,
1910+
],
1911+
},
18671912
&quot;defaultEventBasedHold&quot;: True or False, # The default value for event-based hold on newly created objects in this bucket. Event-based hold is a way to retain objects indefinitely until an event occurs, signified by the hold&#x27;s release. After being released, such objects will be subject to bucket-level retention (if any). One sample use case of this flag is for banks to hold loan documents for at least 3 years after loan is paid in full. Here, bucket-level retention is 3 years and the event is loan being paid in full. In this example, these objects will be held intact for any number of years until the event has occurred (event-based hold on the object is released) and then 3 more years after that. That means retention duration of the objects begins from the moment event-based hold transitioned from true to false. Objects under event-based hold cannot be deleted, overwritten or archived until the hold is removed.
18681913
&quot;defaultObjectAcl&quot;: [ # Default access controls to apply to new objects when no ACL is provided.
18691914
{ # An access-control entry.
@@ -1921,7 +1966,7 @@ <h3>Method Details</h3>
19211966
{
19221967
&quot;action&quot;: { # The action to take.
19231968
&quot;storageClass&quot;: &quot;A String&quot;, # Target storage class. Required iff the type of the action is SetStorageClass.
1924-
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete and SetStorageClass are supported.
1969+
&quot;type&quot;: &quot;A String&quot;, # Type of the action. Currently, only Delete, SetStorageClass, and AbortIncompleteMultipartUpload are supported.
19251970
},
19261971
&quot;condition&quot;: { # The condition(s) under which the action will be taken.
19271972
&quot;age&quot;: 42, # Age of an object (in days). This condition is satisfied when an object reaches the specified age.

0 commit comments

Comments
 (0)