Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaMerchantCenterFeedFilter

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

Merchant Center Feed filter criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaMerchantCenterFeedFilter

Returns a new instance of GoogleCloudRetailV2alphaMerchantCenterFeedFilter.



4307
4308
4309
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4307

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)


4299
4300
4301
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4299

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)


4305
4306
4307
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4305

def primary_feed_name
  @primary_feed_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4312
4313
4314
4315
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4312

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