v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1339136214.2 KB
projects

Internal only. Finalize a backup that was started by a call to InitiateBackup.

post/v1/{+dataSource}:finalizeBackup

Path parameters

dataSourcestring required

Required. The resource name of the instance, in the format 'projects//locations//backupVaults/*/dataSources/'.

Request body

descriptionstring

This will be assigned to the description field of the newly created Backup.

requestIdstring

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).

recoveryRangeStartTimestring google-datetime

The earliest timestamp of data available in this Backup. This will set on the newly created Backup.

recoveryRangeEndTimestring google-datetime

The latest timestamp of data available in this Backup. This will be set on the newly created Backup.

retentionDurationstring google-duration

The ExpireTime on the backup will be set to FinalizeTime plus this duration. If the resulting ExpireTime is less than EnforcedRetentionEndTime, then ExpireTime is set to EnforcedRetentionEndTime.

backupIdstring

Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest.

consistencyTimestring google-datetime

The point in time when this backup was captured from the source. This will be assigned to the consistency_time field of the newly created Backup.

Response

Successful response