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.parameters.allowNonEmpty (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Mar 19, 2024
1 parent 2beaba7 commit b5eeb13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/dyn/storage_v1.managedFolders.html
Expand Up @@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#delete">delete(bucket, managedFolder, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
<code><a href="#delete">delete(bucket, managedFolder, allowNonEmpty=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
<p class="firstline">Permanently deletes a managed folder.</p>
<p class="toc_element">
<code><a href="#get">get(bucket, managedFolder, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</a></code></p>
Expand Down Expand Up @@ -108,12 +108,13 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="delete">delete(bucket, managedFolder, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</code>
<code class="details" id="delete">delete(bucket, managedFolder, allowNonEmpty=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None)</code>
<pre>Permanently deletes a managed folder.

Args:
bucket: string, Name of the bucket containing the managed folder. (required)
managedFolder: string, The managed folder name/path. (required)
allowNonEmpty: boolean, Allows the deletion of a managed folder even if it is not empty. A managed folder is empty if there are no objects or managed folders that it applies to. Callers must have storage.managedFolders.setIamPolicy permission.
ifMetagenerationMatch: string, If set, only deletes the managed folder if its metageneration matches this value.
ifMetagenerationNotMatch: string, If set, only deletes the managed folder if its metageneration does not match this value.
</pre>
Expand Down
9 changes: 7 additions & 2 deletions googleapiclient/discovery_cache/documents/storage.v1.json
Expand Up @@ -33,7 +33,7 @@
"location": "me-central2"
}
],
"etag": "\"37303437343235343136323638383931333233\"",
"etag": "\"31383132363637383635323832393938363535\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
Expand Down Expand Up @@ -1632,6 +1632,11 @@
"managedFolder"
],
"parameters": {
"allowNonEmpty": {
"description": "Allows the deletion of a managed folder even if it is not empty. A managed folder is empty if there are no objects or managed folders that it applies to. Callers must have storage.managedFolders.setIamPolicy permission.",
"location": "query",
"type": "boolean"
},
"bucket": {
"description": "Name of the bucket containing the managed folder.",
"location": "path",
Expand Down Expand Up @@ -4037,7 +4042,7 @@
}
}
},
"revision": "20240307",
"revision": "20240315",
"rootUrl": "https://storage.googleapis.com/",
"schemas": {
"AnywhereCache": {
Expand Down

0 comments on commit b5eeb13

Please sign in to comment.