Cloud Spanner Database Admin V1 API - Class Google::Cloud::Spanner::Admin::Database::V1::CreateBackupMetadata (v0.15.0)

Reference documentation and code samples for the Cloud Spanner Database Admin V1 API class Google::Cloud::Spanner::Admin::Database::V1::CreateBackupMetadata.

Metadata type for the operation returned by CreateBackup.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cancel_time

def cancel_time() -> ::Google::Protobuf::Timestamp
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 google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

#cancel_time=

def cancel_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::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 google.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 google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

#database

def database() -> ::String
Returns
  • (::String) — The name of the database the backup is created from.

#database=

def database=(value) -> ::String
Parameter
  • value (::String) — The name of the database the backup is created from.
Returns
  • (::String) — The name of the database the backup is created from.

#name

def name() -> ::String
Returns
  • (::String) — The name of the backup being created.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the backup being created.
Returns
  • (::String) — The name of the backup being created.

#progress

def progress() -> ::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress

#progress=

def progress=(value) -> ::Google::Cloud::Spanner::Admin::Database::V1::OperationProgress
Parameter