Class: Google::Apis::SpannerV1::UpdateDatabaseMetadata
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::UpdateDatabaseMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb
Overview
Metadata type for the operation returned by UpdateDatabase.
Instance Attribute Summary collapse
-
#cancel_time ⇒ String
The time at which this operation was cancelled.
-
#progress ⇒ Google::Apis::SpannerV1::OperationProgress
Encapsulates progress related information for a Cloud Spanner long running operation.
-
#request ⇒ Google::Apis::SpannerV1::UpdateDatabaseRequest
The request for UpdateDatabase.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateDatabaseMetadata
constructor
A new instance of UpdateDatabaseMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateDatabaseMetadata
Returns a new instance of UpdateDatabaseMetadata.
7080 7081 7082 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 7080 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cancel_time ⇒ String
The time at which this operation was cancelled. If set, this operation is in
the process of undoing itself (which is best-effort).
Corresponds to the JSON property cancelTime
7067 7068 7069 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 7067 def cancel_time @cancel_time end |
#progress ⇒ Google::Apis::SpannerV1::OperationProgress
Encapsulates progress related information for a Cloud Spanner long running
operation.
Corresponds to the JSON property progress
7073 7074 7075 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 7073 def progress @progress end |
#request ⇒ Google::Apis::SpannerV1::UpdateDatabaseRequest
The request for UpdateDatabase.
Corresponds to the JSON property request
7078 7079 7080 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 7078 def request @request end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7085 7086 7087 7088 7089 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 7085 def update!(**args) @cancel_time = args[:cancel_time] if args.key?(:cancel_time) @progress = args[:progress] if args.key?(:progress) @request = args[:request] if args.key?(:request) end |