Class PrimaryProductDataSource
The primary data source for local and online products.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.datasources_v1beta.Data
Assembly: Google.Apis.Merchant.datasources_v1beta.dll
Syntax
public class PrimaryProductDataSource : IDirectResponseSchema
Properties
Channel
Required. Immutable. Specifies the type of data source channel.
Declaration
[JsonProperty("channel")]
public virtual string Channel { get; set; }
Property Value
Type | Description |
---|---|
string |
ContentLanguage
Optional. Immutable. The two-letter ISO 639-1 language of the items in the data source. feedLabel
and
contentLanguage
must be either both set or unset. The fields can only be unset for data sources without
file input. If set, the data source will only accept products matching this combination. If unset, the data
source will accept products without that restriction.
Declaration
[JsonProperty("contentLanguage")]
public virtual string ContentLanguage { get; set; }
Property Value
Type | Description |
---|---|
string |
Countries
Optional. The countries where the items may be displayed. Represented as a CLDR territory code.
Declaration
[JsonProperty("countries")]
public virtual IList<string> Countries { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
DefaultRule
Optional. Default rule management of the data source. If set, the linked data sources will be replaced.
Declaration
[JsonProperty("defaultRule")]
public virtual DefaultRule DefaultRule { get; set; }
Property Value
Type | Description |
---|---|
DefaultRule |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FeedLabel
Optional. Immutable. The feed label that is specified on the data source level. Must be less than or equal
to 20 uppercase letters (A-Z), numbers (0-9), and dashes (-). See also migration to feed
labels. feedLabel
and
contentLanguage
must be either both set or unset for data sources with product content type. They must be
set for data sources with a file input. If set, the data source will only accept products matching this
combination. If unset, the data source will accept products without that restriction.
Declaration
[JsonProperty("feedLabel")]
public virtual string FeedLabel { get; set; }
Property Value
Type | Description |
---|---|
string |