Class Datafeed
Datafeed configuration data.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.dll
Syntax
public class Datafeed : IDirectResponseSchema
Properties
AttributeLanguage
The two-letter ISO 639-1 language in which the attributes are defined in the data feed.
Declaration
[JsonProperty("attributeLanguage")]
public virtual string AttributeLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentLanguage
[DEPRECATED] Please use targets[].language instead. The two-letter ISO 639-1 language of the items in the
feed. Must be a valid language for targetCountry
.
Declaration
[JsonProperty("contentLanguage")]
public virtual string ContentLanguage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ContentType
Required. The type of data feed. For product inventory feeds, only feeds for local stores, not online
stores, are supported. Acceptable values are: - "local products
" - "product inventory
" - "products
"
Declaration
[JsonProperty("contentType")]
public virtual string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FetchSchedule
Fetch schedule for the feed file.
Declaration
[JsonProperty("fetchSchedule")]
public virtual DatafeedFetchSchedule FetchSchedule { get; set; }
Property Value
Type | Description |
---|---|
DatafeedFetchSchedule |
FileName
Required. The filename of the feed. All feeds must have a unique file name.
Declaration
[JsonProperty("fileName")]
public virtual string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Format
Format of the feed file.
Declaration
[JsonProperty("format")]
public virtual DatafeedFormat Format { get; set; }
Property Value
Type | Description |
---|---|
DatafeedFormat |
Id
Required for update. The ID of the data feed.
Declaration
[JsonProperty("id")]
public virtual long? Id { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
IntendedDestinations
[DEPRECATED] Please use targets[].includedDestinations instead. The list of intended destinations (corresponds to checked check boxes in Merchant Center).
Declaration
[JsonProperty("intendedDestinations")]
public virtual IList<string> IntendedDestinations { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Kind
Identifies what kind of resource this is. Value: the fixed string "content#datafeed
"
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Required for insert. A descriptive name of the data feed.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TargetCountry
[DEPRECATED] Please use targets[].country instead. The country where the items in the feed will be included in the search index, represented as a CLDR territory code.
Declaration
[JsonProperty("targetCountry")]
public virtual string TargetCountry { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Targets
The targets this feed should apply to (country, language, destinations).
Declaration
[JsonProperty("targets")]
public virtual IList<DatafeedTarget> Targets { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<DatafeedTarget> |