google-apis-androidpublisher_v3 0.79.0 → 0.81.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.
@@ -2707,13 +2707,13 @@ module Google
2707
2707
  # resource.
2708
2708
  # @param [String] regions_version_version
2709
2709
  # Required. A string representing the version of available regions being used
2710
- # for the specified resource. Regional prices for the resource have to be
2711
- # specified according to the information published in [this article](https://
2712
- # support.google.com/googleplay/android-developer/answer/10532353). Each time
2713
- # the supported locations substantially change, the version will be incremented.
2714
- # Using this field will ensure that creating and updating the resource with an
2715
- # older region's version and set of regional prices and currencies will succeed
2716
- # even though a new version is available. The latest version is 2022/02.
2710
+ # for the specified resource. Regional prices and latest supported version for
2711
+ # the resource have to be specified according to the information published in [
2712
+ # this article](https://support.google.com/googleplay/android-developer/answer/
2713
+ # 10532353). Each time the supported locations substantially change, the version
2714
+ # will be incremented. Using this field will ensure that creating and updating
2715
+ # the resource with an older region's version and set of regional prices and
2716
+ # currencies will succeed even though a new version is available.
2717
2717
  # @param [String] fields
2718
2718
  # Selector specifying which fields to include in a partial response.
2719
2719
  # @param [String] quota_user
@@ -2874,13 +2874,13 @@ module Google
2874
2874
  # Defaults to latency-sensitive.
2875
2875
  # @param [String] regions_version_version
2876
2876
  # Required. A string representing the version of available regions being used
2877
- # for the specified resource. Regional prices for the resource have to be
2878
- # specified according to the information published in [this article](https://
2879
- # support.google.com/googleplay/android-developer/answer/10532353). Each time
2880
- # the supported locations substantially change, the version will be incremented.
2881
- # Using this field will ensure that creating and updating the resource with an
2882
- # older region's version and set of regional prices and currencies will succeed
2883
- # even though a new version is available. The latest version is 2022/02.
2877
+ # for the specified resource. Regional prices and latest supported version for
2878
+ # the resource have to be specified according to the information published in [
2879
+ # this article](https://support.google.com/googleplay/android-developer/answer/
2880
+ # 10532353). Each time the supported locations substantially change, the version
2881
+ # will be incremented. Using this field will ensure that creating and updating
2882
+ # the resource with an older region's version and set of regional prices and
2883
+ # currencies will succeed even though a new version is available.
2884
2884
  # @param [String] update_mask
2885
2885
  # Required. The list of fields to be updated.
2886
2886
  # @param [String] fields
@@ -3355,13 +3355,13 @@ module Google
3355
3355
  # see the documentation of the offer_id field on the SubscriptionOffer resource.
3356
3356
  # @param [String] regions_version_version
3357
3357
  # Required. A string representing the version of available regions being used
3358
- # for the specified resource. Regional prices for the resource have to be
3359
- # specified according to the information published in [this article](https://
3360
- # support.google.com/googleplay/android-developer/answer/10532353). Each time
3361
- # the supported locations substantially change, the version will be incremented.
3362
- # Using this field will ensure that creating and updating the resource with an
3363
- # older region's version and set of regional prices and currencies will succeed
3364
- # even though a new version is available. The latest version is 2022/02.
3358
+ # for the specified resource. Regional prices and latest supported version for
3359
+ # the resource have to be specified according to the information published in [
3360
+ # this article](https://support.google.com/googleplay/android-developer/answer/
3361
+ # 10532353). Each time the supported locations substantially change, the version
3362
+ # will be incremented. Using this field will ensure that creating and updating
3363
+ # the resource with an older region's version and set of regional prices and
3364
+ # currencies will succeed even though a new version is available.
3365
3365
  # @param [String] fields
3366
3366
  # Selector specifying which fields to include in a partial response.
3367
3367
  # @param [String] quota_user
@@ -3589,13 +3589,13 @@ module Google
3589
3589
  # Defaults to latency-sensitive.
3590
3590
  # @param [String] regions_version_version
3591
3591
  # Required. A string representing the version of available regions being used
3592
- # for the specified resource. Regional prices for the resource have to be
3593
- # specified according to the information published in [this article](https://
3594
- # support.google.com/googleplay/android-developer/answer/10532353). Each time
3595
- # the supported locations substantially change, the version will be incremented.
3596
- # Using this field will ensure that creating and updating the resource with an
3597
- # older region's version and set of regional prices and currencies will succeed
3598
- # even though a new version is available. The latest version is 2022/02.
3592
+ # for the specified resource. Regional prices and latest supported version for
3593
+ # the resource have to be specified according to the information published in [
3594
+ # this article](https://support.google.com/googleplay/android-developer/answer/
3595
+ # 10532353). Each time the supported locations substantially change, the version
3596
+ # will be incremented. Using this field will ensure that creating and updating
3597
+ # the resource with an older region's version and set of regional prices and
3598
+ # currencies will succeed even though a new version is available.
3599
3599
  # @param [String] update_mask
3600
3600
  # Required. The list of fields to be updated.
3601
3601
  # @param [String] fields
@@ -3634,6 +3634,78 @@ module Google
3634
3634
  execute_or_queue_command(command, &block)
3635
3635
  end
3636
3636
 
3637
+ # Get order details for a list of orders.
3638
+ # @param [String] package_name
3639
+ # Required. The package name of the application for which this subscription or
3640
+ # in-app item was purchased (for example, 'com.some.thing').
3641
+ # @param [Array<String>, String] order_ids
3642
+ # Required. The list of order IDs to retrieve order details for. There must be
3643
+ # between 1 and 1000 (inclusive) order IDs per request. If any order ID is not
3644
+ # found or does not match the provided package, the entire request will fail
3645
+ # with an error. The order IDs must be distinct.
3646
+ # @param [String] fields
3647
+ # Selector specifying which fields to include in a partial response.
3648
+ # @param [String] quota_user
3649
+ # Available to use for quota purposes for server-side applications. Can be any
3650
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3651
+ # @param [Google::Apis::RequestOptions] options
3652
+ # Request-specific options
3653
+ #
3654
+ # @yield [result, err] Result & error if block supplied
3655
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse] parsed result object
3656
+ # @yieldparam err [StandardError] error object if request failed
3657
+ #
3658
+ # @return [Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse]
3659
+ #
3660
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3661
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3662
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3663
+ def batchget_order(package_name, order_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
3664
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/orders:batchGet', options)
3665
+ command.response_representation = Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse::Representation
3666
+ command.response_class = Google::Apis::AndroidpublisherV3::BatchGetOrdersResponse
3667
+ command.params['packageName'] = package_name unless package_name.nil?
3668
+ command.query['orderIds'] = order_ids unless order_ids.nil?
3669
+ command.query['fields'] = fields unless fields.nil?
3670
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3671
+ execute_or_queue_command(command, &block)
3672
+ end
3673
+
3674
+ # Get order details for a single order.
3675
+ # @param [String] package_name
3676
+ # Required. The package name of the application for which this subscription or
3677
+ # in-app item was purchased (for example, 'com.some.thing').
3678
+ # @param [String] order_id
3679
+ # Required. The order ID provided to the user when the subscription or in-app
3680
+ # order was purchased.
3681
+ # @param [String] fields
3682
+ # Selector specifying which fields to include in a partial response.
3683
+ # @param [String] quota_user
3684
+ # Available to use for quota purposes for server-side applications. Can be any
3685
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3686
+ # @param [Google::Apis::RequestOptions] options
3687
+ # Request-specific options
3688
+ #
3689
+ # @yield [result, err] Result & error if block supplied
3690
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::Order] parsed result object
3691
+ # @yieldparam err [StandardError] error object if request failed
3692
+ #
3693
+ # @return [Google::Apis::AndroidpublisherV3::Order]
3694
+ #
3695
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3696
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3697
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3698
+ def get_order(package_name, order_id, fields: nil, quota_user: nil, options: nil, &block)
3699
+ command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/orders/{orderId}', options)
3700
+ command.response_representation = Google::Apis::AndroidpublisherV3::Order::Representation
3701
+ command.response_class = Google::Apis::AndroidpublisherV3::Order
3702
+ command.params['packageName'] = package_name unless package_name.nil?
3703
+ command.params['orderId'] = order_id unless order_id.nil?
3704
+ command.query['fields'] = fields unless fields.nil?
3705
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3706
+ execute_or_queue_command(command, &block)
3707
+ end
3708
+
3637
3709
  # Refunds a user's subscription or in-app purchase order. Orders older than 3
3638
3710
  # years cannot be refunded.
3639
3711
  # @param [String] package_name
@@ -3789,7 +3861,9 @@ module Google
3789
3861
  # The package name of the application for which this subscription was purchased (
3790
3862
  # for example, 'com.some.thing').
3791
3863
  # @param [String] subscription_id
3792
- # The purchased subscription ID (for example, 'monthly001').
3864
+ # Note: Since May 21, 2025, subscription_id is not required, and not recommended
3865
+ # for subscription with add-ons. The purchased subscription ID (for example, '
3866
+ # monthly001').
3793
3867
  # @param [String] token
3794
3868
  # The token provided to the user's device when the subscription was purchased.
3795
3869
  # @param [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest] subscription_purchases_acknowledge_request_object
@@ -3828,7 +3902,9 @@ module Google
3828
3902
  # The package name of the application for which this subscription was purchased (
3829
3903
  # for example, 'com.some.thing').
3830
3904
  # @param [String] subscription_id
3831
- # The purchased subscription ID (for example, 'monthly001').
3905
+ # Note: Since May 21, 2025, subscription_id is not required, and not recommended
3906
+ # for subscription with add-ons. The purchased subscription ID (for example, '
3907
+ # monthly001').
3832
3908
  # @param [String] token
3833
3909
  # The token provided to the user's device when the subscription was purchased.
3834
3910
  # @param [String] fields
@@ -3898,8 +3974,8 @@ module Google
3898
3974
  execute_or_queue_command(command, &block)
3899
3975
  end
3900
3976
 
3901
- # Checks whether a user's subscription purchase is valid and returns its expiry
3902
- # time.
3977
+ # Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's
3978
+ # subscription purchase is valid and returns its expiry time.
3903
3979
  # @param [String] package_name
3904
3980
  # The package name of the application for which this subscription was purchased (
3905
3981
  # for example, 'com.some.thing').
@@ -3936,8 +4012,9 @@ module Google
3936
4012
  execute_or_queue_command(command, &block)
3937
4013
  end
3938
4014
 
3939
- # Refunds a user's subscription purchase, but the subscription remains valid
3940
- # until its expiration time and it will continue to recur.
4015
+ # Deprecated: Use orders.refund instead. Refunds a user's subscription purchase,
4016
+ # but the subscription remains valid until its expiration time and it will
4017
+ # continue to recur.
3941
4018
  # @param [String] package_name
3942
4019
  # The package name of the application for which this subscription was purchased (
3943
4020
  # for example, 'com.some.thing').
@@ -3972,8 +4049,9 @@ module Google
3972
4049
  execute_or_queue_command(command, &block)
3973
4050
  end
3974
4051
 
3975
- # Refunds and immediately revokes a user's subscription purchase. Access to the
3976
- # subscription will be terminated immediately and it will stop recurring.
4052
+ # Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and
4053
+ # immediately revokes a user's subscription purchase. Access to the subscription
4054
+ # will be terminated immediately and it will stop recurring.
3977
4055
  # @param [String] package_name
3978
4056
  # The package name of the application for which this subscription was purchased (
3979
4057
  # for example, 'com.some.thing').
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.79.0
4
+ version: 0.81.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.79.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.81.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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Google Play Android Developer API V3
79
79
  test_files: []