class Google::Apis::SpannerV1::OptimizeRestoredDatabaseMetadata
Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored database. This long-running operation is automatically created by the system after the successful completion of a database restore, and cannot be cancelled.
Attributes
name[RW]
Name of the restored database being optimized. Corresponds to the JSON property `name` @return [String]
progress[RW]
Encapsulates progress related information for a Cloud Spanner long running operation. Corresponds to the JSON property `progress` @return [Google::Apis::SpannerV1::OperationProgress]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 2548 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 2553 def update!(**args) @name = args[:name] if args.key?(:name) @progress = args[:progress] if args.key?(:progress) end