View Source GoogleApi.Content.V2.Model.DatafeedFetchSchedule (google_api_content v0.66.0)

The required fields vary based on the frequency of fetching. For a monthly fetch schedule, day_of_month and hour are required. For a weekly fetch schedule, weekday and hour are required. For a daily fetch schedule, only hour is required.

Attributes

  • dayOfMonth (type: integer(), default: nil) - The day of the month the feed file should be fetched (1-31).
  • fetchUrl (type: String.t, default: nil) - The URL where the feed file can be fetched. Google Merchant Center will support automatic scheduled uploads using the HTTP, HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using one of those four protocols.
  • hour (type: integer(), default: nil) - The hour of the day the feed file should be fetched (0-23).
  • minuteOfHour (type: integer(), default: nil) - The minute of the hour the feed file should be fetched (0-59). Read-only.
  • password (type: String.t, default: nil) - An optional password for fetch_url.
  • paused (type: boolean(), default: nil) - Whether the scheduled fetch is paused or not.
  • timeZone (type: String.t, default: nil) - Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
  • username (type: String.t, default: nil) - An optional user name for fetch_url.
  • weekday (type: String.t, default: nil) - The day of the week the feed file should be fetched. Acceptable values are: - "monday" - "tuesday" - "wednesday" - "thursday" - "friday" - "saturday" - "sunday"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.DatafeedFetchSchedule{
  dayOfMonth: integer() | nil,
  fetchUrl: String.t() | nil,
  hour: integer() | nil,
  minuteOfHour: integer() | nil,
  password: String.t() | nil,
  paused: boolean() | nil,
  timeZone: String.t() | nil,
  username: String.t() | nil,
  weekday: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.