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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.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 |
---|---|
System.Nullable<System.Int64> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.Nullable<System.Int64> |
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 |
---|---|
System.Nullable<System.Int64> |
Password
An optional password for fetch_url.
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Paused
Whether the scheduled fetch is paused or not.
Declaration
[JsonProperty("paused")]
public virtual bool? Paused { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
TimeZone
Time zone used for schedule. UTC by default. E.g., "America/Los_Angeles".
Declaration
[JsonProperty("timeZone")]
public virtual string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Username
An optional user name for fetch_url.
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |