google-apis-androidpublisher_v3 0.36.0 → 0.38.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 769931e407c335db5e2776d1356cba7ea0b32c6aec8210fefa7304ca04a70948
|
4
|
+
data.tar.gz: aaaa67c3dff534d9f2308c2f2fff8def2d51b9cae8ee3237e4665edf088aa672
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8be7121698b2a1bef3ff3820fbc4788b4847fd2fb58c7f613b38ec15fb4fb561445cfc5bd30fb0182a026510603514bd6695da73bd805cae7e3c989c2ea382d6
|
7
|
+
data.tar.gz: 1cd277d08298ad044ff0a6be8b399c209ade7929f9be64e517c5ba35bde27f3a4f92773ad7cfd08814d2afc8c57f05659be93d007c39c1f2baa67685343a5bc5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
2
2
|
|
3
|
+
### v0.38.0 (2023-04-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230327
|
6
|
+
|
7
|
+
### v0.37.0 (2023-03-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230313
|
10
|
+
|
3
11
|
### v0.36.0 (2023-03-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230308
|
@@ -4067,7 +4067,10 @@ module Google
|
|
4067
4067
|
# @return [Array<Google::Apis::AndroidpublisherV3::TrackRelease>]
|
4068
4068
|
attr_accessor :releases
|
4069
4069
|
|
4070
|
-
# Identifier of the track.
|
4070
|
+
# Identifier of the track. Form factor tracks have a special prefix as an
|
4071
|
+
# identifier, for example `wear:production`, `automotive:production`. [More on
|
4072
|
+
# track name](https://developers.google.com/android-publisher/tracks#ff-track-
|
4073
|
+
# name)
|
4071
4074
|
# Corresponds to the JSON property `track`
|
4072
4075
|
# @return [String]
|
4073
4076
|
attr_accessor :track
|
@@ -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.38.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 = "20230327"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1414,7 +1414,8 @@ module Google
|
|
1414
1414
|
# @param [String] edit_id
|
1415
1415
|
# Identifier of the edit.
|
1416
1416
|
# @param [String] track
|
1417
|
-
# Identifier of the track.
|
1417
|
+
# Identifier of the track. [More on track name](https://developers.google.com/
|
1418
|
+
# android-publisher/tracks#ff-track-name)
|
1418
1419
|
# @param [String] fields
|
1419
1420
|
# Selector specifying which fields to include in a partial response.
|
1420
1421
|
# @param [String] quota_user
|
@@ -1483,7 +1484,8 @@ module Google
|
|
1483
1484
|
# @param [String] edit_id
|
1484
1485
|
# Identifier of the edit.
|
1485
1486
|
# @param [String] track
|
1486
|
-
# Identifier of the track.
|
1487
|
+
# Identifier of the track. [More on track name](https://developers.google.com/
|
1488
|
+
# android-publisher/tracks#ff-track-name)
|
1487
1489
|
# @param [Google::Apis::AndroidpublisherV3::Track] track_object
|
1488
1490
|
# @param [String] fields
|
1489
1491
|
# Selector specifying which fields to include in a partial response.
|
@@ -1522,7 +1524,8 @@ module Google
|
|
1522
1524
|
# @param [String] edit_id
|
1523
1525
|
# Identifier of the edit.
|
1524
1526
|
# @param [String] track
|
1525
|
-
# Identifier of the track.
|
1527
|
+
# Identifier of the track. [More on track name](https://developers.google.com/
|
1528
|
+
# android-publisher/tracks#ff-track-name)
|
1526
1529
|
# @param [Google::Apis::AndroidpublisherV3::Track] track_object
|
1527
1530
|
# @param [String] fields
|
1528
1531
|
# Selector specifying which fields to include in a partial response.
|
@@ -2882,6 +2885,41 @@ module Google
|
|
2882
2885
|
execute_or_queue_command(command, &block)
|
2883
2886
|
end
|
2884
2887
|
|
2888
|
+
# Consumes a purchase for an inapp item.
|
2889
|
+
# @param [String] package_name
|
2890
|
+
# The package name of the application the inapp product was sold in (for example,
|
2891
|
+
# 'com.some.thing').
|
2892
|
+
# @param [String] product_id
|
2893
|
+
# The inapp product SKU (for example, 'com.some.thing.inapp1').
|
2894
|
+
# @param [String] token
|
2895
|
+
# The token provided to the user's device when the inapp product was purchased.
|
2896
|
+
# @param [String] fields
|
2897
|
+
# Selector specifying which fields to include in a partial response.
|
2898
|
+
# @param [String] quota_user
|
2899
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2900
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2901
|
+
# @param [Google::Apis::RequestOptions] options
|
2902
|
+
# Request-specific options
|
2903
|
+
#
|
2904
|
+
# @yield [result, err] Result & error if block supplied
|
2905
|
+
# @yieldparam result [NilClass] No result returned for this method
|
2906
|
+
# @yieldparam err [StandardError] error object if request failed
|
2907
|
+
#
|
2908
|
+
# @return [void]
|
2909
|
+
#
|
2910
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2911
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2912
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2913
|
+
def consume_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, options: nil, &block)
|
2914
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:consume', options)
|
2915
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
2916
|
+
command.params['productId'] = product_id unless product_id.nil?
|
2917
|
+
command.params['token'] = token unless token.nil?
|
2918
|
+
command.query['fields'] = fields unless fields.nil?
|
2919
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2920
|
+
execute_or_queue_command(command, &block)
|
2921
|
+
end
|
2922
|
+
|
2885
2923
|
# Checks the purchase and consumption status of an inapp item.
|
2886
2924
|
# @param [String] package_name
|
2887
2925
|
# 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.38.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-
|
11
|
+
date: 2023-04-02 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.38.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: []
|