google-apis-chromewebstore_v2 0.2.0 → 0.3.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f30957866b46455044ca7a932028785d3610aab55a9c79c5faf5a0e857807fa9
|
|
4
|
+
data.tar.gz: 70e87c46ae2257bda2bd85c24dbfc10cba67efcf924a3dbad51268f8fb07a3e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b63b8d2d01f2388193a351493ff9781f5fc4006ca1b77a8f17ad3cf9f450fe6ace9c10f6705ee3477152928ad308b1a552772e31a4c480ae3c43fc4533a1ad3b
|
|
7
|
+
data.tar.gz: 54b621a6f11acd3156a7928a333cd5cea09c61913bfae127b17ff0bb11595ee0a4d7be669c791107e67f6ab837f95e29bc59320bfc853540effb9b56647375cc
|
data/CHANGELOG.md
CHANGED
|
@@ -190,6 +190,16 @@ module Google
|
|
|
190
190
|
class PublishItemRequest
|
|
191
191
|
include Google::Apis::Core::Hashable
|
|
192
192
|
|
|
193
|
+
# Optional. When set to true the request will fail if there are any warnings
|
|
194
|
+
# during validation and the details will be included in the error_details.
|
|
195
|
+
# Otherwise warnings are treated as non-blocking and will be ignored for
|
|
196
|
+
# validation but will be included in the response for inspection. Defaults to `
|
|
197
|
+
# false` if unset.
|
|
198
|
+
# Corresponds to the JSON property `blockOnWarnings`
|
|
199
|
+
# @return [Boolean]
|
|
200
|
+
attr_accessor :block_on_warnings
|
|
201
|
+
alias_method :block_on_warnings?, :block_on_warnings
|
|
202
|
+
|
|
193
203
|
# Optional. Additional deploy information including the desired initial
|
|
194
204
|
# percentage rollout. Defaults to the current value saved in the developer
|
|
195
205
|
# dashboard if unset.
|
|
@@ -217,6 +227,7 @@ module Google
|
|
|
217
227
|
|
|
218
228
|
# Update properties of this object
|
|
219
229
|
def update!(**args)
|
|
230
|
+
@block_on_warnings = args[:block_on_warnings] if args.key?(:block_on_warnings)
|
|
220
231
|
@deploy_infos = args[:deploy_infos] if args.key?(:deploy_infos)
|
|
221
232
|
@publish_type = args[:publish_type] if args.key?(:publish_type)
|
|
222
233
|
@skip_review = args[:skip_review] if args.key?(:skip_review)
|
|
@@ -242,6 +253,11 @@ module Google
|
|
|
242
253
|
# @return [String]
|
|
243
254
|
attr_accessor :state
|
|
244
255
|
|
|
256
|
+
# Message containing details on warnings encountered during PublishItem.
|
|
257
|
+
# Corresponds to the JSON property `warningInfo`
|
|
258
|
+
# @return [Google::Apis::ChromewebstoreV2::WarningsInfo]
|
|
259
|
+
attr_accessor :warning_info
|
|
260
|
+
|
|
245
261
|
def initialize(**args)
|
|
246
262
|
update!(**args)
|
|
247
263
|
end
|
|
@@ -251,6 +267,7 @@ module Google
|
|
|
251
267
|
@item_id = args[:item_id] if args.key?(:item_id)
|
|
252
268
|
@name = args[:name] if args.key?(:name)
|
|
253
269
|
@state = args[:state] if args.key?(:state)
|
|
270
|
+
@warning_info = args[:warning_info] if args.key?(:warning_info)
|
|
254
271
|
end
|
|
255
272
|
end
|
|
256
273
|
|
|
@@ -340,6 +357,53 @@ module Google
|
|
|
340
357
|
@upload_state = args[:upload_state] if args.key?(:upload_state)
|
|
341
358
|
end
|
|
342
359
|
end
|
|
360
|
+
|
|
361
|
+
# Represents a single warning encountered during the request.
|
|
362
|
+
class Warning
|
|
363
|
+
include Google::Apis::Core::Hashable
|
|
364
|
+
|
|
365
|
+
# A description of the warning. Developers should use this message to understand
|
|
366
|
+
# the warning and take appropriate action to resolve the issue.
|
|
367
|
+
# Corresponds to the JSON property `description`
|
|
368
|
+
# @return [String]
|
|
369
|
+
attr_accessor :description
|
|
370
|
+
|
|
371
|
+
# The reason for the warning. This is a constant value that identifies the
|
|
372
|
+
# proximate cause of the warning. This should be at most 63 characters and match
|
|
373
|
+
# a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
|
|
374
|
+
# Corresponds to the JSON property `reason`
|
|
375
|
+
# @return [String]
|
|
376
|
+
attr_accessor :reason
|
|
377
|
+
|
|
378
|
+
def initialize(**args)
|
|
379
|
+
update!(**args)
|
|
380
|
+
end
|
|
381
|
+
|
|
382
|
+
# Update properties of this object
|
|
383
|
+
def update!(**args)
|
|
384
|
+
@description = args[:description] if args.key?(:description)
|
|
385
|
+
@reason = args[:reason] if args.key?(:reason)
|
|
386
|
+
end
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
# Message containing details on warnings encountered during PublishItem.
|
|
390
|
+
class WarningsInfo
|
|
391
|
+
include Google::Apis::Core::Hashable
|
|
392
|
+
|
|
393
|
+
# All warnings encountered during the request.
|
|
394
|
+
# Corresponds to the JSON property `warnings`
|
|
395
|
+
# @return [Array<Google::Apis::ChromewebstoreV2::Warning>]
|
|
396
|
+
attr_accessor :warnings
|
|
397
|
+
|
|
398
|
+
def initialize(**args)
|
|
399
|
+
update!(**args)
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# Update properties of this object
|
|
403
|
+
def update!(**args)
|
|
404
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
|
405
|
+
end
|
|
406
|
+
end
|
|
343
407
|
end
|
|
344
408
|
end
|
|
345
409
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ChromewebstoreV2
|
|
18
18
|
# Version of the google-apis-chromewebstore_v2 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.3.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 = "
|
|
25
|
+
REVISION = "20260517"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -94,6 +94,18 @@ module Google
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
class Warning
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
class WarningsInfo
|
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
+
|
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
+
end
|
|
108
|
+
|
|
97
109
|
class CancelSubmissionRequest
|
|
98
110
|
# @private
|
|
99
111
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -149,6 +161,7 @@ module Google
|
|
|
149
161
|
class PublishItemRequest
|
|
150
162
|
# @private
|
|
151
163
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
164
|
+
property :block_on_warnings, as: 'blockOnWarnings'
|
|
152
165
|
collection :deploy_infos, as: 'deployInfos', class: Google::Apis::ChromewebstoreV2::DeployInfo, decorator: Google::Apis::ChromewebstoreV2::DeployInfo::Representation
|
|
153
166
|
|
|
154
167
|
property :publish_type, as: 'publishType'
|
|
@@ -162,6 +175,8 @@ module Google
|
|
|
162
175
|
property :item_id, as: 'itemId'
|
|
163
176
|
property :name, as: 'name'
|
|
164
177
|
property :state, as: 'state'
|
|
178
|
+
property :warning_info, as: 'warningInfo', class: Google::Apis::ChromewebstoreV2::WarningsInfo, decorator: Google::Apis::ChromewebstoreV2::WarningsInfo::Representation
|
|
179
|
+
|
|
165
180
|
end
|
|
166
181
|
end
|
|
167
182
|
|
|
@@ -193,6 +208,22 @@ module Google
|
|
|
193
208
|
property :upload_state, as: 'uploadState'
|
|
194
209
|
end
|
|
195
210
|
end
|
|
211
|
+
|
|
212
|
+
class Warning
|
|
213
|
+
# @private
|
|
214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
215
|
+
property :description, as: 'description'
|
|
216
|
+
property :reason, as: 'reason'
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
class WarningsInfo
|
|
221
|
+
# @private
|
|
222
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
223
|
+
collection :warnings, as: 'warnings', class: Google::Apis::ChromewebstoreV2::Warning, decorator: Google::Apis::ChromewebstoreV2::Warning::Representation
|
|
224
|
+
|
|
225
|
+
end
|
|
226
|
+
end
|
|
196
227
|
end
|
|
197
228
|
end
|
|
198
229
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-chromewebstore_v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.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-chromewebstore_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-chromewebstore_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-chromewebstore_v2/v0.3.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-chromewebstore_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|