MerchantCenterAccountLink(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents a link between a Merchant Center account and a branch. Once a link is established, products from the linked merchant center account will be streamed to the linked branch.
Attributes |
|
---|---|
Name | Description |
name |
str
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 .
|
id |
str
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 .
|
merchant_center_account_id |
int
Required. The linked `Merchant center account id |
branch_id |
str
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. |
feed_label |
str
The FeedLabel used to perform filtering. Note: this replaces region_id __.
Example value: US . Example value: FeedLabel1 .
|
language_code |
str
Language of the title/description and other string attributes. Use language tags defined by `BCP 47 |
feed_filters |
MutableSequence[google.cloud.retail_v2alpha.types.MerchantCenterAccountLink.MerchantCenterFeedFilter]
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. |
state |
google.cloud.retail_v2alpha.types.MerchantCenterAccountLink.State
Output only. Represents the state of the link. |
project_id |
str
Output only. GCP project ID. |
Classes
MerchantCenterFeedFilter
MerchantCenterFeedFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Merchant Center Feed filter criterion.
State
State(value)
The state of the link.
Values: STATE_UNSPECIFIED (0): Default value. PENDING (1): Link is created and LRO is not complete. ACTIVE (2): Link is active. FAILED (3): Link creation failed.