GoogleApi.Spanner.V1.Model.CreateBackupMetadata (google_api_spanner v0.32.0) View Source

Metadata type for the operation returned by CreateBackup.

Attributes

  • cancelTime (type: DateTime.t, default: nil) - 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 (type: String.t, default: nil) - The name of the database the backup is created from.
  • name (type: String.t, default: nil) - The name of the backup being created.
  • progress (type: GoogleApi.Spanner.V1.Model.OperationProgress.t, default: nil) - The progress of the CreateBackup operation.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Spanner.V1.Model.CreateBackupMetadata{
  cancelTime: DateTime.t() | nil,
  database: String.t() | nil,
  name: String.t() | nil,
  progress: GoogleApi.Spanner.V1.Model.OperationProgress.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.