Class: Google::Apis::MerchantapiProductsV1beta::Attributes
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiProductsV1beta::Attributes
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_products_v1beta/classes.rb,
lib/google/apis/merchantapi_products_v1beta/representations.rb,
lib/google/apis/merchantapi_products_v1beta/representations.rb
Overview
Attributes.
Instance Attribute Summary collapse
-
#additional_image_links ⇒ Array<String>
Additional URLs of images of the item.
-
#ads_grouping ⇒ String
Used to group items in an arbitrary way.
-
#ads_labels ⇒ Array<String>
Similar to ads_grouping, but only works on CPC.
-
#ads_redirect ⇒ String
Allows advertisers to override the item URL when the product is shown within the context of Product ads.
-
#adult ⇒ Boolean
(also: #adult?)
Set to true if the item is targeted towards adults.
-
#age_group ⇒ String
Target age group of the item.
-
#auto_pricing_min_price ⇒ Google::Apis::MerchantapiProductsV1beta::Price
The price represented as a number and currency.
-
#availability ⇒ String
Availability status of the item.
-
#availability_date ⇒ String
The day a pre-ordered product becomes available for delivery, in ISO 8601 format.
-
#brand ⇒ String
Brand of the item.
-
#canonical_link ⇒ String
URL for the canonical version of your item's landing page.
-
#certifications ⇒ Array<Google::Apis::MerchantapiProductsV1beta::Certification>
Product Certifications, for example for energy efficiency labeling of products recorded in the EU EPREL database.
-
#cloud_export_additional_properties ⇒ Array<Google::Apis::MerchantapiProductsV1beta::CloudExportAdditionalProperties>
Extra fields to export to the Cloud Retail program.
-
#color ⇒ String
Color of the item.
-
#condition ⇒ String
Condition or state of the item.
-
#cost_of_goods_sold ⇒ Google::Apis::MerchantapiProductsV1beta::Price
The price represented as a number and currency.
-
#custom_label0 ⇒ String
Custom label 0 for custom grouping of items in a Shopping campaign.
-
#custom_label1 ⇒ String
Custom label 1 for custom grouping of items in a Shopping campaign.
-
#custom_label2 ⇒ String
Custom label 2 for custom grouping of items in a Shopping campaign.
-
#custom_label3 ⇒ String
Custom label 3 for custom grouping of items in a Shopping campaign.
-
#custom_label4 ⇒ String
Custom label 4 for custom grouping of items in a Shopping campaign.
-
#description ⇒ String
Description of the item.
-
#disclosure_date ⇒ String
The date time when an offer becomes visible in search results across Google’s YouTube surfaces, in ISO 8601 format.
-
#display_ads_id ⇒ String
An identifier for an item for dynamic remarketing campaigns.
-
#display_ads_link ⇒ String
URL directly to your item's landing page for dynamic remarketing campaigns.
-
#display_ads_similar_ids ⇒ Array<String>
Advertiser-specified recommendations.
-
#display_ads_title ⇒ String
Title of an item for dynamic remarketing campaigns.
-
#display_ads_value ⇒ Float
Offer margin for dynamic remarketing campaigns.
-
#energy_efficiency_class ⇒ String
The energy efficiency class as defined in EU directive 2010/30/EU.
-
#excluded_destinations ⇒ Array<String>
The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center).
-
#expiration_date ⇒ String
Date on which the item should expire, as specified upon insertion, in ISO 8601 format.
-
#external_seller_id ⇒ String
Required for multi-seller accounts.
-
#free_shipping_threshold ⇒ Array<Google::Apis::MerchantapiProductsV1beta::FreeShippingThreshold>
Conditions to be met for a product to have free shipping.
-
#gender ⇒ String
Target gender of the item.
-
#google_product_category ⇒ String
Google's category of the item (see Google product taxonomy).
-
#gtin ⇒ String
Global Trade Item Number (GTIN) of the item.
-
#identifier_exists ⇒ Boolean
(also: #identifier_exists?)
Set this value to false when the item does not have unique product identifiers appropriate to its category, such as GTIN, MPN, and brand.
-
#image_link ⇒ String
URL of an image of the item.
-
#included_destinations ⇒ Array<String>
The list of destinations to include for this target (corresponds to checked check boxes in Merchant Center).
-
#installment ⇒ Google::Apis::MerchantapiProductsV1beta::Installment
A message that represents installment.
-
#is_bundle ⇒ Boolean
(also: #is_bundle?)
Whether the item is a merchant-defined bundle.
-
#item_group_id ⇒ String
Shared identifier for all variants of the same product.
-
#lifestyle_image_links ⇒ Array<String>
Additional URLs of lifestyle images of the item, used to explicitly identify images that showcase your item in a real-world context.
-
#link ⇒ String
URL directly linking to your item's page on your online store.
-
#link_template ⇒ String
Link template for merchant hosted local storefront.
-
#loyalty_points ⇒ Google::Apis::MerchantapiProductsV1beta::LoyaltyPoints
A message that represents loyalty points.
-
#loyalty_programs ⇒ Array<Google::Apis::MerchantapiProductsV1beta::LoyaltyProgram>
A list of loyalty program information that is used to surface loyalty benefits (for example, better pricing, points, etc) to the user of this item.
-
#material ⇒ String
The material of which the item is made.
-
#max_energy_efficiency_class ⇒ String
The energy efficiency class as defined in EU directive 2010/30/EU.
-
#max_handling_time ⇒ Fixnum
Maximal product handling time (in business days).
-
#min_energy_efficiency_class ⇒ String
The energy efficiency class as defined in EU directive 2010/30/EU.
-
#min_handling_time ⇒ Fixnum
Minimal product handling time (in business days).
-
#mobile_link ⇒ String
URL for the mobile-optimized version of your item's landing page.
-
#mobile_link_template ⇒ String
Link template for merchant hosted local storefront optimized for mobile devices.
-
#mpn ⇒ String
Manufacturer Part Number (MPN) of the item.
-
#multipack ⇒ Fixnum
The number of identical products in a merchant-defined multipack.
-
#pattern ⇒ String
The item's pattern (for example, polka dots).
-
#pause ⇒ String
Publication of this item will be temporarily paused.
-
#pickup_method ⇒ String
The pick up option for the item.
-
#pickup_sla ⇒ String
Item store pickup timeline.
-
#price ⇒ Google::Apis::MerchantapiProductsV1beta::Price
The price represented as a number and currency.
-
#product_details ⇒ Array<Google::Apis::MerchantapiProductsV1beta::ProductDetail>
Technical specification or additional product details.
-
#product_height ⇒ Google::Apis::MerchantapiProductsV1beta::ProductDimension
The dimension of the product.
-
#product_highlights ⇒ Array<String>
Bullet points describing the most relevant highlights of a product.
-
#product_length ⇒ Google::Apis::MerchantapiProductsV1beta::ProductDimension
The dimension of the product.
-
#product_types ⇒ Array<String>
Categories of the item (formatted as in product data specification).
-
#product_weight ⇒ Google::Apis::MerchantapiProductsV1beta::ProductWeight
The weight of the product.
-
#product_width ⇒ Google::Apis::MerchantapiProductsV1beta::ProductDimension
The dimension of the product.
-
#promotion_ids ⇒ Array<String>
The unique ID of a promotion.
-
#sale_price ⇒ Google::Apis::MerchantapiProductsV1beta::Price
The price represented as a number and currency.
-
#sale_price_effective_date ⇒ Google::Apis::MerchantapiProductsV1beta::Interval
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
-
#sell_on_google_quantity ⇒ Fixnum
The quantity of the product that is available for selling on Google.
-
#shipping ⇒ Array<Google::Apis::MerchantapiProductsV1beta::Shipping>
Shipping rules.
-
#shipping_height ⇒ Google::Apis::MerchantapiProductsV1beta::ShippingDimension
The ShippingDimension of the product.
-
#shipping_label ⇒ String
The shipping label of the product, used to group product in account-level shipping rules.
-
#shipping_length ⇒ Google::Apis::MerchantapiProductsV1beta::ShippingDimension
The ShippingDimension of the product.
-
#shipping_weight ⇒ Google::Apis::MerchantapiProductsV1beta::ShippingWeight
The ShippingWeight of the product.
-
#shipping_width ⇒ Google::Apis::MerchantapiProductsV1beta::ShippingDimension
The ShippingDimension of the product.
-
#shopping_ads_excluded_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping Ads destination.
-
#size ⇒ String
Size of the item.
-
#size_system ⇒ String
System in which the size is specified.
-
#size_types ⇒ Array<String>
The cut of the item.
-
#structured_description ⇒ Google::Apis::MerchantapiProductsV1beta::ProductStructuredDescription
Structured description, for algorithmically (AI)-generated descriptions.
-
#structured_title ⇒ Google::Apis::MerchantapiProductsV1beta::ProductStructuredTitle
Structured title, for algorithmically (AI)-generated titles.
-
#subscription_cost ⇒ Google::Apis::MerchantapiProductsV1beta::SubscriptionCost
The SubscriptionCost of the product.
-
#tax_category ⇒ String
The tax category of the product, used to configure detailed tax nexus in account-level tax settings.
-
#taxes ⇒ Array<Google::Apis::MerchantapiProductsV1beta::Tax>
Tax information.
-
#title ⇒ String
Title of the item.
-
#transit_time_label ⇒ String
The transit time label of the product, used to group product in account-level transit time tables.
-
#unit_pricing_base_measure ⇒ Google::Apis::MerchantapiProductsV1beta::UnitPricingBaseMeasure
The UnitPricingBaseMeasure of the product.
-
#unit_pricing_measure ⇒ Google::Apis::MerchantapiProductsV1beta::UnitPricingMeasure
The UnitPricingMeasure of the product.
-
#virtual_model_link ⇒ String
URL of the 3D image of the item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Attributes
constructor
A new instance of Attributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Attributes
Returns a new instance of Attributes.
538 539 540 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 538 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_image_links ⇒ Array<String>
Additional URLs of images of the item.
Corresponds to the JSON property additionalImageLinks
32 33 34 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 32 def additional_image_links @additional_image_links end |
#ads_grouping ⇒ String
Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise.
Corresponds to the JSON property adsGrouping
37 38 39 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 37 def ads_grouping @ads_grouping end |
#ads_labels ⇒ Array<String>
Similar to ads_grouping, but only works on CPC.
Corresponds to the JSON property adsLabels
42 43 44 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 42 def ads_labels @ads_labels end |
#ads_redirect ⇒ String
Allows advertisers to override the item URL when the product is shown within
the context of Product ads.
Corresponds to the JSON property adsRedirect
48 49 50 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 48 def ads_redirect @ads_redirect end |
#adult ⇒ Boolean Also known as: adult?
Set to true if the item is targeted towards adults.
Corresponds to the JSON property adult
53 54 55 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 53 def adult @adult end |
#age_group ⇒ String
Target age group of the
item.
Corresponds to the JSON property ageGroup
60 61 62 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 60 def age_group @age_group end |
#auto_pricing_min_price ⇒ Google::Apis::MerchantapiProductsV1beta::Price
The price represented as a number and currency.
Corresponds to the JSON property autoPricingMinPrice
65 66 67 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 65 def auto_pricing_min_price @auto_pricing_min_price end |
#availability ⇒ String
Availability status of the item.
Corresponds to the JSON property availability
70 71 72 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 70 def availability @availability end |
#availability_date ⇒ String
The day a pre-ordered product becomes available for delivery, in ISO 8601 format.
Corresponds to the JSON property availabilityDate
76 77 78 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 76 def availability_date @availability_date end |
#brand ⇒ String
Brand of the item.
Corresponds to the JSON property brand
81 82 83 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 81 def brand @brand end |
#canonical_link ⇒ String
URL for the canonical version of your item's landing page.
Corresponds to the JSON property canonicalLink
86 87 88 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 86 def canonical_link @canonical_link end |
#certifications ⇒ Array<Google::Apis::MerchantapiProductsV1beta::Certification>
Product Certifications, for example for energy efficiency labeling of products
recorded in the EU EPREL database.
See the Help Center
article for more information.
Corresponds to the JSON property certifications
94 95 96 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 94 def certifications @certifications end |
#cloud_export_additional_properties ⇒ Array<Google::Apis::MerchantapiProductsV1beta::CloudExportAdditionalProperties>
Extra fields to export to the Cloud Retail program.
Corresponds to the JSON property cloudExportAdditionalProperties
99 100 101 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 99 def cloud_export_additional_properties @cloud_export_additional_properties end |
#color ⇒ String
Color of the item.
Corresponds to the JSON property color
104 105 106 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 104 def color @color end |
#condition ⇒ String
Condition or state of the item.
Corresponds to the JSON property condition
109 110 111 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 109 def condition @condition end |
#cost_of_goods_sold ⇒ Google::Apis::MerchantapiProductsV1beta::Price
The price represented as a number and currency.
Corresponds to the JSON property costOfGoodsSold
114 115 116 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 114 def cost_of_goods_sold @cost_of_goods_sold end |
#custom_label0 ⇒ String
Custom label 0 for custom grouping of items in a Shopping campaign.
Corresponds to the JSON property customLabel0
119 120 121 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 119 def custom_label0 @custom_label0 end |
#custom_label1 ⇒ String
Custom label 1 for custom grouping of items in a Shopping campaign.
Corresponds to the JSON property customLabel1
124 125 126 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 124 def custom_label1 @custom_label1 end |
#custom_label2 ⇒ String
Custom label 2 for custom grouping of items in a Shopping campaign.
Corresponds to the JSON property customLabel2
129 130 131 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 129 def custom_label2 @custom_label2 end |
#custom_label3 ⇒ String
Custom label 3 for custom grouping of items in a Shopping campaign.
Corresponds to the JSON property customLabel3
134 135 136 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 134 def custom_label3 @custom_label3 end |
#custom_label4 ⇒ String
Custom label 4 for custom grouping of items in a Shopping campaign.
Corresponds to the JSON property customLabel4
139 140 141 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 139 def custom_label4 @custom_label4 end |
#description ⇒ String
Description of the item.
Corresponds to the JSON property description
144 145 146 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 144 def description @description end |
#disclosure_date ⇒ String
The date time when an offer becomes visible in search results across Google’s
YouTube surfaces, in ISO 8601 format.
See Disclosure date
for more information.
Corresponds to the JSON property disclosureDate
152 153 154 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 152 def disclosure_date @disclosure_date end |
#display_ads_id ⇒ String
An identifier for an item for dynamic remarketing campaigns.
Corresponds to the JSON property displayAdsId
157 158 159 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 157 def display_ads_id @display_ads_id end |
#display_ads_link ⇒ String
URL directly to your item's landing page for dynamic remarketing campaigns.
Corresponds to the JSON property displayAdsLink
162 163 164 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 162 def display_ads_link @display_ads_link end |
#display_ads_similar_ids ⇒ Array<String>
Advertiser-specified recommendations.
Corresponds to the JSON property displayAdsSimilarIds
167 168 169 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 167 def display_ads_similar_ids @display_ads_similar_ids end |
#display_ads_title ⇒ String
Title of an item for dynamic remarketing campaigns.
Corresponds to the JSON property displayAdsTitle
172 173 174 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 172 def display_ads_title @display_ads_title end |
#display_ads_value ⇒ Float
Offer margin for dynamic remarketing campaigns.
Corresponds to the JSON property displayAdsValue
177 178 179 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 177 def display_ads_value @display_ads_value end |
#energy_efficiency_class ⇒ String
The energy efficiency class as defined in EU directive 2010/30/EU.
Corresponds to the JSON property energyEfficiencyClass
182 183 184 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 182 def energy_efficiency_class @energy_efficiency_class end |
#excluded_destinations ⇒ Array<String>
The list of destinations to exclude for this target (corresponds to unchecked
check boxes in Merchant Center).
Corresponds to the JSON property excludedDestinations
188 189 190 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 188 def excluded_destinations @excluded_destinations end |
#expiration_date ⇒ String
Date on which the item should expire, as specified upon insertion, in ISO
8601 format. The actual expiration
date is exposed in productstatuses
as googleExpirationDate and might be earlier if expirationDate
is too far in the future.
Corresponds to the JSON property expirationDate
197 198 199 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 197 def expiration_date @expiration_date end |
#external_seller_id ⇒ String
Required for multi-seller accounts. Use this attribute if you're a marketplace
uploading products for various sellers to your multi-seller account.
Corresponds to the JSON property externalSellerId
203 204 205 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 203 def external_seller_id @external_seller_id end |
#free_shipping_threshold ⇒ Array<Google::Apis::MerchantapiProductsV1beta::FreeShippingThreshold>
Conditions to be met for a product to have free shipping.
Corresponds to the JSON property freeShippingThreshold
208 209 210 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 208 def free_shipping_threshold @free_shipping_threshold end |
#gender ⇒ String
Target gender of the item.
Corresponds to the JSON property gender
213 214 215 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 213 def gender @gender end |
#google_product_category ⇒ String
Google's category of the item (see Google product taxonomy). When querying products, this field will
contain the user provided value. There is currently no way to get back the
auto assigned google product categories through the API.
Corresponds to the JSON property googleProductCategory
221 222 223 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 221 def google_product_category @google_product_category end |
#gtin ⇒ String
Global Trade Item Number (GTIN) of the item.
Corresponds to the JSON property gtin
227 228 229 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 227 def gtin @gtin end |
#identifier_exists ⇒ Boolean Also known as: identifier_exists?
Set this value to false when the item does not have unique product identifiers
appropriate to its category, such as GTIN, MPN, and brand. Defaults to true,
if not provided.
Corresponds to the JSON property identifierExists
234 235 236 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 234 def identifier_exists @identifier_exists end |
#image_link ⇒ String
URL of an image of the item.
Corresponds to the JSON property imageLink
240 241 242 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 240 def image_link @image_link end |
#included_destinations ⇒ Array<String>
The list of destinations to include for this target (corresponds to checked
check boxes in Merchant Center). Default destinations are always included
unless provided in excludedDestinations
.
Corresponds to the JSON property includedDestinations
247 248 249 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 247 def included_destinations @included_destinations end |
#installment ⇒ Google::Apis::MerchantapiProductsV1beta::Installment
A message that represents installment.
Corresponds to the JSON property installment
252 253 254 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 252 def installment @installment end |
#is_bundle ⇒ Boolean Also known as: is_bundle?
Whether the item is a merchant-defined bundle. A bundle is a custom grouping
of different products sold by a merchant for a single price.
Corresponds to the JSON property isBundle
258 259 260 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 258 def is_bundle @is_bundle end |
#item_group_id ⇒ String
Shared identifier for all variants of the same product.
Corresponds to the JSON property itemGroupId
264 265 266 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 264 def item_group_id @item_group_id end |
#lifestyle_image_links ⇒ Array<String>
Additional URLs of lifestyle images of the item, used to explicitly identify
images that showcase your item in a real-world context. See the Help Center
article for more
information.
Corresponds to the JSON property lifestyleImageLinks
272 273 274 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 272 def lifestyle_image_links @lifestyle_image_links end |
#link ⇒ String
URL directly linking to your item's page on your online store.
Corresponds to the JSON property link
277 278 279 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 277 def link @link end |
#link_template ⇒ String
Link template for merchant hosted local storefront.
Corresponds to the JSON property linkTemplate
282 283 284 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 282 def link_template @link_template end |
#loyalty_points ⇒ Google::Apis::MerchantapiProductsV1beta::LoyaltyPoints
A message that represents loyalty points.
Corresponds to the JSON property loyaltyPoints
287 288 289 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 287 def loyalty_points @loyalty_points end |
#loyalty_programs ⇒ Array<Google::Apis::MerchantapiProductsV1beta::LoyaltyProgram>
A list of loyalty program information that is used to surface loyalty benefits
(for example, better pricing, points, etc) to the user of this item.
Corresponds to the JSON property loyaltyPrograms
293 294 295 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 293 def loyalty_programs @loyalty_programs end |
#material ⇒ String
The material of which the item is made.
Corresponds to the JSON property material
298 299 300 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 298 def material @material end |
#max_energy_efficiency_class ⇒ String
The energy efficiency class as defined in EU directive 2010/30/EU.
Corresponds to the JSON property maxEnergyEfficiencyClass
303 304 305 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 303 def max_energy_efficiency_class @max_energy_efficiency_class end |
#max_handling_time ⇒ Fixnum
Maximal product handling time (in business days).
Corresponds to the JSON property maxHandlingTime
308 309 310 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 308 def max_handling_time @max_handling_time end |
#min_energy_efficiency_class ⇒ String
The energy efficiency class as defined in EU directive 2010/30/EU.
Corresponds to the JSON property minEnergyEfficiencyClass
313 314 315 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 313 def min_energy_efficiency_class @min_energy_efficiency_class end |
#min_handling_time ⇒ Fixnum
Minimal product handling time (in business days).
Corresponds to the JSON property minHandlingTime
318 319 320 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 318 def min_handling_time @min_handling_time end |
#mobile_link ⇒ String
URL for the mobile-optimized version of your item's landing page.
Corresponds to the JSON property mobileLink
323 324 325 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 323 def mobile_link @mobile_link end |
#mobile_link_template ⇒ String
Link template for merchant hosted local storefront optimized for mobile
devices.
Corresponds to the JSON property mobileLinkTemplate
329 330 331 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 329 def mobile_link_template @mobile_link_template end |
#mpn ⇒ String
Manufacturer Part Number (MPN) of the item.
Corresponds to the JSON property mpn
335 336 337 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 335 def mpn @mpn end |
#multipack ⇒ Fixnum
The number of identical products in a merchant-defined multipack.
Corresponds to the JSON property multipack
340 341 342 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 340 def multipack @multipack end |
#pattern ⇒ String
The item's pattern (for example, polka dots).
Corresponds to the JSON property pattern
345 346 347 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 345 def pattern @pattern end |
#pause ⇒ String
Publication of this item will be temporarily paused.
Corresponds to the JSON property pause
351 352 353 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 351 def pause @pause end |
#pickup_method ⇒ String
The pick up option for the item.
Corresponds to the JSON property pickupMethod
356 357 358 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 356 def pickup_method @pickup_method end |
#pickup_sla ⇒ String
Item store pickup timeline.
Corresponds to the JSON property pickupSla
361 362 363 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 361 def pickup_sla @pickup_sla end |
#price ⇒ Google::Apis::MerchantapiProductsV1beta::Price
The price represented as a number and currency.
Corresponds to the JSON property price
366 367 368 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 366 def price @price end |
#product_details ⇒ Array<Google::Apis::MerchantapiProductsV1beta::ProductDetail>
Technical specification or additional product details.
Corresponds to the JSON property productDetails
371 372 373 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 371 def product_details @product_details end |
#product_height ⇒ Google::Apis::MerchantapiProductsV1beta::ProductDimension
The dimension of the product.
Corresponds to the JSON property productHeight
376 377 378 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 376 def product_height @product_height end |
#product_highlights ⇒ Array<String>
Bullet points describing the most relevant highlights of a product.
Corresponds to the JSON property productHighlights
381 382 383 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 381 def product_highlights @product_highlights end |
#product_length ⇒ Google::Apis::MerchantapiProductsV1beta::ProductDimension
The dimension of the product.
Corresponds to the JSON property productLength
386 387 388 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 386 def product_length @product_length end |
#product_types ⇒ Array<String>
Categories of the item (formatted as in product data specification).
Corresponds to the JSON property productTypes
392 393 394 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 392 def product_types @product_types end |
#product_weight ⇒ Google::Apis::MerchantapiProductsV1beta::ProductWeight
The weight of the product.
Corresponds to the JSON property productWeight
397 398 399 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 397 def product_weight @product_weight end |
#product_width ⇒ Google::Apis::MerchantapiProductsV1beta::ProductDimension
The dimension of the product.
Corresponds to the JSON property productWidth
402 403 404 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 402 def product_width @product_width end |
#promotion_ids ⇒ Array<String>
The unique ID of a promotion.
Corresponds to the JSON property promotionIds
407 408 409 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 407 def promotion_ids @promotion_ids end |
#sale_price ⇒ Google::Apis::MerchantapiProductsV1beta::Price
The price represented as a number and currency.
Corresponds to the JSON property salePrice
412 413 414 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 412 def sale_price @sale_price end |
#sale_price_effective_date ⇒ Google::Apis::MerchantapiProductsV1beta::Interval
Represents a time interval, encoded as a Timestamp start (inclusive) and a
Timestamp end (exclusive). The start must be less than or equal to the end.
When the start equals the end, the interval is empty (matches no time). When
both start and end are unspecified, the interval matches any time.
Corresponds to the JSON property salePriceEffectiveDate
420 421 422 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 420 def sale_price_effective_date @sale_price_effective_date end |
#sell_on_google_quantity ⇒ Fixnum
The quantity of the product that is available for selling on Google. Supported
only for online products.
Corresponds to the JSON property sellOnGoogleQuantity
426 427 428 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 426 def sell_on_google_quantity @sell_on_google_quantity end |
#shipping ⇒ Array<Google::Apis::MerchantapiProductsV1beta::Shipping>
Shipping rules.
Corresponds to the JSON property shipping
431 432 433 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 431 def shipping @shipping end |
#shipping_height ⇒ Google::Apis::MerchantapiProductsV1beta::ShippingDimension
The ShippingDimension of the product.
Corresponds to the JSON property shippingHeight
436 437 438 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 436 def shipping_height @shipping_height end |
#shipping_label ⇒ String
The shipping label of the product, used to group product in account-level
shipping rules.
Corresponds to the JSON property shippingLabel
442 443 444 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 442 def shipping_label @shipping_label end |
#shipping_length ⇒ Google::Apis::MerchantapiProductsV1beta::ShippingDimension
The ShippingDimension of the product.
Corresponds to the JSON property shippingLength
447 448 449 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 447 def shipping_length @shipping_length end |
#shipping_weight ⇒ Google::Apis::MerchantapiProductsV1beta::ShippingWeight
The ShippingWeight of the product.
Corresponds to the JSON property shippingWeight
452 453 454 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 452 def shipping_weight @shipping_weight end |
#shipping_width ⇒ Google::Apis::MerchantapiProductsV1beta::ShippingDimension
The ShippingDimension of the product.
Corresponds to the JSON property shippingWidth
457 458 459 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 457 def shipping_width @shipping_width end |
#shopping_ads_excluded_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) to exclude the offer from Shopping
Ads destination. Countries from this list are removed from countries
configured in data source settings.
Corresponds to the JSON property shoppingAdsExcludedCountries
464 465 466 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 464 def shopping_ads_excluded_countries @shopping_ads_excluded_countries end |
#size ⇒ String
Size of the item. Only one value is allowed. For variants with different sizes,
insert a separate product for each size with the same itemGroupId
value (
see https://support.google.com/merchants/answer/6324492).
Corresponds to the JSON property size
471 472 473 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 471 def size @size end |
#size_system ⇒ String
System in which the size is specified. Recommended for apparel items.
Corresponds to the JSON property sizeSystem
476 477 478 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 476 def size_system @size_system end |
#size_types ⇒ Array<String>
The cut of the item. It can be used to represent combined size types for
apparel items. Maximum two of size types can be provided (see https://support.
google.com/merchants/answer/6324497).
Corresponds to the JSON property sizeTypes
483 484 485 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 483 def size_types @size_types end |
#structured_description ⇒ Google::Apis::MerchantapiProductsV1beta::ProductStructuredDescription
Structured description, for algorithmically (AI)-generated descriptions.
Corresponds to the JSON property structuredDescription
488 489 490 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 488 def structured_description @structured_description end |
#structured_title ⇒ Google::Apis::MerchantapiProductsV1beta::ProductStructuredTitle
Structured title, for algorithmically (AI)-generated titles.
Corresponds to the JSON property structuredTitle
493 494 495 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 493 def structured_title @structured_title end |
#subscription_cost ⇒ Google::Apis::MerchantapiProductsV1beta::SubscriptionCost
The SubscriptionCost of the product.
Corresponds to the JSON property subscriptionCost
498 499 500 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 498 def subscription_cost @subscription_cost end |
#tax_category ⇒ String
The tax category of the product, used to configure detailed tax nexus in
account-level tax settings.
Corresponds to the JSON property taxCategory
504 505 506 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 504 def tax_category @tax_category end |
#taxes ⇒ Array<Google::Apis::MerchantapiProductsV1beta::Tax>
Tax information.
Corresponds to the JSON property taxes
509 510 511 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 509 def taxes @taxes end |
#title ⇒ String
Title of the item.
Corresponds to the JSON property title
514 515 516 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 514 def title @title end |
#transit_time_label ⇒ String
The transit time label of the product, used to group product in account-level
transit time tables.
Corresponds to the JSON property transitTimeLabel
520 521 522 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 520 def transit_time_label @transit_time_label end |
#unit_pricing_base_measure ⇒ Google::Apis::MerchantapiProductsV1beta::UnitPricingBaseMeasure
The UnitPricingBaseMeasure of the product.
Corresponds to the JSON property unitPricingBaseMeasure
525 526 527 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 525 def unit_pricing_base_measure @unit_pricing_base_measure end |
#unit_pricing_measure ⇒ Google::Apis::MerchantapiProductsV1beta::UnitPricingMeasure
The UnitPricingMeasure of the product.
Corresponds to the JSON property unitPricingMeasure
530 531 532 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 530 def unit_pricing_measure @unit_pricing_measure end |
#virtual_model_link ⇒ String
URL of the 3D image of the item. See the Help Center article for more information.
Corresponds to the JSON property virtualModelLink
536 537 538 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 536 def virtual_model_link @virtual_model_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 |
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 543 def update!(**args) @additional_image_links = args[:additional_image_links] if args.key?(:additional_image_links) @ads_grouping = args[:ads_grouping] if args.key?(:ads_grouping) @ads_labels = args[:ads_labels] if args.key?(:ads_labels) @ads_redirect = args[:ads_redirect] if args.key?(:ads_redirect) @adult = args[:adult] if args.key?(:adult) @age_group = args[:age_group] if args.key?(:age_group) @auto_pricing_min_price = args[:auto_pricing_min_price] if args.key?(:auto_pricing_min_price) @availability = args[:availability] if args.key?(:availability) @availability_date = args[:availability_date] if args.key?(:availability_date) @brand = args[:brand] if args.key?(:brand) @canonical_link = args[:canonical_link] if args.key?(:canonical_link) @certifications = args[:certifications] if args.key?(:certifications) @cloud_export_additional_properties = args[:cloud_export_additional_properties] if args.key?(:cloud_export_additional_properties) @color = args[:color] if args.key?(:color) @condition = args[:condition] if args.key?(:condition) @cost_of_goods_sold = args[:cost_of_goods_sold] if args.key?(:cost_of_goods_sold) @custom_label0 = args[:custom_label0] if args.key?(:custom_label0) @custom_label1 = args[:custom_label1] if args.key?(:custom_label1) @custom_label2 = args[:custom_label2] if args.key?(:custom_label2) @custom_label3 = args[:custom_label3] if args.key?(:custom_label3) @custom_label4 = args[:custom_label4] if args.key?(:custom_label4) @description = args[:description] if args.key?(:description) @disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date) @display_ads_id = args[:display_ads_id] if args.key?(:display_ads_id) @display_ads_link = args[:display_ads_link] if args.key?(:display_ads_link) @display_ads_similar_ids = args[:display_ads_similar_ids] if args.key?(:display_ads_similar_ids) @display_ads_title = args[:display_ads_title] if args.key?(:display_ads_title) @display_ads_value = args[:display_ads_value] if args.key?(:display_ads_value) @energy_efficiency_class = args[:energy_efficiency_class] if args.key?(:energy_efficiency_class) @excluded_destinations = args[:excluded_destinations] if args.key?(:excluded_destinations) @expiration_date = args[:expiration_date] if args.key?(:expiration_date) @external_seller_id = args[:external_seller_id] if args.key?(:external_seller_id) @free_shipping_threshold = args[:free_shipping_threshold] if args.key?(:free_shipping_threshold) @gender = args[:gender] if args.key?(:gender) @google_product_category = args[:google_product_category] if args.key?(:google_product_category) @gtin = args[:gtin] if args.key?(:gtin) @identifier_exists = args[:identifier_exists] if args.key?(:identifier_exists) @image_link = args[:image_link] if args.key?(:image_link) @included_destinations = args[:included_destinations] if args.key?(:included_destinations) @installment = args[:installment] if args.key?(:installment) @is_bundle = args[:is_bundle] if args.key?(:is_bundle) @item_group_id = args[:item_group_id] if args.key?(:item_group_id) @lifestyle_image_links = args[:lifestyle_image_links] if args.key?(:lifestyle_image_links) @link = args[:link] if args.key?(:link) @link_template = args[:link_template] if args.key?(:link_template) @loyalty_points = args[:loyalty_points] if args.key?(:loyalty_points) @loyalty_programs = args[:loyalty_programs] if args.key?(:loyalty_programs) @material = args[:material] if args.key?(:material) @max_energy_efficiency_class = args[:max_energy_efficiency_class] if args.key?(:max_energy_efficiency_class) @max_handling_time = args[:max_handling_time] if args.key?(:max_handling_time) @min_energy_efficiency_class = args[:min_energy_efficiency_class] if args.key?(:min_energy_efficiency_class) @min_handling_time = args[:min_handling_time] if args.key?(:min_handling_time) @mobile_link = args[:mobile_link] if args.key?(:mobile_link) @mobile_link_template = args[:mobile_link_template] if args.key?(:mobile_link_template) @mpn = args[:mpn] if args.key?(:mpn) @multipack = args[:multipack] if args.key?(:multipack) @pattern = args[:pattern] if args.key?(:pattern) @pause = args[:pause] if args.key?(:pause) @pickup_method = args[:pickup_method] if args.key?(:pickup_method) @pickup_sla = args[:pickup_sla] if args.key?(:pickup_sla) @price = args[:price] if args.key?(:price) @product_details = args[:product_details] if args.key?(:product_details) @product_height = args[:product_height] if args.key?(:product_height) @product_highlights = args[:product_highlights] if args.key?(:product_highlights) @product_length = args[:product_length] if args.key?(:product_length) @product_types = args[:product_types] if args.key?(:product_types) @product_weight = args[:product_weight] if args.key?(:product_weight) @product_width = args[:product_width] if args.key?(:product_width) @promotion_ids = args[:promotion_ids] if args.key?(:promotion_ids) @sale_price = args[:sale_price] if args.key?(:sale_price) @sale_price_effective_date = args[:sale_price_effective_date] if args.key?(:sale_price_effective_date) @sell_on_google_quantity = args[:sell_on_google_quantity] if args.key?(:sell_on_google_quantity) @shipping = args[:shipping] if args.key?(:shipping) @shipping_height = args[:shipping_height] if args.key?(:shipping_height) @shipping_label = args[:shipping_label] if args.key?(:shipping_label) @shipping_length = args[:shipping_length] if args.key?(:shipping_length) @shipping_weight = args[:shipping_weight] if args.key?(:shipping_weight) @shipping_width = args[:shipping_width] if args.key?(:shipping_width) @shopping_ads_excluded_countries = args[:shopping_ads_excluded_countries] if args.key?(:shopping_ads_excluded_countries) @size = args[:size] if args.key?(:size) @size_system = args[:size_system] if args.key?(:size_system) @size_types = args[:size_types] if args.key?(:size_types) @structured_description = args[:structured_description] if args.key?(:structured_description) @structured_title = args[:structured_title] if args.key?(:structured_title) @subscription_cost = args[:subscription_cost] if args.key?(:subscription_cost) @tax_category = args[:tax_category] if args.key?(:tax_category) @taxes = args[:taxes] if args.key?(:taxes) @title = args[:title] if args.key?(:title) @transit_time_label = args[:transit_time_label] if args.key?(:transit_time_label) @unit_pricing_base_measure = args[:unit_pricing_base_measure] if args.key?(:unit_pricing_base_measure) @unit_pricing_measure = args[:unit_pricing_measure] if args.key?(:unit_pricing_measure) @virtual_model_link = args[:virtual_model_link] if args.key?(:virtual_model_link) end |