public sealed class FinalizeBackupRequest : IMessage<FinalizeBackupRequest>, IEquatable<FinalizeBackupRequest>, IDeepCloneable<FinalizeBackupRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class FinalizeBackupRequest.
Message for finalizing a Backup.
Implements
IMessageFinalizeBackupRequest, IEquatableFinalizeBackupRequest, IDeepCloneableFinalizeBackupRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
FinalizeBackupRequest()
public FinalizeBackupRequest()
FinalizeBackupRequest(FinalizeBackupRequest)
public FinalizeBackupRequest(FinalizeBackupRequest other)
Parameter | |
---|---|
Name | Description |
other |
FinalizeBackupRequest |
Properties
BackupId
public string BackupId { get; set; }
Required. Resource ID of the Backup resource to be finalized. This must be the same backup_id that was used in the InitiateBackupRequest.
Property Value | |
---|---|
Type | Description |
string |
ConsistencyTime
public Timestamp ConsistencyTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
DataSource
public string DataSource { get; set; }
Required. The resource name of the instance, in the format 'projects//locations//backupVaults/*/dataSources/'.
Property Value | |
---|---|
Type | Description |
string |
DataSourceAsDataSourceName
public DataSourceName DataSourceAsDataSourceName { get; set; }
DataSourceName-typed view over the DataSource resource name property.
Property Value | |
---|---|
Type | Description |
DataSourceName |
Description
public string Description { get; set; }
This will be assigned to the description field of the newly created Backup.
Property Value | |
---|---|
Type | Description |
string |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
bool |
RecoveryRangeEndTime
public Timestamp RecoveryRangeEndTime { get; set; }
The latest timestamp of data available in this Backup. This will be set on the newly created Backup.
Property Value | |
---|---|
Type | Description |
Timestamp |
RecoveryRangeStartTime
public Timestamp RecoveryRangeStartTime { get; set; }
The earliest timestamp of data available in this Backup. This will set on the newly created Backup.
Property Value | |
---|---|
Type | Description |
Timestamp |
RequestId
public string RequestId { get; set; }
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).
Property Value | |
---|---|
Type | Description |
string |
RetentionDuration
public Duration RetentionDuration { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Duration |