Google Cloud Bigtable Administration v2 API - Class GcRule (3.9.0)

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.

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

HasMaxNumVersions

public bool HasMaxNumVersions { get; }

Gets whether the "max_num_versions" field is set

Property Value
TypeDescription
bool

Intersection

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

Delete cells that would be deleted by every nested rule.

Property Value
TypeDescription
GcRuleTypesIntersection

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
int

RuleCase

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

Union

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

Delete cells that would be deleted by any nested rule.

Property Value
TypeDescription
GcRuleTypesUnion