Class FetchSettings
Fetch details to deliver the data source.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.datasources_v1beta.Data
Assembly: Google.Apis.Merchant.datasources_v1beta.dll
Syntax
public class FetchSettings : IDirectResponseSchema
Properties
DayOfMonth
Optional. The day of the month when the data source file should be fetched (1-31). This field can only be set for monthly frequency.
Declaration
[JsonProperty("dayOfMonth")]
public virtual int? DayOfMonth { get; set; }
Property Value
Type | Description |
---|---|
int? |
DayOfWeek
Optional. The day of the week when the data source file should be fetched. This field can only be set for weekly frequency.
Declaration
[JsonProperty("dayOfWeek")]
public virtual string DayOfWeek { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enabled
Optional. Enables or pauses the fetch schedule.
Declaration
[JsonProperty("enabled")]
public virtual bool? Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
FetchUri
Optional. The URL where the data source file can be fetched. Google Merchant Center supports automatic scheduled uploads using the HTTP, HTTPS or SFTP protocols, so the value will need to be a valid link using one of those three protocols. Immutable for Google Sheets files.
Declaration
[JsonProperty("fetchUri")]
public virtual string FetchUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Frequency
Required. The frequency describing fetch schedule.
Declaration
[JsonProperty("frequency")]
public virtual string Frequency { get; set; }
Property Value
Type | Description |
---|---|
string |
Password
Optional. An optional password for fetch url. Used for submitting data sources through SFTP.
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
TimeOfDay
Optional. The hour of the day when the data source file should be fetched. Minutes and seconds are not supported and will be ignored.
Declaration
[JsonProperty("timeOfDay")]
public virtual TimeOfDay TimeOfDay { get; set; }
Property Value
Type | Description |
---|---|
TimeOfDay |
TimeZone
Optional. 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
Optional. An optional user name for fetch url. Used for submitting data sources through SFTP.
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
Type | Description |
---|---|
string |