google-apis-androidpublisher_v3 0.95.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: 91efc9bdecac39a9f530395b3b2858111de6609621533ee713ac1175dc397415
4
- data.tar.gz: 19b96b040841e7d9206ba0ef8a7a4deff95d9184cbd55771315b51089cc202be
3
+ metadata.gz: ca40ef17cfd003942d0fb94503e452bede82f8658b41d92987d3fda300ce66c5
4
+ data.tar.gz: bc35fd42cc578500473565e94576fcf6e8b9a8c5912d9a76b1f8f860b747d7a7
5
5
  SHA512:
6
- metadata.gz: e048dffd74a135d87d84f5e44b85d7822c943ab5760b90def6e199125b2798c5c48134220ee28d161c8b6dd7f2eb57728c741e0349ee804f2135a316955e5800
7
- data.tar.gz: 9417eb178ad144a9148a28945a9f6cf975b0dbf02e449573a5d990c7df61090c09ee9fcb135403f5a9a8fd3ef057d234418e47fc2501e93360bc17c8128d88fb
6
+ metadata.gz: da18c7806c5f2115ade3752b460dd60815971f1b224b5b44fcccaba6c4991ddbebf6855b5e35aebe245d915226388a1bbe654907770dab0e302b353a2dcc9609
7
+ data.tar.gz: 4c1d97babf41fa5a3e1890736fa8a2f3e1e677f45e1b149625665f21bdc1231c3920d5c1241b1da5383174dccc63a7c4820cc95b0cd2b0b466270ab05a1507bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.96.0 (2026-02-08)
8
+
9
+ * Regenerated from discovery document revision 20260204
10
+
3
11
  ### v0.95.0 (2026-02-01)
4
12
 
5
13
  * Regenerated from discovery document revision 20260129
@@ -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
@@ -1906,6 +1925,16 @@ module Google
1906
1925
  # @return [Google::Apis::AndroidpublisherV3::Money]
1907
1926
  attr_accessor :price
1908
1927
 
1928
+ # Optional. Product tax category code in context. Product tax category
1929
+ # determines the transaction tax rates applied to the product that will be
1930
+ # factored into the price calculation. If not set, tax rates for the default
1931
+ # product tax category will be used. Refer to the [Help Center article](https://
1932
+ # support.google.com/googleplay/android-developer/answer/16408159) for more
1933
+ # information.
1934
+ # Corresponds to the JSON property `productTaxCategoryCode`
1935
+ # @return [String]
1936
+ attr_accessor :product_tax_category_code
1937
+
1909
1938
  def initialize(**args)
1910
1939
  update!(**args)
1911
1940
  end
@@ -1913,6 +1942,7 @@ module Google
1913
1942
  # Update properties of this object
1914
1943
  def update!(**args)
1915
1944
  @price = args[:price] if args.key?(:price)
1945
+ @product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code)
1916
1946
  end
1917
1947
  end
1918
1948
 
@@ -4700,6 +4730,27 @@ module Google
4700
4730
  end
4701
4731
  end
4702
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
+
4703
4754
  # Response message for ListSubscriptionOffers.
4704
4755
  class ListSubscriptionOffersResponse
4705
4756
  include Google::Apis::Core::Hashable
@@ -7491,6 +7542,44 @@ module Google
7491
7542
  end
7492
7543
  end
7493
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
+
7494
7583
  # Object representation for Remote in-app update action type.
7495
7584
  class RemoteInAppUpdate
7496
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.95.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 = "20260129"
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
@@ -2650,6 +2675,7 @@ module Google
2650
2675
  class Representation < Google::Apis::Core::JsonRepresentation
2651
2676
  property :price, as: 'price', class: Google::Apis::AndroidpublisherV3::Money, decorator: Google::Apis::AndroidpublisherV3::Money::Representation
2652
2677
 
2678
+ property :product_tax_category_code, as: 'productTaxCategoryCode'
2653
2679
  end
2654
2680
  end
2655
2681
 
@@ -3476,6 +3502,14 @@ module Google
3476
3502
  end
3477
3503
  end
3478
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
+
3479
3513
  class ListSubscriptionOffersResponse
3480
3514
  # @private
3481
3515
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4298,6 +4332,17 @@ module Google
4298
4332
  end
4299
4333
  end
4300
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
+
4301
4346
  class RemoteInAppUpdate
4302
4347
  # @private
4303
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.95.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.95.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: