Class: Google::Cloud::Spanner::Admin::Database::V1::CopyBackupMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/spanner/admin/database/v1/backup.rb

Overview

Metadata type for the operation returned by CopyBackup.

Instance Attribute Summary collapse

Instance Attribute Details

#cancel_time::Google::Protobuf::Timestamp

Returns The time at which cancellation of CopyBackup 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.

Returns:

  • (::Google::Protobuf::Timestamp)

    The time at which cancellation of CopyBackup 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.



311
312
313
314
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 311

class CopyBackupMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns The name of the backup being created through the copy operation. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

Returns:

  • (::String)

    The name of the backup being created through the copy operation. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.



311
312
313
314
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 311

class CopyBackupMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#progress::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress

Returns The progress of the CopyBackup operation.



311
312
313
314
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 311

class CopyBackupMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#source_backup::String

Returns The name of the source backup that is being copied. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.

Returns:

  • (::String)

    The name of the source backup that is being copied. Values are of the form projects/<project>/instances/<instance>/backups/<backup>.



311
312
313
314
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 311

class CopyBackupMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end