Class: Google::Apis::MerchantapiProductsV1beta::Attributes

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

Instance Method Summary collapse

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 URLs of images of the item. Corresponds to the JSON property additionalImageLinks

Returns:

  • (Array<String>)


32
33
34
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 32

def additional_image_links
  @additional_image_links
end

#ads_groupingString

Used to group items in an arbitrary way. Only for CPA%, discouraged otherwise. Corresponds to the JSON property adsGrouping

Returns:

  • (String)


37
38
39
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 37

def ads_grouping
  @ads_grouping
end

#ads_labelsArray<String>

Similar to ads_grouping, but only works on CPC. Corresponds to the JSON property adsLabels

Returns:

  • (Array<String>)


42
43
44
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 42

def ads_labels
  @ads_labels
end

#ads_redirectString

Allows advertisers to override the item URL when the product is shown within the context of Product ads. Corresponds to the JSON property adsRedirect

Returns:

  • (String)


48
49
50
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 48

def ads_redirect
  @ads_redirect
end

#adultBoolean Also known as: adult?

Set to true if the item is targeted towards adults. Corresponds to the JSON property adult

Returns:

  • (Boolean)


53
54
55
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 53

def adult
  @adult
end

#age_groupString

Target age group of the item. Corresponds to the JSON property ageGroup

Returns:

  • (String)


60
61
62
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 60

def age_group
  @age_group
end

#auto_pricing_min_priceGoogle::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

#availabilityString

Availability status of the item. Corresponds to the JSON property availability

Returns:

  • (String)


70
71
72
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 70

def availability
  @availability
end

#availability_dateString

The day a pre-ordered product becomes available for delivery, in ISO 8601 format. Corresponds to the JSON property availabilityDate

Returns:

  • (String)


76
77
78
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 76

def availability_date
  @availability_date
end

#brandString

Brand of the item. Corresponds to the JSON property brand

Returns:

  • (String)


81
82
83
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 81

def brand
  @brand
end

URL for the canonical version of your item's landing page. Corresponds to the JSON property canonicalLink

Returns:

  • (String)


86
87
88
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 86

def canonical_link
  @canonical_link
end

#certificationsArray<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_propertiesArray<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

#colorString

Color of the item. Corresponds to the JSON property color

Returns:

  • (String)


104
105
106
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 104

def color
  @color
end

#conditionString

Condition or state of the item. Corresponds to the JSON property condition

Returns:

  • (String)


109
110
111
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 109

def condition
  @condition
end

#cost_of_goods_soldGoogle::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_label0String

Custom label 0 for custom grouping of items in a Shopping campaign. Corresponds to the JSON property customLabel0

Returns:

  • (String)


119
120
121
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 119

def custom_label0
  @custom_label0
end

#custom_label1String

Custom label 1 for custom grouping of items in a Shopping campaign. Corresponds to the JSON property customLabel1

Returns:

  • (String)


124
125
126
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 124

def custom_label1
  @custom_label1
end

#custom_label2String

Custom label 2 for custom grouping of items in a Shopping campaign. Corresponds to the JSON property customLabel2

Returns:

  • (String)


129
130
131
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 129

def custom_label2
  @custom_label2
end

#custom_label3String

Custom label 3 for custom grouping of items in a Shopping campaign. Corresponds to the JSON property customLabel3

Returns:

  • (String)


134
135
136
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 134

def custom_label3
  @custom_label3
end

#custom_label4String

Custom label 4 for custom grouping of items in a Shopping campaign. Corresponds to the JSON property customLabel4

Returns:

  • (String)


139
140
141
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 139

def custom_label4
  @custom_label4
end

#descriptionString

Description of the item. Corresponds to the JSON property description

Returns:

  • (String)


144
145
146
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 144

def description
  @description
end

#disclosure_dateString

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

Returns:

  • (String)


152
153
154
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 152

def disclosure_date
  @disclosure_date
end

#display_ads_idString

An identifier for an item for dynamic remarketing campaigns. Corresponds to the JSON property displayAdsId

Returns:

  • (String)


157
158
159
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 157

def display_ads_id
  @display_ads_id
end

URL directly to your item's landing page for dynamic remarketing campaigns. Corresponds to the JSON property displayAdsLink

Returns:

  • (String)


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_idsArray<String>

Advertiser-specified recommendations. Corresponds to the JSON property displayAdsSimilarIds

Returns:

  • (Array<String>)


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_titleString

Title of an item for dynamic remarketing campaigns. Corresponds to the JSON property displayAdsTitle

Returns:

  • (String)


172
173
174
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 172

def display_ads_title
  @display_ads_title
end

#display_ads_valueFloat

Offer margin for dynamic remarketing campaigns. Corresponds to the JSON property displayAdsValue

Returns:

  • (Float)


177
178
179
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 177

def display_ads_value
  @display_ads_value
end

#energy_efficiency_classString

The energy efficiency class as defined in EU directive 2010/30/EU. Corresponds to the JSON property energyEfficiencyClass

Returns:

  • (String)


182
183
184
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 182

def energy_efficiency_class
  @energy_efficiency_class
end

#excluded_destinationsArray<String>

The list of destinations to exclude for this target (corresponds to unchecked check boxes in Merchant Center). Corresponds to the JSON property excludedDestinations

Returns:

  • (Array<String>)


188
189
190
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 188

def excluded_destinations
  @excluded_destinations
end

#expiration_dateString

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

Returns:

  • (String)


197
198
199
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 197

def expiration_date
  @expiration_date
end

#external_seller_idString

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

Returns:

  • (String)


203
204
205
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 203

def external_seller_id
  @external_seller_id
end

#free_shipping_thresholdArray<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

#genderString

Target gender of the item. Corresponds to the JSON property gender

Returns:

  • (String)


213
214
215
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 213

def gender
  @gender
end

#google_product_categoryString

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

Returns:

  • (String)


221
222
223
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 221

def google_product_category
  @google_product_category
end

#gtinString

Global Trade Item Number (GTIN) of the item. Corresponds to the JSON property gtin

Returns:

  • (String)


227
228
229
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 227

def gtin
  @gtin
end

#identifier_existsBoolean 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

Returns:

  • (Boolean)


234
235
236
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 234

def identifier_exists
  @identifier_exists
end

URL of an image of the item. Corresponds to the JSON property imageLink

Returns:

  • (String)


240
241
242
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 240

def image_link
  @image_link
end

#included_destinationsArray<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

Returns:

  • (Array<String>)


247
248
249
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 247

def included_destinations
  @included_destinations
end

#installmentGoogle::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_bundleBoolean 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

Returns:

  • (Boolean)


258
259
260
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 258

def is_bundle
  @is_bundle
end

#item_group_idString

Shared identifier for all variants of the same product. Corresponds to the JSON property itemGroupId

Returns:

  • (String)


264
265
266
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 264

def item_group_id
  @item_group_id
end

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

Returns:

  • (Array<String>)


272
273
274
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 272

def lifestyle_image_links
  @lifestyle_image_links
end

URL directly linking to your item's page on your online store. Corresponds to the JSON property link

Returns:

  • (String)


277
278
279
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 277

def link
  @link
end

Link template for merchant hosted local storefront. Corresponds to the JSON property linkTemplate

Returns:

  • (String)


282
283
284
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 282

def link_template
  @link_template
end

#loyalty_pointsGoogle::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_programsArray<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

#materialString

The material of which the item is made. Corresponds to the JSON property material

Returns:

  • (String)


298
299
300
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 298

def material
  @material
end

#max_energy_efficiency_classString

The energy efficiency class as defined in EU directive 2010/30/EU. Corresponds to the JSON property maxEnergyEfficiencyClass

Returns:

  • (String)


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_timeFixnum

Maximal product handling time (in business days). Corresponds to the JSON property maxHandlingTime

Returns:

  • (Fixnum)


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_classString

The energy efficiency class as defined in EU directive 2010/30/EU. Corresponds to the JSON property minEnergyEfficiencyClass

Returns:

  • (String)


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_timeFixnum

Minimal product handling time (in business days). Corresponds to the JSON property minHandlingTime

Returns:

  • (Fixnum)


318
319
320
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 318

def min_handling_time
  @min_handling_time
end

URL for the mobile-optimized version of your item's landing page. Corresponds to the JSON property mobileLink

Returns:

  • (String)


323
324
325
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 323

def mobile_link
  @mobile_link
end

Link template for merchant hosted local storefront optimized for mobile devices. Corresponds to the JSON property mobileLinkTemplate

Returns:

  • (String)


329
330
331
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 329

def mobile_link_template
  @mobile_link_template
end

#mpnString

Manufacturer Part Number (MPN) of the item. Corresponds to the JSON property mpn

Returns:

  • (String)


335
336
337
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 335

def mpn
  @mpn
end

#multipackFixnum

The number of identical products in a merchant-defined multipack. Corresponds to the JSON property multipack

Returns:

  • (Fixnum)


340
341
342
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 340

def multipack
  @multipack
end

#patternString

The item's pattern (for example, polka dots). Corresponds to the JSON property pattern

Returns:

  • (String)


345
346
347
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 345

def pattern
  @pattern
end

#pauseString

Publication of this item will be temporarily paused. Corresponds to the JSON property pause

Returns:

  • (String)


351
352
353
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 351

def pause
  @pause
end

#pickup_methodString

The pick up option for the item. Corresponds to the JSON property pickupMethod

Returns:

  • (String)


356
357
358
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 356

def pickup_method
  @pickup_method
end

#pickup_slaString

Item store pickup timeline. Corresponds to the JSON property pickupSla

Returns:

  • (String)


361
362
363
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 361

def pickup_sla
  @pickup_sla
end

#priceGoogle::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_detailsArray<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_heightGoogle::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_highlightsArray<String>

Bullet points describing the most relevant highlights of a product. Corresponds to the JSON property productHighlights

Returns:

  • (Array<String>)


381
382
383
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 381

def product_highlights
  @product_highlights
end

#product_lengthGoogle::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_typesArray<String>

Categories of the item (formatted as in product data specification). Corresponds to the JSON property productTypes

Returns:

  • (Array<String>)


392
393
394
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 392

def product_types
  @product_types
end

#product_weightGoogle::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_widthGoogle::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_idsArray<String>

The unique ID of a promotion. Corresponds to the JSON property promotionIds

Returns:

  • (Array<String>)


407
408
409
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 407

def promotion_ids
  @promotion_ids
end

#sale_priceGoogle::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_dateGoogle::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_quantityFixnum

The quantity of the product that is available for selling on Google. Supported only for online products. Corresponds to the JSON property sellOnGoogleQuantity

Returns:

  • (Fixnum)


426
427
428
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 426

def sell_on_google_quantity
  @sell_on_google_quantity
end

#shippingArray<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_heightGoogle::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_labelString

The shipping label of the product, used to group product in account-level shipping rules. Corresponds to the JSON property shippingLabel

Returns:

  • (String)


442
443
444
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 442

def shipping_label
  @shipping_label
end

#shipping_lengthGoogle::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_weightGoogle::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_widthGoogle::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_countriesArray<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

Returns:

  • (Array<String>)


464
465
466
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 464

def shopping_ads_excluded_countries
  @shopping_ads_excluded_countries
end

#sizeString

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

Returns:

  • (String)


471
472
473
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 471

def size
  @size
end

#size_systemString

System in which the size is specified. Recommended for apparel items. Corresponds to the JSON property sizeSystem

Returns:

  • (String)


476
477
478
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 476

def size_system
  @size_system
end

#size_typesArray<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

Returns:

  • (Array<String>)


483
484
485
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 483

def size_types
  @size_types
end

#structured_descriptionGoogle::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_titleGoogle::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_costGoogle::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_categoryString

The tax category of the product, used to configure detailed tax nexus in account-level tax settings. Corresponds to the JSON property taxCategory

Returns:

  • (String)


504
505
506
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 504

def tax_category
  @tax_category
end

#taxesArray<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

#titleString

Title of the item. Corresponds to the JSON property title

Returns:

  • (String)


514
515
516
# File 'lib/google/apis/merchantapi_products_v1beta/classes.rb', line 514

def title
  @title
end

#transit_time_labelString

The transit time label of the product, used to group product in account-level transit time tables. Corresponds to the JSON property transitTimeLabel

Returns:

  • (String)


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_measureGoogle::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_measureGoogle::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

URL of the 3D image of the item. See the Help Center article for more information. Corresponds to the JSON property virtualModelLink

Returns:

  • (String)


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