View Source GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Backup (google_api_firestore v0.27.0)

A Backup of a Cloud Firestore Database. The backup contains all documents and index configurations for the given database at a specific point in time.

Attributes

  • database (type: String.t, default: nil) - Output only. Name of the Firestore database that the backup is from. Format is projects/{project}/databases/{database}.
  • databaseUid (type: String.t, default: nil) - Output only. The system-generated UUID4 for the Firestore database that the backup is from.
  • expireTime (type: DateTime.t, default: nil) - Output only. The timestamp at which this backup expires.
  • name (type: String.t, default: nil) - Output only. The unique resource name of the Backup. Format is projects/{project}/locations/{location}/backups/{backup}.
  • snapshotTime (type: DateTime.t, default: nil) - Output only. The backup contains an externally consistent copy of the database at this time.
  • state (type: String.t, default: nil) - Output only. The current state of the backup.
  • stats (type: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Stats.t, default: nil) - Output only. Statistics about the backup. This data only becomes available after the backup is fully materialized to secondary storage. This field will be empty till then.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Backup{
  database: String.t() | nil,
  databaseUid: String.t() | nil,
  expireTime: DateTime.t() | nil,
  name: String.t() | nil,
  snapshotTime: DateTime.t() | nil,
  state: String.t() | nil,
  stats: GoogleApi.Firestore.V1.Model.GoogleFirestoreAdminV1Stats.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.