google-apis-androidpublisher_v3 0.36.0 → 0.37.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c20dd45bc01bf208f1ecccb9492678cb16f0191fde0a07cec44510687322a0c
|
4
|
+
data.tar.gz: 291fff76abd9cb2cf5cb099f48de4f56b36d38fd90f1251c37aafd531b8eb4ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72251f40f5703d767fb9d6eceb47d268060018f4de3833d45a914b05a6c6a4e68ed730e59100136958178a79fdd37b42bc6ea3d7286fe0ca818d9405c39cafa9
|
7
|
+
data.tar.gz: ae13cd5f17403a922863fece28c90604ad1d2b69edaefd4a3701dd4cdd109a263567fe3d652f2c6304d86372023fd8ed249e3c3d34908b653833f88c12bca134
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.37.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230313"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2882,6 +2882,41 @@ module Google
|
|
2882
2882
|
execute_or_queue_command(command, &block)
|
2883
2883
|
end
|
2884
2884
|
|
2885
|
+
# Consumes a purchase for an inapp item.
|
2886
|
+
# @param [String] package_name
|
2887
|
+
# The package name of the application the inapp product was sold in (for example,
|
2888
|
+
# 'com.some.thing').
|
2889
|
+
# @param [String] product_id
|
2890
|
+
# The inapp product SKU (for example, 'com.some.thing.inapp1').
|
2891
|
+
# @param [String] token
|
2892
|
+
# The token provided to the user's device when the inapp product was purchased.
|
2893
|
+
# @param [String] fields
|
2894
|
+
# Selector specifying which fields to include in a partial response.
|
2895
|
+
# @param [String] quota_user
|
2896
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2897
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2898
|
+
# @param [Google::Apis::RequestOptions] options
|
2899
|
+
# Request-specific options
|
2900
|
+
#
|
2901
|
+
# @yield [result, err] Result & error if block supplied
|
2902
|
+
# @yieldparam result [NilClass] No result returned for this method
|
2903
|
+
# @yieldparam err [StandardError] error object if request failed
|
2904
|
+
#
|
2905
|
+
# @return [void]
|
2906
|
+
#
|
2907
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2908
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2909
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2910
|
+
def consume_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, options: nil, &block)
|
2911
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume', options)
|
2912
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
2913
|
+
command.params['productId'] = product_id unless product_id.nil?
|
2914
|
+
command.params['token'] = token unless token.nil?
|
2915
|
+
command.query['fields'] = fields unless fields.nil?
|
2916
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2917
|
+
execute_or_queue_command(command, &block)
|
2918
|
+
end
|
2919
|
+
|
2885
2920
|
# Checks the purchase and consumption status of an inapp item.
|
2886
2921
|
# @param [String] package_name
|
2887
2922
|
# The package name of the application the inapp product was sold in (for example,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-androidpublisher_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.37.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|