Class GCRuleUnion (2.25.0)

GCRuleUnion(rules)

Union of garbage collection rules.

For example:

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

Parameter

Name Description
rules list

List of GarbageCollectionRule.

Methods

to_pb

to_pb()

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

Returns
Type Description
.table_v2_pb2.GcRule The converted current object.