Class FileInput.Types.FetchSettings
Fetch details to deliver the data source.
Implements
Namespace: Google.Shopping.Merchant.DataSources.V1Beta
Assembly: Google.Shopping.Merchant.DataSources.V1Beta.dll
Syntax
public sealed class FileInput.Types.FetchSettings : IMessage<FileInput.Types.FetchSettings>, IEquatable<FileInput.Types.FetchSettings>, IDeepCloneable<FileInput.Types.FetchSettings>, IBufferMessage, IMessage
Constructors
FetchSettings()
Declaration
public FetchSettings()
FetchSettings(FetchSettings)
Declaration
public FetchSettings(FileInput.Types.FetchSettings other)
Parameters
Type | Name | Description |
---|---|---|
FileInput.Types.FetchSettings | other |
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
public 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
public DayOfWeek DayOfWeek { get; set; }
Property Value
Type | Description |
---|---|
DayOfWeek |
Enabled
Optional. Enables or pauses the fetch schedule.
Declaration
public 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
public string FetchUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Frequency
Required. The frequency describing fetch schedule.
Declaration
public FileInput.Types.FetchSettings.Types.Frequency Frequency { get; set; }
Property Value
Type | Description |
---|---|
FileInput.Types.FetchSettings.Types.Frequency |
Password
Optional. An optional password for [fetch url][google.shopping.content.bundles.DataSources.FileInput.fetch_url]. Used for submitting data sources through SFTP.
Declaration
public 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
public 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
public string TimeZone { get; set; }
Property Value
Type | Description |
---|---|
string |
Username
Optional. An optional user name for [fetch url][google.shopping.content.bundles.DataSources.FileInput.fetch_url]. Used for submitting data sources through SFTP.
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string |