View Source GoogleApi.Sheets.V4.Model.DataSourceRefreshSchedule (google_api_sheets v0.34.0)

Schedule for refreshing the data source. Data sources in the spreadsheet are refreshed within a time interval. You can specify the start time by clicking the Scheduled Refresh button in the Sheets editor, but the interval is fixed at 4 hours. For example, if you specify a start time of 8 AM , the refresh will take place between 8 AM and 12 PM every day.

Attributes

  • dailySchedule (type: GoogleApi.Sheets.V4.Model.DataSourceRefreshDailySchedule.t, default: nil) - Daily refresh schedule.
  • enabled (type: boolean(), default: nil) - True if the refresh schedule is enabled, or false otherwise.
  • monthlySchedule (type: GoogleApi.Sheets.V4.Model.DataSourceRefreshMonthlySchedule.t, default: nil) - Monthly refresh schedule.
  • nextRun (type: GoogleApi.Sheets.V4.Model.Interval.t, default: nil) - Output only. The time interval of the next run.
  • refreshScope (type: String.t, default: nil) - The scope of the refresh. Must be ALL_DATA_SOURCES.
  • weeklySchedule (type: GoogleApi.Sheets.V4.Model.DataSourceRefreshWeeklySchedule.t, default: nil) - Weekly refresh schedule.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.DataSourceRefreshSchedule{
  dailySchedule:
    GoogleApi.Sheets.V4.Model.DataSourceRefreshDailySchedule.t() | nil,
  enabled: boolean() | nil,
  monthlySchedule:
    GoogleApi.Sheets.V4.Model.DataSourceRefreshMonthlySchedule.t() | nil,
  nextRun: GoogleApi.Sheets.V4.Model.Interval.t() | nil,
  refreshScope: String.t() | nil,
  weeklySchedule:
    GoogleApi.Sheets.V4.Model.DataSourceRefreshWeeklySchedule.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.