Class: Google::Bigtable::Admin::V2::GcRule

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/bigtable/admin/v2/doc/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

Instance Attribute Details

#intersectionGoogle::Bigtable::Admin::V2::GcRule::Intersection

Returns Delete cells that would be deleted by every nested rule.

Returns:



136
137
138
139
140
141
142
143
144
145
146
147
148
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 136

class GcRule
  # A GcRule which deletes cells matching all of the given rules.
  # @!attribute [rw] rules
  #   @return [Array<Google::Bigtable::Admin::V2::GcRule>]
  #     Only delete cells which would be deleted by every element of +rules+.
  class Intersection; end

  # A GcRule which deletes cells matching any of the given rules.
  # @!attribute [rw] rules
  #   @return [Array<Google::Bigtable::Admin::V2::GcRule>]
  #     Delete cells which would be deleted by any element of +rules+.
  class Union; end
end

#max_ageGoogle::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.

Returns:

  • (Google::Protobuf::Duration)

    Delete cells in a column older than the given age. Values must be at least one millisecond, and will be truncated to microsecond granularity.



136
137
138
139
140
141
142
143
144
145
146
147
148
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 136

class GcRule
  # A GcRule which deletes cells matching all of the given rules.
  # @!attribute [rw] rules
  #   @return [Array<Google::Bigtable::Admin::V2::GcRule>]
  #     Only delete cells which would be deleted by every element of +rules+.
  class Intersection; end

  # A GcRule which deletes cells matching any of the given rules.
  # @!attribute [rw] rules
  #   @return [Array<Google::Bigtable::Admin::V2::GcRule>]
  #     Delete cells which would be deleted by any element of +rules+.
  class Union; end
end

#max_num_versionsInteger

Returns Delete all cells in a column except the most recent N.

Returns:

  • (Integer)

    Delete all cells in a column except the most recent N.



136
137
138
139
140
141
142
143
144
145
146
147
148
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 136

class GcRule
  # A GcRule which deletes cells matching all of the given rules.
  # @!attribute [rw] rules
  #   @return [Array<Google::Bigtable::Admin::V2::GcRule>]
  #     Only delete cells which would be deleted by every element of +rules+.
  class Intersection; end

  # A GcRule which deletes cells matching any of the given rules.
  # @!attribute [rw] rules
  #   @return [Array<Google::Bigtable::Admin::V2::GcRule>]
  #     Delete cells which would be deleted by any element of +rules+.
  class Union; end
end

#unionGoogle::Bigtable::Admin::V2::GcRule::Union

Returns Delete cells that would be deleted by any nested rule.

Returns:



136
137
138
139
140
141
142
143
144
145
146
147
148
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 136

class GcRule
  # A GcRule which deletes cells matching all of the given rules.
  # @!attribute [rw] rules
  #   @return [Array<Google::Bigtable::Admin::V2::GcRule>]
  #     Only delete cells which would be deleted by every element of +rules+.
  class Intersection; end

  # A GcRule which deletes cells matching any of the given rules.
  # @!attribute [rw] rules
  #   @return [Array<Google::Bigtable::Admin::V2::GcRule>]
  #     Delete cells which would be deleted by any element of +rules+.
  class Union; end
end