Class: Google::Apis::BigtableadminV2::CreateInstanceMetadata

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 CreateInstance.

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) ⇒ CreateInstanceMetadata

Returns a new instance of CreateInstanceMetadata



470
471
472
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 470

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)


458
459
460
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 458

def finish_time
  @finish_time
end

#original_requestGoogle::Apis::BigtableadminV2::CreateInstanceRequest

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



463
464
465
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 463

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)


468
469
470
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 468

def request_time
  @request_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



475
476
477
478
479
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 475

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)
end