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



482
483
484
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 482

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)


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

def finish_time
  @finish_time
end

#original_requestGoogle::Apis::BigtableadminV2::CreateInstanceRequest

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



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

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)


480
481
482
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 480

def request_time
  @request_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



487
488
489
490
491
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 487

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