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.



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

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)


1127
1128
1129
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1127

def finish_time
  @finish_time
end

#original_requestGoogle::Apis::BigtableadminV2::CreateInstanceRequest

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



1132
1133
1134
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1132

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)


1137
1138
1139
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1137

def request_time
  @request_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1144
1145
1146
1147
1148
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1144

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