public sealed class RetentionSettingsInfo : IMessage<RetentionSettingsInfo>, IEquatable<RetentionSettingsInfo>, IDeepCloneable<RetentionSettingsInfo>, IBufferMessage, IMessageReference documentation and code samples for the Database Center v1beta API class RetentionSettingsInfo.
Metadata about backup retention settings for a database resource.
Implements
IMessageRetentionSettingsInfo, IEquatableRetentionSettingsInfo, IDeepCloneableRetentionSettingsInfo, IBufferMessage, IMessageNamespace
Google.Cloud.DatabaseCenter.V1BetaAssembly
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 |
|