View Source GoogleApi.Metastore.V1.Model.ScheduledBackup (google_api_metastore v0.9.0)

This specifies the configuration of scheduled backup.

Attributes

  • backupLocation (type: String.t, default: nil) - Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.
  • cronSchedule (type: String.t, default: nil) - Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.
  • enabled (type: boolean(), default: nil) - Optional. Defines whether the scheduled backup is enabled. The default value is false.
  • latestBackup (type: GoogleApi.Metastore.V1.Model.LatestBackup.t, default: nil) - Output only. The details of the latest scheduled backup.
  • nextScheduledTime (type: DateTime.t, default: nil) - Output only. The time when the next backups execution is scheduled to start.
  • timeZone (type: String.t, default: nil) - Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Metastore.V1.Model.ScheduledBackup{
  backupLocation: String.t() | nil,
  cronSchedule: String.t() | nil,
  enabled: boolean() | nil,
  latestBackup: GoogleApi.Metastore.V1.Model.LatestBackup.t() | nil,
  nextScheduledTime: DateTime.t() | nil,
  timeZone: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.