google-apis-androidpublisher_v3 0.90.0 → 0.92.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: 0fde1624bc3aec734403df3f66d7036c28181d24b38552a9a0e3f8258f13e69a
4
- data.tar.gz: ffb1bf94a65a846f70cf9088c316a7454bf403902b193f1d6446a8acaeb4e2ff
3
+ metadata.gz: 96c47f1769e82ba4ffef9bb31e610edbecaffc2cf867ace75d18435fd30030b3
4
+ data.tar.gz: 4a0753bd45d60cd78cb1f0147a1815d540a80bb9798ffb220aac31ce2fab5887
5
5
  SHA512:
6
- metadata.gz: 4a5f12b42a3cd59a0f4b25650c04e44a386fb3fab7ca5d982e495b04d0171a9366254d37b7202de9ad9fc3a4b0f3cccd9674602e55164c54623a30b1553b48ac
7
- data.tar.gz: bb799d1a257d94ff03b672fa320195eca64bc72b6dd50bd7b4936d9d31b7883bd385b04f5bf6f6a31966cd10443c494b25a98c3911f600e181b6f584ca7b8312
6
+ metadata.gz: beb6b35c1205b22c8c4f4a1f1331320a034ad4580457eb5acd78aa85c1cff423e05bc6cbd0975dcf0561537bd1409013f2b108e69d82725754a9f58fc6fe1aae
7
+ data.tar.gz: 3df3c1991b5edef58bb7b750f63cd21754a53a8427b2e59029fd1ea06b750248a99a7ec7b26a2a0e1ae10ec2030d2cc100270ae5da9bd9e676df1758e2526508
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.92.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251211
6
+
7
+ ### v0.91.0 (2025-12-07)
8
+
9
+ * Regenerated from discovery document revision 20251203
10
+
3
11
  ### v0.90.0 (2025-11-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20251124
@@ -812,10 +812,11 @@ module Google
812
812
  class AutoRenewingBasePlanType
813
813
  include Google::Apis::Core::Hashable
814
814
 
815
- # Optional. Account hold period of the subscription, specified in ISO 8601
816
- # format. Acceptable values must be in days and between P0D and P60D. If not
817
- # specified, the default value is P30D. The sum of gracePeriodDuration and
818
- # accountHoldDuration must be between P30D and P60D days, inclusive.
815
+ # Optional. Custom account hold period of the subscription, specified in ISO
816
+ # 8601 format. Acceptable values must be in days and between P0D and P60D. An
817
+ # empty field represents a recommended account hold, calculated as 60 days minus
818
+ # grace period. The sum of gracePeriodDuration and accountHoldDuration must be
819
+ # between P30D and P60D days, inclusive.
819
820
  # Corresponds to the JSON property `accountHoldDuration`
820
821
  # @return [String]
821
822
  attr_accessor :account_hold_duration
@@ -2989,6 +2990,50 @@ module Google
2989
2990
  end
2990
2991
  end
2991
2992
 
2993
+ # Reporting details unique to the external offers program.
2994
+ class ExternalOfferDetails
2995
+ include Google::Apis::Core::Hashable
2996
+
2997
+ # Optional. The external transaction id associated with the app download event
2998
+ # through an external link. Required when reporting transactions made in
2999
+ # externally installed apps.
3000
+ # Corresponds to the JSON property `appDownloadEventExternalTransactionId`
3001
+ # @return [String]
3002
+ attr_accessor :app_download_event_external_transaction_id
3003
+
3004
+ # Optional. The category of the downloaded app though this transaction. This
3005
+ # must match the category provided in Play Console during the external app
3006
+ # verification process. Only required for app downloads.
3007
+ # Corresponds to the JSON property `installedAppCategory`
3008
+ # @return [String]
3009
+ attr_accessor :installed_app_category
3010
+
3011
+ # Optional. The package name of the app downloaded through this transaction.
3012
+ # Required when link_type is LINK_TO_APP_DOWNLOAD.
3013
+ # Corresponds to the JSON property `installedAppPackage`
3014
+ # @return [String]
3015
+ attr_accessor :installed_app_package
3016
+
3017
+ # Optional. The type of content being reported by this transaction. Required
3018
+ # when reporting app downloads or purchased digital content offers made in app
3019
+ # installed through Google Play.
3020
+ # Corresponds to the JSON property `linkType`
3021
+ # @return [String]
3022
+ attr_accessor :link_type
3023
+
3024
+ def initialize(**args)
3025
+ update!(**args)
3026
+ end
3027
+
3028
+ # Update properties of this object
3029
+ def update!(**args)
3030
+ @app_download_event_external_transaction_id = args[:app_download_event_external_transaction_id] if args.key?(:app_download_event_external_transaction_id)
3031
+ @installed_app_category = args[:installed_app_category] if args.key?(:installed_app_category)
3032
+ @installed_app_package = args[:installed_app_package] if args.key?(:installed_app_package)
3033
+ @link_type = args[:link_type] if args.key?(:link_type)
3034
+ end
3035
+ end
3036
+
2992
3037
  # Details of an external subscription.
2993
3038
  class ExternalSubscription
2994
3039
  include Google::Apis::Core::Hashable
@@ -3028,6 +3073,11 @@ module Google
3028
3073
  # @return [Google::Apis::AndroidpublisherV3::Price]
3029
3074
  attr_accessor :current_tax_amount
3030
3075
 
3076
+ # Reporting details unique to the external offers program.
3077
+ # Corresponds to the JSON property `externalOfferDetails`
3078
+ # @return [Google::Apis::AndroidpublisherV3::ExternalOfferDetails]
3079
+ attr_accessor :external_offer_details
3080
+
3031
3081
  # Output only. The id of this transaction. All transaction ids under the same
3032
3082
  # package name must be unique. Set when creating the external transaction.
3033
3083
  # Corresponds to the JSON property `externalTransactionId`
@@ -3103,6 +3153,7 @@ module Google
3103
3153
  @create_time = args[:create_time] if args.key?(:create_time)
3104
3154
  @current_pre_tax_amount = args[:current_pre_tax_amount] if args.key?(:current_pre_tax_amount)
3105
3155
  @current_tax_amount = args[:current_tax_amount] if args.key?(:current_tax_amount)
3156
+ @external_offer_details = args[:external_offer_details] if args.key?(:external_offer_details)
3106
3157
  @external_transaction_id = args[:external_transaction_id] if args.key?(:external_transaction_id)
3107
3158
  @one_time_transaction = args[:one_time_transaction] if args.key?(:one_time_transaction)
3108
3159
  @original_pre_tax_amount = args[:original_pre_tax_amount] if args.key?(:original_pre_tax_amount)
@@ -4130,10 +4181,11 @@ module Google
4130
4181
  class InstallmentsBasePlanType
4131
4182
  include Google::Apis::Core::Hashable
4132
4183
 
4133
- # Optional. Account hold period of the subscription, specified in ISO 8601
4134
- # format. Acceptable values must be in days and between P0D and P60D. If not
4135
- # specified, the default value is P30D. The sum of gracePeriodDuration and
4136
- # accountHoldDuration must be between P30D and P60D days, inclusive.
4184
+ # Optional. Custom account hold period of the subscription, specified in ISO
4185
+ # 8601 format. Acceptable values must be in days and between P0D and P60D. An
4186
+ # empty field represents a recommended account hold, calculated as 60 days minus
4187
+ # grace period. The sum of gracePeriodDuration and accountHoldDuration must be
4188
+ # between P30D and P60D days, inclusive.
4137
4189
  # Corresponds to the JSON property `accountHoldDuration`
4138
4190
  # @return [String]
4139
4191
  attr_accessor :account_hold_duration
@@ -4703,6 +4755,14 @@ module Google
4703
4755
  attr_accessor :is_tokenized_digital_asset
4704
4756
  alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset
4705
4757
 
4758
+ # Product tax category code to assign to the in-app product. Product tax
4759
+ # category determines the transaction tax rates applied to the product. Refer to
4760
+ # the [Help Center article](https://support.google.com/googleplay/android-
4761
+ # developer/answer/16408159) for more information.
4762
+ # Corresponds to the JSON property `productTaxCategoryCode`
4763
+ # @return [String]
4764
+ attr_accessor :product_tax_category_code
4765
+
4706
4766
  # A mapping from region code to tax rate details. The keys are region codes as
4707
4767
  # defined by Unicode's "CLDR".
4708
4768
  # Corresponds to the JSON property `taxRateInfoByRegionCode`
@@ -4717,6 +4777,7 @@ module Google
4717
4777
  def update!(**args)
4718
4778
  @eea_withdrawal_right_type = args[:eea_withdrawal_right_type] if args.key?(:eea_withdrawal_right_type)
4719
4779
  @is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset)
4780
+ @product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code)
4720
4781
  @tax_rate_info_by_region_code = args[:tax_rate_info_by_region_code] if args.key?(:tax_rate_info_by_region_code)
4721
4782
  end
4722
4783
  end
@@ -5592,6 +5653,14 @@ module Google
5592
5653
  attr_accessor :is_tokenized_digital_asset
5593
5654
  alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset
5594
5655
 
5656
+ # Product tax category code to assign to the one-time product. Product tax
5657
+ # category determines the transaction tax rates applied to the product. Refer to
5658
+ # the [Help Center article](https://support.google.com/googleplay/android-
5659
+ # developer/answer/16408159) for more information.
5660
+ # Corresponds to the JSON property `productTaxCategoryCode`
5661
+ # @return [String]
5662
+ attr_accessor :product_tax_category_code
5663
+
5595
5664
  # Regional tax configuration.
5596
5665
  # Corresponds to the JSON property `regionalTaxConfigs`
5597
5666
  # @return [Array<Google::Apis::AndroidpublisherV3::RegionalTaxConfig>]
@@ -5604,6 +5673,7 @@ module Google
5604
5673
  # Update properties of this object
5605
5674
  def update!(**args)
5606
5675
  @is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset)
5676
+ @product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code)
5607
5677
  @regional_tax_configs = args[:regional_tax_configs] if args.key?(:regional_tax_configs)
5608
5678
  end
5609
5679
  end
@@ -8816,6 +8886,14 @@ module Google
8816
8886
  attr_accessor :is_tokenized_digital_asset
8817
8887
  alias_method :is_tokenized_digital_asset?, :is_tokenized_digital_asset
8818
8888
 
8889
+ # Product tax category code to assign to the subscription. Product tax category
8890
+ # determines the transaction tax rates applied to the subscription. Refer to the
8891
+ # [Help Center article](https://support.google.com/googleplay/android-developer/
8892
+ # answer/16408159) for more information.
8893
+ # Corresponds to the JSON property `productTaxCategoryCode`
8894
+ # @return [String]
8895
+ attr_accessor :product_tax_category_code
8896
+
8819
8897
  # A mapping from region code to tax rate details. The keys are region codes as
8820
8898
  # defined by Unicode's "CLDR".
8821
8899
  # Corresponds to the JSON property `taxRateInfoByRegionCode`
@@ -8830,6 +8908,7 @@ module Google
8830
8908
  def update!(**args)
8831
8909
  @eea_withdrawal_right_type = args[:eea_withdrawal_right_type] if args.key?(:eea_withdrawal_right_type)
8832
8910
  @is_tokenized_digital_asset = args[:is_tokenized_digital_asset] if args.key?(:is_tokenized_digital_asset)
8911
+ @product_tax_category_code = args[:product_tax_category_code] if args.key?(:product_tax_category_code)
8833
8912
  @tax_rate_info_by_region_code = args[:tax_rate_info_by_region_code] if args.key?(:tax_rate_info_by_region_code)
8834
8913
  end
8835
8914
  end
@@ -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.90.0"
19
+ GEM_VERSION = "0.92.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251124"
25
+ REVISION = "20251211"
26
26
  end
27
27
  end
28
28
  end
@@ -670,6 +670,12 @@ module Google
670
670
  include Google::Apis::Core::JsonObjectSupport
671
671
  end
672
672
 
673
+ class ExternalOfferDetails
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
673
679
  class ExternalSubscription
674
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
681
 
@@ -2907,6 +2913,16 @@ module Google
2907
2913
  end
2908
2914
  end
2909
2915
 
2916
+ class ExternalOfferDetails
2917
+ # @private
2918
+ class Representation < Google::Apis::Core::JsonRepresentation
2919
+ property :app_download_event_external_transaction_id, as: 'appDownloadEventExternalTransactionId'
2920
+ property :installed_app_category, as: 'installedAppCategory'
2921
+ property :installed_app_package, as: 'installedAppPackage'
2922
+ property :link_type, as: 'linkType'
2923
+ end
2924
+ end
2925
+
2910
2926
  class ExternalSubscription
2911
2927
  # @private
2912
2928
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2922,6 +2938,8 @@ module Google
2922
2938
 
2923
2939
  property :current_tax_amount, as: 'currentTaxAmount', class: Google::Apis::AndroidpublisherV3::Price, decorator: Google::Apis::AndroidpublisherV3::Price::Representation
2924
2940
 
2941
+ property :external_offer_details, as: 'externalOfferDetails', class: Google::Apis::AndroidpublisherV3::ExternalOfferDetails, decorator: Google::Apis::AndroidpublisherV3::ExternalOfferDetails::Representation
2942
+
2925
2943
  property :external_transaction_id, as: 'externalTransactionId'
2926
2944
  property :one_time_transaction, as: 'oneTimeTransaction', class: Google::Apis::AndroidpublisherV3::OneTimeExternalTransaction, decorator: Google::Apis::AndroidpublisherV3::OneTimeExternalTransaction::Representation
2927
2945
 
@@ -3407,6 +3425,7 @@ module Google
3407
3425
  class Representation < Google::Apis::Core::JsonRepresentation
3408
3426
  property :eea_withdrawal_right_type, as: 'eeaWithdrawalRightType'
3409
3427
  property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset'
3428
+ property :product_tax_category_code, as: 'productTaxCategoryCode'
3410
3429
  hash :tax_rate_info_by_region_code, as: 'taxRateInfoByRegionCode', class: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo::Representation
3411
3430
 
3412
3431
  end
@@ -3675,6 +3694,7 @@ module Google
3675
3694
  # @private
3676
3695
  class Representation < Google::Apis::Core::JsonRepresentation
3677
3696
  property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset'
3697
+ property :product_tax_category_code, as: 'productTaxCategoryCode'
3678
3698
  collection :regional_tax_configs, as: 'regionalTaxConfigs', class: Google::Apis::AndroidpublisherV3::RegionalTaxConfig, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxConfig::Representation
3679
3699
 
3680
3700
  end
@@ -4606,6 +4626,7 @@ module Google
4606
4626
  class Representation < Google::Apis::Core::JsonRepresentation
4607
4627
  property :eea_withdrawal_right_type, as: 'eeaWithdrawalRightType'
4608
4628
  property :is_tokenized_digital_asset, as: 'isTokenizedDigitalAsset'
4629
+ property :product_tax_category_code, as: 'productTaxCategoryCode'
4609
4630
  hash :tax_rate_info_by_region_code, as: 'taxRateInfoByRegionCode', class: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo, decorator: Google::Apis::AndroidpublisherV3::RegionalTaxRateInfo::Representation
4610
4631
 
4611
4632
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidpublisher_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.0
4
+ version: 0.92.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.90.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.92.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
62
62
  rdoc_options: []
63
63
  require_paths: