Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterLinkingConfig
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterLinkingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
Configures Merchant Center linking. Links contained in the config will be used to sync data from a Merchant Center account to a Cloud Retail branch.
Instance Attribute Summary collapse
-
#links ⇒ Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterLink>
Links between Merchant Center accounts and branches.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaMerchantCenterLinkingConfig
constructor
A new instance of GoogleCloudRetailV2alphaMerchantCenterLinkingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaMerchantCenterLinkingConfig
Returns a new instance of GoogleCloudRetailV2alphaMerchantCenterLinkingConfig.
4398 4399 4400 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#links ⇒ Array<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterLink>
Links between Merchant Center accounts and branches.
Corresponds to the JSON property links
4396 4397 4398 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4396 def links @links end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4403 4404 4405 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4403 def update!(**args) @links = args[:links] if args.key?(:links) end |