google-apis-androidpublisher_v3 0.58.0 → 0.60.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: e1610019642e40ef6d062e900a3764c0c37ae9d40a1bdea4ddae2cb0262b456c
4
- data.tar.gz: b70886148bf21d11aa5e33d6e717534141f3f6d772c8e098a990ca479bad0f14
3
+ metadata.gz: 108bdb3cf8a1724ea2d0642e9f862ad8f940eee4d94d6329cf6d83df2540b6de
4
+ data.tar.gz: 9a74871aaf093089e059132cda3984776505d69eb33ea3fc118e68d132886122
5
5
  SHA512:
6
- metadata.gz: 0bb124aa58a8bc8c22efe55ff5a1bdbf0f4e4426c18e0ecbd99727e5c9f8dff5da32d375d55741046a8bef93a20b3492ade19a0f8bca95198bfdada433b1faf6
7
- data.tar.gz: 2a47dfc1d4d712379f6e6a63f914613c32c4536cc5a47931b5766428bef6ee44e0528b6aaf4286ff2042b8b75a86b21dbed01be2679464389085d9b00fe30738
6
+ metadata.gz: 4afb301e0d57936d120f48b4e7f3915f90a9459fcb7b8b0f76fa054ae040ee9ac0319282201c9dd31a91060bba8acff719c81c68621c4da9bcfd1dc07452e7d9
7
+ data.tar.gz: 01373f191fe2fc1585f0f1d682081cfc11c866fb757f31c49d85350f45f221d0e66cf0d851175c03266d689eb4feb736cfa3de64e9bbe3d52a9e6def74ee9eb3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.60.0 (2024-03-31)
4
+
5
+ * Regenerated from discovery document revision 20240328
6
+
7
+ ### v0.59.0 (2024-03-24)
8
+
9
+ * Regenerated from discovery document revision 20240321
10
+ * Regenerated using generator version 0.14.0
11
+
3
12
  ### v0.58.0 (2024-02-23)
4
13
 
5
14
  * Regenerated from discovery document revision 20240222
@@ -3791,7 +3791,8 @@ module Google
3791
3791
  end
3792
3792
  end
3793
3793
 
3794
- # Represents a custom tag specified for base plans and subscription offers.
3794
+ # Represents a custom tag specified for one-time products, purchase options,
3795
+ # base plans and offers.
3795
3796
  class OfferTag
3796
3797
  include Google::Apis::Core::Hashable
3797
3798
 
@@ -4192,6 +4193,12 @@ module Google
4192
4193
  # @return [Fixnum]
4193
4194
  attr_accessor :quantity
4194
4195
 
4196
+ # The quantity eligible for refund, i.e. quantity that hasn't been refunded. The
4197
+ # value reflects quantity-based partial refunds and full refunds.
4198
+ # Corresponds to the JSON property `refundableQuantity`
4199
+ # @return [Fixnum]
4200
+ attr_accessor :refundable_quantity
4201
+
4195
4202
  # ISO 3166-1 alpha-2 billing region code of the user at the time the product was
4196
4203
  # granted.
4197
4204
  # Corresponds to the JSON property `regionCode`
@@ -4217,6 +4224,7 @@ module Google
4217
4224
  @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
4218
4225
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
4219
4226
  @quantity = args[:quantity] if args.key?(:quantity)
4227
+ @refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity)
4220
4228
  @region_code = args[:region_code] if args.key?(:region_code)
4221
4229
  end
4222
4230
  end
@@ -7080,6 +7088,13 @@ module Google
7080
7088
  # @return [String]
7081
7089
  attr_accessor :purchase_token
7082
7090
 
7091
+ # The voided quantity as the result of a quantity-based partial refund. Voided
7092
+ # purchases of quantity-based partial refunds may only be returned when
7093
+ # includeQuantityBasedPartialRefund is set to true.
7094
+ # Corresponds to the JSON property `voidedQuantity`
7095
+ # @return [Fixnum]
7096
+ attr_accessor :voided_quantity
7097
+
7083
7098
  # The reason why the purchase was voided, possible values are: 0. Other 1.
7084
7099
  # Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6.
7085
7100
  # Friendly_fraud 7. Chargeback
@@ -7109,6 +7124,7 @@ module Google
7109
7124
  @order_id = args[:order_id] if args.key?(:order_id)
7110
7125
  @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
7111
7126
  @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
7127
+ @voided_quantity = args[:voided_quantity] if args.key?(:voided_quantity)
7112
7128
  @voided_reason = args[:voided_reason] if args.key?(:voided_reason)
7113
7129
  @voided_source = args[:voided_source] if args.key?(:voided_source)
7114
7130
  @voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis)
@@ -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.58.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240222"
25
+ REVISION = "20240328"
26
26
  end
27
27
  end
28
28
  end
@@ -2665,6 +2665,7 @@ module Google
2665
2665
  property :purchase_token, as: 'purchaseToken'
2666
2666
  property :purchase_type, as: 'purchaseType'
2667
2667
  property :quantity, as: 'quantity'
2668
+ property :refundable_quantity, as: 'refundableQuantity'
2668
2669
  property :region_code, as: 'regionCode'
2669
2670
  end
2670
2671
  end
@@ -3502,6 +3503,7 @@ module Google
3502
3503
  property :order_id, as: 'orderId'
3503
3504
  property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
3504
3505
  property :purchase_token, as: 'purchaseToken'
3506
+ property :voided_quantity, as: 'voidedQuantity'
3505
3507
  property :voided_reason, as: 'voidedReason'
3506
3508
  property :voided_source, as: 'voidedSource'
3507
3509
  property :voided_time_millis, :numeric_string => true, as: 'voidedTimeMillis'
@@ -1819,9 +1819,9 @@ module Google
1819
1819
  # @param [String] external_transaction_id
1820
1820
  # Required. The id to use for the external transaction. Must be unique across
1821
1821
  # all other transactions for the app. This value should be 1-63 characters and
1822
- # valid characters are /a-z0-9_-/. Do not use this field to store any Personally
1823
- # Identifiable Information (PII) such as emails. Attempting to store PII in this
1824
- # field may result in requests being blocked.
1822
+ # valid characters are /a-zA-Z0-9_-/. Do not use this field to store any
1823
+ # Personally Identifiable Information (PII) such as emails. Attempting to store
1824
+ # PII in this field may result in requests being blocked.
1825
1825
  # @param [String] fields
1826
1826
  # Selector specifying which fields to include in a partial response.
1827
1827
  # @param [String] quota_user
@@ -4094,6 +4094,12 @@ module Google
4094
4094
  # value is current time. Note: This filter is applied on the time at which the
4095
4095
  # record is seen as voided by our systems and not the actual voided time
4096
4096
  # returned in the response.
4097
+ # @param [Boolean] include_quantity_based_partial_refund
4098
+ # Optional. Whether to include voided purchases of quantity-based partial
4099
+ # refunds, which are applicable only to multi-quantity purchases. If true,
4100
+ # additional voided purchases may be returned with voidedQuantity that indicates
4101
+ # the refund quantity of a quantity-based partial refund. The default value is
4102
+ # false.
4097
4103
  # @param [Fixnum] max_results
4098
4104
  # Defines how many results the list operation should return. The default number
4099
4105
  # depends on the resource collection.
@@ -4137,12 +4143,13 @@ module Google
4137
4143
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4138
4144
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4139
4145
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4140
- def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
4146
+ def list_purchase_voidedpurchases(package_name, end_time: nil, include_quantity_based_partial_refund: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
4141
4147
  command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases', options)
4142
4148
  command.response_representation = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse::Representation
4143
4149
  command.response_class = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse
4144
4150
  command.params['packageName'] = package_name unless package_name.nil?
4145
4151
  command.query['endTime'] = end_time unless end_time.nil?
4152
+ command.query['includeQuantityBasedPartialRefund'] = include_quantity_based_partial_refund unless include_quantity_based_partial_refund.nil?
4146
4153
  command.query['maxResults'] = max_results unless max_results.nil?
4147
4154
  command.query['startIndex'] = start_index unless start_index.nil?
4148
4155
  command.query['startTime'] = start_time unless start_time.nil?
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.58.0
4
+ version: 0.60.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-31 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.58.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.60.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: []