google-apis-androidpublisher_v3 0.35.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: afb9f2ac6f4ee5c2180b0f9ae4fd14fb1ce2323d197b6faff4ab1b66add53fda
4
- data.tar.gz: ecfd1f46d36911c27fabac844f94d85cc2fce92751960ae1356f9604b97849b7
3
+ metadata.gz: 7c20dd45bc01bf208f1ecccb9492678cb16f0191fde0a07cec44510687322a0c
4
+ data.tar.gz: 291fff76abd9cb2cf5cb099f48de4f56b36d38fd90f1251c37aafd531b8eb4ff
5
5
  SHA512:
6
- metadata.gz: b766e0d6174bf481a797659e4e04bf1ed3fce6110715e73f537611953a54e71fde25f2697e1af11da2b7c4ff413b47084cd74848fd15535c33001c2eb150be03
7
- data.tar.gz: a0cc29b1e3d2487e6640a8fa7c4b820419af07d966d5456bd318d9d6d5d7ea92660aaecfaf3d0ed93707c951f1f98e1a522b39847b3a64912093cc5cc1052eaf
6
+ metadata.gz: 72251f40f5703d767fb9d6eceb47d268060018f4de3833d45a914b05a6c6a4e68ed730e59100136958178a79fdd37b42bc6ea3d7286fe0ca818d9405c39cafa9
7
+ data.tar.gz: ae13cd5f17403a922863fece28c90604ad1d2b69edaefd4a3701dd4cdd109a263567fe3d652f2c6304d86372023fd8ed249e3c3d34908b653833f88c12bca134
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.37.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230313
6
+
7
+ ### v0.36.0 (2023-03-12)
8
+
9
+ * Regenerated from discovery document revision 20230308
10
+
3
11
  ### v0.35.0 (2023-03-05)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -801,9 +801,8 @@ module Google
801
801
  end
802
802
  end
803
803
 
804
- # LINT.IfChange A group of devices. A group is defined by a set of device
805
- # selectors. A device belongs to the group if it matches any selector (logical
806
- # OR).
804
+ # A group of devices. A group is defined by a set of device selectors. A device
805
+ # belongs to the group if it matches any selector (logical OR).
807
806
  class DeviceGroup
808
807
  include Google::Apis::Core::Hashable
809
808
 
@@ -1076,8 +1075,7 @@ module Google
1076
1075
  end
1077
1076
  end
1078
1077
 
1079
- # LINT.IfChange Configuration describing device targeting criteria for the
1080
- # content of an app.
1078
+ # Configuration describing device targeting criteria for the content of an app.
1081
1079
  class DeviceTierConfig
1082
1080
  include Google::Apis::Core::Hashable
1083
1081
 
@@ -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.35.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 = "20230208"
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.35.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-05 00:00:00.000000000 Z
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.35.0
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: []