google-apis-androidpublisher_v3 0.96.0 → 0.97.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: 0a2dcb0b67478cd9707c3bb922eaf8eae2caff1c446b6ec254c928486a2eecb5
4
- data.tar.gz: 459427955e1ae2ee21c5ded07900dba0b2ed138c087bd382d960fb12ab94579e
3
+ metadata.gz: ca40ef17cfd003942d0fb94503e452bede82f8658b41d92987d3fda300ce66c5
4
+ data.tar.gz: bc35fd42cc578500473565e94576fcf6e8b9a8c5912d9a76b1f8f860b747d7a7
5
5
  SHA512:
6
- metadata.gz: afcb37897bcb7b1e66cadc590417c248753be46026df3caf8cb43bb0a716e81449a5e9449dc526f4ff1446607ad858eddcbb093dd339c0ac6a2eb94caa099fc0
7
- data.tar.gz: cfa6f5166d21e337cf617fa9fb454cb1b44c667a726d0bd1d3a693525be4d1dd7b16ce4180d4368d95c32e1d10c83849cc14d894cd31de4933ef1e80335e2c41
6
+ metadata.gz: da18c7806c5f2115ade3752b460dd60815971f1b224b5b44fcccaba6c4991ddbebf6855b5e35aebe245d915226388a1bbe654907770dab0e302b353a2dcc9609
7
+ data.tar.gz: 4c1d97babf41fa5a3e1890736fa8a2f3e1e677f45e1b149625665f21bdc1231c3920d5c1241b1da5383174dccc63a7c4820cc95b0cd2b0b466270ab05a1507bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.97.0 (2026-03-15)
4
+
5
+ * Regenerated from discovery document revision 20260312
6
+
3
7
  ### v0.96.0 (2026-02-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20260204
@@ -757,6 +757,25 @@ module Google
757
757
  end
758
758
  end
759
759
 
760
+ # Summary of an artifact.
761
+ class ArtifactSummary
762
+ include Google::Apis::Core::Hashable
763
+
764
+ # The version code of the artifact.
765
+ # Corresponds to the JSON property `versionCode`
766
+ # @return [Fixnum]
767
+ attr_accessor :version_code
768
+
769
+ def initialize(**args)
770
+ update!(**args)
771
+ end
772
+
773
+ # Update properties of this object
774
+ def update!(**args)
775
+ @version_code = args[:version_code] if args.key?(:version_code)
776
+ end
777
+ end
778
+
760
779
  # Metadata of an asset module.
761
780
  class AssetModuleMetadata
762
781
  include Google::Apis::Core::Hashable
@@ -4711,6 +4730,27 @@ module Google
4711
4730
  end
4712
4731
  end
4713
4732
 
4733
+ # Response listing all releases for a given track that are either ready to be
4734
+ # sent for review, in review, approved, not approved or available.
4735
+ class ListReleaseSummariesResponse
4736
+ include Google::Apis::Core::Hashable
4737
+
4738
+ # List of releases for this track. There will be a maximum of 20 releases
4739
+ # returned.
4740
+ # Corresponds to the JSON property `releases`
4741
+ # @return [Array<Google::Apis::AndroidpublisherV3::ReleaseSummary>]
4742
+ attr_accessor :releases
4743
+
4744
+ def initialize(**args)
4745
+ update!(**args)
4746
+ end
4747
+
4748
+ # Update properties of this object
4749
+ def update!(**args)
4750
+ @releases = args[:releases] if args.key?(:releases)
4751
+ end
4752
+ end
4753
+
4714
4754
  # Response message for ListSubscriptionOffers.
4715
4755
  class ListSubscriptionOffersResponse
4716
4756
  include Google::Apis::Core::Hashable
@@ -7502,6 +7542,44 @@ module Google
7502
7542
  end
7503
7543
  end
7504
7544
 
7545
+ # Summary of a release.
7546
+ class ReleaseSummary
7547
+ include Google::Apis::Core::Hashable
7548
+
7549
+ # List of active artifacts on this release.
7550
+ # Corresponds to the JSON property `activeArtifacts`
7551
+ # @return [Array<Google::Apis::AndroidpublisherV3::ArtifactSummary>]
7552
+ attr_accessor :active_artifacts
7553
+
7554
+ # The lifecycle state of a release.
7555
+ # Corresponds to the JSON property `releaseLifecycleState`
7556
+ # @return [String]
7557
+ attr_accessor :release_lifecycle_state
7558
+
7559
+ # Name of the release.
7560
+ # Corresponds to the JSON property `releaseName`
7561
+ # @return [String]
7562
+ attr_accessor :release_name
7563
+
7564
+ # Identifier of the track. More on [track name](https://developers.google.com/
7565
+ # android-publisher/tracks).
7566
+ # Corresponds to the JSON property `track`
7567
+ # @return [String]
7568
+ attr_accessor :track
7569
+
7570
+ def initialize(**args)
7571
+ update!(**args)
7572
+ end
7573
+
7574
+ # Update properties of this object
7575
+ def update!(**args)
7576
+ @active_artifacts = args[:active_artifacts] if args.key?(:active_artifacts)
7577
+ @release_lifecycle_state = args[:release_lifecycle_state] if args.key?(:release_lifecycle_state)
7578
+ @release_name = args[:release_name] if args.key?(:release_name)
7579
+ @track = args[:track] if args.key?(:track)
7580
+ end
7581
+ end
7582
+
7505
7583
  # Object representation for Remote in-app update action type.
7506
7584
  class RemoteInAppUpdate
7507
7585
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidpublisherV3
18
18
  # Version of the google-apis-androidpublisher_v3 gem
19
- GEM_VERSION = "0.96.0"
19
+ GEM_VERSION = "0.97.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 = "20260204"
25
+ REVISION = "20260312"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class ArtifactSummary
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class AssetModuleMetadata
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -970,6 +976,12 @@ module Google
970
976
  include Google::Apis::Core::JsonObjectSupport
971
977
  end
972
978
 
979
+ class ListReleaseSummariesResponse
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
973
985
  class ListSubscriptionOffersResponse
974
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
987
 
@@ -1456,6 +1468,12 @@ module Google
1456
1468
  include Google::Apis::Core::JsonObjectSupport
1457
1469
  end
1458
1470
 
1471
+ class ReleaseSummary
1472
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1473
+
1474
+ include Google::Apis::Core::JsonObjectSupport
1475
+ end
1476
+
1459
1477
  class RemoteInAppUpdate
1460
1478
  class Representation < Google::Apis::Core::JsonRepresentation; end
1461
1479
 
@@ -2233,6 +2251,13 @@ module Google
2233
2251
  end
2234
2252
  end
2235
2253
 
2254
+ class ArtifactSummary
2255
+ # @private
2256
+ class Representation < Google::Apis::Core::JsonRepresentation
2257
+ property :version_code, as: 'versionCode'
2258
+ end
2259
+ end
2260
+
2236
2261
  class AssetModuleMetadata
2237
2262
  # @private
2238
2263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3477,6 +3502,14 @@ module Google
3477
3502
  end
3478
3503
  end
3479
3504
 
3505
+ class ListReleaseSummariesResponse
3506
+ # @private
3507
+ class Representation < Google::Apis::Core::JsonRepresentation
3508
+ collection :releases, as: 'releases', class: Google::Apis::AndroidpublisherV3::ReleaseSummary, decorator: Google::Apis::AndroidpublisherV3::ReleaseSummary::Representation
3509
+
3510
+ end
3511
+ end
3512
+
3480
3513
  class ListSubscriptionOffersResponse
3481
3514
  # @private
3482
3515
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4299,6 +4332,17 @@ module Google
4299
4332
  end
4300
4333
  end
4301
4334
 
4335
+ class ReleaseSummary
4336
+ # @private
4337
+ class Representation < Google::Apis::Core::JsonRepresentation
4338
+ collection :active_artifacts, as: 'activeArtifacts', class: Google::Apis::AndroidpublisherV3::ArtifactSummary, decorator: Google::Apis::AndroidpublisherV3::ArtifactSummary::Representation
4339
+
4340
+ property :release_lifecycle_state, as: 'releaseLifecycleState'
4341
+ property :release_name, as: 'releaseName'
4342
+ property :track, as: 'track'
4343
+ end
4344
+ end
4345
+
4302
4346
  class RemoteInAppUpdate
4303
4347
  # @private
4304
4348
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -197,6 +197,38 @@ module Google
197
197
  execute_or_queue_command(command, &block)
198
198
  end
199
199
 
200
+ # Returns the list of all releases for a given track. This excludes any releases
201
+ # that are obsolete.
202
+ # @param [String] parent
203
+ # Required. The parent track, which owns this collection of releases. Format:
204
+ # applications/`package_name`/tracks/`track`
205
+ # @param [String] fields
206
+ # Selector specifying which fields to include in a partial response.
207
+ # @param [String] quota_user
208
+ # Available to use for quota purposes for server-side applications. Can be any
209
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
210
+ # @param [Google::Apis::RequestOptions] options
211
+ # Request-specific options
212
+ #
213
+ # @yield [result, err] Result & error if block supplied
214
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::ListReleaseSummariesResponse] parsed result object
215
+ # @yieldparam err [StandardError] error object if request failed
216
+ #
217
+ # @return [Google::Apis::AndroidpublisherV3::ListReleaseSummariesResponse]
218
+ #
219
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
220
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
221
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
222
+ def list_application_track_releases(parent, fields: nil, quota_user: nil, options: nil, &block)
223
+ command = make_simple_command(:get, 'androidpublisher/v3/{+parent}/releases', options)
224
+ command.response_representation = Google::Apis::AndroidpublisherV3::ListReleaseSummariesResponse::Representation
225
+ command.response_class = Google::Apis::AndroidpublisherV3::ListReleaseSummariesResponse
226
+ command.params['parent'] = parent unless parent.nil?
227
+ command.query['fields'] = fields unless fields.nil?
228
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
229
+ execute_or_queue_command(command, &block)
230
+ end
231
+
200
232
  # Incrementally update targeting for a recovery action. Note that only the
201
233
  # criteria selected during the creation of recovery action can be expanded.
202
234
  # @param [String] package_name
@@ -384,6 +416,11 @@ module Google
384
416
  # Package name of the app.
385
417
  # @param [String] edit_id
386
418
  # Identifier of the edit.
419
+ # @param [String] changes_in_review_behavior
420
+ # Optional. Specify how the API should behave if there are changes currently in
421
+ # review. If this value is not set, it will default to "
422
+ # CANCEL_IN_REVIEW_AND_SUBMIT", which will cancel the changes in review and then
423
+ # send all the changes for publishing.
387
424
  # @param [Boolean] changes_not_sent_for_review
388
425
  # When a rejection happens, the parameter will make sure that the changes in
389
426
  # this edit won't be reviewed until they are explicitly sent for review from
@@ -406,12 +443,13 @@ module Google
406
443
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
407
444
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
408
445
  # @raise [Google::Apis::AuthorizationError] Authorization is required
409
- def commit_edit(package_name, edit_id, changes_not_sent_for_review: nil, fields: nil, quota_user: nil, options: nil, &block)
446
+ def commit_edit(package_name, edit_id, changes_in_review_behavior: nil, changes_not_sent_for_review: nil, fields: nil, quota_user: nil, options: nil, &block)
410
447
  command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}:commit', options)
411
448
  command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
412
449
  command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
413
450
  command.params['packageName'] = package_name unless package_name.nil?
414
451
  command.params['editId'] = edit_id unless edit_id.nil?
452
+ command.query['changesInReviewBehavior'] = changes_in_review_behavior unless changes_in_review_behavior.nil?
415
453
  command.query['changesNotSentForReview'] = changes_not_sent_for_review unless changes_not_sent_for_review.nil?
416
454
  command.query['fields'] = fields unless fields.nil?
417
455
  command.query['quotaUser'] = quota_user unless quota_user.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidpublisher_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.96.0
4
+ version: 0.97.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-androidpublisher_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.96.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.97.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
62
62
  rdoc_options: []
63
63
  require_paths: