Skip to content

Commit c20efaf

Browse files
feat(storage): update the API
#### storage:v1 The following keys were added: - schemas.ComposeRequest.properties.deleteSourceObjects.description - schemas.ComposeRequest.properties.deleteSourceObjects.type
1 parent e5d018a commit c20efaf

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

discovery/storage-v1.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
"location": "northamerica-south1"
254254
}
255255
],
256-
"etag": "\"3131343633323936333034313936343439353533\"",
256+
"etag": "\"39373339343838363630393031393634343537\"",
257257
"icons": {
258258
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
259259
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -4549,7 +4549,7 @@
45494549
}
45504550
}
45514551
},
4552-
"revision": "20250925",
4552+
"revision": "20251118",
45534553
"rootUrl": "https://storage.googleapis.com/",
45544554
"schemas": {
45554555
"AdvanceRelocateBucketOperationRequest": {
@@ -5500,6 +5500,10 @@
55005500
"description": "A Compose request.",
55015501
"id": "ComposeRequest",
55025502
"properties": {
5503+
"deleteSourceObjects": {
5504+
"description": "If true, the source objects will be deleted.",
5505+
"type": "boolean"
5506+
},
55035507
"destination": {
55045508
"$ref": "Object",
55055509
"description": "Properties of the resulting object."

src/apis/storage/v1.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,10 @@ export namespace storage_v1 {
646646
* A Compose request.
647647
*/
648648
export interface Schema$ComposeRequest {
649+
/**
650+
* If true, the source objects will be deleted.
651+
*/
652+
deleteSourceObjects?: boolean | null;
649653
/**
650654
* Properties of the resulting object.
651655
*/
@@ -11596,6 +11600,7 @@ export namespace storage_v1 {
1159611600
* requestBody: {
1159711601
* // request body parameters
1159811602
* // {
11603+
* // "deleteSourceObjects": false,
1159911604
* // "destination": {},
1160011605
* // "kind": "my_kind",
1160111606
* // "sourceObjects": []

0 commit comments

Comments
 (0)