google-apis-css_v1 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 369a9e6d4c27209393183953504fee3342f13b543eba01b44ca31d9e9764c0cf
4
- data.tar.gz: bf00a95ac811bd7f4cccb262c22ccab6507793214b4e8513afaec435497e5d57
3
+ metadata.gz: d648c8e02dcfeb7ec478dd6d833f7cc052204ec250b5f6641a9375aacce54848
4
+ data.tar.gz: 03102c3fa57c1384510ffe0b262d0572f29e8c262c15d98ece061f2e3cd7bfbd
5
5
  SHA512:
6
- metadata.gz: 623b0514c9ba2be6b982ae21dd267cefd7e76331562e610136edd762eb4121724ccd5aa160664b81623be661fb37169a2d2b8da57889ebf2f93c3fd344dd319e
7
- data.tar.gz: 8f29c78512c157610a88e9ef706a2a8f4d04e73ed68de0e54611313275b7d16cee87d39d9636f416cbcdad7a059c9d8c56136a2d6d4dbf6eb43a754ddc7d24e9
6
+ metadata.gz: 4748c10bebeb3e6f208ee395b2c5848427ce8bf5c6412a8feade7cf1c18688b1e8eb635bc25a6d88249be7c15c08828ad88f30ae34c2acbd0615ca9d0fe8e00e
7
+ data.tar.gz: 2977159aa85957789e4f9b8f544553ec52e2deae8912491d4a72e5e0f5dff43f7d014b2c63010082cc7956ba9f30d255fea0686ae0471be035699f13983b7029
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-css_v1
2
2
 
3
+ ### v0.13.0 (2026-03-15)
4
+
5
+ * Regenerated from discovery document revision 20260310
6
+
3
7
  ### v0.12.0 (2025-06-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20250603
@@ -328,6 +328,18 @@ module Google
328
328
  # @return [String]
329
329
  attr_accessor :material
330
330
 
331
+ # Maximum rating score of the product. Required if `rating` is provided. This
332
+ # field is for an upcoming feature and is not yet used.
333
+ # Corresponds to the JSON property `maxRating`
334
+ # @return [Fixnum]
335
+ attr_accessor :max_rating
336
+
337
+ # Minimum rating score of the product. Required if `rating` is provided. This
338
+ # field is for an upcoming feature and is not yet used.
339
+ # Corresponds to the JSON property `minRating`
340
+ # @return [Fixnum]
341
+ attr_accessor :min_rating
342
+
331
343
  # Manufacturer Part Number ([MPN](https://support.google.com/merchants/answer/
332
344
  # 188494#mpn)) of the item.
333
345
  # Corresponds to the JSON property `mpn`
@@ -390,6 +402,21 @@ module Google
390
402
  # @return [Google::Apis::CssV1::ProductDimension]
391
403
  attr_accessor :product_width
392
404
 
405
+ # Average rating score of the product. The value must be within the range of [`
406
+ # min_rating`, `max_rating`], inclusive. When displayed on the product page,
407
+ # this rating is normalized to a scale of [1, 5] with one decimal place. If
408
+ # provided, `review_count`, `min_rating`, and `max_rating` are also required.
409
+ # This field is for an upcoming feature and is not yet used.
410
+ # Corresponds to the JSON property `rating`
411
+ # @return [Float]
412
+ attr_accessor :rating
413
+
414
+ # Number of reviews of the product. Required if `rating` is provided. This field
415
+ # is for an upcoming feature and is not yet used.
416
+ # Corresponds to the JSON property `reviewCount`
417
+ # @return [Fixnum]
418
+ attr_accessor :review_count
419
+
393
420
  # Size of the item. Only one value is allowed. For variants with different sizes,
394
421
  # insert a separate product for each size with the same `itemGroupId` value (
395
422
  # see [https://support.google.com/merchants/answer/6324492](size definition)).
@@ -403,8 +430,8 @@ module Google
403
430
  attr_accessor :size_system
404
431
 
405
432
  # The cut of the item. It can be used to represent combined size types for
406
- # apparel items. Maximum two of size types can be provided (see [https://support.
407
- # google.com/merchants/answer/6324497](size type)).
433
+ # apparel items. Maximum two of size types can be provided (see [size type](
434
+ # https://support.google.com/merchants/answer/6324497).
408
435
  # Corresponds to the JSON property `sizeTypes`
409
436
  # @return [Array<String>]
410
437
  attr_accessor :size_types
@@ -454,6 +481,8 @@ module Google
454
481
  @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
455
482
  @low_price = args[:low_price] if args.key?(:low_price)
456
483
  @material = args[:material] if args.key?(:material)
484
+ @max_rating = args[:max_rating] if args.key?(:max_rating)
485
+ @min_rating = args[:min_rating] if args.key?(:min_rating)
457
486
  @mpn = args[:mpn] if args.key?(:mpn)
458
487
  @multipack = args[:multipack] if args.key?(:multipack)
459
488
  @number_of_offers = args[:number_of_offers] if args.key?(:number_of_offers)
@@ -466,6 +495,8 @@ module Google
466
495
  @product_types = args[:product_types] if args.key?(:product_types)
467
496
  @product_weight = args[:product_weight] if args.key?(:product_weight)
468
497
  @product_width = args[:product_width] if args.key?(:product_width)
498
+ @rating = args[:rating] if args.key?(:rating)
499
+ @review_count = args[:review_count] if args.key?(:review_count)
469
500
  @size = args[:size] if args.key?(:size)
470
501
  @size_system = args[:size_system] if args.key?(:size_system)
471
502
  @size_types = args[:size_types] if args.key?(:size_types)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CssV1
18
18
  # Version of the google-apis-css_v1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250603"
25
+ REVISION = "20260310"
26
26
  end
27
27
  end
28
28
  end
@@ -236,6 +236,8 @@ module Google
236
236
  property :low_price, as: 'lowPrice', class: Google::Apis::CssV1::Price, decorator: Google::Apis::CssV1::Price::Representation
237
237
 
238
238
  property :material, as: 'material'
239
+ property :max_rating, :numeric_string => true, as: 'maxRating'
240
+ property :min_rating, :numeric_string => true, as: 'minRating'
239
241
  property :mpn, as: 'mpn'
240
242
  property :multipack, :numeric_string => true, as: 'multipack'
241
243
  property :number_of_offers, :numeric_string => true, as: 'numberOfOffers'
@@ -253,6 +255,8 @@ module Google
253
255
 
254
256
  property :product_width, as: 'productWidth', class: Google::Apis::CssV1::ProductDimension, decorator: Google::Apis::CssV1::ProductDimension::Representation
255
257
 
258
+ property :rating, as: 'rating'
259
+ property :review_count, :numeric_string => true, as: 'reviewCount'
256
260
  property :size, as: 'size'
257
261
  property :size_system, as: 'sizeSystem'
258
262
  collection :size_types, as: 'sizeTypes'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-css_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-css_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-css_v1/v0.12.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-css_v1/v0.13.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-css_v1
62
62
  rdoc_options: []
63
63
  require_paths: