Class: Google::Apis::BigtableadminV2::CreateClusterMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/google/apis/bigtableadmin_v2/representations.rb

Overview

The metadata for the Operation returned by CreateCluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateClusterMetadata

Returns a new instance of CreateClusterMetadata.



448
449
450
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 448

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#finish_timeString

The time at which the operation failed or was completed successfully. Corresponds to the JSON property finishTime

Returns:

  • (String)


425
426
427
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 425

def finish_time
  @finish_time
end

#original_requestGoogle::Apis::BigtableadminV2::CreateClusterRequest

Request message for BigtableInstanceAdmin.CreateCluster. Corresponds to the JSON property originalRequest



430
431
432
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 430

def original_request
  @original_request
end

#request_timeString

The time at which the original request was received. Corresponds to the JSON property requestTime

Returns:

  • (String)


435
436
437
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 435

def request_time
  @request_time
end

#tablesHash<String,Google::Apis::BigtableadminV2::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. Corresponds to the JSON property tables



446
447
448
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 446

def tables
  @tables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



453
454
455
456
457
458
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 453

def update!(**args)
  @finish_time = args[:finish_time] if args.key?(:finish_time)
  @original_request = args[:original_request] if args.key?(:original_request)
  @request_time = args[:request_time] if args.key?(:request_time)
  @tables = args[:tables] if args.key?(:tables)
end