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.
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 317 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.
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 317 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.
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 317 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.
317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 317 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 |