Skip to content

Commit 9ea2eb7

Browse files
feat(backupdr): update the api
#### backupdr:v1 The following keys were added: - resources.projects.resources.locations.resources.backupVaults.resources.dataSources.resources.backups.methods.fetchForResourceType (Total Keys: 24) - resources.projects.resources.locations.resources.dataSourceReferences.methods.list (Total Keys: 20) - schemas.Backup.properties.gcpResource (Total Keys: 2) - schemas.BackupGcpResource (Total Keys: 5) - schemas.BackupPlan.properties.maxCustomOnDemandRetentionDays (Total Keys: 2) - schemas.CloudSqlInstanceBackupProperties.properties.instanceCreateTime (Total Keys: 3) - schemas.CloudSqlInstanceBackupProperties.properties.instanceDeleteTime (Total Keys: 3) - schemas.DataSourceReference.properties.totalStoredBytes (Total Keys: 3) - schemas.FetchBackupsForResourceTypeResponse (Total Keys: 5) - schemas.ListDataSourceReferencesResponse (Total Keys: 5) - schemas.TriggerBackupRequest.properties.customRetentionDays (Total Keys: 2)
1 parent 4b1a58e commit 9ea2eb7

7 files changed

+603
-3
lines changed

docs/dyn/backupdr_v1.projects.locations.backupPlanAssociations.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ <h3>Method Details</h3>
490490
The object takes the form of:
491491

492492
{ # Request message for triggering a backup.
493+
&quot;customRetentionDays&quot;: 42, # Optional. The duration for which backup data will be kept, while taking an on-demand backup with custom retention. It is defined in &quot;days&quot;. It is mutually exclusive with rule_id. This field is required if rule_id is not provided.
493494
&quot;requestId&quot;: &quot;A String&quot;, # 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).
494495
&quot;ruleId&quot;: &quot;A String&quot;, # Optional. backup rule_id for which a backup needs to be triggered. If not specified, on-demand backup with custom retention will be triggered.
495496
}

docs/dyn/backupdr_v1.projects.locations.backupPlans.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ <h3>Method Details</h3>
153153
&quot;a_key&quot;: &quot;A String&quot;,
154154
},
155155
&quot;logRetentionDays&quot;: &quot;A String&quot;, # 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.
156+
&quot;maxCustomOnDemandRetentionDays&quot;: 42, # 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.
156157
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
157158
&quot;resourceType&quot;: &quot;A String&quot;, # Required. The resource type to which the `BackupPlan` will be applied. Examples include, &quot;compute.googleapis.com/Instance&quot;, &quot;sqladmin.googleapis.com/Instance&quot;, &quot;alloydb.googleapis.com/Cluster&quot;, &quot;compute.googleapis.com/Disk&quot;.
158159
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The user friendly revision ID of the `BackupPlanRevision`. Example: v0, v1, v2, etc.
@@ -283,6 +284,7 @@ <h3>Method Details</h3>
283284
&quot;a_key&quot;: &quot;A String&quot;,
284285
},
285286
&quot;logRetentionDays&quot;: &quot;A String&quot;, # 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.
287+
&quot;maxCustomOnDemandRetentionDays&quot;: 42, # 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.
286288
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
287289
&quot;resourceType&quot;: &quot;A String&quot;, # Required. The resource type to which the `BackupPlan` will be applied. Examples include, &quot;compute.googleapis.com/Instance&quot;, &quot;sqladmin.googleapis.com/Instance&quot;, &quot;alloydb.googleapis.com/Cluster&quot;, &quot;compute.googleapis.com/Disk&quot;.
288290
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The user friendly revision ID of the `BackupPlanRevision`. Example: v0, v1, v2, etc.
@@ -353,6 +355,7 @@ <h3>Method Details</h3>
353355
&quot;a_key&quot;: &quot;A String&quot;,
354356
},
355357
&quot;logRetentionDays&quot;: &quot;A String&quot;, # 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.
358+
&quot;maxCustomOnDemandRetentionDays&quot;: 42, # 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.
356359
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
357360
&quot;resourceType&quot;: &quot;A String&quot;, # Required. The resource type to which the `BackupPlan` will be applied. Examples include, &quot;compute.googleapis.com/Instance&quot;, &quot;sqladmin.googleapis.com/Instance&quot;, &quot;alloydb.googleapis.com/Cluster&quot;, &quot;compute.googleapis.com/Disk&quot;.
358361
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The user friendly revision ID of the `BackupPlanRevision`. Example: v0, v1, v2, etc.
@@ -432,6 +435,7 @@ <h3>Method Details</h3>
432435
&quot;a_key&quot;: &quot;A String&quot;,
433436
},
434437
&quot;logRetentionDays&quot;: &quot;A String&quot;, # 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.
438+
&quot;maxCustomOnDemandRetentionDays&quot;: 42, # 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.
435439
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
436440
&quot;resourceType&quot;: &quot;A String&quot;, # Required. The resource type to which the `BackupPlan` will be applied. Examples include, &quot;compute.googleapis.com/Instance&quot;, &quot;sqladmin.googleapis.com/Instance&quot;, &quot;alloydb.googleapis.com/Cluster&quot;, &quot;compute.googleapis.com/Disk&quot;.
437441
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The user friendly revision ID of the `BackupPlanRevision`. Example: v0, v1, v2, etc.

docs/dyn/backupdr_v1.projects.locations.backupPlans.revisions.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ <h3>Method Details</h3>
145145
&quot;a_key&quot;: &quot;A String&quot;,
146146
},
147147
&quot;logRetentionDays&quot;: &quot;A String&quot;, # 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.
148+
&quot;maxCustomOnDemandRetentionDays&quot;: 42, # 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.
148149
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
149150
&quot;resourceType&quot;: &quot;A String&quot;, # Required. The resource type to which the `BackupPlan` will be applied. Examples include, &quot;compute.googleapis.com/Instance&quot;, &quot;sqladmin.googleapis.com/Instance&quot;, &quot;alloydb.googleapis.com/Cluster&quot;, &quot;compute.googleapis.com/Disk&quot;.
150151
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The user friendly revision ID of the `BackupPlanRevision`. Example: v0, v1, v2, etc.
@@ -219,6 +220,7 @@ <h3>Method Details</h3>
219220
&quot;a_key&quot;: &quot;A String&quot;,
220221
},
221222
&quot;logRetentionDays&quot;: &quot;A String&quot;, # 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.
223+
&quot;maxCustomOnDemandRetentionDays&quot;: 42, # 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.
222224
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name of the `BackupPlan`. Format: `projects/{project}/locations/{location}/backupPlans/{backup_plan}`
223225
&quot;resourceType&quot;: &quot;A String&quot;, # Required. The resource type to which the `BackupPlan` will be applied. Examples include, &quot;compute.googleapis.com/Instance&quot;, &quot;sqladmin.googleapis.com/Instance&quot;, &quot;alloydb.googleapis.com/Cluster&quot;, &quot;compute.googleapis.com/Disk&quot;.
224226
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The user friendly revision ID of the `BackupPlanRevision`. Example: v0, v1, v2, etc.

0 commit comments

Comments
 (0)