Class: Google::Apis::RetailV2::GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2/classes.rb,
lib/google/apis/retail_v2/representations.rb,
lib/google/apis/retail_v2/representations.rb

Overview

Merchant Center Feed filter criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter

Returns a new instance of GoogleCloudRetailV2alphaMerchantCenterAccountLinkMerchantCenterFeedFilter.



8147
8148
8149
# File 'lib/google/apis/retail_v2/classes.rb', line 8147

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

Instance Attribute Details

#data_source_idFixnum

AFM data source ID. Corresponds to the JSON property dataSourceId

Returns:

  • (Fixnum)


8134
8135
8136
# File 'lib/google/apis/retail_v2/classes.rb', line 8134

def data_source_id
  @data_source_id
end

#primary_feed_idFixnum

Merchant Center primary feed ID. Deprecated: use data_source_id instead. Corresponds to the JSON property primaryFeedId

Returns:

  • (Fixnum)


8139
8140
8141
# File 'lib/google/apis/retail_v2/classes.rb', line 8139

def primary_feed_id
  @primary_feed_id
end

#primary_feed_nameString

Merchant Center primary feed name. The name is used for the display purposes only. Corresponds to the JSON property primaryFeedName

Returns:

  • (String)


8145
8146
8147
# File 'lib/google/apis/retail_v2/classes.rb', line 8145

def primary_feed_name
  @primary_feed_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8152
8153
8154
8155
8156
# File 'lib/google/apis/retail_v2/classes.rb', line 8152

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