Skip to content

Commit fe20750

Browse files
feat(storage): update the API
#### storage:v1 The following keys were added: - resources.objects.methods.move.parameters.projection.description - resources.objects.methods.move.parameters.projection.enum - resources.objects.methods.move.parameters.projection.enumDescriptions - resources.objects.methods.move.parameters.projection.location - resources.objects.methods.move.parameters.projection.type The following keys were changed: - endpoints - parameters.alt.enum - parameters.alt.enumDescriptions
1 parent 0a3a02e commit fe20750

File tree

2 files changed

+53
-4
lines changed

2 files changed

+53
-4
lines changed

‎discovery/storage-v1.json

Lines changed: 49 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@
5252
"endpointUrl": "https://storage.asia-northeast2.rep.googleapis.com/",
5353
"location": "asia-northeast2"
5454
},
55+
{
56+
"description": "Regional Endpoint",
57+
"endpointUrl": "https://storage.asia-northeast3.rep.googleapis.com/",
58+
"location": "asia-northeast3"
59+
},
5560
{
5661
"description": "Regional Endpoint",
5762
"endpointUrl": "https://storage.asia-south1.rep.googleapis.com/",
@@ -206,9 +211,34 @@
206211
"description": "Regional Endpoint",
207212
"endpointUrl": "https://storage.us-west4.rep.googleapis.com/",
208213
"location": "us-west4"
214+
},
215+
{
216+
"description": "Regional Endpoint",
217+
"endpointUrl": "https://storage.northamerica-northeast2.rep.googleapis.com/",
218+
"location": "northamerica-northeast2"
219+
},
220+
{
221+
"description": "Regional Endpoint",
222+
"endpointUrl": "https://storage.southamerica-east1.rep.googleapis.com/",
223+
"location": "southamerica-east1"
224+
},
225+
{
226+
"description": "Regional Endpoint",
227+
"endpointUrl": "https://storage.southamerica-west1.rep.googleapis.com/",
228+
"location": "southamerica-west1"
229+
},
230+
{
231+
"description": "Regional Endpoint",
232+
"endpointUrl": "https://storage.me-central1.rep.googleapis.com/",
233+
"location": "me-central1"
234+
},
235+
{
236+
"description": "Regional Endpoint",
237+
"endpointUrl": "https://storage.northamerica-northeast1.rep.googleapis.com/",
238+
"location": "northamerica-northeast1"
209239
}
210240
],
211-
"etag": "\"363938303832303939373531303639383731\"",
241+
"etag": "\"38353737343034333936303735343633323432\"",
212242
"icons": {
213243
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
214244
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -227,10 +257,12 @@
227257
"default": "json",
228258
"description": "Data format for the response.",
229259
"enum": [
230-
"json"
260+
"json",
261+
"media"
231262
],
232263
"enumDescriptions": [
233-
"Responses with Content-Type of application/json"
264+
"Responses with Content-Type of application/json",
265+
"Responses containing object data"
234266
],
235267
"location": "query",
236268
"type": "string"
@@ -3409,6 +3441,19 @@
34093441
"location": "query",
34103442
"type": "string"
34113443
},
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+
},
34123457
"sourceObject": {
34133458
"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).",
34143459
"location": "path",
@@ -4479,7 +4524,7 @@
44794524
}
44804525
}
44814526
},
4482-
"revision": "20250312",
4527+
"revision": "20250424",
44834528
"rootUrl": "https://storage.googleapis.com/",
44844529
"schemas": {
44854530
"AdvanceRelocateBucketOperationRequest": {

‎src/apis/storage/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9142,6 +9142,10 @@ export namespace storage_v1 {
91429142
* Makes the operation conditional on whether the source object's current metageneration does not match the given value. `ifSourceMetagenerationMatch` and `ifSourceMetagenerationNotMatch` conditions are mutually exclusive: it's an error for both of them to be set in the request.
91439143
*/
91449144
ifSourceMetagenerationNotMatch?: string;
9145+
/**
9146+
* Set of properties to return. Defaults to noAcl.
9147+
*/
9148+
projection?: string;
91459149
/**
91469150
* 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).
91479151
*/

0 commit comments

Comments
 (0)