Class GoogleCloudRetailV2alphaMerchantCenterAccountLink
Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaMerchantCenterAccountLink : IDirectResponseSchema
Properties
BranchId
Required. The branch ID (e.g. 0/1/2) within the catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked Merchant Center account ID.
Declaration
[JsonProperty("branchId")]
public virtual string BranchId { 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 |
FeedFilters
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
Declaration
[JsonProperty("feedFilters")]
public virtual IList<GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter> FeedFilters { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter> |
FeedLabel
The FeedLabel used to perform filtering. Note: this replaces
region_id.
Example value: US
. Example value: FeedLabel1
.
Declaration
[JsonProperty("feedLabel")]
public virtual string FeedLabel { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
Output only. Immutable. MerchantCenterAccountLink identifier, which is the final component of name. This
field is auto generated and follows the convention: BranchId_MerchantCenterAccountId
.
projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1
.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageCode
Language of the title/description and other string attributes. Use language tags defined by BCP
47. ISO 639-1. This specifies the language of offers in
Merchant Center that will be accepted. If empty, no language filtering will be performed. Example value:
en
.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MerchantCenterAccountId
Required. The linked Merchant center account id. The account must be a standalone account or a sub-account of a MCA.
Declaration
[JsonProperty("merchantCenterAccountId")]
public virtual long? MerchantCenterAccountId { get; set; }
Property Value
Type | Description |
---|---|
long? |
Name
Output only. Immutable. Full resource name of the Merchant Center Account Link, such as
projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Output only. Google Cloud project ID.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
Source
Optional. An optional arbitrary string that could be used as a tag for tracking link source.
Declaration
[JsonProperty("source")]
public virtual string Source { get; set; }
Property Value
Type | Description |
---|---|
string |
State
Output only. Represents the state of the link.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |