View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaMerchantCenterAccountLink (google_api_retail v0.10.0)

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.

Attributes

  • branchId (type: String.t, default: nil) - 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.
  • feedFilters (type: list(GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter.t), default: nil) - 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.
  • feedLabel (type: String.t, default: nil) - The FeedLabel used to perform filtering. Note: this replaces region_id. Example value: US. Example value: FeedLabel1.
  • id (type: String.t, default: nil) - 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.
  • languageCode (type: String.t, default: nil) - 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.
  • merchantCenterAccountId (type: String.t, default: nil) - Required. The linked Merchant center account id. The account must be a standalone account or a sub-account of a MCA.
  • name (type: String.t, default: nil) - 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.
  • projectId (type: String.t, default: nil) - Output only. Google Cloud project ID.
  • source (type: String.t, default: nil) - Optional. An optional arbitrary string that could be used as a tag for tracking link source.
  • state (type: String.t, default: nil) - Output only. Represents the state of the link.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaMerchantCenterAccountLink{
    branchId: String.t() | nil,
    feedFilters:
      [
        GoogleApi.Retail.V2.Model.GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter.t()
      ]
      | nil,
    feedLabel: String.t() | nil,
    id: String.t() | nil,
    languageCode: String.t() | nil,
    merchantCenterAccountId: String.t() | nil,
    name: String.t() | nil,
    projectId: String.t() | nil,
    source: String.t() | nil,
    state: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.