public sealed class GcRule : IMessage<GcRule>, IEquatable<GcRule>, IDeepCloneable<GcRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Bigtable Administration v2 API class GcRule.
Rule for determining which cells to delete during garbage collection.
Namespace
Google.Cloud.Bigtable.Admin.V2Assembly
Google.Cloud.Bigtable.Admin.V2.dll
Constructors
GcRule()
public GcRule()
GcRule(GcRule)
public GcRule(GcRule other)
Parameter | |
---|---|
Name | Description |
other | GcRule |
Properties
Intersection
public GcRule.Types.Intersection Intersection { get; set; }
Delete cells that would be deleted by every nested rule.
Property Value | |
---|---|
Type | Description |
GcRule.Types.Intersection |
MaxAge
public Duration MaxAge { get; set; }
Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.
Property Value | |
---|---|
Type | Description |
Duration |
MaxNumVersions
public int MaxNumVersions { get; set; }
Delete all cells in a column except the most recent N.
Property Value | |
---|---|
Type | Description |
Int32 |
RuleCase
public GcRule.RuleOneofCase RuleCase { get; }
Property Value | |
---|---|
Type | Description |
GcRule.RuleOneofCase |
Union
public GcRule.Types.Union Union { get; set; }
Delete cells that would be deleted by any nested rule.
Property Value | |
---|---|
Type | Description |
GcRule.Types.Union |