Google Cloud Bigtable Administration v2 API - Class GcRule (3.21.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
Name Description
other GcRule

Properties

HasMaxNumVersions

public bool HasMaxNumVersions { get; }

Gets whether the "max_num_versions" field is set

Property Value
Type Description
bool

Intersection

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

Delete cells that would be deleted by every nested rule.

Property Value
Type Description
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
Type Description
Duration

MaxNumVersions

public int MaxNumVersions { get; set; }

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

Property Value
Type Description
int

RuleCase

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

Union

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

Delete cells that would be deleted by any nested rule.

Property Value
Type Description
GcRuleTypesUnion