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

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

Overview

The metadata for the Operation returned by CreateInstance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateInstanceMetadata

Returns a new instance of CreateInstanceMetadata.



1142
1143
1144
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1142

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)


1130
1131
1132
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1130

def finish_time
  @finish_time
end

#original_requestGoogle::Apis::BigtableadminV2::CreateInstanceRequest

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



1135
1136
1137
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1135

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)


1140
1141
1142
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1140

def request_time
  @request_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1147
1148
1149
1150
1151
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1147

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