google-apis-chromewebstore_v2 0.2.0 → 0.4.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: 6c5fa129b4630dfb77e2a9e0400261ab9a119947fadd3c4d9309f2976fdfcb95
4
- data.tar.gz: 02acbf62dcf5d9380caa479a5f7e3067eb5f1093ca1a76fe1f11de39d9a48809
3
+ metadata.gz: 870f5e55c4c8950c0d9b67f622ad1c1ebed996684c13059e4c0910eda3bac09a
4
+ data.tar.gz: 2be29b057599a09d27f8a33e3de93f77c7be3cd67abbf33814554764a5798e5e
5
5
  SHA512:
6
- metadata.gz: dd7cd7018dae1cd742e085b8c20e72a332c1447c384a928716e62b4df35dce46646cf17b77d486b5a212e85aaf83faedfcf05e91922c2642e9e8d2af0c2bb19c
7
- data.tar.gz: 1044dec251dfc0ae393d482e1144fccbdb894584ec3cb4939acbdd941dc0a45767189871a9ed7a966357d160b9c3ef3f0e572c216f90e23056702c9b24d73dbd
6
+ metadata.gz: 630051511015664db7443d2bb538e33c82b769db048aa561702c8937e4715f4cb3c11c0e5e0676db256ff900753e792eea22a694c3a8d563e61de9bdea194950
7
+ data.tar.gz: 4b3039178829a4ee641955fd784c72372e33e3a3d70e6e951b3836812603d404e9d02973144ff965c9adc2da1c354f58c422d4ee01a11a9449bee8072f4e662e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-chromewebstore_v2
2
2
 
3
+ ### v0.4.0 (2026-06-14)
4
+
5
+ * Regenerated from discovery document revision 20260601
6
+ * Regenerated using generator version 0.19.0
7
+
8
+ ### v0.3.0 (2026-05-24)
9
+
10
+ * Regenerated from discovery document revision 20260517
11
+
3
12
  ### v0.2.0 (2025-11-02)
4
13
 
5
14
  * Regenerated from discovery document revision 20251026
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developer.chrome.com/docs/webstore/api) may
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -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,52 @@ 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.
373
+ # Corresponds to the JSON property `reason`
374
+ # @return [String]
375
+ attr_accessor :reason
376
+
377
+ def initialize(**args)
378
+ update!(**args)
379
+ end
380
+
381
+ # Update properties of this object
382
+ def update!(**args)
383
+ @description = args[:description] if args.key?(:description)
384
+ @reason = args[:reason] if args.key?(:reason)
385
+ end
386
+ end
387
+
388
+ # Message containing details on warnings encountered during PublishItem.
389
+ class WarningsInfo
390
+ include Google::Apis::Core::Hashable
391
+
392
+ # All warnings encountered during the request.
393
+ # Corresponds to the JSON property `warnings`
394
+ # @return [Array<Google::Apis::ChromewebstoreV2::Warning>]
395
+ attr_accessor :warnings
396
+
397
+ def initialize(**args)
398
+ update!(**args)
399
+ end
400
+
401
+ # Update properties of this object
402
+ def update!(**args)
403
+ @warnings = args[:warnings] if args.key?(:warnings)
404
+ end
405
+ end
343
406
  end
344
407
  end
345
408
  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.2.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251026"
25
+ REVISION = "20260601"
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.2.0
4
+ version: 0.4.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.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-chromewebstore_v2/v0.4.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:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="