google-apis-manufacturers_v1 0.20.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc2b6d41033b08a26a61479d804a8f7e10861dfcbe063948bd3f2c578f8c8e33
4
- data.tar.gz: 9b94f2c032389a129a99d13592198d9ac0cc4c6fd6f5ea7834c13c940a2ae221
3
+ metadata.gz: cc9dc173bd5e83b766362a5383d7865f4f4d9003d90764c4f836605fd5052dd8
4
+ data.tar.gz: ba447c1413b561337985ec92be3e11ac4ec2f5ee595c4b49235147b3b5123cac
5
5
  SHA512:
6
- metadata.gz: c00571d6fe1bdb8b0dcad78b705b4fb1e4067af002b72bb2ac91c52774fdad9209d0e74682b2abb82c79bc8c6775de9d0c01b75a37aab3207fb5f222488f9652
7
- data.tar.gz: 769d82279320382d48484bc2a15b7515a989e4d6a149d10319cf179ac9830c0499dc1cc1c7040f2d595fc5535179b256667879a3f83d73338756229a1eb8f2ae
6
+ metadata.gz: 8b7fbcf7517ae9584218c586ca83c04c9ad6ced4a351c93c90f9c7dbe15125000301739d0457d5c73041e406aba874ce3f69b4d7498c9e81165c90901de58961
7
+ data.tar.gz: 9a3c970a86dc341a2ca3de8d951b0e48c7e1e348da2d2ec42ebb90c521391b8de6d80c60234cbe58d3671fe4bbb2b6f58a2ef06e4fa9e5da2e9eb7f6dec4c17c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-manufacturers_v1
2
2
 
3
+ ### v0.22.0 (2023-11-12)
4
+
5
+ * Regenerated from discovery document revision 20231109
6
+
7
+ ### v0.21.0 (2023-09-03)
8
+
9
+ * Regenerated from discovery document revision 20230831
10
+
3
11
  ### v0.20.0 (2023-06-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20230602
@@ -51,6 +51,11 @@ module Google
51
51
  # @return [Google::Apis::ManufacturersV1::Capacity]
52
52
  attr_accessor :capacity
53
53
 
54
+ # Optional. List of certifications claimed by this product.
55
+ # Corresponds to the JSON property `certification`
56
+ # @return [Array<Google::Apis::ManufacturersV1::GoogleShoppingManufacturersV1ProductCertification>]
57
+ attr_accessor :certification
58
+
54
59
  # The color of the product. For more information, see https://support.google.com/
55
60
  # manufacturers/answer/6124116#color.
56
61
  # Corresponds to the JSON property `color`
@@ -277,6 +282,7 @@ module Google
277
282
  @age_group = args[:age_group] if args.key?(:age_group)
278
283
  @brand = args[:brand] if args.key?(:brand)
279
284
  @capacity = args[:capacity] if args.key?(:capacity)
285
+ @certification = args[:certification] if args.key?(:certification)
280
286
  @color = args[:color] if args.key?(:color)
281
287
  @count = args[:count] if args.key?(:count)
282
288
  @description = args[:description] if args.key?(:description)
@@ -351,6 +357,11 @@ module Google
351
357
  # @return [String]
352
358
  attr_accessor :authority
353
359
 
360
+ # Required. A unique code to identify the certification.
361
+ # Corresponds to the JSON property `code`
362
+ # @return [String]
363
+ attr_accessor :code
364
+
354
365
  # Optional. A URL link to the certification.
355
366
  # Corresponds to the JSON property `link`
356
367
  # @return [String]
@@ -371,7 +382,7 @@ module Google
371
382
  # @return [String]
372
383
  attr_accessor :valid_until
373
384
 
374
- # Required. A custom value of the certification.
385
+ # Optional. A custom value of the certification.
375
386
  # Corresponds to the JSON property `value`
376
387
  # @return [String]
377
388
  attr_accessor :value
@@ -383,6 +394,7 @@ module Google
383
394
  # Update properties of this object
384
395
  def update!(**args)
385
396
  @authority = args[:authority] if args.key?(:authority)
397
+ @code = args[:code] if args.key?(:code)
386
398
  @link = args[:link] if args.key?(:link)
387
399
  @logo = args[:logo] if args.key?(:logo)
388
400
  @name = args[:name] if args.key?(:name)
@@ -515,6 +527,37 @@ module Google
515
527
  end
516
528
  end
517
529
 
530
+ # Description of a certification.
531
+ class GoogleShoppingManufacturersV1ProductCertification
532
+ include Google::Apis::Core::Hashable
533
+
534
+ # Required. Name of the certification body.
535
+ # Corresponds to the JSON property `authority`
536
+ # @return [String]
537
+ attr_accessor :authority
538
+
539
+ # Required. A unique code to identify the certification.
540
+ # Corresponds to the JSON property `code`
541
+ # @return [String]
542
+ attr_accessor :code
543
+
544
+ # Required. Name of the certification.
545
+ # Corresponds to the JSON property `name`
546
+ # @return [String]
547
+ attr_accessor :name
548
+
549
+ def initialize(**args)
550
+ update!(**args)
551
+ end
552
+
553
+ # Update properties of this object
554
+ def update!(**args)
555
+ @authority = args[:authority] if args.key?(:authority)
556
+ @code = args[:code] if args.key?(:code)
557
+ @name = args[:name] if args.key?(:name)
558
+ end
559
+ end
560
+
518
561
  #
519
562
  class Grocery
520
563
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManufacturersV1
18
18
  # Version of the google-apis-manufacturers_v1 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230602"
25
+ REVISION = "20231109"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class GoogleShoppingManufacturersV1ProductCertification
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class Grocery
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -145,6 +151,8 @@ module Google
145
151
  property :brand, as: 'brand'
146
152
  property :capacity, as: 'capacity', class: Google::Apis::ManufacturersV1::Capacity, decorator: Google::Apis::ManufacturersV1::Capacity::Representation
147
153
 
154
+ collection :certification, as: 'certification', class: Google::Apis::ManufacturersV1::GoogleShoppingManufacturersV1ProductCertification, decorator: Google::Apis::ManufacturersV1::GoogleShoppingManufacturersV1ProductCertification::Representation
155
+
148
156
  property :color, as: 'color'
149
157
  property :count, as: 'count', class: Google::Apis::ManufacturersV1::Count, decorator: Google::Apis::ManufacturersV1::Count::Representation
150
158
 
@@ -203,6 +211,7 @@ module Google
203
211
  # @private
204
212
  class Representation < Google::Apis::Core::JsonRepresentation
205
213
  property :authority, as: 'authority'
214
+ property :code, as: 'code'
206
215
  property :link, as: 'link'
207
216
  property :logo, as: 'logo'
208
217
  property :name, as: 'name'
@@ -251,6 +260,15 @@ module Google
251
260
  end
252
261
  end
253
262
 
263
+ class GoogleShoppingManufacturersV1ProductCertification
264
+ # @private
265
+ class Representation < Google::Apis::Core::JsonRepresentation
266
+ property :authority, as: 'authority'
267
+ property :code, as: 'code'
268
+ property :name, as: 'name'
269
+ end
270
+ end
271
+
254
272
  class Grocery
255
273
  # @private
256
274
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-manufacturers_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-04 00:00:00.000000000 Z
11
+ date: 2023-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-manufacturers_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-manufacturers_v1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-manufacturers_v1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-manufacturers_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Manufacturer Center API V1