You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### backupdr:v1
The following keys were added:
- schemas.BackupPlan.properties.maxCustomOnDemandRetentionDays.description
- schemas.BackupPlan.properties.maxCustomOnDemandRetentionDays.format
- schemas.BackupPlan.properties.maxCustomOnDemandRetentionDays.type
- schemas.TriggerBackupRequest.properties.customRetentionDays.description
- schemas.TriggerBackupRequest.properties.customRetentionDays.format
- schemas.TriggerBackupRequest.properties.customRetentionDays.type
The following keys were changed:
- resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description
Copy file name to clipboardExpand all lines: discovery/backupdr-v1.json
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@
169
169
],
170
170
"parameters": {
171
171
"extraLocationTypes": {
172
-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
172
+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
173
173
"location": "query",
174
174
"repeated": true,
175
175
"type": "string"
@@ -2234,7 +2234,7 @@
2234
2234
}
2235
2235
}
2236
2236
},
2237
-
"revision": "20251015",
2237
+
"revision": "20251022",
2238
2238
"rootUrl": "https://backupdr.googleapis.com/",
2239
2239
"schemas": {
2240
2240
"AbandonBackupRequest": {
@@ -3182,6 +3182,11 @@
3182
3182
"format": "int64",
3183
3183
"type": "string"
3184
3184
},
3185
+
"maxCustomOnDemandRetentionDays": {
3186
+
"description": "Optional. Optional field to configure the maximum number of days for which a backup can be retained. This field is only applicable for on-demand backups taken with custom retention value.",
3187
+
"format": "int32",
3188
+
"type": "integer"
3189
+
},
3185
3190
"name": {
3186
3191
"description": "Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`",
3187
3192
"readOnly": true,
@@ -6385,6 +6390,11 @@
6385
6390
"description": "Request message for triggering a backup.",
6386
6391
"id": "TriggerBackupRequest",
6387
6392
"properties": {
6393
+
"customRetentionDays": {
6394
+
"description": "Optional. The duration for which backup data will be kept, while taking an on-demand backup with custom retention. It is defined in \"days\". It is mutually exclusive with rule_id. This field is required if rule_id is not provided.",
6395
+
"format": "int32",
6396
+
"type": "integer"
6397
+
},
6388
6398
"requestId": {
6389
6399
"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
* 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.
736
736
*/
737
737
logRetentionDays?: string | null;
738
+
/**
739
+
* Optional. Optional field to configure the maximum number of days for which a backup can be retained. This field is only applicable for on-demand backups taken with custom retention value.
740
+
*/
741
+
maxCustomOnDemandRetentionDays?: number | null;
738
742
/**
739
743
* Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project\}/locations/{location\}/backupPlans/{backup_plan\}`
* Optional. The duration for which backup data will be kept, while taking an on-demand backup with custom retention. It is defined in "days". It is mutually exclusive with rule_id. This field is required if rule_id is not provided.
2838
+
*/
2839
+
customRetentionDays?: number | null;
2832
2840
/**
2833
2841
* Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
* const res = await backupdr.projects.locations.list({
3233
-
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
3241
+
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
3234
3242
* extraLocationTypes: 'placeholder-value',
3235
3243
* // 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).
0 commit comments