View Source GoogleApi.Spanner.V1.Model.BackupInfo (google_api_spanner v0.38.0)

Information about a backup.

Attributes

  • backup (type: String.t, default: nil) - Name of the backup.
  • createTime (type: DateTime.t, default: nil) - The time the CreateBackup request was received.
  • sourceDatabase (type: String.t, default: nil) - Name of the database the backup was created from.
  • versionTime (type: DateTime.t, default: nil) - The backup contains an externally consistent copy of source_database at the timestamp specified by version_time. If the CreateBackup request did not specify version_time, the version_time of the backup is equivalent to the create_time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.BackupInfo{
  backup: String.t() | nil,
  createTime: DateTime.t() | nil,
  sourceDatabase: String.t() | nil,
  versionTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.