Class: Google::Spanner::Admin::Database::V1::CreateBackupMetadata

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#cancel_timeGoogle::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.

Returns:

  • (Google::Protobuf::Timestamp)

    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

#databaseString

Returns The name of the database the backup is created from.

Returns:

  • (String)

    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

#nameString

Returns The name of the backup being created.

Returns:

  • (String)

    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

#progressGoogle::Spanner::Admin::Database::V1::OperationProgress

Returns The progress of the CreateBackup operation.

Returns:

  • (Google::Spanner::Admin::Database::V1::OperationProgress)

    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