Skip to content

Commit

Permalink
feat(storage): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent fe2dacf commit cae4993
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
14 changes: 12 additions & 2 deletions discovery/storage-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"location": "me-central2"
}
],
"etag": "\"34373939373134303235393739323331393435\"",
"etag": "\"38363036373236373330353534313035333932\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
Expand Down Expand Up @@ -4136,7 +4136,7 @@
}
}
},
"revision": "20240809",
"revision": "20240819",
"rootUrl": "https://storage.googleapis.com/",
"schemas": {
"AnywhereCache": {
Expand Down Expand Up @@ -4349,6 +4349,11 @@
"format": "int64",
"type": "string"
},
"hardDeleteTime": {
"description": "The hard delete time of the bucket in RFC 3339 format.",
"format": "date-time",
"type": "string"
},
"hierarchicalNamespace": {
"description": "The bucket's hierarchical namespace configuration.",
"properties": {
Expand Down Expand Up @@ -4675,6 +4680,11 @@
},
"type": "object"
},
"softDeleteTime": {
"description": "The soft delete time of the bucket in RFC 3339 format.",
"format": "date-time",
"type": "string"
},
"storageClass": {
"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).",
"type": "string"
Expand Down
8 changes: 8 additions & 0 deletions src/apis/storage/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ export namespace storage_v1 {
* The generation of this bucket.
*/
generation?: string | null;
/**
* The hard delete time of the bucket in RFC 3339 format.
*/
hardDeleteTime?: string | null;
/**
* The bucket's hierarchical namespace configuration.
*/
Expand Down Expand Up @@ -383,6 +387,10 @@ export namespace storage_v1 {
effectiveTime?: string;
retentionDurationSeconds?: string;
} | null;
/**
* The soft delete time of the bucket in RFC 3339 format.
*/
softDeleteTime?: string | null;
/**
* 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).
*/
Expand Down

0 comments on commit cae4993

Please sign in to comment.