google-apis-manufacturers_v1 0.17.0 → 0.18.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: 8b54e17d414979ec556a9fc385b9098bdf6fcc4fd2c27a7e66989174e9c681e0
|
4
|
+
data.tar.gz: f38398120b884bff3bd4daf3a51379255faedd8a13d35bda26d0695fba550565
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d58558a4289d7d9f133516cf8ee75f0884e6d3b457f983a85b4e011e46757bb08e300908007f4a9714f76601fa7a1b755296c1f1ff3c99c1ede96db94a6a9349
|
7
|
+
data.tar.gz: b01d26f5e436f70b83251d5513d9e5c4beaf07112460ab1907942c152119b026e02136ec175899e502abae796c435b190a91ecae356d584dcef482ff744b70e5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-manufacturers_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2023-02-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230209
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
3
8
|
### v0.17.0 (2022-10-27)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.11.0
|
@@ -336,6 +336,55 @@ module Google
|
|
336
336
|
end
|
337
337
|
end
|
338
338
|
|
339
|
+
# Description of a certification.
|
340
|
+
class Certification
|
341
|
+
include Google::Apis::Core::Hashable
|
342
|
+
|
343
|
+
# Required. Name of the certification body.
|
344
|
+
# Corresponds to the JSON property `authority`
|
345
|
+
# @return [String]
|
346
|
+
attr_accessor :authority
|
347
|
+
|
348
|
+
# Optional. A URL link to the certification.
|
349
|
+
# Corresponds to the JSON property `link`
|
350
|
+
# @return [String]
|
351
|
+
attr_accessor :link
|
352
|
+
|
353
|
+
# Optional. A URL link to the certification logo.
|
354
|
+
# Corresponds to the JSON property `logo`
|
355
|
+
# @return [String]
|
356
|
+
attr_accessor :logo
|
357
|
+
|
358
|
+
# Required. Name of the certification.
|
359
|
+
# Corresponds to the JSON property `name`
|
360
|
+
# @return [String]
|
361
|
+
attr_accessor :name
|
362
|
+
|
363
|
+
# Optional. The expiration date (UTC).
|
364
|
+
# Corresponds to the JSON property `validUntil`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :valid_until
|
367
|
+
|
368
|
+
# Required. A custom value of the certification.
|
369
|
+
# Corresponds to the JSON property `value`
|
370
|
+
# @return [String]
|
371
|
+
attr_accessor :value
|
372
|
+
|
373
|
+
def initialize(**args)
|
374
|
+
update!(**args)
|
375
|
+
end
|
376
|
+
|
377
|
+
# Update properties of this object
|
378
|
+
def update!(**args)
|
379
|
+
@authority = args[:authority] if args.key?(:authority)
|
380
|
+
@link = args[:link] if args.key?(:link)
|
381
|
+
@logo = args[:logo] if args.key?(:logo)
|
382
|
+
@name = args[:name] if args.key?(:name)
|
383
|
+
@valid_until = args[:valid_until] if args.key?(:valid_until)
|
384
|
+
@value = args[:value] if args.key?(:value)
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
339
388
|
# The number of products in a single package. For more information, see https://
|
340
389
|
# support.google.com/manufacturers/answer/6124116#count.
|
341
390
|
class Count
|
@@ -623,6 +672,32 @@ module Google
|
|
623
672
|
end
|
624
673
|
end
|
625
674
|
|
675
|
+
# Response for ListProductCertifications method.
|
676
|
+
class ListProductCertificationsResponse
|
677
|
+
include Google::Apis::Core::Hashable
|
678
|
+
|
679
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
680
|
+
# field is omitted, there are no subsequent pages.
|
681
|
+
# Corresponds to the JSON property `nextPageToken`
|
682
|
+
# @return [String]
|
683
|
+
attr_accessor :next_page_token
|
684
|
+
|
685
|
+
# The product certifications from the specified certification body.
|
686
|
+
# Corresponds to the JSON property `productCertifications`
|
687
|
+
# @return [Array<Google::Apis::ManufacturersV1::ProductCertification>]
|
688
|
+
attr_accessor :product_certifications
|
689
|
+
|
690
|
+
def initialize(**args)
|
691
|
+
update!(**args)
|
692
|
+
end
|
693
|
+
|
694
|
+
# Update properties of this object
|
695
|
+
def update!(**args)
|
696
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
697
|
+
@product_certifications = args[:product_certifications] if args.key?(:product_certifications)
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
626
701
|
#
|
627
702
|
class ListProductsResponse
|
628
703
|
include Google::Apis::Core::Hashable
|
@@ -1014,6 +1089,87 @@ module Google
|
|
1014
1089
|
end
|
1015
1090
|
end
|
1016
1091
|
|
1092
|
+
# Product certification data.
|
1093
|
+
class ProductCertification
|
1094
|
+
include Google::Apis::Core::Hashable
|
1095
|
+
|
1096
|
+
# Required. This is the product's brand name. The brand is used to help identify
|
1097
|
+
# your product.
|
1098
|
+
# Corresponds to the JSON property `brand`
|
1099
|
+
# @return [String]
|
1100
|
+
attr_accessor :brand
|
1101
|
+
|
1102
|
+
# Required. A list of certifications to link to the described product.
|
1103
|
+
# Corresponds to the JSON property `certification`
|
1104
|
+
# @return [Array<Google::Apis::ManufacturersV1::Certification>]
|
1105
|
+
attr_accessor :certification
|
1106
|
+
|
1107
|
+
# Optional. A 2-letter country code (ISO 3166-1 Alpha 2).
|
1108
|
+
# Corresponds to the JSON property `countryCode`
|
1109
|
+
# @return [Array<String>]
|
1110
|
+
attr_accessor :country_code
|
1111
|
+
|
1112
|
+
# Output only. The statuses of the destinations.
|
1113
|
+
# Corresponds to the JSON property `destinationStatuses`
|
1114
|
+
# @return [Array<Google::Apis::ManufacturersV1::DestinationStatus>]
|
1115
|
+
attr_accessor :destination_statuses
|
1116
|
+
|
1117
|
+
# Output only. A server-generated list of issues associated with the product.
|
1118
|
+
# Corresponds to the JSON property `issues`
|
1119
|
+
# @return [Array<Google::Apis::ManufacturersV1::Issue>]
|
1120
|
+
attr_accessor :issues
|
1121
|
+
|
1122
|
+
# Optional. These are the Manufacturer Part Numbers (MPN). MPNs are used to
|
1123
|
+
# uniquely identify a specific product among all products from the same
|
1124
|
+
# manufacturer
|
1125
|
+
# Corresponds to the JSON property `mpn`
|
1126
|
+
# @return [Array<String>]
|
1127
|
+
attr_accessor :mpn
|
1128
|
+
|
1129
|
+
# Required. The unique name identifier of a product certification Format:
|
1130
|
+
# accounts/`account`/languages/`language_code`/productCertifications/`id` Where `
|
1131
|
+
# id` is a some unique identifier and `language_code` is a 2-letter ISO 639-1
|
1132
|
+
# code of a Shopping supported language according to https://support.google.com/
|
1133
|
+
# merchants/answer/160637.
|
1134
|
+
# Corresponds to the JSON property `name`
|
1135
|
+
# @return [String]
|
1136
|
+
attr_accessor :name
|
1137
|
+
|
1138
|
+
# Optional. Another name for GTIN.
|
1139
|
+
# Corresponds to the JSON property `productCode`
|
1140
|
+
# @return [Array<String>]
|
1141
|
+
attr_accessor :product_code
|
1142
|
+
|
1143
|
+
# Optional. These are your own product categorization system in your product
|
1144
|
+
# data.
|
1145
|
+
# Corresponds to the JSON property `productType`
|
1146
|
+
# @return [Array<String>]
|
1147
|
+
attr_accessor :product_type
|
1148
|
+
|
1149
|
+
# Required. This is to clearly identify the product you are certifying.
|
1150
|
+
# Corresponds to the JSON property `title`
|
1151
|
+
# @return [String]
|
1152
|
+
attr_accessor :title
|
1153
|
+
|
1154
|
+
def initialize(**args)
|
1155
|
+
update!(**args)
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# Update properties of this object
|
1159
|
+
def update!(**args)
|
1160
|
+
@brand = args[:brand] if args.key?(:brand)
|
1161
|
+
@certification = args[:certification] if args.key?(:certification)
|
1162
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
1163
|
+
@destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
|
1164
|
+
@issues = args[:issues] if args.key?(:issues)
|
1165
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
1166
|
+
@name = args[:name] if args.key?(:name)
|
1167
|
+
@product_code = args[:product_code] if args.key?(:product_code)
|
1168
|
+
@product_type = args[:product_type] if args.key?(:product_type)
|
1169
|
+
@title = args[:title] if args.key?(:title)
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
|
1017
1173
|
# A product detail of the product. For more information, see https://support.
|
1018
1174
|
# google.com/manufacturers/answer/6124116#productdetail.
|
1019
1175
|
class ProductDetail
|
@@ -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.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230209"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class Certification
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Count
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -82,6 +88,12 @@ module Google
|
|
82
88
|
include Google::Apis::Core::JsonObjectSupport
|
83
89
|
end
|
84
90
|
|
91
|
+
class ListProductCertificationsResponse
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class ListProductsResponse
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -106,6 +118,12 @@ module Google
|
|
106
118
|
include Google::Apis::Core::JsonObjectSupport
|
107
119
|
end
|
108
120
|
|
121
|
+
class ProductCertification
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
109
127
|
class ProductDetail
|
110
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
129
|
|
@@ -180,6 +198,18 @@ module Google
|
|
180
198
|
end
|
181
199
|
end
|
182
200
|
|
201
|
+
class Certification
|
202
|
+
# @private
|
203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
204
|
+
property :authority, as: 'authority'
|
205
|
+
property :link, as: 'link'
|
206
|
+
property :logo, as: 'logo'
|
207
|
+
property :name, as: 'name'
|
208
|
+
property :valid_until, as: 'validUntil'
|
209
|
+
property :value, as: 'value'
|
210
|
+
end
|
211
|
+
end
|
212
|
+
|
183
213
|
class Count
|
184
214
|
# @private
|
185
215
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -258,6 +288,15 @@ module Google
|
|
258
288
|
end
|
259
289
|
end
|
260
290
|
|
291
|
+
class ListProductCertificationsResponse
|
292
|
+
# @private
|
293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
+
property :next_page_token, as: 'nextPageToken'
|
295
|
+
collection :product_certifications, as: 'productCertifications', class: Google::Apis::ManufacturersV1::ProductCertification, decorator: Google::Apis::ManufacturersV1::ProductCertification::Representation
|
296
|
+
|
297
|
+
end
|
298
|
+
end
|
299
|
+
|
261
300
|
class ListProductsResponse
|
262
301
|
# @private
|
263
302
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -364,6 +403,25 @@ module Google
|
|
364
403
|
end
|
365
404
|
end
|
366
405
|
|
406
|
+
class ProductCertification
|
407
|
+
# @private
|
408
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
409
|
+
property :brand, as: 'brand'
|
410
|
+
collection :certification, as: 'certification', class: Google::Apis::ManufacturersV1::Certification, decorator: Google::Apis::ManufacturersV1::Certification::Representation
|
411
|
+
|
412
|
+
collection :country_code, as: 'countryCode'
|
413
|
+
collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ManufacturersV1::DestinationStatus, decorator: Google::Apis::ManufacturersV1::DestinationStatus::Representation
|
414
|
+
|
415
|
+
collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation
|
416
|
+
|
417
|
+
collection :mpn, as: 'mpn'
|
418
|
+
property :name, as: 'name'
|
419
|
+
collection :product_code, as: 'productCode'
|
420
|
+
collection :product_type, as: 'productType'
|
421
|
+
property :title, as: 'title'
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
367
425
|
class ProductDetail
|
368
426
|
# @private
|
369
427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -49,6 +49,158 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Deletes a product certification by its name. This method can only be called by
|
53
|
+
# certification bodies.
|
54
|
+
# @param [String] name
|
55
|
+
# Required. The name of the product certification to delete. Format: accounts/`
|
56
|
+
# account`/languages/`language_code`/productCertifications/`id`
|
57
|
+
# @param [String] fields
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
59
|
+
# @param [String] quota_user
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
62
|
+
# @param [Google::Apis::RequestOptions] options
|
63
|
+
# Request-specific options
|
64
|
+
#
|
65
|
+
# @yield [result, err] Result & error if block supplied
|
66
|
+
# @yieldparam result [Google::Apis::ManufacturersV1::Empty] parsed result object
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
68
|
+
#
|
69
|
+
# @return [Google::Apis::ManufacturersV1::Empty]
|
70
|
+
#
|
71
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
72
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
|
+
def delete_account_language_product_certification(name, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
76
|
+
command.response_representation = Google::Apis::ManufacturersV1::Empty::Representation
|
77
|
+
command.response_class = Google::Apis::ManufacturersV1::Empty
|
78
|
+
command.params['name'] = name unless name.nil?
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
80
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
|
+
execute_or_queue_command(command, &block)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Gets a product certification by its name. This method can only be called by
|
85
|
+
# certification bodies.
|
86
|
+
# @param [String] name
|
87
|
+
# Required. The name of the product certification to get. Format: accounts/`
|
88
|
+
# account`/languages/`language_code`/productCertifications/`id`
|
89
|
+
# @param [String] fields
|
90
|
+
# Selector specifying which fields to include in a partial response.
|
91
|
+
# @param [String] quota_user
|
92
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
93
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
94
|
+
# @param [Google::Apis::RequestOptions] options
|
95
|
+
# Request-specific options
|
96
|
+
#
|
97
|
+
# @yield [result, err] Result & error if block supplied
|
98
|
+
# @yieldparam result [Google::Apis::ManufacturersV1::ProductCertification] parsed result object
|
99
|
+
# @yieldparam err [StandardError] error object if request failed
|
100
|
+
#
|
101
|
+
# @return [Google::Apis::ManufacturersV1::ProductCertification]
|
102
|
+
#
|
103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
106
|
+
def get_account_language_product_certification(name, fields: nil, quota_user: nil, options: nil, &block)
|
107
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
108
|
+
command.response_representation = Google::Apis::ManufacturersV1::ProductCertification::Representation
|
109
|
+
command.response_class = Google::Apis::ManufacturersV1::ProductCertification
|
110
|
+
command.params['name'] = name unless name.nil?
|
111
|
+
command.query['fields'] = fields unless fields.nil?
|
112
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
113
|
+
execute_or_queue_command(command, &block)
|
114
|
+
end
|
115
|
+
|
116
|
+
# Lists product certifications from a specified certification body. This method
|
117
|
+
# can only be called by certification bodies.
|
118
|
+
# @param [String] parent
|
119
|
+
# Required. The parent, which owns this collection of product certifications.
|
120
|
+
# Format: accounts/`account`/languages/`language_code`
|
121
|
+
# @param [Fixnum] page_size
|
122
|
+
# Optional. The maximum number of product certifications to return. The service
|
123
|
+
# may return fewer than this value. If unspecified, at most 50 product
|
124
|
+
# certifications will be returned. The maximum value is 1000; values above 1000
|
125
|
+
# will be coerced to 1000.
|
126
|
+
# @param [String] page_token
|
127
|
+
# Optional. A page token, received from a previous `ListProductCertifications`
|
128
|
+
# call. Provide this to retrieve the subsequent page. When paginating, all other
|
129
|
+
# parameters provided to `ListProductCertifications` must match the call that
|
130
|
+
# provided the page token. Required if requesting the second or higher page.
|
131
|
+
# @param [String] fields
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
133
|
+
# @param [String] quota_user
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
137
|
+
# Request-specific options
|
138
|
+
#
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
140
|
+
# @yieldparam result [Google::Apis::ManufacturersV1::ListProductCertificationsResponse] parsed result object
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
142
|
+
#
|
143
|
+
# @return [Google::Apis::ManufacturersV1::ListProductCertificationsResponse]
|
144
|
+
#
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
+
def list_account_language_product_certifications(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
+
command = make_simple_command(:get, 'v1/{+parent}/productCertifications', options)
|
150
|
+
command.response_representation = Google::Apis::ManufacturersV1::ListProductCertificationsResponse::Representation
|
151
|
+
command.response_class = Google::Apis::ManufacturersV1::ListProductCertificationsResponse
|
152
|
+
command.params['parent'] = parent unless parent.nil?
|
153
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
154
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
155
|
+
command.query['fields'] = fields unless fields.nil?
|
156
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
157
|
+
execute_or_queue_command(command, &block)
|
158
|
+
end
|
159
|
+
|
160
|
+
# Updates (or creates if allow_missing = true) a product certification which
|
161
|
+
# links certifications with products. This method can only be called by
|
162
|
+
# certification bodies.
|
163
|
+
# @param [String] name
|
164
|
+
# Required. The unique name identifier of a product certification Format:
|
165
|
+
# accounts/`account`/languages/`language_code`/productCertifications/`id` Where `
|
166
|
+
# id` is a some unique identifier and `language_code` is a 2-letter ISO 639-1
|
167
|
+
# code of a Shopping supported language according to https://support.google.com/
|
168
|
+
# merchants/answer/160637.
|
169
|
+
# @param [Google::Apis::ManufacturersV1::ProductCertification] product_certification_object
|
170
|
+
# @param [String] update_mask
|
171
|
+
# Optional. The list of fields to update according to aip.dev/134. However, only
|
172
|
+
# full update is supported as of right now. Therefore, it can be either ignored
|
173
|
+
# or set to "*". Setting any other values will returns UNIMPLEMENTED error.
|
174
|
+
# @param [String] fields
|
175
|
+
# Selector specifying which fields to include in a partial response.
|
176
|
+
# @param [String] quota_user
|
177
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
178
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
179
|
+
# @param [Google::Apis::RequestOptions] options
|
180
|
+
# Request-specific options
|
181
|
+
#
|
182
|
+
# @yield [result, err] Result & error if block supplied
|
183
|
+
# @yieldparam result [Google::Apis::ManufacturersV1::ProductCertification] parsed result object
|
184
|
+
# @yieldparam err [StandardError] error object if request failed
|
185
|
+
#
|
186
|
+
# @return [Google::Apis::ManufacturersV1::ProductCertification]
|
187
|
+
#
|
188
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
189
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
190
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
191
|
+
def patch_account_language_product_certification(name, product_certification_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
192
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
193
|
+
command.request_representation = Google::Apis::ManufacturersV1::ProductCertification::Representation
|
194
|
+
command.request_object = product_certification_object
|
195
|
+
command.response_representation = Google::Apis::ManufacturersV1::ProductCertification::Representation
|
196
|
+
command.response_class = Google::Apis::ManufacturersV1::ProductCertification
|
197
|
+
command.params['name'] = name unless name.nil?
|
198
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
199
|
+
command.query['fields'] = fields unless fields.nil?
|
200
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
201
|
+
execute_or_queue_command(command, &block)
|
202
|
+
end
|
203
|
+
|
52
204
|
# Deletes the product from a Manufacturer Center account.
|
53
205
|
# @param [String] parent
|
54
206
|
# Parent ID in the format `accounts/`account_id``. `account_id` - The ID of the
|
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.18.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:
|
11
|
+
date: 2023-02-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.18.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.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Manufacturer Center API V1
|