Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterLinkingConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaMerchantCenterLinkingConfig

Returns a new instance of GoogleCloudRetailV2betaMerchantCenterLinkingConfig.



4311
4312
4313
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4311

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

Links between Merchant Center accounts and branches. Corresponds to the JSON property links



4309
4310
4311
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4309

def links
  @links
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4316
4317
4318
# File 'lib/google/apis/retail_v2beta/classes.rb', line 4316

def update!(**args)
  @links = args[:links] if args.key?(:links)
end