Skip to content

Commit 709acf2

Browse files
feat(backupdr): update the API
#### backupdr:v1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type The following keys were changed: - resources.projects.resources.locations.resources.resourceBackupConfigs.methods.list.parameters.pageSize.description - schemas.BackupPlan.properties.state.enum - schemas.BackupPlan.properties.state.enumDescriptions - schemas.BackupRule.properties.backupRetentionDays.description
1 parent 3272d5f commit 709acf2

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

‎discovery/backupdr-v1.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -1680,7 +1686,7 @@
16801686
"type": "string"
16811687
},
16821688
"pageSize": {
1683-
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
1689+
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will use 100 as default. Maximum value is 500 and values above 500 will be coerced to 500.",
16841690
"format": "int32",
16851691
"location": "query",
16861692
"type": "integer"
@@ -1745,7 +1751,7 @@
17451751
}
17461752
}
17471753
},
1748-
"revision": "20250305",
1754+
"revision": "20250411",
17491755
"rootUrl": "https://backupdr.googleapis.com/",
17501756
"schemas": {
17511757
"AbandonBackupRequest": {
@@ -2628,14 +2634,16 @@
26282634
"CREATING",
26292635
"ACTIVE",
26302636
"DELETING",
2631-
"INACTIVE"
2637+
"INACTIVE",
2638+
"UPDATING"
26322639
],
26332640
"enumDescriptions": [
26342641
"State not set.",
26352642
"The resource is being created.",
26362643
"The resource has been created and is fully usable.",
26372644
"The resource is being deleted.",
2638-
"The resource has been created but is not usable."
2645+
"The resource has been created but is not usable.",
2646+
"The resource is being updated."
26392647
],
26402648
"readOnly": true,
26412649
"type": "string"
@@ -2724,7 +2732,7 @@
27242732
"id": "BackupRule",
27252733
"properties": {
27262734
"backupRetentionDays": {
2727-
"description": "Required. Configures the duration for which backup data will be kept. It is defined in “days”. The value should be greater than or equal to minimum enforced retention of the backup vault. Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups. Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and maximum value is 36159 for yearly backups.",
2735+
"description": "Required. Configures the duration for which backup data will be kept. It is defined in “days”. The value should be greater than or equal to minimum enforced retention of the backup vault. Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum value is 186 for daily backups. Minimum value is 7 and maximum value is 366 for weekly backups. Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and maximum value is 36159 for yearly backups.",
27282736
"format": "int32",
27292737
"type": "integer"
27302738
},

‎src/apis/backupdr/v1.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ export namespace backupdr_v1 {
735735
*/
736736
export interface Schema$BackupRule {
737737
/**
738-
* Required. Configures the duration for which backup data will be kept. It is defined in “days”. The value should be greater than or equal to minimum enforced retention of the backup vault. Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum value is 90 for daily backups. Minimum value is 7 and maximum value is 186 for weekly backups. Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and maximum value is 36159 for yearly backups.
738+
* Required. Configures the duration for which backup data will be kept. It is defined in “days”. The value should be greater than or equal to minimum enforced retention of the backup vault. Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum value is 186 for daily backups. Minimum value is 7 and maximum value is 366 for weekly backups. Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and maximum value is 36159 for yearly backups.
739739
*/
740740
backupRetentionDays?: number | null;
741741
/**
@@ -2466,6 +2466,10 @@ export namespace backupdr_v1 {
24662466
}
24672467
export interface Params$Resource$Projects$Locations$List
24682468
extends StandardParameters {
2469+
/**
2470+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
2471+
*/
2472+
extraLocationTypes?: string[];
24692473
/**
24702474
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
24712475
*/
@@ -6962,7 +6966,7 @@ export namespace backupdr_v1 {
69626966
*/
69636967
orderBy?: string;
69646968
/**
6965-
* Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
6969+
* Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will use 100 as default. Maximum value is 500 and values above 500 will be coerced to 500.
69666970
*/
69676971
pageSize?: number;
69686972
/**

0 commit comments

Comments
 (0)