Skip to content

Commit

Permalink
feat(storage): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Oct 17, 2023
1 parent bf1a628 commit 6b00baa
Show file tree
Hide file tree
Showing 5 changed files with 833 additions and 27 deletions.
22 changes: 14 additions & 8 deletions docs/dyn/storage_v1.buckets.html
Expand Up @@ -338,7 +338,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A bucket/object IAM policy.
{ # A bucket/object/managedFolder IAM policy.
&quot;bindings&quot;: [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
{
&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.
Expand Down Expand Up @@ -374,7 +374,7 @@ <h3>Method Details</h3>
],
&quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the policy.
&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.
&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.
&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.
&quot;version&quot;: 42, # The IAM policy format version.
}</pre>
</div>
Expand Down Expand Up @@ -1591,7 +1591,7 @@ <h3>Method Details</h3>
body: object, The request body.
The object takes the form of:

{ # A bucket/object IAM policy.
{ # A bucket/object/managedFolder IAM policy.
&quot;bindings&quot;: [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
{
&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.
Expand Down Expand Up @@ -1627,7 +1627,7 @@ <h3>Method Details</h3>
],
&quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the policy.
&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.
&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.
&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.
&quot;version&quot;: 42, # The IAM policy format version.
}

Expand All @@ -1636,7 +1636,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A bucket/object IAM policy.
{ # A bucket/object/managedFolder IAM policy.
&quot;bindings&quot;: [ # An association between a role, which comes with a set of permissions, and members who may assume that role.
{
&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.
Expand Down Expand Up @@ -1672,7 +1672,7 @@ <h3>Method Details</h3>
],
&quot;etag&quot;: &quot;A String&quot;, # HTTP 1.1 Entity tag for the policy.
&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.
&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.
&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.
&quot;version&quot;: 42, # The IAM policy format version.
}</pre>
</div>
Expand All @@ -1689,9 +1689,9 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # A storage.(buckets|objects).testIamPermissions response.
{ # A storage.(buckets|objects|managedFolders).testIamPermissions response.
&quot;kind&quot;: &quot;storage#testIamPermissionsResponse&quot;, # The kind of item this is.
&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:
&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:
# - storage.buckets.delete — Delete bucket.
# - storage.buckets.get — Read bucket metadata.
# - storage.buckets.getIamPolicy — Read bucket IAM policy.
Expand All @@ -1706,6 +1706,12 @@ <h3>Method Details</h3>
# - storage.objects.list — List objects.
# - storage.objects.setIamPolicy — Update object IAM policy.
# - storage.objects.update — Update object metadata.
# - storage.managedFolders.delete — Delete managed folder.
# - storage.managedFolders.get — Read managed folder metadata.
# - storage.managedFolders.getIamPolicy — Read managed folder IAM policy.
# - storage.managedFolders.create — Create managed folder.
# - storage.managedFolders.list — List managed folders.
# - storage.managedFolders.setIamPolicy — Update managed folder IAM policy.
&quot;A String&quot;,
],
}</pre>
Expand Down
5 changes: 5 additions & 0 deletions docs/dyn/storage_v1.html
Expand Up @@ -94,6 +94,11 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the defaultObjectAccessControls Resource.</p>

<p class="toc_element">
<code><a href="storage_v1.managedFolders.html">managedFolders()</a></code>
</p>
<p class="firstline">Returns the managedFolders Resource.</p>

<p class="toc_element">
<code><a href="storage_v1.notifications.html">notifications()</a></code>
</p>
Expand Down

0 comments on commit 6b00baa

Please sign in to comment.