Class DataSource
The data source for the Merchant Center account.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.datasources_v1beta.Data
Assembly: Google.Apis.Merchant.datasources_v1beta.dll
Syntax
public class DataSource : IDirectResponseSchema
Properties
DataSourceId
Output only. The data source id.
Declaration
[JsonProperty("dataSourceId")]
public virtual long? DataSourceId { get; set; }
Property Value
Type | Description |
---|---|
long? |
DisplayName
Required. The displayed data source name in the Merchant Center UI.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { 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 |
FileInput
Optional. The field is used only when data is managed through a file.
Declaration
[JsonProperty("fileInput")]
public virtual FileInput FileInput { get; set; }
Property Value
Type | Description |
---|---|
FileInput |
Input
Output only. Determines the type of input to the data source. Based on the input some settings might not work. Only generic data sources can be created through the API.
Declaration
[JsonProperty("input")]
public virtual string Input { get; set; }
Property Value
Type | Description |
---|---|
string |
LocalInventoryDataSource
Required. The local inventory data source.
Declaration
[JsonProperty("localInventoryDataSource")]
public virtual LocalInventoryDataSource LocalInventoryDataSource { get; set; }
Property Value
Type | Description |
---|---|
LocalInventoryDataSource |
MerchantReviewDataSource
Required. The merchant review data source.
Declaration
[JsonProperty("merchantReviewDataSource")]
public virtual MerchantReviewDataSource MerchantReviewDataSource { get; set; }
Property Value
Type | Description |
---|---|
MerchantReviewDataSource |
Name
Identifier. The name of the data source. Format:
{datasource.name=accounts/{account}/dataSources/{datasource}}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryProductDataSource
Required. The primary data source for local and online products.
Declaration
[JsonProperty("primaryProductDataSource")]
public virtual PrimaryProductDataSource PrimaryProductDataSource { get; set; }
Property Value
Type | Description |
---|---|
PrimaryProductDataSource |
ProductReviewDataSource
Required. The product review data source.
Declaration
[JsonProperty("productReviewDataSource")]
public virtual ProductReviewDataSource ProductReviewDataSource { get; set; }
Property Value
Type | Description |
---|---|
ProductReviewDataSource |
PromotionDataSource
Required. The promotion data source.
Declaration
[JsonProperty("promotionDataSource")]
public virtual PromotionDataSource PromotionDataSource { get; set; }
Property Value
Type | Description |
---|---|
PromotionDataSource |
RegionalInventoryDataSource
Required. The regional inventory data source.
Declaration
[JsonProperty("regionalInventoryDataSource")]
public virtual RegionalInventoryDataSource RegionalInventoryDataSource { get; set; }
Property Value
Type | Description |
---|---|
RegionalInventoryDataSource |
SupplementalProductDataSource
Required. The supplemental data source for local and online products.
Declaration
[JsonProperty("supplementalProductDataSource")]
public virtual SupplementalProductDataSource SupplementalProductDataSource { get; set; }
Property Value
Type | Description |
---|---|
SupplementalProductDataSource |