class Google::Apis::SpannerV1::CreateBackupMetadata
Metadata type for the operation returned by CreateBackup.
Attributes
The time at which cancellation of this operation was received. Operations. CancelOperation starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error
value with a google. rpc.Status.code
of 1, corresponding to `Code.CANCELLED`. Corresponds to the JSON property `cancelTime` @return [String]
The name of the database the backup is created from. Corresponds to the JSON property `database` @return [String]
The name of the backup being created. Corresponds to the JSON property `name` @return [String]
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
# File lib/google/apis/spanner_v1/classes.rb, line 820 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 825 def update!(**args) @cancel_time = args[:cancel_time] if args.key?(:cancel_time) @database = args[:database] if args.key?(:database) @name = args[:name] if args.key?(:name) @progress = args[:progress] if args.key?(:progress) end