Class GCRuleIntersection (2.11.0)

GCRuleIntersection(rules)

Intersection of garbage collection rules.

For example:

.. literalinclude:: snippets_table.py :start-after: [START bigtable_api_create_family_gc_intersection] :end-before: [END bigtable_api_create_family_gc_intersection] :dedent: 4

Parameter

NameDescription
rules list

List of GarbageCollectionRule.

Inheritance

builtins.object > GarbageCollectionRule > GCRuleIntersection

Methods

to_pb

to_pb()

Converts the intersection into a single GC rule as a protobuf.

Returns
TypeDescription
`.table_v2_pb2.GcRule`The converted current object.