Skip to content

Commit 9b1735c

Browse files
yoshi-automationmiguelvelezsa
authored andcommitted
feat(backupdr)!: update the API
BREAKING CHANGE: This release has breaking changes. #### backupdr:v1 The following keys were deleted: - schemas.BackupConfigInfo.properties.lastSuccessfulLogBackupConsistencyTime.description - schemas.BackupConfigInfo.properties.lastSuccessfulLogBackupConsistencyTime.format - schemas.BackupConfigInfo.properties.lastSuccessfulLogBackupConsistencyTime.readOnly - schemas.BackupConfigInfo.properties.lastSuccessfulLogBackupConsistencyTime.type The following keys were changed: - schemas.BackupPlan.properties.backupRules.description
1 parent 4ab8d20 commit 9b1735c

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

discovery/backupdr-v1.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,7 +2060,7 @@
20602060
}
20612061
}
20622062
},
2063-
"revision": "20250711",
2063+
"revision": "20250720",
20642064
"rootUrl": "https://backupdr.googleapis.com/",
20652065
"schemas": {
20662066
"AbandonBackupRequest": {
@@ -2791,12 +2791,6 @@
27912791
"format": "google-datetime",
27922792
"readOnly": true,
27932793
"type": "string"
2794-
},
2795-
"lastSuccessfulLogBackupConsistencyTime": {
2796-
"description": "Output only. If the last log backup were successful, this field has the consistency date.",
2797-
"format": "google-datetime",
2798-
"readOnly": true,
2799-
"type": "string"
28002794
}
28012795
},
28022796
"type": "object"
@@ -2905,7 +2899,7 @@
29052899
"id": "BackupPlan",
29062900
"properties": {
29072901
"backupRules": {
2908-
"description": "Required. The backup rules for this `BackupPlan`. There must be at least one `BackupRule` message.",
2902+
"description": "Optional. The backup rules for this `BackupPlan`. There must be at least one `BackupRule` message if on_demand_retention_limit_days is not set.",
29092903
"items": {
29102904
"$ref": "BackupRule"
29112905
},

src/apis/backupdr/v1.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -578,10 +578,6 @@ export namespace backupdr_v1 {
578578
* Output only. If the last backup were successful, this field has the consistency date.
579579
*/
580580
lastSuccessfulBackupConsistencyTime?: string | null;
581-
/**
582-
* Output only. If the last log backup were successful, this field has the consistency date.
583-
*/
584-
lastSuccessfulLogBackupConsistencyTime?: string | null;
585581
}
586582
/**
587583
* BackupDrPlanConfig has additional information about Backup and DR's Plan backup configuration.
@@ -653,7 +649,7 @@ export namespace backupdr_v1 {
653649
*/
654650
export interface Schema$BackupPlan {
655651
/**
656-
* Required. The backup rules for this `BackupPlan`. There must be at least one `BackupRule` message.
652+
* Optional. The backup rules for this `BackupPlan`. There must be at least one `BackupRule` message if on_demand_retention_limit_days is not set.
657653
*/
658654
backupRules?: Schema$BackupRule[];
659655
/**

0 commit comments

Comments
 (0)