Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLinkingConfig
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLinkingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/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::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLink>
Links between Merchant Center accounts and branches.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaMerchantCenterLinkingConfig
constructor
A new instance of GoogleCloudRetailV2betaMerchantCenterLinkingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaMerchantCenterLinkingConfig
Returns a new instance of GoogleCloudRetailV2betaMerchantCenterLinkingConfig.
3533 3534 3535 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#links ⇒ Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLink>
Links between Merchant Center accounts and branches.
Corresponds to the JSON property links
3531 3532 3533 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3531 def links @links end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3538 3539 3540 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3538 def update!(**args) @links = args[:links] if args.key?(:links) end |