Class: Google::Cloud::Bigtable::Admin::V2::GcRule
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::Admin::V2::GcRule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/admin/v2/table.rb
Overview
Rule for determining which cells to delete during garbage collection.
Defined Under Namespace
Classes: Intersection, Union
Instance Attribute Summary collapse
-
#intersection ⇒ ::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection
Delete cells that would be deleted by every nested rule.
-
#max_age ⇒ ::Google::Protobuf::Duration
Delete cells in a column older than the given age.
-
#max_num_versions ⇒ ::Integer
Delete all cells in a column except the most recent N.
-
#union ⇒ ::Google::Cloud::Bigtable::Admin::V2::GcRule::Union
Delete cells that would be deleted by any nested rule.
Instance Attribute Details
#intersection ⇒ ::Google::Cloud::Bigtable::Admin::V2::GcRule::Intersection
Returns Delete cells that would be deleted by every nested rule.
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 335 class GcRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GcRule which deletes cells matching all of the given rules. # @!attribute [rw] rules # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::GcRule>] # Only delete cells which would be deleted by every element of `rules`. class Intersection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A GcRule which deletes cells matching any of the given rules. # @!attribute [rw] rules # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::GcRule>] # Delete cells which would be deleted by any element of `rules`. class Union include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#max_age ⇒ ::Google::Protobuf::Duration
Returns Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 335 class GcRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GcRule which deletes cells matching all of the given rules. # @!attribute [rw] rules # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::GcRule>] # Only delete cells which would be deleted by every element of `rules`. class Intersection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A GcRule which deletes cells matching any of the given rules. # @!attribute [rw] rules # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::GcRule>] # Delete cells which would be deleted by any element of `rules`. class Union include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#max_num_versions ⇒ ::Integer
Returns Delete all cells in a column except the most recent N.
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 335 class GcRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GcRule which deletes cells matching all of the given rules. # @!attribute [rw] rules # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::GcRule>] # Only delete cells which would be deleted by every element of `rules`. class Intersection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A GcRule which deletes cells matching any of the given rules. # @!attribute [rw] rules # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::GcRule>] # Delete cells which would be deleted by any element of `rules`. class Union include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#union ⇒ ::Google::Cloud::Bigtable::Admin::V2::GcRule::Union
Returns Delete cells that would be deleted by any nested rule.
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 335 class GcRule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A GcRule which deletes cells matching all of the given rules. # @!attribute [rw] rules # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::GcRule>] # Only delete cells which would be deleted by every element of `rules`. class Intersection include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # A GcRule which deletes cells matching any of the given rules. # @!attribute [rw] rules # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::GcRule>] # Delete cells which would be deleted by any element of `rules`. class Union include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |