Class GcRule (2.5.0)

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

Rule for determining which cells to delete during garbage collection.

Inheritance

Object > GcRule

Namespace

Google.Cloud.Bigtable.Admin.V2

Assembly

Google.Cloud.Bigtable.Admin.V2.dll

Constructors

GcRule()

public GcRule()

GcRule(GcRule)

public GcRule(GcRule other)
Parameter
NameDescription
otherGcRule

Properties

Intersection

public GcRule.Types.Intersection Intersection { get; set; }

Delete cells that would be deleted by every nested rule.

Property Value
TypeDescription
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
TypeDescription
Duration

MaxNumVersions

public int MaxNumVersions { get; set; }

Delete all cells in a column except the most recent N.

Property Value
TypeDescription
Int32

RuleCase

public GcRule.RuleOneofCase RuleCase { get; }
Property Value
TypeDescription
GcRule.RuleOneofCase

Union

public GcRule.Types.Union Union { get; set; }

Delete cells that would be deleted by any nested rule.

Property Value
TypeDescription
GcRule.Types.Union