Skip to content

Commit 454cff7

Browse files
yoshi-automationsofisl
authored andcommitted
feat(bigtableadmin)!: update the API
BREAKING CHANGE: This release has breaking changes. #### bigtableadmin:v2 The following keys were deleted: - schemas.Backup.properties.backupType.description - schemas.Backup.properties.backupType.enum - schemas.Backup.properties.backupType.enumDescriptions - schemas.Backup.properties.backupType.type - schemas.Backup.properties.hotToStandardTime.description - schemas.Backup.properties.hotToStandardTime.format - schemas.Backup.properties.hotToStandardTime.type
1 parent cfbab2e commit 454cff7

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

discovery/bigtableadmin-v2.json

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,7 +2194,7 @@
21942194
}
21952195
}
21962196
},
2197-
"revision": "20240806",
2197+
"revision": "20240824",
21982198
"rootUrl": "https://bigtableadmin.googleapis.com/",
21992199
"schemas": {
22002200
"AppProfile": {
@@ -2375,20 +2375,6 @@
23752375
"description": "A backup of a Cloud Bigtable table.",
23762376
"id": "Backup",
23772377
"properties": {
2378-
"backupType": {
2379-
"description": "Indicates the backup type of the backup.",
2380-
"enum": [
2381-
"BACKUP_TYPE_UNSPECIFIED",
2382-
"STANDARD",
2383-
"HOT"
2384-
],
2385-
"enumDescriptions": [
2386-
"Not specified.",
2387-
"The default type for Cloud Bigtable managed backups. Supported for backups created in both HDD and SSD instances. Requires optimization when restored to a table in an SSD instance.",
2388-
"A backup type with faster restore to SSD performance. Only supported for backups created in SSD instances. A new SSD table restored from a hot backup reaches production performance more quickly than a standard backup."
2389-
],
2390-
"type": "string"
2391-
},
23922378
"encryptionInfo": {
23932379
"$ref": "EncryptionInfo",
23942380
"description": "Output only. The encryption information for the backup.",
@@ -2405,11 +2391,6 @@
24052391
"format": "google-datetime",
24062392
"type": "string"
24072393
},
2408-
"hotToStandardTime": {
2409-
"description": "The time at which the hot backup will be converted to a standard backup. Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard backup. This value must be greater than the backup creation time by: - At least 24 hours This field only applies for hot backups. When creating or updating a standard backup, attempting to set this field will fail the request.",
2410-
"format": "google-datetime",
2411-
"type": "string"
2412-
},
24132394
"name": {
24142395
"description": "A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.",
24152396
"type": "string"

src/apis/bigtableadmin/v2.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,6 @@ export namespace bigtableadmin_v2 {
253253
* A backup of a Cloud Bigtable table.
254254
*/
255255
export interface Schema$Backup {
256-
/**
257-
* Indicates the backup type of the backup.
258-
*/
259-
backupType?: string | null;
260256
/**
261257
* Output only. The encryption information for the backup.
262258
*/
@@ -269,10 +265,6 @@ export namespace bigtableadmin_v2 {
269265
* Required. The expiration time of the backup. When creating a backup or updating its `expire_time`, the value must be greater than the backup creation time by: - At least 6 hours - At most 90 days Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
270266
*/
271267
expireTime?: string | null;
272-
/**
273-
* The time at which the hot backup will be converted to a standard backup. Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard backup. This value must be greater than the backup creation time by: - At least 24 hours This field only applies for hot backups. When creating or updating a standard backup, attempting to set this field will fail the request.
274-
*/
275-
hotToStandardTime?: string | null;
276268
/**
277269
* A globally unique identifier for the backup which cannot be changed. Values are of the form `projects/{project\}/instances/{instance\}/clusters/{cluster\}/ backups/_a-zA-Z0-9*` The final segment of the name must be between 1 and 50 characters in length. The backup is stored in the cluster identified by the prefix of the backup name of the form `projects/{project\}/instances/{instance\}/clusters/{cluster\}`.
278270
*/

0 commit comments

Comments
 (0)