Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterFeedFilter
- 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 criterrion.
Instance Attribute Summary collapse
-
#primary_feed_id ⇒ Fixnum
Merchant Center primary feed id.
-
#primary_feed_name ⇒ String
Merchant Center primary feed name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaMerchantCenterFeedFilter
constructor
A new instance of GoogleCloudRetailV2betaMerchantCenterFeedFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaMerchantCenterFeedFilter
Returns a new instance of GoogleCloudRetailV2betaMerchantCenterFeedFilter.
3497 3498 3499 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#primary_feed_id ⇒ Fixnum
Merchant Center primary feed id.
Corresponds to the JSON property primaryFeedId
3489 3490 3491 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3489 def primary_feed_id @primary_feed_id end |
#primary_feed_name ⇒ String
Merchant Center primary feed name. The name is used for the display purposes
only.
Corresponds to the JSON property primaryFeedName
3495 3496 3497 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3495 def primary_feed_name @primary_feed_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3502 3503 3504 3505 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 3502 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 |