You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/storage_v1.buckets.html
+14-8Lines changed: 14 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -338,7 +338,7 @@ <h3>Method Details</h3>
338
338
Returns:
339
339
An object of the form:
340
340
341
-
{ # A bucket/object IAM policy.
341
+
{ # A bucket/object/managedFolder IAM policy.
342
342
"bindings": [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
343
343
{
344
344
"condition": { # Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0" # The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
@@ -374,7 +374,7 @@ <h3>Method Details</h3>
374
374
],
375
375
"etag": "A String", # HTTP 1.1 Entity tag for the policy.
376
376
"kind": "storage#policy", # The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
377
-
"resourceId": "A String", # The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, and projects/_/buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
377
+
"resourceId": "A String", # The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
378
378
"version": 42, # The IAM policy format version.
379
379
}</pre>
380
380
</div>
@@ -1591,7 +1591,7 @@ <h3>Method Details</h3>
1591
1591
body: object, The request body.
1592
1592
The object takes the form of:
1593
1593
1594
-
{ # A bucket/object IAM policy.
1594
+
{ # A bucket/object/managedFolder IAM policy.
1595
1595
"bindings": [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
1596
1596
{
1597
1597
"condition": { # Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0" # The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
@@ -1627,7 +1627,7 @@ <h3>Method Details</h3>
1627
1627
],
1628
1628
"etag": "A String", # HTTP 1.1 Entity tag for the policy.
1629
1629
"kind": "storage#policy", # The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
1630
-
"resourceId": "A String", # The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, and projects/_/buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
1630
+
"resourceId": "A String", # The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
1631
1631
"version": 42, # The IAM policy format version.
1632
1632
}
1633
1633
@@ -1636,7 +1636,7 @@ <h3>Method Details</h3>
1636
1636
Returns:
1637
1637
An object of the form:
1638
1638
1639
-
{ # A bucket/object IAM policy.
1639
+
{ # A bucket/object/managedFolder IAM policy.
1640
1640
"bindings": [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
1641
1641
{
1642
1642
"condition": { # Represents an expression text. Example: title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0" # The condition that is associated with this binding. NOTE: an unsatisfied condition will not allow user access via current binding. Different bindings, including their conditions, are examined independently.
@@ -1672,7 +1672,7 @@ <h3>Method Details</h3>
1672
1672
],
1673
1673
"etag": "A String", # HTTP 1.1 Entity tag for the policy.
1674
1674
"kind": "storage#policy", # The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
1675
-
"resourceId": "A String", # The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, and projects/_/buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
1675
+
"resourceId": "A String", # The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, projects/_/buckets/bucket/objects/object for objects, and projects/_/buckets/bucket/managedFolders/managedFolder. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
1676
1676
"version": 42, # The IAM policy format version.
1677
1677
}</pre>
1678
1678
</div>
@@ -1689,9 +1689,9 @@ <h3>Method Details</h3>
1689
1689
Returns:
1690
1690
An object of the form:
1691
1691
1692
-
{ # A storage.(buckets|objects).testIamPermissions response.
1692
+
{ # A storage.(buckets|objects|managedFolders).testIamPermissions response.
1693
1693
"kind": "storage#testIamPermissionsResponse", # The kind of item this is.
1694
-
"permissions": [ # The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of bucketsor objects. The supported permissions are as follows:
1694
+
"permissions": [ # The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets, objects, or managedFolders. The supported permissions are as follows:
1695
1695
# - storage.buckets.delete — Delete bucket.
1696
1696
# - storage.buckets.get — Read bucket metadata.
1697
1697
# - storage.buckets.getIamPolicy — Read bucket IAM policy.
@@ -1706,6 +1706,12 @@ <h3>Method Details</h3>
1706
1706
# - storage.objects.list — List objects.
1707
1707
# - storage.objects.setIamPolicy — Update object IAM policy.
0 commit comments