Skip to content

Commit 5fcc1e9

Browse files
feat(storage): update the api
#### storage:v1 The following keys were added: - resources.objects.methods.list.parameters.matchGlob (Total Keys: 2)
1 parent 741dec8 commit 5fcc1e9

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/dyn/storage_v1.objects.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h2>Instance Methods</h2>
9999
<code><a href="#insert">insert(bucket, body=None, contentEncoding=None, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None, kmsKeyName=None, media_body=None, media_mime_type=None, name=None, predefinedAcl=None, projection=None, userProject=None)</a></code></p>
100100
<p class="firstline">Stores a new object and metadata.</p>
101101
<p class="toc_element">
102-
<code><a href="#list">list(bucket, delimiter=None, endOffset=None, includeTrailingDelimiter=None, maxResults=None, pageToken=None, prefix=None, projection=None, startOffset=None, userProject=None, versions=None)</a></code></p>
102+
<code><a href="#list">list(bucket, delimiter=None, endOffset=None, includeTrailingDelimiter=None, matchGlob=None, maxResults=None, pageToken=None, prefix=None, projection=None, startOffset=None, userProject=None, versions=None)</a></code></p>
103103
<p class="firstline">Retrieves a list of objects matching the criteria.</p>
104104
<p class="toc_element">
105105
<code><a href="#list_next">list_next()</a></code></p>
@@ -871,14 +871,15 @@ <h3>Method Details</h3>
871871
</div>
872872

873873
<div class="method">
874-
<code class="details" id="list">list(bucket, delimiter=None, endOffset=None, includeTrailingDelimiter=None, maxResults=None, pageToken=None, prefix=None, projection=None, startOffset=None, userProject=None, versions=None)</code>
874+
<code class="details" id="list">list(bucket, delimiter=None, endOffset=None, includeTrailingDelimiter=None, matchGlob=None, maxResults=None, pageToken=None, prefix=None, projection=None, startOffset=None, userProject=None, versions=None)</code>
875875
<pre>Retrieves a list of objects matching the criteria.
876876

877877
Args:
878878
bucket: string, Name of the bucket in which to look for objects. (required)
879879
delimiter: string, Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.
880880
endOffset: string, Filter results to objects whose names are lexicographically before endOffset. If startOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).
881881
includeTrailingDelimiter: boolean, If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.
882+
matchGlob: string, Filter results to objects and prefixes that match this glob pattern.
882883
maxResults: integer, Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.
883884
pageToken: string, A previously-returned page token representing part of the larger set of results to view.
884885
prefix: string, Filter results to objects whose names begin with this prefix.

googleapiclient/discovery_cache/documents/storage.v1.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"description": "Stores and retrieves potentially large, immutable data objects.",
2727
"discoveryVersion": "v1",
2828
"documentationLink": "https://developers.google.com/storage/docs/json_api/",
29-
"etag": "\"3130333931353937373338383534323132303236\"",
29+
"etag": "\"34333739363230323936363635393736363430\"",
3030
"icons": {
3131
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
3232
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -2141,6 +2141,11 @@
21412141
"location": "query",
21422142
"type": "boolean"
21432143
},
2144+
"matchGlob": {
2145+
"description": "Filter results to objects and prefixes that match this glob pattern.",
2146+
"location": "query",
2147+
"type": "string"
2148+
},
21442149
"maxResults": {
21452150
"default": "1000",
21462151
"description": "Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.",
@@ -3005,7 +3010,7 @@
30053010
}
30063011
}
30073012
},
3008-
"revision": "20230221",
3013+
"revision": "20230301",
30093014
"rootUrl": "https://storage.googleapis.com/",
30103015
"schemas": {
30113016
"Bucket": {

0 commit comments

Comments
 (0)