Class RetentionSettingsInfo
Metadata about backup retention settings for a database resource.
Implements
Inherited Members
Namespace: Google.Apis.DatabaseCenter.v1beta.Data
Assembly: Google.Apis.DatabaseCenter.v1beta.dll
Syntax
public class RetentionSettingsInfo : IDirectResponseSchema
Properties
DurationBasedRetention
Duration based retention period i.e. 172800 seconds (2 days)
Declaration
[JsonProperty("durationBasedRetention")]
public virtual object DurationBasedRetention { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
QuantityBasedRetention
Number of backups that will be retained.
Declaration
[JsonProperty("quantityBasedRetention")]
public virtual int? QuantityBasedRetention { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
SubResource
Optional. Sub resource details associated with the backup configuration.
Declaration
[JsonProperty("subResource")]
public virtual SubResource SubResource { get; set; }
Property Value
| Type | Description |
|---|---|
| SubResource |
TimestampBasedRetentionTime
object representation of TimestampBasedRetentionTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TimestampBasedRetentionTimeDateTimeOffset instead.")]
public virtual object TimestampBasedRetentionTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
TimestampBasedRetentionTimeDateTimeOffset
DateTimeOffset representation of TimestampBasedRetentionTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TimestampBasedRetentionTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
TimestampBasedRetentionTimeRaw
Timestamp based retention period i.e. till 2024-05-01T00:00:00Z
Declaration
[JsonProperty("timestampBasedRetentionTime")]
public virtual string TimestampBasedRetentionTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |