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 criterion.
Instance Attribute Summary collapse
-
#data_source_id ⇒ Fixnum
AFM data source ID.
-
#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.
5632 5633 5634 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5632 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_source_id ⇒ Fixnum
AFM data source ID.
Corresponds to the JSON property dataSourceId
5619 5620 5621 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5619 def data_source_id @data_source_id end |
#primary_feed_id ⇒ Fixnum
Merchant Center primary feed ID. Deprecated: use data_source_id instead.
Corresponds to the JSON property primaryFeedId
5624 5625 5626 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5624 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
5630 5631 5632 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5630 def primary_feed_name @primary_feed_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5637 5638 5639 5640 5641 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5637 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 |