Skip to content

Commit 6a2dbef

Browse files
yoshi-automationsofisl
authored andcommitted
feat(gkebackup): update the API
#### gkebackup:v1 The following keys were added: - schemas.Backup.properties.troubleshootingInfo.$ref - schemas.Backup.properties.troubleshootingInfo.description - schemas.Backup.properties.troubleshootingInfo.readOnly - schemas.Restore.properties.troubleshootingInfo.$ref - schemas.Restore.properties.troubleshootingInfo.description - schemas.Restore.properties.troubleshootingInfo.readOnly - schemas.TroubleshootingInfo.description - schemas.TroubleshootingInfo.id - schemas.TroubleshootingInfo.properties.stateReasonCode.description - schemas.TroubleshootingInfo.properties.stateReasonCode.readOnly - schemas.TroubleshootingInfo.properties.stateReasonCode.type - schemas.TroubleshootingInfo.properties.stateReasonUri.description - schemas.TroubleshootingInfo.properties.stateReasonUri.readOnly - schemas.TroubleshootingInfo.properties.stateReasonUri.type - schemas.TroubleshootingInfo.type
1 parent 786f635 commit 6a2dbef

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

discovery/gkebackup-v1.json

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,7 @@
22272227
}
22282228
}
22292229
},
2230-
"revision": "20250528",
2230+
"revision": "20250723",
22312231
"rootUrl": "https://gkebackup.googleapis.com/",
22322232
"schemas": {
22332233
"AuditConfig": {
@@ -2447,6 +2447,11 @@
24472447
"readOnly": true,
24482448
"type": "string"
24492449
},
2450+
"troubleshootingInfo": {
2451+
"$ref": "TroubleshootingInfo",
2452+
"description": "Output only. Information about the troubleshooting steps which will provide debugging information to the end users.",
2453+
"readOnly": true
2454+
},
24502455
"uid": {
24512456
"description": "Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)",
24522457
"readOnly": true,
@@ -3779,6 +3784,11 @@
37793784
"readOnly": true,
37803785
"type": "string"
37813786
},
3787+
"troubleshootingInfo": {
3788+
"$ref": "TroubleshootingInfo",
3789+
"description": "Output only. Information about the troubleshooting steps which will provide debugging information to the end users.",
3790+
"readOnly": true
3791+
},
37823792
"uid": {
37833793
"description": "Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.",
37843794
"readOnly": true,
@@ -4357,6 +4367,23 @@
43574367
},
43584368
"type": "object"
43594369
},
4370+
"TroubleshootingInfo": {
4371+
"description": "Stores information about troubleshooting doc for debugging a particular state of an operation (eg - backup/restore). This will be used by the end user to debug their operation failure scenario easily.",
4372+
"id": "TroubleshootingInfo",
4373+
"properties": {
4374+
"stateReasonCode": {
4375+
"description": "Output only. Unique code for each backup/restore operation failure message which helps user identify the failure.",
4376+
"readOnly": true,
4377+
"type": "string"
4378+
},
4379+
"stateReasonUri": {
4380+
"description": "Output only. URL for the troubleshooting doc which will help the user fix the failing backup/restore operation.",
4381+
"readOnly": true,
4382+
"type": "string"
4383+
}
4384+
},
4385+
"type": "object"
4386+
},
43604387
"VolumeBackup": {
43614388
"description": "Represents the backup of a specific persistent volume as a component of a Backup - both the record of the operation and a pointer to the underlying storage-specific artifacts.",
43624389
"id": "VolumeBackup",

src/apis/gkebackup/v1.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,10 @@ export namespace gkebackup_v1 {
266266
* Output only. Human-readable description of why the backup is in the current `state`. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
267267
*/
268268
stateReason?: string | null;
269+
/**
270+
* Output only. Information about the troubleshooting steps which will provide debugging information to the end users.
271+
*/
272+
troubleshootingInfo?: Schema$TroubleshootingInfo;
269273
/**
270274
* Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)
271275
*/
@@ -1205,6 +1209,10 @@ export namespace gkebackup_v1 {
12051209
* Output only. Human-readable description of why the Restore is in its current state. This field is only meant for human readability and should not be used programmatically as this field is not guaranteed to be consistent.
12061210
*/
12071211
stateReason?: string | null;
1212+
/**
1213+
* Output only. Information about the troubleshooting steps which will provide debugging information to the end users.
1214+
*/
1215+
troubleshootingInfo?: Schema$TroubleshootingInfo;
12081216
/**
12091217
* Output only. Server generated global unique identifier of [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.
12101218
*/
@@ -1598,6 +1606,19 @@ export namespace gkebackup_v1 {
15981606
*/
15991607
value?: string | null;
16001608
}
1609+
/**
1610+
* Stores information about troubleshooting doc for debugging a particular state of an operation (eg - backup/restore). This will be used by the end user to debug their operation failure scenario easily.
1611+
*/
1612+
export interface Schema$TroubleshootingInfo {
1613+
/**
1614+
* Output only. Unique code for each backup/restore operation failure message which helps user identify the failure.
1615+
*/
1616+
stateReasonCode?: string | null;
1617+
/**
1618+
* Output only. URL for the troubleshooting doc which will help the user fix the failing backup/restore operation.
1619+
*/
1620+
stateReasonUri?: string | null;
1621+
}
16011622
/**
16021623
* Represents the backup of a specific persistent volume as a component of a Backup - both the record of the operation and a pointer to the underlying storage-specific artifacts.
16031624
*/
@@ -4721,6 +4742,7 @@ export namespace gkebackup_v1 {
47214742
* // "sizeBytes": "my_sizeBytes",
47224743
* // "state": "my_state",
47234744
* // "stateReason": "my_stateReason",
4745+
* // "troubleshootingInfo": {},
47244746
* // "uid": "my_uid",
47254747
* // "updateTime": "my_updateTime",
47264748
* // "volumeCount": 0
@@ -5052,6 +5074,7 @@ export namespace gkebackup_v1 {
50525074
* // "sizeBytes": "my_sizeBytes",
50535075
* // "state": "my_state",
50545076
* // "stateReason": "my_stateReason",
5077+
* // "troubleshootingInfo": {},
50555078
* // "uid": "my_uid",
50565079
* // "updateTime": "my_updateTime",
50575080
* // "volumeCount": 0
@@ -5667,6 +5690,7 @@ export namespace gkebackup_v1 {
56675690
* // "sizeBytes": "my_sizeBytes",
56685691
* // "state": "my_state",
56695692
* // "stateReason": "my_stateReason",
5693+
* // "troubleshootingInfo": {},
56705694
* // "uid": "my_uid",
56715695
* // "updateTime": "my_updateTime",
56725696
* // "volumeCount": 0
@@ -10257,6 +10281,7 @@ export namespace gkebackup_v1 {
1025710281
* // "restoreConfig": {},
1025810282
* // "state": "my_state",
1025910283
* // "stateReason": "my_stateReason",
10284+
* // "troubleshootingInfo": {},
1026010285
* // "uid": "my_uid",
1026110286
* // "updateTime": "my_updateTime",
1026210287
* // "volumeDataRestorePolicyOverrides": [],
@@ -10576,6 +10601,7 @@ export namespace gkebackup_v1 {
1057610601
* // "restoreConfig": {},
1057710602
* // "state": "my_state",
1057810603
* // "stateReason": "my_stateReason",
10604+
* // "troubleshootingInfo": {},
1057910605
* // "uid": "my_uid",
1058010606
* // "updateTime": "my_updateTime",
1058110607
* // "volumeDataRestorePolicyOverrides": [],
@@ -11027,6 +11053,7 @@ export namespace gkebackup_v1 {
1102711053
* // "restoreConfig": {},
1102811054
* // "state": "my_state",
1102911055
* // "stateReason": "my_stateReason",
11056+
* // "troubleshootingInfo": {},
1103011057
* // "uid": "my_uid",
1103111058
* // "updateTime": "my_updateTime",
1103211059
* // "volumeDataRestorePolicyOverrides": [],

0 commit comments

Comments
 (0)