Class: Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb

Overview

The metadata for the Operation returned by CreateCluster.

Defined Under Namespace

Classes: TableProgress, TablesEntry

Instance Attribute Summary collapse

Instance Attribute Details

#finish_time::Google::Protobuf::Timestamp

Returns The time at which the operation failed or was completed successfully.

Returns:



250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
# File 'proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb', line 250

class CreateClusterMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Progress info for copying a table's data to the new cluster.
  # @!attribute [rw] estimated_size_bytes
  #   @return [::Integer]
  #     Estimate of the size of the table to be copied.
  # @!attribute [rw] estimated_copied_bytes
  #   @return [::Integer]
  #     Estimate of the number of bytes copied so far for this table.
  #     This will eventually reach 'estimated_size_bytes' unless the table copy
  #     is CANCELLED.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress::State]
  class TableProgress
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module State
      STATE_UNSPECIFIED = 0

      # The table has not yet begun copying to the new cluster.
      PENDING = 1

      # The table is actively being copied to the new cluster.
      COPYING = 2

      # The table has been fully copied to the new cluster.
      COMPLETED = 3

      # The table was deleted before it finished copying to the new cluster.
      # Note that tables deleted after completion will stay marked as
      # COMPLETED, not CANCELLED.
      CANCELLED = 4
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress]
  class TablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#original_request::Google::Cloud::Bigtable::Admin::V2::CreateClusterRequest

Returns The request that prompted the initiation of this CreateCluster operation.

Returns:



250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
# File 'proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb', line 250

class CreateClusterMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Progress info for copying a table's data to the new cluster.
  # @!attribute [rw] estimated_size_bytes
  #   @return [::Integer]
  #     Estimate of the size of the table to be copied.
  # @!attribute [rw] estimated_copied_bytes
  #   @return [::Integer]
  #     Estimate of the number of bytes copied so far for this table.
  #     This will eventually reach 'estimated_size_bytes' unless the table copy
  #     is CANCELLED.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress::State]
  class TableProgress
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module State
      STATE_UNSPECIFIED = 0

      # The table has not yet begun copying to the new cluster.
      PENDING = 1

      # The table is actively being copied to the new cluster.
      COPYING = 2

      # The table has been fully copied to the new cluster.
      COMPLETED = 3

      # The table was deleted before it finished copying to the new cluster.
      # Note that tables deleted after completion will stay marked as
      # COMPLETED, not CANCELLED.
      CANCELLED = 4
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress]
  class TablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#request_time::Google::Protobuf::Timestamp

Returns The time at which the original request was received.

Returns:



250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
# File 'proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb', line 250

class CreateClusterMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Progress info for copying a table's data to the new cluster.
  # @!attribute [rw] estimated_size_bytes
  #   @return [::Integer]
  #     Estimate of the size of the table to be copied.
  # @!attribute [rw] estimated_copied_bytes
  #   @return [::Integer]
  #     Estimate of the number of bytes copied so far for this table.
  #     This will eventually reach 'estimated_size_bytes' unless the table copy
  #     is CANCELLED.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress::State]
  class TableProgress
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module State
      STATE_UNSPECIFIED = 0

      # The table has not yet begun copying to the new cluster.
      PENDING = 1

      # The table is actively being copied to the new cluster.
      COPYING = 2

      # The table has been fully copied to the new cluster.
      COMPLETED = 3

      # The table was deleted before it finished copying to the new cluster.
      # Note that tables deleted after completion will stay marked as
      # COMPLETED, not CANCELLED.
      CANCELLED = 4
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress]
  class TablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#tables::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress}

Returns Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one.

Values: information on how much of a table's data has been copied to the newly-created cluster so far.

Returns:

  • (::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress})

    Keys: the full name of each table that existed in the instance when CreateCluster was first called, i.e. projects/<project>/instances/<instance>/tables/<table>. Any table added to the instance by a later API call will be created in the new cluster by that API call, not this one.

    Values: information on how much of a table's data has been copied to the newly-created cluster so far.



250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
# File 'proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb', line 250

class CreateClusterMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Progress info for copying a table's data to the new cluster.
  # @!attribute [rw] estimated_size_bytes
  #   @return [::Integer]
  #     Estimate of the size of the table to be copied.
  # @!attribute [rw] estimated_copied_bytes
  #   @return [::Integer]
  #     Estimate of the number of bytes copied so far for this table.
  #     This will eventually reach 'estimated_size_bytes' unless the table copy
  #     is CANCELLED.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress::State]
  class TableProgress
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    module State
      STATE_UNSPECIFIED = 0

      # The table has not yet begun copying to the new cluster.
      PENDING = 1

      # The table is actively being copied to the new cluster.
      COPYING = 2

      # The table has been fully copied to the new cluster.
      COMPLETED = 3

      # The table was deleted before it finished copying to the new cluster.
      # Note that tables deleted after completion will stay marked as
      # COMPLETED, not CANCELLED.
      CANCELLED = 4
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Bigtable::Admin::V2::CreateClusterMetadata::TableProgress]
  class TablesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end