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.
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 188 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.
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 188 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.
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 188 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.
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
# File 'proto_docs/google/bigtable/admin/v2/table.rb', line 188 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 |