google-apis-manufacturers_v1 0.21.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc9dc173bd5e83b766362a5383d7865f4f4d9003d90764c4f836605fd5052dd8
|
4
|
+
data.tar.gz: ba447c1413b561337985ec92be3e11ac4ec2f5ee595c4b49235147b3b5123cac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b7fbcf7517ae9584218c586ca83c04c9ad6ced4a351c93c90f9c7dbe15125000301739d0457d5c73041e406aba874ce3f69b4d7498c9e81165c90901de58961
|
7
|
+
data.tar.gz: 9a3c970a86dc341a2ca3de8d951b0e48c7e1e348da2d2ec42ebb90c521391b8de6d80c60234cbe58d3671fe4bbb2b6f58a2ef06e4fa9e5da2e9eb7f6dec4c17c
|
data/CHANGELOG.md
CHANGED
@@ -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)
|
@@ -521,6 +527,37 @@ module Google
|
|
521
527
|
end
|
522
528
|
end
|
523
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
|
+
|
524
561
|
#
|
525
562
|
class Grocery
|
526
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.
|
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 = "
|
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
|
|
@@ -252,6 +260,15 @@ module Google
|
|
252
260
|
end
|
253
261
|
end
|
254
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
|
+
|
255
272
|
class Grocery
|
256
273
|
# @private
|
257
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.
|
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-
|
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.
|
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: []
|