Skip to content

Commit aafe114

Browse files
yoshi-automationsofisl
authored andcommitted
fix(backupdr): update the API
#### backupdr:v1 The following keys were changed: - resources.projects.resources.locations.resources.backupPlanAssociations.methods.patch.description - resources.projects.resources.locations.resources.backupPlans.methods.patch.description - schemas.BackupPlan.properties.backupRules.description - schemas.BackupPlan.properties.logRetentionDays.description - schemas.BackupPlan.properties.resourceType.description - schemas.BackupPlanAssociation.properties.resourceType.description - schemas.CloudSqlInstanceBackupProperties.description - schemas.CloudSqlInstanceDataSourceProperties.description - schemas.CloudSqlInstanceDataSourceReferenceProperties.description - schemas.DiskRestoreProperties.properties.name.description - schemas.TriggerBackupRequest.properties.ruleId.description
1 parent 7b0a738 commit aafe114

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

discovery/backupdr-v1.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@
371371
]
372372
},
373373
"patch": {
374-
"description": "Update a BackupPlanAssociation",
374+
"description": "Update a BackupPlanAssociation.",
375375
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlanAssociations/{backupPlanAssociationsId}",
376376
"httpMethod": "PATCH",
377377
"id": "backupdr.projects.locations.backupPlanAssociations.patch",
@@ -581,7 +581,7 @@
581581
]
582582
},
583583
"patch": {
584-
"description": "Update a BackupPlan",
584+
"description": "Update a BackupPlan.",
585585
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/backupPlans/{backupPlansId}",
586586
"httpMethod": "PATCH",
587587
"id": "backupdr.projects.locations.backupPlans.patch",
@@ -2060,7 +2060,7 @@
20602060
}
20612061
}
20622062
},
2063-
"revision": "20250720",
2063+
"revision": "20250723",
20642064
"rootUrl": "https://backupdr.googleapis.com/",
20652065
"schemas": {
20662066
"AbandonBackupRequest": {
@@ -2899,7 +2899,7 @@
28992899
"id": "BackupPlan",
29002900
"properties": {
29012901
"backupRules": {
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.",
2902+
"description": "Optional. The backup rules for this `BackupPlan`.",
29032903
"items": {
29042904
"$ref": "BackupRule"
29052905
},
@@ -2936,7 +2936,7 @@
29362936
"type": "object"
29372937
},
29382938
"logRetentionDays": {
2939-
"description": "Optional. Required for CloudSQL resource_type Configures how long logs will be stored. It is defined in “days”. This value should be greater than or equal to minimum enforced log retention duration of the backup vault.",
2939+
"description": "Optional. Applicable only for CloudSQL resource_type. Configures how long logs will be stored. It is defined in “days”. This value should be greater than or equal to minimum enforced log retention duration of the backup vault.",
29402940
"format": "int64",
29412941
"type": "string"
29422942
},
@@ -2946,7 +2946,7 @@
29462946
"type": "string"
29472947
},
29482948
"resourceType": {
2949-
"description": "Required. ",
2949+
"description": "Required. The resource type to which the `BackupPlan` will be applied. Examples include, \"compute.googleapis.com/Instance\", \"sqladmin.googleapis.com/Instance\", \"alloydb.googleapis.com/Cluster\", \"compute.googleapis.com/Disk\".",
29502950
"type": "string"
29512951
},
29522952
"revisionId": {
@@ -3041,7 +3041,7 @@
30413041
"type": "string"
30423042
},
30433043
"resourceType": {
3044-
"description": "Required. Immutable. ",
3044+
"description": "Required. Immutable. Resource type of workload on which backupplan is applied",
30453045
"type": "string"
30463046
},
30473047
"rulesConfigInfo": {
@@ -3329,7 +3329,7 @@
33293329
"type": "object"
33303330
},
33313331
"CloudSqlInstanceBackupProperties": {
3332-
"description": "CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties. .",
3332+
"description": "CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties.",
33333333
"id": "CloudSqlInstanceBackupProperties",
33343334
"properties": {
33353335
"databaseInstalledVersion": {
@@ -3356,7 +3356,7 @@
33563356
"type": "object"
33573357
},
33583358
"CloudSqlInstanceDataSourceProperties": {
3359-
"description": "CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL resource that are stored in the DataSource. .",
3359+
"description": "CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL resource that are stored in the DataSource.",
33603360
"id": "CloudSqlInstanceDataSourceProperties",
33613361
"properties": {
33623362
"databaseInstalledVersion": {
@@ -3384,7 +3384,7 @@
33843384
"type": "object"
33853385
},
33863386
"CloudSqlInstanceDataSourceReferenceProperties": {
3387-
"description": "CloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference. .",
3387+
"description": "CloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference.",
33883388
"id": "CloudSqlInstanceDataSourceReferenceProperties",
33893389
"properties": {
33903390
"databaseInstalledVersion": {
@@ -4182,7 +4182,7 @@
41824182
"type": "array"
41834183
},
41844184
"name": {
4185-
"description": "Required. Name of the disk..",
4185+
"description": "Required. Name of the disk.",
41864186
"type": "string"
41874187
},
41884188
"physicalBlockSizeBytes": {
@@ -5955,7 +5955,7 @@
59555955
"type": "string"
59565956
},
59575957
"ruleId": {
5958-
"description": "Required. backup rule_id for which a backup needs to be triggered.",
5958+
"description": "Optional. backup rule_id for which a backup needs to be triggered. If not specified, on-demand backup with custom retention will be triggered.",
59595959
"type": "string"
59605960
}
59615961
},

src/apis/backupdr/v1.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ export namespace backupdr_v1 {
649649
*/
650650
export interface Schema$BackupPlan {
651651
/**
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.
652+
* Optional. The backup rules for this `BackupPlan`.
653653
*/
654654
backupRules?: Schema$BackupRule[];
655655
/**
@@ -677,15 +677,15 @@ export namespace backupdr_v1 {
677677
*/
678678
labels?: {[key: string]: string} | null;
679679
/**
680-
* Optional. Required for CloudSQL resource_type Configures how long logs will be stored. It is defined in “days”. This value should be greater than or equal to minimum enforced log retention duration of the backup vault.
680+
* Optional. Applicable only for CloudSQL resource_type. Configures how long logs will be stored. It is defined in “days”. This value should be greater than or equal to minimum enforced log retention duration of the backup vault.
681681
*/
682682
logRetentionDays?: string | null;
683683
/**
684684
* Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project\}/locations/{location\}/backupPlans/{backup_plan\}`
685685
*/
686686
name?: string | null;
687687
/**
688-
* Required.
688+
* Required. The resource type to which the `BackupPlan` will be applied. Examples include, "compute.googleapis.com/Instance", "sqladmin.googleapis.com/Instance", "alloydb.googleapis.com/Cluster", "compute.googleapis.com/Disk".
689689
*/
690690
resourceType?: string | null;
691691
/**
@@ -746,7 +746,7 @@ export namespace backupdr_v1 {
746746
*/
747747
resource?: string | null;
748748
/**
749-
* Required. Immutable.
749+
* Required. Immutable. Resource type of workload on which backupplan is applied
750750
*/
751751
resourceType?: string | null;
752752
/**
@@ -917,7 +917,7 @@ export namespace backupdr_v1 {
917917
instanceCreateTime?: string | null;
918918
}
919919
/**
920-
* CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties. .
920+
* CloudSqlInstanceBackupProperties represents Cloud SQL Instance Backup properties.
921921
*/
922922
export interface Schema$CloudSqlInstanceBackupProperties {
923923
/**
@@ -938,7 +938,7 @@ export namespace backupdr_v1 {
938938
sourceInstance?: string | null;
939939
}
940940
/**
941-
* CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL resource that are stored in the DataSource. .
941+
* CloudSqlInstanceDataSourceProperties represents the properties of a Cloud SQL resource that are stored in the DataSource.
942942
*/
943943
export interface Schema$CloudSqlInstanceDataSourceProperties {
944944
/**
@@ -959,7 +959,7 @@ export namespace backupdr_v1 {
959959
name?: string | null;
960960
}
961961
/**
962-
* CloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference. .
962+
* CloudSqlInstanceDataSourceReferenceProperties represents the properties of a Cloud SQL resource that are stored in the DataSourceReference.
963963
*/
964964
export interface Schema$CloudSqlInstanceDataSourceReferenceProperties {
965965
/**
@@ -1511,7 +1511,7 @@ export namespace backupdr_v1 {
15111511
*/
15121512
licenses?: string[] | null;
15131513
/**
1514-
* Required. Name of the disk..
1514+
* Required. Name of the disk.
15151515
*/
15161516
name?: string | null;
15171517
/**
@@ -2673,7 +2673,7 @@ export namespace backupdr_v1 {
26732673
*/
26742674
requestId?: string | null;
26752675
/**
2676-
* Required. backup rule_id for which a backup needs to be triggered.
2676+
* Optional. backup rule_id for which a backup needs to be triggered. If not specified, on-demand backup with custom retention will be triggered.
26772677
*/
26782678
ruleId?: string | null;
26792679
}
@@ -3857,7 +3857,7 @@ export namespace backupdr_v1 {
38573857
}
38583858

38593859
/**
3860-
* Update a BackupPlanAssociation
3860+
* Update a BackupPlanAssociation.
38613861
* @example
38623862
* ```js
38633863
* // Before running the sample:
@@ -4903,7 +4903,7 @@ export namespace backupdr_v1 {
49034903
}
49044904

49054905
/**
4906-
* Update a BackupPlan
4906+
* Update a BackupPlan.
49074907
* @example
49084908
* ```js
49094909
* // Before running the sample:

0 commit comments

Comments
 (0)