Skip to content

Commit b06a8a7

Browse files
feat(storage): update the api
#### storage:v1 The following keys were added: - resources.objects.methods.move.parameters.projection (Total Keys: 2)
1 parent 286fc64 commit b06a8a7

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

docs/dyn/storage_v1.objects.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ <h2>Instance Methods</h2>
108108
<code><a href="#list_next">list_next()</a></code></p>
109109
<p class="firstline">Retrieves the next page of results.</p>
110110
<p class="toc_element">
111-
<code><a href="#move">move(bucket, sourceObject, destinationObject, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None, ifSourceGenerationMatch=None, ifSourceGenerationNotMatch=None, ifSourceMetagenerationMatch=None, ifSourceMetagenerationNotMatch=None, userProject=None)</a></code></p>
111+
<code><a href="#move">move(bucket, sourceObject, destinationObject, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None, ifSourceGenerationMatch=None, ifSourceGenerationNotMatch=None, ifSourceMetagenerationMatch=None, ifSourceMetagenerationNotMatch=None, projection=None, userProject=None)</a></code></p>
112112
<p class="firstline">Moves the source object to the destination object in the same bucket.</p>
113113
<p class="toc_element">
114114
<code><a href="#patch">patch(bucket, object, body=None, generation=None, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None, overrideUnlockedRetention=None, predefinedAcl=None, projection=None, userProject=None)</a></code></p>
@@ -1117,7 +1117,7 @@ <h3>Method Details</h3>
11171117
</div>
11181118

11191119
<div class="method">
1120-
<code class="details" id="move">move(bucket, sourceObject, destinationObject, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None, ifSourceGenerationMatch=None, ifSourceGenerationNotMatch=None, ifSourceMetagenerationMatch=None, ifSourceMetagenerationNotMatch=None, userProject=None)</code>
1120+
<code class="details" id="move">move(bucket, sourceObject, destinationObject, ifGenerationMatch=None, ifGenerationNotMatch=None, ifMetagenerationMatch=None, ifMetagenerationNotMatch=None, ifSourceGenerationMatch=None, ifSourceGenerationNotMatch=None, ifSourceMetagenerationMatch=None, ifSourceMetagenerationNotMatch=None, projection=None, userProject=None)</code>
11211121
<pre>Moves the source object to the destination object in the same bucket.
11221122

11231123
Args:
@@ -1132,6 +1132,10 @@ <h3>Method Details</h3>
11321132
ifSourceGenerationNotMatch: string, Makes the operation conditional on whether the source object&#x27;s current generation does not match the given value. `ifSourceGenerationMatch` and `ifSourceGenerationNotMatch` conditions are mutually exclusive: it&#x27;s an error for both of them to be set in the request.
11331133
ifSourceMetagenerationMatch: string, Makes the operation conditional on whether the source object&#x27;s current metageneration matches the given value. `ifSourceMetagenerationMatch` and `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it&#x27;s an error for both of them to be set in the request.
11341134
ifSourceMetagenerationNotMatch: string, Makes the operation conditional on whether the source object&#x27;s current metageneration does not match the given value. `ifSourceMetagenerationMatch` and `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it&#x27;s an error for both of them to be set in the request.
1135+
projection: string, Set of properties to return. Defaults to noAcl.
1136+
Allowed values
1137+
full - Include all properties.
1138+
noAcl - Omit the owner, acl property.
11351139
userProject: string, The project to be billed for this request. Required for Requester Pays buckets.
11361140

11371141
Returns:

googleapiclient/discovery_cache/documents/storage.v1.json

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
"location": "northamerica-northeast1"
239239
}
240240
],
241-
"etag": "\"36333136333838383435323333303139303231\"",
241+
"etag": "\"38353737343034333936303735343633323432\"",
242242
"icons": {
243243
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
244244
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -257,10 +257,12 @@
257257
"default": "json",
258258
"description": "Data format for the response.",
259259
"enum": [
260-
"json"
260+
"json",
261+
"media"
261262
],
262263
"enumDescriptions": [
263-
"Responses with Content-Type of application/json"
264+
"Responses with Content-Type of application/json",
265+
"Responses containing object data"
264266
],
265267
"location": "query",
266268
"type": "string"
@@ -3439,6 +3441,19 @@
34393441
"location": "query",
34403442
"type": "string"
34413443
},
3444+
"projection": {
3445+
"description": "Set of properties to return. Defaults to noAcl.",
3446+
"enum": [
3447+
"full",
3448+
"noAcl"
3449+
],
3450+
"enumDescriptions": [
3451+
"Include all properties.",
3452+
"Omit the owner, acl property."
3453+
],
3454+
"location": "query",
3455+
"type": "string"
3456+
},
34423457
"sourceObject": {
34433458
"description": "Name of the source object. For information about how to URL encode object names to be path safe, see [Encoding URI Path Parts](https://cloud.google.com/storage/docs/request-endpoints#encoding).",
34443459
"location": "path",
@@ -4509,7 +4524,7 @@
45094524
}
45104525
}
45114526
},
4512-
"revision": "20250420",
4527+
"revision": "20250424",
45134528
"rootUrl": "https://storage.googleapis.com/",
45144529
"schemas": {
45154530
"AdvanceRelocateBucketOperationRequest": {

0 commit comments

Comments
 (0)