Class DatafeedFetchSchedule
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.
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class DatafeedFetchSchedule : IDirectResponseSchema
Properties
DayOfMonth
The day of the month the feed file should be fetched (1-31).
Declaration
[JsonProperty("dayOfMonth")]
public virtual long? DayOfMonth { get; set; }
Property Value
Type | Description |
---|---|
long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FetchUrl
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.
Declaration
[JsonProperty("fetchUrl")]
public virtual string FetchUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Hour
The hour of the day the feed file should be fetched (0-23).
Declaration
[JsonProperty("hour")]
public virtual long? Hour { get; set; }
Property Value
Type | Description |
---|---|
long? |
MinuteOfHour
The minute of the hour the feed file should be fetched (0-59). Read-only.
Declaration
[JsonProperty("minuteOfHour")]
public virtual long? MinuteOfHour { get; set; }
Property Value
Type | Description |
---|---|
long? |
Password
An optional password for fetch_url.
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
Paused
Whether the scheduled fetch is paused or not.
Declaration
[JsonProperty("paused")]
public virtual bool? Paused { get; set; }
Property Value
Type | Description |
---|---|
bool? |
TimeZone
Time zone used for schedule. UTC by default. For example, "America/Los_Angeles".
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |
Username
An optional user name for fetch_url.
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
Type | Description |
---|---|
string |
Weekday
The day of the week the feed file should be fetched. Acceptable values are: - "monday
" - "tuesday
" -
"wednesday
" - "thursday
" - "friday
" - "saturday
" - "sunday
"
Declaration
[JsonProperty("weekday")]
public virtual string Weekday { get; set; }
Property Value
Type | Description |
---|---|
string |