Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter

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

Merchant Center Feed filter criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaMerchantCenterFeedFilter

Returns a new instance of GoogleCloudRetailV2betaMerchantCenterFeedFilter.



5009
5010
5011
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5009

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

Instance Attribute Details

#primary_feed_idFixnum

Merchant Center primary feed ID. Corresponds to the JSON property primaryFeedId

Returns:

  • (Fixnum)


5001
5002
5003
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5001

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)


5007
5008
5009
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5007

def primary_feed_name
  @primary_feed_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5014
5015
5016
5017
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5014

def update!(**args)
  @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