Skip to content

Commit 6b00baa

Browse files
feat(storage): update the api
#### storage:v1 The following keys were added: - resources.managedFolders.methods.delete (Total Keys: 11) - resources.managedFolders.methods.get (Total Keys: 30) - resources.managedFolders.methods.insert (Total Keys: 10) - resources.managedFolders.methods.list (Total Keys: 17) - resources.managedFolders.methods.setIamPolicy (Total Keys: 15) - resources.managedFolders.methods.testIamPermissions (Total Keys: 18) - resources.objects.methods.list.parameters.includeFoldersAsPrefixes (Total Keys: 2) - schemas.ManagedFolder (Total Keys: 19) The following keys were changed: - schemas.Policy.properties.bindings.annotations.required (Total Keys: 1) - schemas.Policy.properties.bindings.items.properties.members.annotations.required (Total Keys: 1) - schemas.Policy.properties.bindings.items.properties.role.annotations.required (Total Keys: 1)
1 parent bf1a628 commit 6b00baa

File tree

5 files changed

+833
-27
lines changed

5 files changed

+833
-27
lines changed

docs/dyn/storage_v1.buckets.html

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ <h3>Method Details</h3>
338338
Returns:
339339
An object of the form:
340340

341-
{ # A bucket/object IAM policy.
341+
{ # A bucket/object/managedFolder IAM policy.
342342
&quot;bindings&quot;: [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
343343
{
344344
&quot;condition&quot;: { # Represents an expression text. Example: title: &quot;User account presence&quot; description: &quot;Determines whether the request has a user account&quot; expression: &quot;size(request.user) &gt; 0&quot; # 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>
374374
],
375375
&quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the policy.
376376
&quot;kind&quot;: &quot;storage#policy&quot;, # The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
377-
&quot;resourceId&quot;: &quot;A String&quot;, # 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+
&quot;resourceId&quot;: &quot;A String&quot;, # 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.
378378
&quot;version&quot;: 42, # The IAM policy format version.
379379
}</pre>
380380
</div>
@@ -1591,7 +1591,7 @@ <h3>Method Details</h3>
15911591
body: object, The request body.
15921592
The object takes the form of:
15931593

1594-
{ # A bucket/object IAM policy.
1594+
{ # A bucket/object/managedFolder IAM policy.
15951595
&quot;bindings&quot;: [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
15961596
{
15971597
&quot;condition&quot;: { # Represents an expression text. Example: title: &quot;User account presence&quot; description: &quot;Determines whether the request has a user account&quot; expression: &quot;size(request.user) &gt; 0&quot; # 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>
16271627
],
16281628
&quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the policy.
16291629
&quot;kind&quot;: &quot;storage#policy&quot;, # The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
1630-
&quot;resourceId&quot;: &quot;A String&quot;, # 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+
&quot;resourceId&quot;: &quot;A String&quot;, # 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.
16311631
&quot;version&quot;: 42, # The IAM policy format version.
16321632
}
16331633

@@ -1636,7 +1636,7 @@ <h3>Method Details</h3>
16361636
Returns:
16371637
An object of the form:
16381638

1639-
{ # A bucket/object IAM policy.
1639+
{ # A bucket/object/managedFolder IAM policy.
16401640
&quot;bindings&quot;: [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
16411641
{
16421642
&quot;condition&quot;: { # Represents an expression text. Example: title: &quot;User account presence&quot; description: &quot;Determines whether the request has a user account&quot; expression: &quot;size(request.user) &gt; 0&quot; # 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>
16721672
],
16731673
&quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the policy.
16741674
&quot;kind&quot;: &quot;storage#policy&quot;, # The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
1675-
&quot;resourceId&quot;: &quot;A String&quot;, # 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+
&quot;resourceId&quot;: &quot;A String&quot;, # 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.
16761676
&quot;version&quot;: 42, # The IAM policy format version.
16771677
}</pre>
16781678
</div>
@@ -1689,9 +1689,9 @@ <h3>Method Details</h3>
16891689
Returns:
16901690
An object of the form:
16911691

1692-
{ # A storage.(buckets|objects).testIamPermissions response.
1692+
{ # A storage.(buckets|objects|managedFolders).testIamPermissions response.
16931693
&quot;kind&quot;: &quot;storage#testIamPermissionsResponse&quot;, # The kind of item this is.
1694-
&quot;permissions&quot;: [ # The permissions held by the caller. Permissions are always of the format storage.resource.capability, where resource is one of buckets or objects. The supported permissions are as follows:
1694+
&quot;permissions&quot;: [ # 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:
16951695
# - storage.buckets.delete — Delete bucket.
16961696
# - storage.buckets.get — Read bucket metadata.
16971697
# - storage.buckets.getIamPolicy — Read bucket IAM policy.
@@ -1706,6 +1706,12 @@ <h3>Method Details</h3>
17061706
# - storage.objects.list — List objects.
17071707
# - storage.objects.setIamPolicy — Update object IAM policy.
17081708
# - storage.objects.update — Update object metadata.
1709+
# - storage.managedFolders.delete — Delete managed folder.
1710+
# - storage.managedFolders.get — Read managed folder metadata.
1711+
# - storage.managedFolders.getIamPolicy — Read managed folder IAM policy.
1712+
# - storage.managedFolders.create — Create managed folder.
1713+
# - storage.managedFolders.list — List managed folders.
1714+
# - storage.managedFolders.setIamPolicy — Update managed folder IAM policy.
17091715
&quot;A String&quot;,
17101716
],
17111717
}</pre>

docs/dyn/storage_v1.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ <h2>Instance Methods</h2>
9494
</p>
9595
<p class="firstline">Returns the defaultObjectAccessControls Resource.</p>
9696

97+
<p class="toc_element">
98+
<code><a href="storage_v1.managedFolders.html">managedFolders()</a></code>
99+
</p>
100+
<p class="firstline">Returns the managedFolders Resource.</p>
101+
97102
<p class="toc_element">
98103
<code><a href="storage_v1.notifications.html">notifications()</a></code>
99104
</p>

0 commit comments

Comments
 (0)