class Google::Apis::SpannerV1::UpdateInstanceMetadata
Metadata type for the operation returned by UpdateInstance.
Attributes
cancel_time[RW]
The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is guaranteed to succeed) and cannot be cancelled again. Corresponds to the JSON property `cancelTime` @return [String]
end_time[RW]
The time at which this operation failed or was completed successfully. Corresponds to the JSON property `endTime` @return [String]
instance[RW]
An isolated set of Cloud Spanner resources on which databases can be hosted. Corresponds to the JSON property `instance` @return [Google::Apis::SpannerV1::Instance]
start_time[RW]
The time at which UpdateInstance request was received. Corresponds to the JSON property `startTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 4709 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 4714 def update!(**args) @cancel_time = args[:cancel_time] if args.key?(:cancel_time) @end_time = args[:end_time] if args.key?(:end_time) @instance = args[:instance] if args.key?(:instance) @start_time = args[:start_time] if args.key?(:start_time) end