public sealed class Table.Types.AutomatedBackupPolicy : IMessage<Table.Types.AutomatedBackupPolicy>, IEquatable<Table.Types.AutomatedBackupPolicy>, IDeepCloneable<Table.Types.AutomatedBackupPolicy>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Bigtable Administration v2 API class Table.Types.AutomatedBackupPolicy.
Defines an automated backup policy for a table
Implements
IMessageTableTypesAutomatedBackupPolicy, IEquatableTableTypesAutomatedBackupPolicy, IDeepCloneableTableTypesAutomatedBackupPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.Bigtable.Admin.V2Assembly
Google.Cloud.Bigtable.Admin.V2.dll
Constructors
AutomatedBackupPolicy()
public AutomatedBackupPolicy()AutomatedBackupPolicy(AutomatedBackupPolicy)
public AutomatedBackupPolicy(Table.Types.AutomatedBackupPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
TableTypesAutomatedBackupPolicy |
Properties
Frequency
public Duration Frequency { get; set; }How frequently automated backups should occur. The only supported value at this time is 24 hours. An undefined frequency is treated as 24 hours.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|
Locations
public RepeatedField<string> Locations { get; }Optional. A list of Cloud Bigtable zones where automated backups are
allowed to be created. If empty, automated backups will be created in all
zones of the instance. Locations are in the format
projects/{project}/locations/{zone}.
This field can only set for tables in Enterprise Plus instances.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
LocationsAsLocationNames
public ResourceNameList<LocationName> LocationsAsLocationNames { get; }LocationName-typed view over the Locations resource name property.
| Property Value | |
|---|---|
| Type | Description |
ResourceNameListLocationName |
|
RetentionPeriod
public Duration RetentionPeriod { get; set; }Required. How long the automated backups should be retained. Values must be at least 3 days and at most 90 days.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|