google-apis-androidpublisher_v3 0.57.0 → 0.59.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: e86cc9cee8747306b086625bb39f1fc736c53e1b61ffcc370f5b9171120173f7
4
- data.tar.gz: d89bbcf2c6f4e3298d1e5e800ac2d6b93c4dda3fd8f5eb36ecdb9e262e6cdcb4
3
+ metadata.gz: c2001e9919bf3c8a915f0222b8920b138b2db90628790498ad0de5fac0b0fd66
4
+ data.tar.gz: '03838ab10ccf8c6486683547f5d54328c4794a451f860589c4623d6c1f7483ae'
5
5
  SHA512:
6
- metadata.gz: 1f2340a6b058518e1e0dee5c0cb6519f064aaad8df7bbc0ee518b98c1cd39cdb18651eee735912cd1391d5381c036c20b2524c633385e90437f833d8e3fd24ba
7
- data.tar.gz: 2a27ead3b99704a7a23b1679ef9a4f1d7d11eb669ce80335fcc29325da0e863bd8494ddc2ff3bacdca4a71a654779d363c0757bfa9da2681af4ab85947eca0eb
6
+ metadata.gz: 32df0f2626e7ac48c5f60488c5c5eb956b48f2f2a0bec29cd0538c3bebf96e0f2b167f9911aaf0f182713a38c86deaddcb8df69cb831dd94c06b46f4bec332d8
7
+ data.tar.gz: af4a403807f119d682d00a6692b7fe19a8b6ebaa637bc0afc82af2bb7638887a1518ef4efae38f82f3b7af6b453b7d9216f55f3285e77a8cb01949070866485e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.59.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240321
6
+ * Regenerated using generator version 0.14.0
7
+
8
+ ### v0.58.0 (2024-02-23)
9
+
10
+ * Regenerated from discovery document revision 20240222
11
+
3
12
  ### v0.57.0 (2024-02-11)
4
13
 
5
14
  * Regenerated from discovery document revision 20240207
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://developers.google.com/android-publisher) may
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -618,8 +618,7 @@ module Google
618
618
  end
619
619
  end
620
620
 
621
- # Data format for a list of app versions. Only one app version is supported for
622
- # now.
621
+ # Data format for a list of app versions.
623
622
  class AppVersionList
624
623
  include Google::Apis::Core::Hashable
625
624
 
@@ -663,7 +662,7 @@ module Google
663
662
  end
664
663
  end
665
664
 
666
- # Request message for ArchiveSubscription.
665
+ # Deprecated: subscription archiving is not supported.
667
666
  class ArchiveSubscriptionRequest
668
667
  include Google::Apis::Core::Hashable
669
668
 
@@ -4193,6 +4192,12 @@ module Google
4193
4192
  # @return [Fixnum]
4194
4193
  attr_accessor :quantity
4195
4194
 
4195
+ # The quantity eligible for refund, i.e. quantity that hasn't been refunded. The
4196
+ # value reflects quantity-based partial refunds and full refunds.
4197
+ # Corresponds to the JSON property `refundableQuantity`
4198
+ # @return [Fixnum]
4199
+ attr_accessor :refundable_quantity
4200
+
4196
4201
  # ISO 3166-1 alpha-2 billing region code of the user at the time the product was
4197
4202
  # granted.
4198
4203
  # Corresponds to the JSON property `regionCode`
@@ -4218,6 +4223,7 @@ module Google
4218
4223
  @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
4219
4224
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
4220
4225
  @quantity = args[:quantity] if args.key?(:quantity)
4226
+ @refundable_quantity = args[:refundable_quantity] if args.key?(:refundable_quantity)
4221
4227
  @region_code = args[:region_code] if args.key?(:region_code)
4222
4228
  end
4223
4229
  end
@@ -4471,7 +4477,7 @@ module Google
4471
4477
  include Google::Apis::Core::Hashable
4472
4478
 
4473
4479
  # You must tell us if your app contains streaming products to correctly charge
4474
- # US state and local sales tax. Field only supported in United States.
4480
+ # US state and local sales tax. Field only supported in the United States.
4475
4481
  # Corresponds to the JSON property `eligibleForStreamingServiceTaxRate`
4476
4482
  # @return [Boolean]
4477
4483
  attr_accessor :eligible_for_streaming_service_tax_rate
@@ -4847,10 +4853,10 @@ module Google
4847
4853
 
4848
4854
  # Required. Contents of the CSV file containing Data Safety responses. For the
4849
4855
  # format of this file, see the Help Center documentation at https://support.
4850
- # google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%
4851
- # 2Cunderstand-the-csv-format To download an up to date template, follow the
4852
- # steps at https://support.google.com/googleplay/android-developer/answer/
4853
- # 10787469?hl=en#zippy=%2Cexport-to-a-csv-file
4856
+ # google.com/googleplay/android-developer/answer/10787469?#zippy=%2Cunderstand-
4857
+ # the-csv-format To download an up to date template, follow the steps at https://
4858
+ # support.google.com/googleplay/android-developer/answer/10787469?#zippy=%
4859
+ # 2Cexport-to-a-csv-file
4854
4860
  # Corresponds to the JSON property `safetyLabels`
4855
4861
  # @return [String]
4856
4862
  attr_accessor :safety_labels
@@ -5100,9 +5106,7 @@ module Google
5100
5106
  class Subscription
5101
5107
  include Google::Apis::Core::Hashable
5102
5108
 
5103
- # Output only. Whether this subscription is archived. Archived subscriptions are
5104
- # not available to any subscriber any longer, cannot be updated, and are not
5105
- # returned in list requests unless the show archived flag is passed in.
5109
+ # Output only. Deprecated: subscription archiving is not supported.
5106
5110
  # Corresponds to the JSON property `archived`
5107
5111
  # @return [Boolean]
5108
5112
  attr_accessor :archived
@@ -6075,8 +6079,7 @@ module Google
6075
6079
  # @return [Google::Apis::AndroidpublisherV3::Regions]
6076
6080
  attr_accessor :regions
6077
6081
 
6078
- # Data format for a list of app versions. Only one app version is supported for
6079
- # now.
6082
+ # Data format for a list of app versions.
6080
6083
  # Corresponds to the JSON property `versionList`
6081
6084
  # @return [Google::Apis::AndroidpublisherV3::AppVersionList]
6082
6085
  attr_accessor :version_list
@@ -7084,6 +7087,13 @@ module Google
7084
7087
  # @return [String]
7085
7088
  attr_accessor :purchase_token
7086
7089
 
7090
+ # The voided quantity as the result of a quantity-based partial refund. Voided
7091
+ # purchases of quantity-based partial refunds may only be returned when
7092
+ # includeQuantityBasedPartialRefund is set to true.
7093
+ # Corresponds to the JSON property `voidedQuantity`
7094
+ # @return [Fixnum]
7095
+ attr_accessor :voided_quantity
7096
+
7087
7097
  # The reason why the purchase was voided, possible values are: 0. Other 1.
7088
7098
  # Remorse 2. Not_received 3. Defective 4. Accidental_purchase 5. Fraud 6.
7089
7099
  # Friendly_fraud 7. Chargeback
@@ -7113,6 +7123,7 @@ module Google
7113
7123
  @order_id = args[:order_id] if args.key?(:order_id)
7114
7124
  @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
7115
7125
  @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
7126
+ @voided_quantity = args[:voided_quantity] if args.key?(:voided_quantity)
7116
7127
  @voided_reason = args[:voided_reason] if args.key?(:voided_reason)
7117
7128
  @voided_source = args[:voided_source] if args.key?(:voided_source)
7118
7129
  @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.57.0"
19
+ GEM_VERSION = "0.59.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 = "20240207"
25
+ REVISION = "20240321"
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
@@ -2586,10 +2586,7 @@ module Google
2586
2586
  execute_or_queue_command(command, &block)
2587
2587
  end
2588
2588
 
2589
- # Archives a subscription. Can only be done if at least one base plan was active
2590
- # in the past, and no base plan is available for new or existing subscribers
2591
- # currently. This action is irreversible, and the subscription ID will remain
2592
- # reserved.
2589
+ # Deprecated: subscription archiving is not supported.
2593
2590
  # @param [String] package_name
2594
2591
  # Required. The parent app (package name) of the app of the subscription to
2595
2592
  # delete.
@@ -2828,8 +2825,7 @@ module Google
2828
2825
  # provided to `ListSubscriptions` must match the call that provided the page
2829
2826
  # token.
2830
2827
  # @param [Boolean] show_archived
2831
- # Whether archived subscriptions should be included in the response. Defaults to
2832
- # false.
2828
+ # Deprecated: subscription archiving is not supported.
2833
2829
  # @param [String] fields
2834
2830
  # Selector specifying which fields to include in a partial response.
2835
2831
  # @param [String] quota_user
@@ -4098,6 +4094,12 @@ module Google
4098
4094
  # value is current time. Note: This filter is applied on the time at which the
4099
4095
  # record is seen as voided by our systems and not the actual voided time
4100
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.
4101
4103
  # @param [Fixnum] max_results
4102
4104
  # Defines how many results the list operation should return. The default number
4103
4105
  # depends on the resource collection.
@@ -4141,12 +4143,13 @@ module Google
4141
4143
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4142
4144
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4143
4145
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4144
- 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)
4145
4147
  command = make_simple_command(:get, 'androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases', options)
4146
4148
  command.response_representation = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse::Representation
4147
4149
  command.response_class = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse
4148
4150
  command.params['packageName'] = package_name unless package_name.nil?
4149
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?
4150
4153
  command.query['maxResults'] = max_results unless max_results.nil?
4151
4154
  command.query['startIndex'] = start_index unless start_index.nil?
4152
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.57.0
4
+ version: 0.59.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-11 00:00:00.000000000 Z
11
+ date: 2024-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.57.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.59.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Google Play Android Developer API V3