Skip to content

Commit cae4993

Browse files
yoshi-automationsofisl
authored andcommittedAug 27, 2024
feat(storage): update the API
#### storage:v1 The following keys were added: - schemas.Bucket.properties.hardDeleteTime.description - schemas.Bucket.properties.hardDeleteTime.format - schemas.Bucket.properties.hardDeleteTime.type - schemas.Bucket.properties.softDeleteTime.description - schemas.Bucket.properties.softDeleteTime.format - schemas.Bucket.properties.softDeleteTime.type
1 parent fe2dacf commit cae4993

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed
 

‎discovery/storage-v1.json

+12-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"location": "me-central2"
4444
}
4545
],
46-
"etag": "\"34373939373134303235393739323331393435\"",
46+
"etag": "\"38363036373236373330353534313035333932\"",
4747
"icons": {
4848
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
4949
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
@@ -4136,7 +4136,7 @@
41364136
}
41374137
}
41384138
},
4139-
"revision": "20240809",
4139+
"revision": "20240819",
41404140
"rootUrl": "https://storage.googleapis.com/",
41414141
"schemas": {
41424142
"AnywhereCache": {
@@ -4349,6 +4349,11 @@
43494349
"format": "int64",
43504350
"type": "string"
43514351
},
4352+
"hardDeleteTime": {
4353+
"description": "The hard delete time of the bucket in RFC 3339 format.",
4354+
"format": "date-time",
4355+
"type": "string"
4356+
},
43524357
"hierarchicalNamespace": {
43534358
"description": "The bucket's hierarchical namespace configuration.",
43544359
"properties": {
@@ -4675,6 +4680,11 @@
46754680
},
46764681
"type": "object"
46774682
},
4683+
"softDeleteTime": {
4684+
"description": "The soft delete time of the bucket in RFC 3339 format.",
4685+
"format": "date-time",
4686+
"type": "string"
4687+
},
46784688
"storageClass": {
46794689
"description": "The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see [Storage Classes](https://cloud.google.com/storage/docs/storage-classes).",
46804690
"type": "string"

‎src/apis/storage/v1.ts

+8
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ export namespace storage_v1 {
263263
* The generation of this bucket.
264264
*/
265265
generation?: string | null;
266+
/**
267+
* The hard delete time of the bucket in RFC 3339 format.
268+
*/
269+
hardDeleteTime?: string | null;
266270
/**
267271
* The bucket's hierarchical namespace configuration.
268272
*/
@@ -383,6 +387,10 @@ export namespace storage_v1 {
383387
effectiveTime?: string;
384388
retentionDurationSeconds?: string;
385389
} | null;
390+
/**
391+
* The soft delete time of the bucket in RFC 3339 format.
392+
*/
393+
softDeleteTime?: string | null;
386394
/**
387395
* The bucket's default storage class, used whenever no storageClass is specified for a newly-created object. This defines how objects in the bucket are stored and determines the SLA and the cost of storage. Values include MULTI_REGIONAL, REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket is created, it will default to STANDARD. For more information, see [Storage Classes](https://cloud.google.com/storage/docs/storage-classes).
388396
*/

0 commit comments

Comments
 (0)
Please sign in to comment.