Class: Google::Spanner::Admin::Database::V1::CreateBackupMetadata
- Inherits:
-
Object
- Object
- Google::Spanner::Admin::Database::V1::CreateBackupMetadata
- Defined in:
- lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb
Overview
Metadata type for the operation returned by CreateBackup.
Instance Attribute Summary collapse
-
#cancel_time ⇒ Google::Protobuf::Timestamp
The time at which cancellation of this operation was received.
-
#database ⇒ String
The name of the database the backup is created from.
-
#name ⇒ String
The name of the backup being created.
-
#progress ⇒ Google::Spanner::Admin::Database::V1::OperationProgress
The progress of the CreateBackup operation.
Instance Attribute Details
#cancel_time ⇒ Google::Protobuf::Timestamp
Returns 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 Rpc::Status#code of 1,
corresponding to Code.CANCELLED
.
132 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 132 class CreateBackupMetadata; end |
#database ⇒ String
Returns The name of the database the backup is created from.
132 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 132 class CreateBackupMetadata; end |
#name ⇒ String
Returns The name of the backup being created.
132 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 132 class CreateBackupMetadata; end |
#progress ⇒ Google::Spanner::Admin::Database::V1::OperationProgress
Returns The progress of the CreateBackup operation.
132 |
# File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/backup.rb', line 132 class CreateBackupMetadata; end |