Database Center v1beta API - Class RetentionSettingsInfo (1.0.0-beta03)

public sealed class RetentionSettingsInfo : IMessage<RetentionSettingsInfo>, IEquatable<RetentionSettingsInfo>, IDeepCloneable<RetentionSettingsInfo>, IBufferMessage, IMessage

Reference documentation and code samples for the Database Center v1beta API class RetentionSettingsInfo.

Metadata about backup retention settings for a database resource.

Inheritance

object > RetentionSettingsInfo

Namespace

Google.Cloud.DatabaseCenter.V1Beta

Assembly

Google.Cloud.DatabaseCenter.V1Beta.dll

Constructors

RetentionSettingsInfo()

public RetentionSettingsInfo()

RetentionSettingsInfo(RetentionSettingsInfo)

public RetentionSettingsInfo(RetentionSettingsInfo other)
Parameter
Name Description
other RetentionSettingsInfo

Properties

DurationBasedRetention

public Duration DurationBasedRetention { get; set; }

Duration based retention period i.e. 172800 seconds (2 days)

Property Value
Type Description
Duration

QuantityBasedRetention

public int? QuantityBasedRetention { get; set; }

Number of backups that will be retained.

Property Value
Type Description
int

RetentionCase

public RetentionSettingsInfo.RetentionOneofCase RetentionCase { get; }
Property Value
Type Description
RetentionSettingsInfoRetentionOneofCase

SubResource

public SubResource SubResource { get; set; }

Optional. Sub resource details associated with the backup configuration.

Property Value
Type Description
SubResource

TimestampBasedRetentionTime

public Timestamp TimestampBasedRetentionTime { get; set; }

Timestamp based retention period i.e. till 2024-05-01T00:00:00Z

Property Value
Type Description
Timestamp