google-api-python-client 2.177.0__py3-none-any.whl → 2.178.0__py3-none-any.whl

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.
Files changed (117) hide show
  1. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/RECORD +117 -116
  3. googleapiclient/discovery_cache/documents/accessapproval.v1.json +7 -1
  4. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +2 -2
  5. googleapiclient/discovery_cache/documents/aiplatform.v1.json +375 -31
  6. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +713 -47
  7. googleapiclient/discovery_cache/documents/alloydb.v1.json +144 -9
  8. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +144 -9
  9. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +144 -9
  10. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +64 -1
  11. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +30 -1
  12. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +2125 -303
  13. googleapiclient/discovery_cache/documents/apigee.v1.json +6 -6
  14. googleapiclient/discovery_cache/documents/apihub.v1.json +535 -7
  15. googleapiclient/discovery_cache/documents/backupdr.v1.json +12 -18
  16. googleapiclient/discovery_cache/documents/batch.v1.json +13 -7
  17. googleapiclient/discovery_cache/documents/beyondcorp.v1.json +9 -9
  18. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +9 -9
  19. googleapiclient/discovery_cache/documents/biglake.v1.json +1 -1
  20. googleapiclient/discovery_cache/documents/bigquery.v2.json +73 -7
  21. googleapiclient/discovery_cache/documents/bigtableadmin.v2.json +56 -1
  22. googleapiclient/discovery_cache/documents/chat.v1.json +94 -24
  23. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +85 -6
  24. googleapiclient/discovery_cache/documents/cloudbuild.v1.json +2 -2
  25. googleapiclient/discovery_cache/documents/cloudbuild.v2.json +1 -26
  26. googleapiclient/discovery_cache/documents/compute.alpha.json +871 -105
  27. googleapiclient/discovery_cache/documents/compute.beta.json +198 -87
  28. googleapiclient/discovery_cache/documents/compute.v1.json +40 -28
  29. googleapiclient/discovery_cache/documents/connectors.v1.json +6 -1
  30. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +22 -9
  31. googleapiclient/discovery_cache/documents/container.v1.json +52 -2
  32. googleapiclient/discovery_cache/documents/container.v1beta1.json +52 -12
  33. googleapiclient/discovery_cache/documents/content.v2.1.json +2 -2
  34. googleapiclient/discovery_cache/documents/datacatalog.v1.json +1 -2
  35. googleapiclient/discovery_cache/documents/dataplex.v1.json +185 -1
  36. googleapiclient/discovery_cache/documents/datastream.v1.json +51 -1
  37. googleapiclient/discovery_cache/documents/dfareporting.v4.json +1210 -70
  38. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +629 -30
  39. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +904 -77
  40. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +640 -30
  41. googleapiclient/discovery_cache/documents/displayvideo.v2.json +1353 -213
  42. googleapiclient/discovery_cache/documents/displayvideo.v3.json +4 -4
  43. googleapiclient/discovery_cache/documents/displayvideo.v4.json +1366 -214
  44. googleapiclient/discovery_cache/documents/dlp.v2.json +18 -16
  45. googleapiclient/discovery_cache/documents/drive.v3.json +3 -109
  46. googleapiclient/discovery_cache/documents/fcm.v1.json +3 -3
  47. googleapiclient/discovery_cache/documents/file.v1.json +7 -1
  48. googleapiclient/discovery_cache/documents/file.v1beta1.json +7 -1
  49. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +92 -26
  50. googleapiclient/discovery_cache/documents/gkebackup.v1.json +28 -1
  51. googleapiclient/discovery_cache/documents/gkehub.v1.json +13 -7
  52. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +13 -7
  53. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +13 -7
  54. googleapiclient/discovery_cache/documents/gkehub.v2.json +13 -7
  55. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +13 -7
  56. googleapiclient/discovery_cache/documents/gkehub.v2beta.json +13 -7
  57. googleapiclient/discovery_cache/documents/healthcare.v1.json +5 -5
  58. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +5 -5
  59. googleapiclient/discovery_cache/documents/homegraph.v1.json +2 -2
  60. googleapiclient/discovery_cache/documents/iam.v1.json +524 -1
  61. googleapiclient/discovery_cache/documents/iamcredentials.v1.json +21 -1
  62. googleapiclient/discovery_cache/documents/integrations.v1.json +1 -363
  63. googleapiclient/discovery_cache/documents/kmsinventory.v1.json +17 -3
  64. googleapiclient/discovery_cache/documents/looker.v1.json +15 -1
  65. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +35 -35
  66. googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json +2 -2
  67. googleapiclient/discovery_cache/documents/merchantapi.inventories_v1beta.json +9 -7
  68. googleapiclient/discovery_cache/documents/merchantapi.ordertracking_v1beta.json +5 -5
  69. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +8 -8
  70. googleapiclient/discovery_cache/documents/merchantapi.promotions_v1beta.json +2 -2
  71. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +3 -3
  72. googleapiclient/discovery_cache/documents/monitoring.v1.json +4 -4
  73. googleapiclient/discovery_cache/documents/monitoring.v3.json +4 -4
  74. googleapiclient/discovery_cache/documents/mybusinessbusinessinformation.v1.json +6 -1
  75. googleapiclient/discovery_cache/documents/mybusinessverifications.v1.json +76 -1
  76. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +9 -1
  77. googleapiclient/discovery_cache/documents/networksecurity.v1.json +39 -5
  78. googleapiclient/discovery_cache/documents/networksecurity.v1beta1.json +232 -1
  79. googleapiclient/discovery_cache/documents/networkservices.v1.json +13 -11
  80. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +13 -11
  81. googleapiclient/discovery_cache/documents/osconfig.v1.json +24 -1
  82. googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +24 -1
  83. googleapiclient/discovery_cache/documents/redis.v1.json +100 -9
  84. googleapiclient/discovery_cache/documents/redis.v1beta1.json +100 -9
  85. googleapiclient/discovery_cache/documents/retail.v2.json +44 -1
  86. googleapiclient/discovery_cache/documents/retail.v2alpha.json +152 -1
  87. googleapiclient/discovery_cache/documents/retail.v2beta.json +50 -1
  88. googleapiclient/discovery_cache/documents/run.v2.json +4 -7
  89. googleapiclient/discovery_cache/documents/searchads360.v0.json +38 -4
  90. googleapiclient/discovery_cache/documents/securesourcemanager.v1.json +3568 -0
  91. googleapiclient/discovery_cache/documents/securitycenter.v1.json +272 -2
  92. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +272 -2
  93. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +272 -2
  94. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +5 -1
  95. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1beta1.json +5 -1
  96. googleapiclient/discovery_cache/documents/servicenetworking.v1.json +12 -10
  97. googleapiclient/discovery_cache/documents/servicenetworking.v1beta.json +12 -10
  98. googleapiclient/discovery_cache/documents/serviceusage.v1.json +5 -1
  99. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +5 -1
  100. googleapiclient/discovery_cache/documents/storage.v1.json +71 -2
  101. googleapiclient/discovery_cache/documents/testing.v1.json +21 -5
  102. googleapiclient/discovery_cache/documents/texttospeech.v1.json +2 -2
  103. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +2 -2
  104. googleapiclient/discovery_cache/documents/transcoder.v1.json +50 -1
  105. googleapiclient/discovery_cache/documents/videointelligence.v1.json +166 -11
  106. googleapiclient/discovery_cache/documents/videointelligence.v1beta2.json +166 -11
  107. googleapiclient/discovery_cache/documents/videointelligence.v1p1beta1.json +166 -11
  108. googleapiclient/discovery_cache/documents/videointelligence.v1p2beta1.json +166 -11
  109. googleapiclient/discovery_cache/documents/videointelligence.v1p3beta1.json +166 -11
  110. googleapiclient/discovery_cache/documents/vmmigration.v1.json +3 -3
  111. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +3 -3
  112. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +29 -1
  113. googleapiclient/discovery_cache/documents/workstations.v1beta.json +8 -3
  114. googleapiclient/version.py +1 -1
  115. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/WHEEL +0 -0
  116. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/licenses/LICENSE +0 -0
  117. {google_api_python_client-2.177.0.dist-info → google_api_python_client-2.178.0.dist-info}/top_level.txt +0 -0
@@ -2791,254 +2791,215 @@
2791
2791
  }
2792
2792
  },
2793
2793
  "resources": {
2794
- "subscriptions": {
2794
+ "onetimeproducts": {
2795
2795
  "methods": {
2796
- "archive": {
2797
- "deprecated": true,
2798
- "description": "Deprecated: subscription archiving is not supported.",
2799
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive",
2796
+ "batchDelete": {
2797
+ "description": "Deletes one or more one-time products.",
2798
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete",
2800
2799
  "httpMethod": "POST",
2801
- "id": "androidpublisher.monetization.subscriptions.archive",
2800
+ "id": "androidpublisher.monetization.onetimeproducts.batchDelete",
2802
2801
  "parameterOrder": [
2803
- "packageName",
2804
- "productId"
2802
+ "packageName"
2805
2803
  ],
2806
2804
  "parameters": {
2807
2805
  "packageName": {
2808
- "description": "Required. The parent app (package name) of the app of the subscription to delete.",
2809
- "location": "path",
2810
- "required": true,
2811
- "type": "string"
2812
- },
2813
- "productId": {
2814
- "description": "Required. The unique product ID of the subscription to delete.",
2806
+ "description": "Required. The parent app (package name) for which the one-time products should be deleted. Must be equal to the package_name field on all the OneTimeProduct resources.",
2815
2807
  "location": "path",
2816
2808
  "required": true,
2817
2809
  "type": "string"
2818
2810
  }
2819
2811
  },
2820
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive",
2812
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchDelete",
2821
2813
  "request": {
2822
- "$ref": "ArchiveSubscriptionRequest"
2823
- },
2824
- "response": {
2825
- "$ref": "Subscription"
2814
+ "$ref": "BatchDeleteOneTimeProductsRequest"
2826
2815
  },
2827
2816
  "scopes": [
2828
2817
  "https://www.googleapis.com/auth/androidpublisher"
2829
2818
  ]
2830
2819
  },
2831
2820
  "batchGet": {
2832
- "description": "Reads one or more subscriptions.",
2833
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions:batchGet",
2821
+ "description": "Reads one or more one-time products.",
2822
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet",
2834
2823
  "httpMethod": "GET",
2835
- "id": "androidpublisher.monetization.subscriptions.batchGet",
2824
+ "id": "androidpublisher.monetization.onetimeproducts.batchGet",
2836
2825
  "parameterOrder": [
2837
2826
  "packageName"
2838
2827
  ],
2839
2828
  "parameters": {
2840
2829
  "packageName": {
2841
- "description": "Required. The parent app (package name) for which the subscriptions should be retrieved. Must be equal to the package_name field on all the requests.",
2830
+ "description": "Required. The parent app (package name) for which the products should be retrieved. Must be equal to the package_name field on all requests.",
2842
2831
  "location": "path",
2843
2832
  "required": true,
2844
2833
  "type": "string"
2845
2834
  },
2846
2835
  "productIds": {
2847
- "description": "Required. A list of up to 100 subscription product IDs to retrieve. All the IDs must be different.",
2836
+ "description": "Required. A list of up to 100 product IDs to retrieve. All IDs must be different.",
2848
2837
  "location": "query",
2849
2838
  "repeated": true,
2850
2839
  "type": "string"
2851
2840
  }
2852
2841
  },
2853
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions:batchGet",
2842
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchGet",
2854
2843
  "response": {
2855
- "$ref": "BatchGetSubscriptionsResponse"
2844
+ "$ref": "BatchGetOneTimeProductsResponse"
2856
2845
  },
2857
2846
  "scopes": [
2858
2847
  "https://www.googleapis.com/auth/androidpublisher"
2859
2848
  ]
2860
2849
  },
2861
2850
  "batchUpdate": {
2862
- "description": "Updates a batch of subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
2863
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate",
2864
- "httpMethod": "POST",
2865
- "id": "androidpublisher.monetization.subscriptions.batchUpdate",
2866
- "parameterOrder": [
2867
- "packageName"
2868
- ],
2869
- "parameters": {
2870
- "packageName": {
2871
- "description": "Required. The parent app (package name) for which the subscriptions should be updated. Must be equal to the package_name field on all the Subscription resources.",
2872
- "location": "path",
2873
- "required": true,
2874
- "type": "string"
2875
- }
2876
- },
2877
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate",
2878
- "request": {
2879
- "$ref": "BatchUpdateSubscriptionsRequest"
2880
- },
2881
- "response": {
2882
- "$ref": "BatchUpdateSubscriptionsResponse"
2883
- },
2884
- "scopes": [
2885
- "https://www.googleapis.com/auth/androidpublisher"
2886
- ]
2887
- },
2888
- "create": {
2889
- "description": "Creates a new subscription. Newly added base plans will remain in draft state until activated.",
2890
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions",
2851
+ "description": "Creates or updates one or more one-time products.",
2852
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchUpdate",
2891
2853
  "httpMethod": "POST",
2892
- "id": "androidpublisher.monetization.subscriptions.create",
2854
+ "id": "androidpublisher.monetization.onetimeproducts.batchUpdate",
2893
2855
  "parameterOrder": [
2894
2856
  "packageName"
2895
2857
  ],
2896
2858
  "parameters": {
2897
2859
  "packageName": {
2898
- "description": "Required. The parent app (package name) for which the subscription should be created. Must be equal to the package_name field on the Subscription resource.",
2860
+ "description": "Required. The parent app (package name) for which the one-time products should be updated. Must be equal to the package_name field on all the OneTimeProduct resources.",
2899
2861
  "location": "path",
2900
2862
  "required": true,
2901
2863
  "type": "string"
2902
- },
2903
- "productId": {
2904
- "description": "Required. The ID to use for the subscription. For the requirements on this format, see the documentation of the product_id field on the Subscription resource.",
2905
- "location": "query",
2906
- "type": "string"
2907
- },
2908
- "regionsVersion.version": {
2909
- "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
2910
- "location": "query",
2911
- "type": "string"
2912
2864
  }
2913
2865
  },
2914
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions",
2866
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts:batchUpdate",
2915
2867
  "request": {
2916
- "$ref": "Subscription"
2868
+ "$ref": "BatchUpdateOneTimeProductsRequest"
2917
2869
  },
2918
2870
  "response": {
2919
- "$ref": "Subscription"
2871
+ "$ref": "BatchUpdateOneTimeProductsResponse"
2920
2872
  },
2921
2873
  "scopes": [
2922
2874
  "https://www.googleapis.com/auth/androidpublisher"
2923
2875
  ]
2924
2876
  },
2925
2877
  "delete": {
2926
- "description": "Deletes a subscription. A subscription can only be deleted if it has never had a base plan published.",
2927
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
2878
+ "description": "Deletes a one-time product.",
2879
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
2928
2880
  "httpMethod": "DELETE",
2929
- "id": "androidpublisher.monetization.subscriptions.delete",
2881
+ "id": "androidpublisher.monetization.onetimeproducts.delete",
2930
2882
  "parameterOrder": [
2931
2883
  "packageName",
2932
2884
  "productId"
2933
2885
  ],
2934
2886
  "parameters": {
2887
+ "latencyTolerance": {
2888
+ "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
2889
+ "enum": [
2890
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
2891
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
2892
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
2893
+ ],
2894
+ "enumDescriptions": [
2895
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
2896
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
2897
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
2898
+ ],
2899
+ "location": "query",
2900
+ "type": "string"
2901
+ },
2935
2902
  "packageName": {
2936
- "description": "Required. The parent app (package name) of the app of the subscription to delete.",
2903
+ "description": "Required. The parent app (package name) of the one-time product to delete.",
2937
2904
  "location": "path",
2938
2905
  "required": true,
2939
2906
  "type": "string"
2940
2907
  },
2941
2908
  "productId": {
2942
- "description": "Required. The unique product ID of the subscription to delete.",
2909
+ "description": "Required. The one-time product ID of the one-time product to delete.",
2943
2910
  "location": "path",
2944
2911
  "required": true,
2945
2912
  "type": "string"
2946
2913
  }
2947
2914
  },
2948
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
2915
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
2949
2916
  "scopes": [
2950
2917
  "https://www.googleapis.com/auth/androidpublisher"
2951
2918
  ]
2952
2919
  },
2953
2920
  "get": {
2954
- "description": "Reads a single subscription.",
2955
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
2921
+ "description": "Reads a single one-time product.",
2922
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
2956
2923
  "httpMethod": "GET",
2957
- "id": "androidpublisher.monetization.subscriptions.get",
2924
+ "id": "androidpublisher.monetization.onetimeproducts.get",
2958
2925
  "parameterOrder": [
2959
2926
  "packageName",
2960
2927
  "productId"
2961
2928
  ],
2962
2929
  "parameters": {
2963
2930
  "packageName": {
2964
- "description": "Required. The parent app (package name) of the subscription to get.",
2931
+ "description": "Required. The parent app (package name) of the product to retrieve.",
2965
2932
  "location": "path",
2966
2933
  "required": true,
2967
2934
  "type": "string"
2968
2935
  },
2969
2936
  "productId": {
2970
- "description": "Required. The unique product ID of the subscription to get.",
2937
+ "description": "Required. The product ID of the product to retrieve.",
2971
2938
  "location": "path",
2972
2939
  "required": true,
2973
2940
  "type": "string"
2974
2941
  }
2975
2942
  },
2976
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
2943
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}",
2977
2944
  "response": {
2978
- "$ref": "Subscription"
2945
+ "$ref": "OneTimeProduct"
2979
2946
  },
2980
2947
  "scopes": [
2981
2948
  "https://www.googleapis.com/auth/androidpublisher"
2982
2949
  ]
2983
2950
  },
2984
2951
  "list": {
2985
- "description": "Lists all subscriptions under a given app.",
2986
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions",
2952
+ "description": "Lists all one-time products under a given app.",
2953
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts",
2987
2954
  "httpMethod": "GET",
2988
- "id": "androidpublisher.monetization.subscriptions.list",
2955
+ "id": "androidpublisher.monetization.onetimeproducts.list",
2989
2956
  "parameterOrder": [
2990
2957
  "packageName"
2991
2958
  ],
2992
2959
  "parameters": {
2993
2960
  "packageName": {
2994
- "description": "Required. The parent app (package name) for which the subscriptions should be read.",
2961
+ "description": "Required. The parent app (package name) for which the one-time product should be read.",
2995
2962
  "location": "path",
2996
2963
  "required": true,
2997
2964
  "type": "string"
2998
2965
  },
2999
2966
  "pageSize": {
3000
- "description": "The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
2967
+ "description": "Optional. The maximum number of one-time product to return. The service may return fewer than this value. If unspecified, at most 50 one-time products will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
3001
2968
  "format": "int32",
3002
2969
  "location": "query",
3003
2970
  "type": "integer"
3004
2971
  },
3005
2972
  "pageToken": {
3006
- "description": "A page token, received from a previous `ListSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscriptions` must match the call that provided the page token.",
2973
+ "description": "Optional. A page token, received from a previous `ListOneTimeProducts` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOneTimeProducts` must match the call that provided the page token.",
3007
2974
  "location": "query",
3008
2975
  "type": "string"
3009
- },
3010
- "showArchived": {
3011
- "deprecated": true,
3012
- "description": "Deprecated: subscription archiving is not supported.",
3013
- "location": "query",
3014
- "type": "boolean"
3015
2976
  }
3016
2977
  },
3017
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions",
2978
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts",
3018
2979
  "response": {
3019
- "$ref": "ListSubscriptionsResponse"
2980
+ "$ref": "ListOneTimeProductsResponse"
3020
2981
  },
3021
2982
  "scopes": [
3022
2983
  "https://www.googleapis.com/auth/androidpublisher"
3023
2984
  ]
3024
2985
  },
3025
2986
  "patch": {
3026
- "description": "Updates an existing subscription.",
3027
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
2987
+ "description": "Creates or updates a one-time product.",
2988
+ "flatPath": "androidpublisher/v3/applications/{packageName}/onetimeproducts/{productId}",
3028
2989
  "httpMethod": "PATCH",
3029
- "id": "androidpublisher.monetization.subscriptions.patch",
2990
+ "id": "androidpublisher.monetization.onetimeproducts.patch",
3030
2991
  "parameterOrder": [
3031
2992
  "packageName",
3032
2993
  "productId"
3033
2994
  ],
3034
2995
  "parameters": {
3035
2996
  "allowMissing": {
3036
- "description": "Optional. If set to true, and the subscription with the given package_name and product_id doesn't exist, the subscription will be created. If a new subscription is created, update_mask is ignored.",
2997
+ "description": "Optional. If set to true, and the one-time product with the given package_name and product_id doesn't exist, the one-time product will be created. If a new one-time product is created, update_mask is ignored.",
3037
2998
  "location": "query",
3038
2999
  "type": "boolean"
3039
3000
  },
3040
3001
  "latencyTolerance": {
3041
- "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
3002
+ "description": "Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive.",
3042
3003
  "enum": [
3043
3004
  "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
3044
3005
  "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
@@ -3053,13 +3014,13 @@
3053
3014
  "type": "string"
3054
3015
  },
3055
3016
  "packageName": {
3056
- "description": "Immutable. Package name of the parent app.",
3017
+ "description": "Required. Immutable. Package name of the parent app.",
3057
3018
  "location": "path",
3058
3019
  "required": true,
3059
3020
  "type": "string"
3060
3021
  },
3061
3022
  "productId": {
3062
- "description": "Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must be composed of lower-case letters (a-z), numbers (0-9), underscores (_) and dots (.). It must start with a lower-case letter or number, and be between 1 and 40 (inclusive) characters in length.",
3023
+ "description": "Required. Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must start with a number or lowercase letter, and can contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (.).",
3063
3024
  "location": "path",
3064
3025
  "required": true,
3065
3026
  "type": "string"
@@ -3076,12 +3037,12 @@
3076
3037
  "type": "string"
3077
3038
  }
3078
3039
  },
3079
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
3040
+ "path": "androidpublisher/v3/applications/{packageName}/onetimeproducts/{productId}",
3080
3041
  "request": {
3081
- "$ref": "Subscription"
3042
+ "$ref": "OneTimeProduct"
3082
3043
  },
3083
3044
  "response": {
3084
- "$ref": "Subscription"
3045
+ "$ref": "OneTimeProduct"
3085
3046
  },
3086
3047
  "scopes": [
3087
3048
  "https://www.googleapis.com/auth/androidpublisher"
@@ -3089,248 +3050,977 @@
3089
3050
  }
3090
3051
  },
3091
3052
  "resources": {
3092
- "basePlans": {
3053
+ "purchaseOptions": {
3093
3054
  "methods": {
3094
- "activate": {
3095
- "description": "Activates a base plan. Once activated, base plans will be available to new subscribers.",
3096
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate",
3055
+ "batchDelete": {
3056
+ "description": "Deletes purchase options across one or multiple one-time products. By default this operation will fail if there are any existing offers under the deleted purchase options. Use the force parameter to override the default behavior.",
3057
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchDelete",
3097
3058
  "httpMethod": "POST",
3098
- "id": "androidpublisher.monetization.subscriptions.basePlans.activate",
3059
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.batchDelete",
3099
3060
  "parameterOrder": [
3100
3061
  "packageName",
3101
- "productId",
3102
- "basePlanId"
3062
+ "productId"
3103
3063
  ],
3104
3064
  "parameters": {
3105
- "basePlanId": {
3106
- "description": "Required. The unique base plan ID of the base plan to activate.",
3107
- "location": "path",
3108
- "required": true,
3109
- "type": "string"
3110
- },
3111
3065
  "packageName": {
3112
- "description": "Required. The parent app (package name) of the base plan to activate.",
3066
+ "description": "Required. The parent app (package name) of the purchase options to delete.",
3113
3067
  "location": "path",
3114
3068
  "required": true,
3115
3069
  "type": "string"
3116
3070
  },
3117
3071
  "productId": {
3118
- "description": "Required. The parent subscription (ID) of the base plan to activate.",
3072
+ "description": "Required. The product ID of the parent one-time product, if all purchase options to delete belong to the same one-time product. If this batch delete spans multiple one-time products, set this field to \"-\".",
3119
3073
  "location": "path",
3120
3074
  "required": true,
3121
3075
  "type": "string"
3122
3076
  }
3123
3077
  },
3124
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate",
3078
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchDelete",
3125
3079
  "request": {
3126
- "$ref": "ActivateBasePlanRequest"
3127
- },
3128
- "response": {
3129
- "$ref": "Subscription"
3080
+ "$ref": "BatchDeletePurchaseOptionsRequest"
3130
3081
  },
3131
3082
  "scopes": [
3132
3083
  "https://www.googleapis.com/auth/androidpublisher"
3133
3084
  ]
3134
3085
  },
3135
- "batchMigratePrices": {
3136
- "description": "Batch variant of the MigrateBasePlanPrices endpoint. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
3137
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices",
3086
+ "batchUpdateStates": {
3087
+ "description": "Activates or deactivates purchase options across one or multiple one-time products.",
3088
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchUpdateStates",
3138
3089
  "httpMethod": "POST",
3139
- "id": "androidpublisher.monetization.subscriptions.basePlans.batchMigratePrices",
3090
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.batchUpdateStates",
3140
3091
  "parameterOrder": [
3141
3092
  "packageName",
3142
3093
  "productId"
3143
3094
  ],
3144
3095
  "parameters": {
3145
3096
  "packageName": {
3146
- "description": "Required. The parent app (package name) for which the subscriptions should be created or updated. Must be equal to the package_name field on all the Subscription resources.",
3097
+ "description": "Required. The parent app (package name) of the updated purchase options.",
3147
3098
  "location": "path",
3148
3099
  "required": true,
3149
3100
  "type": "string"
3150
3101
  },
3151
3102
  "productId": {
3152
- "description": "Required. The product ID of the parent subscription, if all updated offers belong to the same subscription. If this batch update spans multiple subscriptions, set this field to \"-\". Must be set.",
3103
+ "description": "Required. The product ID of the parent one-time product, if all updated purchase options belong to the same one-time product. If this batch update spans multiple one-time products, set this field to \"-\".",
3153
3104
  "location": "path",
3154
3105
  "required": true,
3155
3106
  "type": "string"
3156
3107
  }
3157
3108
  },
3158
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices",
3109
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions:batchUpdateStates",
3159
3110
  "request": {
3160
- "$ref": "BatchMigrateBasePlanPricesRequest"
3111
+ "$ref": "BatchUpdatePurchaseOptionStatesRequest"
3161
3112
  },
3162
3113
  "response": {
3163
- "$ref": "BatchMigrateBasePlanPricesResponse"
3114
+ "$ref": "BatchUpdatePurchaseOptionStatesResponse"
3164
3115
  },
3165
3116
  "scopes": [
3166
3117
  "https://www.googleapis.com/auth/androidpublisher"
3167
3118
  ]
3119
+ }
3168
3120
  },
3169
- "batchUpdateStates": {
3170
- "description": "Activates or deactivates base plans across one or multiple subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
3171
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates",
3121
+ "resources": {
3122
+ "offers": {
3123
+ "methods": {
3124
+ "activate": {
3125
+ "description": "Activates a one-time product offer.",
3126
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:activate",
3172
3127
  "httpMethod": "POST",
3173
- "id": "androidpublisher.monetization.subscriptions.basePlans.batchUpdateStates",
3128
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.activate",
3174
3129
  "parameterOrder": [
3175
3130
  "packageName",
3176
- "productId"
3131
+ "productId",
3132
+ "purchaseOptionId",
3133
+ "offerId"
3177
3134
  ],
3178
3135
  "parameters": {
3136
+ "offerId": {
3137
+ "description": "Required. The offer ID of the offer to activate.",
3138
+ "location": "path",
3139
+ "required": true,
3140
+ "type": "string"
3141
+ },
3179
3142
  "packageName": {
3180
- "description": "Required. The parent app (package name) of the updated base plans.",
3143
+ "description": "Required. The parent app (package name) of the offer to activate.",
3181
3144
  "location": "path",
3182
3145
  "required": true,
3183
3146
  "type": "string"
3184
3147
  },
3185
3148
  "productId": {
3186
- "description": "Required. The product ID of the parent subscription, if all updated base plans belong to the same subscription. If this batch update spans multiple subscriptions, set this field to \"-\". Must be set.",
3149
+ "description": "Required. The parent one-time product (ID) of the offer to activate.",
3150
+ "location": "path",
3151
+ "required": true,
3152
+ "type": "string"
3153
+ },
3154
+ "purchaseOptionId": {
3155
+ "description": "Required. The parent purchase option (ID) of the offer to activate.",
3187
3156
  "location": "path",
3188
3157
  "required": true,
3189
3158
  "type": "string"
3190
3159
  }
3191
3160
  },
3192
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates",
3161
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:activate",
3193
3162
  "request": {
3194
- "$ref": "BatchUpdateBasePlanStatesRequest"
3163
+ "$ref": "ActivateOneTimeProductOfferRequest"
3195
3164
  },
3196
3165
  "response": {
3197
- "$ref": "BatchUpdateBasePlanStatesResponse"
3166
+ "$ref": "OneTimeProductOffer"
3198
3167
  },
3199
3168
  "scopes": [
3200
3169
  "https://www.googleapis.com/auth/androidpublisher"
3201
3170
  ]
3202
3171
  },
3203
- "deactivate": {
3204
- "description": "Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription",
3205
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate",
3172
+ "batchDelete": {
3173
+ "description": "Deletes one or more one-time product offers.",
3174
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete",
3206
3175
  "httpMethod": "POST",
3207
- "id": "androidpublisher.monetization.subscriptions.basePlans.deactivate",
3176
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchDelete",
3208
3177
  "parameterOrder": [
3209
3178
  "packageName",
3210
3179
  "productId",
3211
- "basePlanId"
3180
+ "purchaseOptionId"
3212
3181
  ],
3213
3182
  "parameters": {
3214
- "basePlanId": {
3215
- "description": "Required. The unique base plan ID of the base plan to deactivate.",
3183
+ "packageName": {
3184
+ "description": "Required. The parent app (package name) of the offers to delete. Must be equal to the package_name field on all the OneTimeProductOffer resources.",
3216
3185
  "location": "path",
3217
3186
  "required": true,
3218
3187
  "type": "string"
3219
3188
  },
3220
- "packageName": {
3221
- "description": "Required. The parent app (package name) of the base plan to deactivate.",
3189
+ "productId": {
3190
+ "description": "Required. The product ID of the parent one-time product, if all offers to delete belong to the same product. If this request spans multiple one-time products, set this field to \"-\".",
3222
3191
  "location": "path",
3223
3192
  "required": true,
3224
3193
  "type": "string"
3225
3194
  },
3226
- "productId": {
3227
- "description": "Required. The parent subscription (ID) of the base plan to deactivate.",
3195
+ "purchaseOptionId": {
3196
+ "description": "Required. The parent purchase option (ID) for which the offers should be deleted. May be specified as '-' to update offers from multiple purchase options.",
3228
3197
  "location": "path",
3229
3198
  "required": true,
3230
3199
  "type": "string"
3231
3200
  }
3232
3201
  },
3233
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate",
3202
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchDelete",
3234
3203
  "request": {
3235
- "$ref": "DeactivateBasePlanRequest"
3236
- },
3237
- "response": {
3238
- "$ref": "Subscription"
3204
+ "$ref": "BatchDeleteOneTimeProductOffersRequest"
3239
3205
  },
3240
3206
  "scopes": [
3241
3207
  "https://www.googleapis.com/auth/androidpublisher"
3242
3208
  ]
3243
3209
  },
3244
- "delete": {
3245
- "description": "Deletes a base plan. Can only be done for draft base plans. This action is irreversible.",
3246
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}",
3247
- "httpMethod": "DELETE",
3248
- "id": "androidpublisher.monetization.subscriptions.basePlans.delete",
3210
+ "batchGet": {
3211
+ "description": "Reads one or more one-time product offers.",
3212
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchGet",
3213
+ "httpMethod": "POST",
3214
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchGet",
3249
3215
  "parameterOrder": [
3250
3216
  "packageName",
3251
3217
  "productId",
3252
- "basePlanId"
3218
+ "purchaseOptionId"
3253
3219
  ],
3254
3220
  "parameters": {
3255
- "basePlanId": {
3256
- "description": "Required. The unique offer ID of the base plan to delete.",
3221
+ "packageName": {
3222
+ "description": "Required. The parent app (package name) of the updated offers. Must be equal to the package_name field on all the updated OneTimeProductOffer resources.",
3257
3223
  "location": "path",
3258
3224
  "required": true,
3259
3225
  "type": "string"
3260
3226
  },
3261
- "packageName": {
3262
- "description": "Required. The parent app (package name) of the base plan to delete.",
3227
+ "productId": {
3228
+ "description": "Required. The product ID of the parent one-time product, if all updated offers belong to the same product. If this request spans multiple one-time products, set this field to \"-\".",
3263
3229
  "location": "path",
3264
3230
  "required": true,
3265
3231
  "type": "string"
3266
3232
  },
3267
- "productId": {
3268
- "description": "Required. The parent subscription (ID) of the base plan to delete.",
3233
+ "purchaseOptionId": {
3234
+ "description": "Required. The parent purchase option (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple purchase options.",
3269
3235
  "location": "path",
3270
3236
  "required": true,
3271
3237
  "type": "string"
3272
3238
  }
3273
3239
  },
3274
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}",
3240
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchGet",
3241
+ "request": {
3242
+ "$ref": "BatchGetOneTimeProductOffersRequest"
3243
+ },
3244
+ "response": {
3245
+ "$ref": "BatchGetOneTimeProductOffersResponse"
3246
+ },
3275
3247
  "scopes": [
3276
3248
  "https://www.googleapis.com/auth/androidpublisher"
3277
3249
  ]
3278
3250
  },
3279
- "migratePrices": {
3280
- "description": "Migrates subscribers from one or more legacy price cohorts to the current price. Requests result in Google Play notifying affected subscribers. Only up to 250 simultaneous legacy price cohorts are supported.",
3281
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices",
3251
+ "batchUpdate": {
3252
+ "description": "Creates or updates one or more one-time product offers.",
3253
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdate",
3282
3254
  "httpMethod": "POST",
3283
- "id": "androidpublisher.monetization.subscriptions.basePlans.migratePrices",
3255
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdate",
3284
3256
  "parameterOrder": [
3285
3257
  "packageName",
3286
3258
  "productId",
3287
- "basePlanId"
3259
+ "purchaseOptionId"
3288
3260
  ],
3289
3261
  "parameters": {
3290
- "basePlanId": {
3291
- "description": "Required. The unique base plan ID of the base plan to update prices on.",
3262
+ "packageName": {
3263
+ "description": "Required. The parent app (package name) of the updated offers. Must be equal to the package_name field on all the updated OneTimeProductOffer resources.",
3292
3264
  "location": "path",
3293
3265
  "required": true,
3294
3266
  "type": "string"
3295
3267
  },
3296
- "packageName": {
3297
- "description": "Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource.",
3268
+ "productId": {
3269
+ "description": "Required. The product ID of the parent one-time product, if all updated offers belong to the same product. If this request spans multiple one-time products, set this field to \"-\".",
3298
3270
  "location": "path",
3299
3271
  "required": true,
3300
3272
  "type": "string"
3301
3273
  },
3302
- "productId": {
3303
- "description": "Required. The ID of the subscription to update. Must be equal to the product_id field on the Subscription resource.",
3274
+ "purchaseOptionId": {
3275
+ "description": "Required. The parent purchase option (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple purchase options.",
3304
3276
  "location": "path",
3305
3277
  "required": true,
3306
3278
  "type": "string"
3307
3279
  }
3308
3280
  },
3309
- "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices",
3281
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdate",
3310
3282
  "request": {
3311
- "$ref": "MigrateBasePlanPricesRequest"
3283
+ "$ref": "BatchUpdateOneTimeProductOffersRequest"
3312
3284
  },
3313
3285
  "response": {
3314
- "$ref": "MigrateBasePlanPricesResponse"
3286
+ "$ref": "BatchUpdateOneTimeProductOffersResponse"
3315
3287
  },
3316
3288
  "scopes": [
3317
3289
  "https://www.googleapis.com/auth/androidpublisher"
3318
3290
  ]
3319
- }
3320
3291
  },
3321
- "resources": {
3322
- "offers": {
3323
- "methods": {
3324
- "activate": {
3325
- "description": "Activates a subscription offer. Once activated, subscription offers will be available to new subscribers.",
3326
- "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:activate",
3292
+ "batchUpdateStates": {
3293
+ "description": "Updates a batch of one-time product offer states.",
3294
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdateStates",
3327
3295
  "httpMethod": "POST",
3328
- "id": "androidpublisher.monetization.subscriptions.basePlans.offers.activate",
3296
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.batchUpdateStates",
3329
3297
  "parameterOrder": [
3330
3298
  "packageName",
3331
3299
  "productId",
3332
- "basePlanId",
3333
- "offerId"
3300
+ "purchaseOptionId"
3301
+ ],
3302
+ "parameters": {
3303
+ "packageName": {
3304
+ "description": "Required. The parent app (package name) of the updated one-time product offers.",
3305
+ "location": "path",
3306
+ "required": true,
3307
+ "type": "string"
3308
+ },
3309
+ "productId": {
3310
+ "description": "Required. The product ID of the parent one-time product, if all updated offers belong to the same one-time product. If this batch update spans multiple one-time products, set this field to \"-\".",
3311
+ "location": "path",
3312
+ "required": true,
3313
+ "type": "string"
3314
+ },
3315
+ "purchaseOptionId": {
3316
+ "description": "Required. The purchase option ID of the parent purchase option, if all updated offers belong to the same purchase option. If this batch update spans multiple purchase options, set this field to \"-\".",
3317
+ "location": "path",
3318
+ "required": true,
3319
+ "type": "string"
3320
+ }
3321
+ },
3322
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers:batchUpdateStates",
3323
+ "request": {
3324
+ "$ref": "BatchUpdateOneTimeProductOfferStatesRequest"
3325
+ },
3326
+ "response": {
3327
+ "$ref": "BatchUpdateOneTimeProductOfferStatesResponse"
3328
+ },
3329
+ "scopes": [
3330
+ "https://www.googleapis.com/auth/androidpublisher"
3331
+ ]
3332
+ },
3333
+ "cancel": {
3334
+ "description": "Cancels a one-time product offer.",
3335
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel",
3336
+ "httpMethod": "POST",
3337
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.cancel",
3338
+ "parameterOrder": [
3339
+ "packageName",
3340
+ "productId",
3341
+ "purchaseOptionId",
3342
+ "offerId"
3343
+ ],
3344
+ "parameters": {
3345
+ "offerId": {
3346
+ "description": "Required. The offer ID of the offer to cancel.",
3347
+ "location": "path",
3348
+ "required": true,
3349
+ "type": "string"
3350
+ },
3351
+ "packageName": {
3352
+ "description": "Required. The parent app (package name) of the offer to cancel.",
3353
+ "location": "path",
3354
+ "required": true,
3355
+ "type": "string"
3356
+ },
3357
+ "productId": {
3358
+ "description": "Required. The parent one-time product (ID) of the offer to cancel.",
3359
+ "location": "path",
3360
+ "required": true,
3361
+ "type": "string"
3362
+ },
3363
+ "purchaseOptionId": {
3364
+ "description": "Required. The parent purchase option (ID) of the offer to cancel.",
3365
+ "location": "path",
3366
+ "required": true,
3367
+ "type": "string"
3368
+ }
3369
+ },
3370
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:cancel",
3371
+ "request": {
3372
+ "$ref": "CancelOneTimeProductOfferRequest"
3373
+ },
3374
+ "response": {
3375
+ "$ref": "OneTimeProductOffer"
3376
+ },
3377
+ "scopes": [
3378
+ "https://www.googleapis.com/auth/androidpublisher"
3379
+ ]
3380
+ },
3381
+ "deactivate": {
3382
+ "description": "Deactivates a one-time product offer.",
3383
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate",
3384
+ "httpMethod": "POST",
3385
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.deactivate",
3386
+ "parameterOrder": [
3387
+ "packageName",
3388
+ "productId",
3389
+ "purchaseOptionId",
3390
+ "offerId"
3391
+ ],
3392
+ "parameters": {
3393
+ "offerId": {
3394
+ "description": "Required. The offer ID of the offer to deactivate.",
3395
+ "location": "path",
3396
+ "required": true,
3397
+ "type": "string"
3398
+ },
3399
+ "packageName": {
3400
+ "description": "Required. The parent app (package name) of the offer to deactivate.",
3401
+ "location": "path",
3402
+ "required": true,
3403
+ "type": "string"
3404
+ },
3405
+ "productId": {
3406
+ "description": "Required. The parent one-time product (ID) of the offer to deactivate.",
3407
+ "location": "path",
3408
+ "required": true,
3409
+ "type": "string"
3410
+ },
3411
+ "purchaseOptionId": {
3412
+ "description": "Required. The parent purchase option (ID) of the offer to deactivate.",
3413
+ "location": "path",
3414
+ "required": true,
3415
+ "type": "string"
3416
+ }
3417
+ },
3418
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers/{offerId}:deactivate",
3419
+ "request": {
3420
+ "$ref": "DeactivateOneTimeProductOfferRequest"
3421
+ },
3422
+ "response": {
3423
+ "$ref": "OneTimeProductOffer"
3424
+ },
3425
+ "scopes": [
3426
+ "https://www.googleapis.com/auth/androidpublisher"
3427
+ ]
3428
+ },
3429
+ "list": {
3430
+ "description": "Lists all offers under a given app, product, or purchase option.",
3431
+ "flatPath": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers",
3432
+ "httpMethod": "GET",
3433
+ "id": "androidpublisher.monetization.onetimeproducts.purchaseOptions.offers.list",
3434
+ "parameterOrder": [
3435
+ "packageName",
3436
+ "productId",
3437
+ "purchaseOptionId"
3438
+ ],
3439
+ "parameters": {
3440
+ "packageName": {
3441
+ "description": "Required. The parent app (package name) for which the offers should be read.",
3442
+ "location": "path",
3443
+ "required": true,
3444
+ "type": "string"
3445
+ },
3446
+ "pageSize": {
3447
+ "description": "Optional. The maximum number of offers to return. The service may return fewer than this value. If unspecified, at most 50 offers will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
3448
+ "format": "int32",
3449
+ "location": "query",
3450
+ "type": "integer"
3451
+ },
3452
+ "pageToken": {
3453
+ "description": "Optional. A page token, received from a previous `ListOneTimeProductsOffers` call. Provide this to retrieve the subsequent page. When paginating, product_id, package_name and purchase_option_id provided to `ListOneTimeProductsOffersRequest` must match the call that provided the page token.",
3454
+ "location": "query",
3455
+ "type": "string"
3456
+ },
3457
+ "productId": {
3458
+ "description": "Required. The parent one-time product (ID) for which the offers should be read. May be specified as '-' to read all offers under an app.",
3459
+ "location": "path",
3460
+ "required": true,
3461
+ "type": "string"
3462
+ },
3463
+ "purchaseOptionId": {
3464
+ "description": "Required. The parent purchase option (ID) for which the offers should be read. May be specified as '-' to read all offers under a one-time product or an app. Must be specified as '-' if product_id is specified as '-'.",
3465
+ "location": "path",
3466
+ "required": true,
3467
+ "type": "string"
3468
+ }
3469
+ },
3470
+ "path": "androidpublisher/v3/applications/{packageName}/oneTimeProducts/{productId}/purchaseOptions/{purchaseOptionId}/offers",
3471
+ "response": {
3472
+ "$ref": "ListOneTimeProductOffersResponse"
3473
+ },
3474
+ "scopes": [
3475
+ "https://www.googleapis.com/auth/androidpublisher"
3476
+ ]
3477
+ }
3478
+ }
3479
+ }
3480
+ }
3481
+ }
3482
+ }
3483
+ },
3484
+ "subscriptions": {
3485
+ "methods": {
3486
+ "archive": {
3487
+ "deprecated": true,
3488
+ "description": "Deprecated: subscription archiving is not supported.",
3489
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive",
3490
+ "httpMethod": "POST",
3491
+ "id": "androidpublisher.monetization.subscriptions.archive",
3492
+ "parameterOrder": [
3493
+ "packageName",
3494
+ "productId"
3495
+ ],
3496
+ "parameters": {
3497
+ "packageName": {
3498
+ "description": "Required. The parent app (package name) of the app of the subscription to delete.",
3499
+ "location": "path",
3500
+ "required": true,
3501
+ "type": "string"
3502
+ },
3503
+ "productId": {
3504
+ "description": "Required. The unique product ID of the subscription to delete.",
3505
+ "location": "path",
3506
+ "required": true,
3507
+ "type": "string"
3508
+ }
3509
+ },
3510
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive",
3511
+ "request": {
3512
+ "$ref": "ArchiveSubscriptionRequest"
3513
+ },
3514
+ "response": {
3515
+ "$ref": "Subscription"
3516
+ },
3517
+ "scopes": [
3518
+ "https://www.googleapis.com/auth/androidpublisher"
3519
+ ]
3520
+ },
3521
+ "batchGet": {
3522
+ "description": "Reads one or more subscriptions.",
3523
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions:batchGet",
3524
+ "httpMethod": "GET",
3525
+ "id": "androidpublisher.monetization.subscriptions.batchGet",
3526
+ "parameterOrder": [
3527
+ "packageName"
3528
+ ],
3529
+ "parameters": {
3530
+ "packageName": {
3531
+ "description": "Required. The parent app (package name) for which the subscriptions should be retrieved. Must be equal to the package_name field on all the requests.",
3532
+ "location": "path",
3533
+ "required": true,
3534
+ "type": "string"
3535
+ },
3536
+ "productIds": {
3537
+ "description": "Required. A list of up to 100 subscription product IDs to retrieve. All the IDs must be different.",
3538
+ "location": "query",
3539
+ "repeated": true,
3540
+ "type": "string"
3541
+ }
3542
+ },
3543
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions:batchGet",
3544
+ "response": {
3545
+ "$ref": "BatchGetSubscriptionsResponse"
3546
+ },
3547
+ "scopes": [
3548
+ "https://www.googleapis.com/auth/androidpublisher"
3549
+ ]
3550
+ },
3551
+ "batchUpdate": {
3552
+ "description": "Updates a batch of subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
3553
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate",
3554
+ "httpMethod": "POST",
3555
+ "id": "androidpublisher.monetization.subscriptions.batchUpdate",
3556
+ "parameterOrder": [
3557
+ "packageName"
3558
+ ],
3559
+ "parameters": {
3560
+ "packageName": {
3561
+ "description": "Required. The parent app (package name) for which the subscriptions should be updated. Must be equal to the package_name field on all the Subscription resources.",
3562
+ "location": "path",
3563
+ "required": true,
3564
+ "type": "string"
3565
+ }
3566
+ },
3567
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions:batchUpdate",
3568
+ "request": {
3569
+ "$ref": "BatchUpdateSubscriptionsRequest"
3570
+ },
3571
+ "response": {
3572
+ "$ref": "BatchUpdateSubscriptionsResponse"
3573
+ },
3574
+ "scopes": [
3575
+ "https://www.googleapis.com/auth/androidpublisher"
3576
+ ]
3577
+ },
3578
+ "create": {
3579
+ "description": "Creates a new subscription. Newly added base plans will remain in draft state until activated.",
3580
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions",
3581
+ "httpMethod": "POST",
3582
+ "id": "androidpublisher.monetization.subscriptions.create",
3583
+ "parameterOrder": [
3584
+ "packageName"
3585
+ ],
3586
+ "parameters": {
3587
+ "packageName": {
3588
+ "description": "Required. The parent app (package name) for which the subscription should be created. Must be equal to the package_name field on the Subscription resource.",
3589
+ "location": "path",
3590
+ "required": true,
3591
+ "type": "string"
3592
+ },
3593
+ "productId": {
3594
+ "description": "Required. The ID to use for the subscription. For the requirements on this format, see the documentation of the product_id field on the Subscription resource.",
3595
+ "location": "query",
3596
+ "type": "string"
3597
+ },
3598
+ "regionsVersion.version": {
3599
+ "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
3600
+ "location": "query",
3601
+ "type": "string"
3602
+ }
3603
+ },
3604
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions",
3605
+ "request": {
3606
+ "$ref": "Subscription"
3607
+ },
3608
+ "response": {
3609
+ "$ref": "Subscription"
3610
+ },
3611
+ "scopes": [
3612
+ "https://www.googleapis.com/auth/androidpublisher"
3613
+ ]
3614
+ },
3615
+ "delete": {
3616
+ "description": "Deletes a subscription. A subscription can only be deleted if it has never had a base plan published.",
3617
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
3618
+ "httpMethod": "DELETE",
3619
+ "id": "androidpublisher.monetization.subscriptions.delete",
3620
+ "parameterOrder": [
3621
+ "packageName",
3622
+ "productId"
3623
+ ],
3624
+ "parameters": {
3625
+ "packageName": {
3626
+ "description": "Required. The parent app (package name) of the app of the subscription to delete.",
3627
+ "location": "path",
3628
+ "required": true,
3629
+ "type": "string"
3630
+ },
3631
+ "productId": {
3632
+ "description": "Required. The unique product ID of the subscription to delete.",
3633
+ "location": "path",
3634
+ "required": true,
3635
+ "type": "string"
3636
+ }
3637
+ },
3638
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
3639
+ "scopes": [
3640
+ "https://www.googleapis.com/auth/androidpublisher"
3641
+ ]
3642
+ },
3643
+ "get": {
3644
+ "description": "Reads a single subscription.",
3645
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
3646
+ "httpMethod": "GET",
3647
+ "id": "androidpublisher.monetization.subscriptions.get",
3648
+ "parameterOrder": [
3649
+ "packageName",
3650
+ "productId"
3651
+ ],
3652
+ "parameters": {
3653
+ "packageName": {
3654
+ "description": "Required. The parent app (package name) of the subscription to get.",
3655
+ "location": "path",
3656
+ "required": true,
3657
+ "type": "string"
3658
+ },
3659
+ "productId": {
3660
+ "description": "Required. The unique product ID of the subscription to get.",
3661
+ "location": "path",
3662
+ "required": true,
3663
+ "type": "string"
3664
+ }
3665
+ },
3666
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
3667
+ "response": {
3668
+ "$ref": "Subscription"
3669
+ },
3670
+ "scopes": [
3671
+ "https://www.googleapis.com/auth/androidpublisher"
3672
+ ]
3673
+ },
3674
+ "list": {
3675
+ "description": "Lists all subscriptions under a given app.",
3676
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions",
3677
+ "httpMethod": "GET",
3678
+ "id": "androidpublisher.monetization.subscriptions.list",
3679
+ "parameterOrder": [
3680
+ "packageName"
3681
+ ],
3682
+ "parameters": {
3683
+ "packageName": {
3684
+ "description": "Required. The parent app (package name) for which the subscriptions should be read.",
3685
+ "location": "path",
3686
+ "required": true,
3687
+ "type": "string"
3688
+ },
3689
+ "pageSize": {
3690
+ "description": "The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
3691
+ "format": "int32",
3692
+ "location": "query",
3693
+ "type": "integer"
3694
+ },
3695
+ "pageToken": {
3696
+ "description": "A page token, received from a previous `ListSubscriptions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListSubscriptions` must match the call that provided the page token.",
3697
+ "location": "query",
3698
+ "type": "string"
3699
+ },
3700
+ "showArchived": {
3701
+ "deprecated": true,
3702
+ "description": "Deprecated: subscription archiving is not supported.",
3703
+ "location": "query",
3704
+ "type": "boolean"
3705
+ }
3706
+ },
3707
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions",
3708
+ "response": {
3709
+ "$ref": "ListSubscriptionsResponse"
3710
+ },
3711
+ "scopes": [
3712
+ "https://www.googleapis.com/auth/androidpublisher"
3713
+ ]
3714
+ },
3715
+ "patch": {
3716
+ "description": "Updates an existing subscription.",
3717
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
3718
+ "httpMethod": "PATCH",
3719
+ "id": "androidpublisher.monetization.subscriptions.patch",
3720
+ "parameterOrder": [
3721
+ "packageName",
3722
+ "productId"
3723
+ ],
3724
+ "parameters": {
3725
+ "allowMissing": {
3726
+ "description": "Optional. If set to true, and the subscription with the given package_name and product_id doesn't exist, the subscription will be created. If a new subscription is created, update_mask is ignored.",
3727
+ "location": "query",
3728
+ "type": "boolean"
3729
+ },
3730
+ "latencyTolerance": {
3731
+ "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
3732
+ "enum": [
3733
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
3734
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
3735
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
3736
+ ],
3737
+ "enumDescriptions": [
3738
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
3739
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
3740
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
3741
+ ],
3742
+ "location": "query",
3743
+ "type": "string"
3744
+ },
3745
+ "packageName": {
3746
+ "description": "Immutable. Package name of the parent app.",
3747
+ "location": "path",
3748
+ "required": true,
3749
+ "type": "string"
3750
+ },
3751
+ "productId": {
3752
+ "description": "Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must be composed of lower-case letters (a-z), numbers (0-9), underscores (_) and dots (.). It must start with a lower-case letter or number, and be between 1 and 40 (inclusive) characters in length.",
3753
+ "location": "path",
3754
+ "required": true,
3755
+ "type": "string"
3756
+ },
3757
+ "regionsVersion.version": {
3758
+ "description": "Required. A string representing the version of available regions being used for the specified resource. Regional prices and latest supported version for the resource have to be specified according to the information published in [this article](https://support.google.com/googleplay/android-developer/answer/10532353). Each time the supported locations substantially change, the version will be incremented. Using this field will ensure that creating and updating the resource with an older region's version and set of regional prices and currencies will succeed even though a new version is available.",
3759
+ "location": "query",
3760
+ "type": "string"
3761
+ },
3762
+ "updateMask": {
3763
+ "description": "Required. The list of fields to be updated.",
3764
+ "format": "google-fieldmask",
3765
+ "location": "query",
3766
+ "type": "string"
3767
+ }
3768
+ },
3769
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}",
3770
+ "request": {
3771
+ "$ref": "Subscription"
3772
+ },
3773
+ "response": {
3774
+ "$ref": "Subscription"
3775
+ },
3776
+ "scopes": [
3777
+ "https://www.googleapis.com/auth/androidpublisher"
3778
+ ]
3779
+ }
3780
+ },
3781
+ "resources": {
3782
+ "basePlans": {
3783
+ "methods": {
3784
+ "activate": {
3785
+ "description": "Activates a base plan. Once activated, base plans will be available to new subscribers.",
3786
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate",
3787
+ "httpMethod": "POST",
3788
+ "id": "androidpublisher.monetization.subscriptions.basePlans.activate",
3789
+ "parameterOrder": [
3790
+ "packageName",
3791
+ "productId",
3792
+ "basePlanId"
3793
+ ],
3794
+ "parameters": {
3795
+ "basePlanId": {
3796
+ "description": "Required. The unique base plan ID of the base plan to activate.",
3797
+ "location": "path",
3798
+ "required": true,
3799
+ "type": "string"
3800
+ },
3801
+ "packageName": {
3802
+ "description": "Required. The parent app (package name) of the base plan to activate.",
3803
+ "location": "path",
3804
+ "required": true,
3805
+ "type": "string"
3806
+ },
3807
+ "productId": {
3808
+ "description": "Required. The parent subscription (ID) of the base plan to activate.",
3809
+ "location": "path",
3810
+ "required": true,
3811
+ "type": "string"
3812
+ }
3813
+ },
3814
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate",
3815
+ "request": {
3816
+ "$ref": "ActivateBasePlanRequest"
3817
+ },
3818
+ "response": {
3819
+ "$ref": "Subscription"
3820
+ },
3821
+ "scopes": [
3822
+ "https://www.googleapis.com/auth/androidpublisher"
3823
+ ]
3824
+ },
3825
+ "batchMigratePrices": {
3826
+ "description": "Batch variant of the MigrateBasePlanPrices endpoint. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
3827
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices",
3828
+ "httpMethod": "POST",
3829
+ "id": "androidpublisher.monetization.subscriptions.basePlans.batchMigratePrices",
3830
+ "parameterOrder": [
3831
+ "packageName",
3832
+ "productId"
3833
+ ],
3834
+ "parameters": {
3835
+ "packageName": {
3836
+ "description": "Required. The parent app (package name) for which the subscriptions should be created or updated. Must be equal to the package_name field on all the Subscription resources.",
3837
+ "location": "path",
3838
+ "required": true,
3839
+ "type": "string"
3840
+ },
3841
+ "productId": {
3842
+ "description": "Required. The product ID of the parent subscription, if all updated offers belong to the same subscription. If this batch update spans multiple subscriptions, set this field to \"-\". Must be set.",
3843
+ "location": "path",
3844
+ "required": true,
3845
+ "type": "string"
3846
+ }
3847
+ },
3848
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchMigratePrices",
3849
+ "request": {
3850
+ "$ref": "BatchMigrateBasePlanPricesRequest"
3851
+ },
3852
+ "response": {
3853
+ "$ref": "BatchMigrateBasePlanPricesResponse"
3854
+ },
3855
+ "scopes": [
3856
+ "https://www.googleapis.com/auth/androidpublisher"
3857
+ ]
3858
+ },
3859
+ "batchUpdateStates": {
3860
+ "description": "Activates or deactivates base plans across one or multiple subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput.",
3861
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates",
3862
+ "httpMethod": "POST",
3863
+ "id": "androidpublisher.monetization.subscriptions.basePlans.batchUpdateStates",
3864
+ "parameterOrder": [
3865
+ "packageName",
3866
+ "productId"
3867
+ ],
3868
+ "parameters": {
3869
+ "packageName": {
3870
+ "description": "Required. The parent app (package name) of the updated base plans.",
3871
+ "location": "path",
3872
+ "required": true,
3873
+ "type": "string"
3874
+ },
3875
+ "productId": {
3876
+ "description": "Required. The product ID of the parent subscription, if all updated base plans belong to the same subscription. If this batch update spans multiple subscriptions, set this field to \"-\". Must be set.",
3877
+ "location": "path",
3878
+ "required": true,
3879
+ "type": "string"
3880
+ }
3881
+ },
3882
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans:batchUpdateStates",
3883
+ "request": {
3884
+ "$ref": "BatchUpdateBasePlanStatesRequest"
3885
+ },
3886
+ "response": {
3887
+ "$ref": "BatchUpdateBasePlanStatesResponse"
3888
+ },
3889
+ "scopes": [
3890
+ "https://www.googleapis.com/auth/androidpublisher"
3891
+ ]
3892
+ },
3893
+ "deactivate": {
3894
+ "description": "Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription",
3895
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate",
3896
+ "httpMethod": "POST",
3897
+ "id": "androidpublisher.monetization.subscriptions.basePlans.deactivate",
3898
+ "parameterOrder": [
3899
+ "packageName",
3900
+ "productId",
3901
+ "basePlanId"
3902
+ ],
3903
+ "parameters": {
3904
+ "basePlanId": {
3905
+ "description": "Required. The unique base plan ID of the base plan to deactivate.",
3906
+ "location": "path",
3907
+ "required": true,
3908
+ "type": "string"
3909
+ },
3910
+ "packageName": {
3911
+ "description": "Required. The parent app (package name) of the base plan to deactivate.",
3912
+ "location": "path",
3913
+ "required": true,
3914
+ "type": "string"
3915
+ },
3916
+ "productId": {
3917
+ "description": "Required. The parent subscription (ID) of the base plan to deactivate.",
3918
+ "location": "path",
3919
+ "required": true,
3920
+ "type": "string"
3921
+ }
3922
+ },
3923
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate",
3924
+ "request": {
3925
+ "$ref": "DeactivateBasePlanRequest"
3926
+ },
3927
+ "response": {
3928
+ "$ref": "Subscription"
3929
+ },
3930
+ "scopes": [
3931
+ "https://www.googleapis.com/auth/androidpublisher"
3932
+ ]
3933
+ },
3934
+ "delete": {
3935
+ "description": "Deletes a base plan. Can only be done for draft base plans. This action is irreversible.",
3936
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}",
3937
+ "httpMethod": "DELETE",
3938
+ "id": "androidpublisher.monetization.subscriptions.basePlans.delete",
3939
+ "parameterOrder": [
3940
+ "packageName",
3941
+ "productId",
3942
+ "basePlanId"
3943
+ ],
3944
+ "parameters": {
3945
+ "basePlanId": {
3946
+ "description": "Required. The unique offer ID of the base plan to delete.",
3947
+ "location": "path",
3948
+ "required": true,
3949
+ "type": "string"
3950
+ },
3951
+ "packageName": {
3952
+ "description": "Required. The parent app (package name) of the base plan to delete.",
3953
+ "location": "path",
3954
+ "required": true,
3955
+ "type": "string"
3956
+ },
3957
+ "productId": {
3958
+ "description": "Required. The parent subscription (ID) of the base plan to delete.",
3959
+ "location": "path",
3960
+ "required": true,
3961
+ "type": "string"
3962
+ }
3963
+ },
3964
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}",
3965
+ "scopes": [
3966
+ "https://www.googleapis.com/auth/androidpublisher"
3967
+ ]
3968
+ },
3969
+ "migratePrices": {
3970
+ "description": "Migrates subscribers from one or more legacy price cohorts to the current price. Requests result in Google Play notifying affected subscribers. Only up to 250 simultaneous legacy price cohorts are supported.",
3971
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices",
3972
+ "httpMethod": "POST",
3973
+ "id": "androidpublisher.monetization.subscriptions.basePlans.migratePrices",
3974
+ "parameterOrder": [
3975
+ "packageName",
3976
+ "productId",
3977
+ "basePlanId"
3978
+ ],
3979
+ "parameters": {
3980
+ "basePlanId": {
3981
+ "description": "Required. The unique base plan ID of the base plan to update prices on.",
3982
+ "location": "path",
3983
+ "required": true,
3984
+ "type": "string"
3985
+ },
3986
+ "packageName": {
3987
+ "description": "Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource.",
3988
+ "location": "path",
3989
+ "required": true,
3990
+ "type": "string"
3991
+ },
3992
+ "productId": {
3993
+ "description": "Required. The ID of the subscription to update. Must be equal to the product_id field on the Subscription resource.",
3994
+ "location": "path",
3995
+ "required": true,
3996
+ "type": "string"
3997
+ }
3998
+ },
3999
+ "path": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices",
4000
+ "request": {
4001
+ "$ref": "MigrateBasePlanPricesRequest"
4002
+ },
4003
+ "response": {
4004
+ "$ref": "MigrateBasePlanPricesResponse"
4005
+ },
4006
+ "scopes": [
4007
+ "https://www.googleapis.com/auth/androidpublisher"
4008
+ ]
4009
+ }
4010
+ },
4011
+ "resources": {
4012
+ "offers": {
4013
+ "methods": {
4014
+ "activate": {
4015
+ "description": "Activates a subscription offer. Once activated, subscription offers will be available to new subscribers.",
4016
+ "flatPath": "androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:activate",
4017
+ "httpMethod": "POST",
4018
+ "id": "androidpublisher.monetization.subscriptions.basePlans.offers.activate",
4019
+ "parameterOrder": [
4020
+ "packageName",
4021
+ "productId",
4022
+ "basePlanId",
4023
+ "offerId"
3334
4024
  ],
3335
4025
  "parameters": {
3336
4026
  "basePlanId": {
@@ -4831,7 +5521,7 @@
4831
5521
  }
4832
5522
  }
4833
5523
  },
4834
- "revision": "20250710",
5524
+ "revision": "20250724",
4835
5525
  "rootUrl": "https://androidpublisher.googleapis.com/",
4836
5526
  "schemas": {
4837
5527
  "Abi": {
@@ -4928,6 +5618,76 @@
4928
5618
  },
4929
5619
  "type": "object"
4930
5620
  },
5621
+ "ActivateOneTimeProductOfferRequest": {
5622
+ "description": "Request message for ActivateOneTimeProductOffer.",
5623
+ "id": "ActivateOneTimeProductOfferRequest",
5624
+ "properties": {
5625
+ "latencyTolerance": {
5626
+ "description": "Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.",
5627
+ "enum": [
5628
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
5629
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
5630
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
5631
+ ],
5632
+ "enumDescriptions": [
5633
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
5634
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
5635
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
5636
+ ],
5637
+ "type": "string"
5638
+ },
5639
+ "offerId": {
5640
+ "description": "Required. The offer ID of the offer to activate.",
5641
+ "type": "string"
5642
+ },
5643
+ "packageName": {
5644
+ "description": "Required. The parent app (package name) of the offer to activate.",
5645
+ "type": "string"
5646
+ },
5647
+ "productId": {
5648
+ "description": "Required. The parent one-time product (ID) of the offer to activate.",
5649
+ "type": "string"
5650
+ },
5651
+ "purchaseOptionId": {
5652
+ "description": "Required. The parent purchase option (ID) of the offer to activate.",
5653
+ "type": "string"
5654
+ }
5655
+ },
5656
+ "type": "object"
5657
+ },
5658
+ "ActivatePurchaseOptionRequest": {
5659
+ "description": "Request message for UpdatePurchaseOptionState.",
5660
+ "id": "ActivatePurchaseOptionRequest",
5661
+ "properties": {
5662
+ "latencyTolerance": {
5663
+ "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
5664
+ "enum": [
5665
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
5666
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
5667
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
5668
+ ],
5669
+ "enumDescriptions": [
5670
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
5671
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
5672
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
5673
+ ],
5674
+ "type": "string"
5675
+ },
5676
+ "packageName": {
5677
+ "description": "Required. The parent app (package name) of the purchase option to activate.",
5678
+ "type": "string"
5679
+ },
5680
+ "productId": {
5681
+ "description": "Required. The parent one-time product (ID) of the purchase option to activate.",
5682
+ "type": "string"
5683
+ },
5684
+ "purchaseOptionId": {
5685
+ "description": "Required. The purchase option ID of the purchase option to activate.",
5686
+ "type": "string"
5687
+ }
5688
+ },
5689
+ "type": "object"
5690
+ },
4931
5691
  "ActivateSubscriptionOfferRequest": {
4932
5692
  "description": "Request message for ActivateSubscriptionOffer.",
4933
5693
  "id": "ActivateSubscriptionOfferRequest",
@@ -5479,111 +6239,307 @@
5479
6239
  },
5480
6240
  "type": "object"
5481
6241
  },
5482
- "BatchGetOrdersResponse": {
5483
- "description": "Response for the orders.batchGet API.",
5484
- "id": "BatchGetOrdersResponse",
6242
+ "BatchDeleteOneTimeProductOffersRequest": {
6243
+ "description": "Request message for BatchDeleteOneTimeProductOffers.",
6244
+ "id": "BatchDeleteOneTimeProductOffersRequest",
6245
+ "properties": {
6246
+ "requests": {
6247
+ "description": "Required. A list of update requests of up to 100 elements. All requests must correspond to different offers.",
6248
+ "items": {
6249
+ "$ref": "DeleteOneTimeProductOfferRequest"
6250
+ },
6251
+ "type": "array"
6252
+ }
6253
+ },
6254
+ "type": "object"
6255
+ },
6256
+ "BatchDeleteOneTimeProductsRequest": {
6257
+ "description": "Request message for BatchDeleteOneTimeProduct.",
6258
+ "id": "BatchDeleteOneTimeProductsRequest",
6259
+ "properties": {
6260
+ "requests": {
6261
+ "description": "Required. A list of delete requests of up to 100 elements. All requests must delete different one-time products.",
6262
+ "items": {
6263
+ "$ref": "DeleteOneTimeProductRequest"
6264
+ },
6265
+ "type": "array"
6266
+ }
6267
+ },
6268
+ "type": "object"
6269
+ },
6270
+ "BatchDeletePurchaseOptionsRequest": {
6271
+ "description": "Request message for BatchDeletePurchaseOption.",
6272
+ "id": "BatchDeletePurchaseOptionsRequest",
6273
+ "properties": {
6274
+ "requests": {
6275
+ "description": "Required. A list of delete requests of up to 100 elements. All requests must delete purchase options from different one-time products.",
6276
+ "items": {
6277
+ "$ref": "DeletePurchaseOptionRequest"
6278
+ },
6279
+ "type": "array"
6280
+ }
6281
+ },
6282
+ "type": "object"
6283
+ },
6284
+ "BatchGetOneTimeProductOffersRequest": {
6285
+ "description": "Request message for the BatchGetOneTimeProductOffers endpoint.",
6286
+ "id": "BatchGetOneTimeProductOffersRequest",
6287
+ "properties": {
6288
+ "requests": {
6289
+ "description": "Required. A list of get requests of up to 100 elements. All requests must retrieve different offers.",
6290
+ "items": {
6291
+ "$ref": "GetOneTimeProductOfferRequest"
6292
+ },
6293
+ "type": "array"
6294
+ }
6295
+ },
6296
+ "type": "object"
6297
+ },
6298
+ "BatchGetOneTimeProductOffersResponse": {
6299
+ "description": "Response message for the BatchGetOneTimeProductOffers endpoint.",
6300
+ "id": "BatchGetOneTimeProductOffersResponse",
6301
+ "properties": {
6302
+ "oneTimeProductOffers": {
6303
+ "description": "The list of updated one-time product offers, in the same order as the request.",
6304
+ "items": {
6305
+ "$ref": "OneTimeProductOffer"
6306
+ },
6307
+ "type": "array"
6308
+ }
6309
+ },
6310
+ "type": "object"
6311
+ },
6312
+ "BatchGetOneTimeProductsResponse": {
6313
+ "description": "Response message for the BatchGetOneTimeProducts endpoint.",
6314
+ "id": "BatchGetOneTimeProductsResponse",
6315
+ "properties": {
6316
+ "oneTimeProducts": {
6317
+ "description": "The list of requested one-time products, in the same order as the request.",
6318
+ "items": {
6319
+ "$ref": "OneTimeProduct"
6320
+ },
6321
+ "type": "array"
6322
+ }
6323
+ },
6324
+ "type": "object"
6325
+ },
6326
+ "BatchGetOrdersResponse": {
6327
+ "description": "Response for the orders.batchGet API.",
6328
+ "id": "BatchGetOrdersResponse",
6329
+ "properties": {
6330
+ "orders": {
6331
+ "description": "Details for the requested order IDs.",
6332
+ "items": {
6333
+ "$ref": "Order"
6334
+ },
6335
+ "type": "array"
6336
+ }
6337
+ },
6338
+ "type": "object"
6339
+ },
6340
+ "BatchGetSubscriptionOffersRequest": {
6341
+ "description": "Request message for BatchGetSubscriptionOffers endpoint.",
6342
+ "id": "BatchGetSubscriptionOffersRequest",
6343
+ "properties": {
6344
+ "requests": {
6345
+ "description": "Required. A list of update requests of up to 100 elements. All requests must update different subscriptions.",
6346
+ "items": {
6347
+ "$ref": "GetSubscriptionOfferRequest"
6348
+ },
6349
+ "type": "array"
6350
+ }
6351
+ },
6352
+ "type": "object"
6353
+ },
6354
+ "BatchGetSubscriptionOffersResponse": {
6355
+ "description": "Response message for BatchGetSubscriptionOffers endpoint.",
6356
+ "id": "BatchGetSubscriptionOffersResponse",
6357
+ "properties": {
6358
+ "subscriptionOffers": {
6359
+ "items": {
6360
+ "$ref": "SubscriptionOffer"
6361
+ },
6362
+ "type": "array"
6363
+ }
6364
+ },
6365
+ "type": "object"
6366
+ },
6367
+ "BatchGetSubscriptionsResponse": {
6368
+ "description": "Response message for BatchGetSubscriptions endpoint.",
6369
+ "id": "BatchGetSubscriptionsResponse",
6370
+ "properties": {
6371
+ "subscriptions": {
6372
+ "description": "The list of requested subscriptions, in the same order as the request.",
6373
+ "items": {
6374
+ "$ref": "Subscription"
6375
+ },
6376
+ "type": "array"
6377
+ }
6378
+ },
6379
+ "type": "object"
6380
+ },
6381
+ "BatchMigrateBasePlanPricesRequest": {
6382
+ "description": "Request message for BatchMigrateBasePlanPrices.",
6383
+ "id": "BatchMigrateBasePlanPricesRequest",
6384
+ "properties": {
6385
+ "requests": {
6386
+ "description": "Required. Up to 100 price migration requests. All requests must update different base plans.",
6387
+ "items": {
6388
+ "$ref": "MigrateBasePlanPricesRequest"
6389
+ },
6390
+ "type": "array"
6391
+ }
6392
+ },
6393
+ "type": "object"
6394
+ },
6395
+ "BatchMigrateBasePlanPricesResponse": {
6396
+ "description": "Response message for BatchMigrateBasePlanPrices.",
6397
+ "id": "BatchMigrateBasePlanPricesResponse",
6398
+ "properties": {
6399
+ "responses": {
6400
+ "description": "Contains one response per requested price migration, in the same order as the request.",
6401
+ "items": {
6402
+ "$ref": "MigrateBasePlanPricesResponse"
6403
+ },
6404
+ "type": "array"
6405
+ }
6406
+ },
6407
+ "type": "object"
6408
+ },
6409
+ "BatchUpdateBasePlanStatesRequest": {
6410
+ "description": "Request message for BatchUpdateBasePlanStates.",
6411
+ "id": "BatchUpdateBasePlanStatesRequest",
6412
+ "properties": {
6413
+ "requests": {
6414
+ "description": "Required. The update request list of up to 100 elements. All requests must update different base plans.",
6415
+ "items": {
6416
+ "$ref": "UpdateBasePlanStateRequest"
6417
+ },
6418
+ "type": "array"
6419
+ }
6420
+ },
6421
+ "type": "object"
6422
+ },
6423
+ "BatchUpdateBasePlanStatesResponse": {
6424
+ "description": "Response message for BatchUpdateBasePlanStates.",
6425
+ "id": "BatchUpdateBasePlanStatesResponse",
6426
+ "properties": {
6427
+ "subscriptions": {
6428
+ "description": "The list of updated subscriptions. This list will match the requests one to one, in the same order.",
6429
+ "items": {
6430
+ "$ref": "Subscription"
6431
+ },
6432
+ "type": "array"
6433
+ }
6434
+ },
6435
+ "type": "object"
6436
+ },
6437
+ "BatchUpdateOneTimeProductOfferStatesRequest": {
6438
+ "description": "Request message for BatchUpdateOneTimeProductOfferStates.",
6439
+ "id": "BatchUpdateOneTimeProductOfferStatesRequest",
5485
6440
  "properties": {
5486
- "orders": {
5487
- "description": "Details for the requested order IDs.",
6441
+ "requests": {
6442
+ "description": "Required. The update request list of up to 100 elements. All requests must update different offers.",
5488
6443
  "items": {
5489
- "$ref": "Order"
6444
+ "$ref": "UpdateOneTimeProductOfferStateRequest"
5490
6445
  },
5491
6446
  "type": "array"
5492
6447
  }
5493
6448
  },
5494
6449
  "type": "object"
5495
6450
  },
5496
- "BatchGetSubscriptionOffersRequest": {
5497
- "description": "Request message for BatchGetSubscriptionOffers endpoint.",
5498
- "id": "BatchGetSubscriptionOffersRequest",
6451
+ "BatchUpdateOneTimeProductOfferStatesResponse": {
6452
+ "description": "Response message for BatchUpdateOneTimeProductOfferStates.",
6453
+ "id": "BatchUpdateOneTimeProductOfferStatesResponse",
5499
6454
  "properties": {
5500
- "requests": {
5501
- "description": "Required. A list of update requests of up to 100 elements. All requests must update different subscriptions.",
6455
+ "oneTimeProductOffers": {
6456
+ "description": "The updated one-time product offers list, in the same order as the request.",
5502
6457
  "items": {
5503
- "$ref": "GetSubscriptionOfferRequest"
6458
+ "$ref": "OneTimeProductOffer"
5504
6459
  },
5505
6460
  "type": "array"
5506
6461
  }
5507
6462
  },
5508
6463
  "type": "object"
5509
6464
  },
5510
- "BatchGetSubscriptionOffersResponse": {
5511
- "description": "Response message for BatchGetSubscriptionOffers endpoint.",
5512
- "id": "BatchGetSubscriptionOffersResponse",
6465
+ "BatchUpdateOneTimeProductOffersRequest": {
6466
+ "description": "Request message for BatchUpdateOneTimeProductOffers.",
6467
+ "id": "BatchUpdateOneTimeProductOffersRequest",
5513
6468
  "properties": {
5514
- "subscriptionOffers": {
6469
+ "requests": {
6470
+ "description": "Required. A list of update requests of up to 100 elements. All requests must update different offers.",
5515
6471
  "items": {
5516
- "$ref": "SubscriptionOffer"
6472
+ "$ref": "UpdateOneTimeProductOfferRequest"
5517
6473
  },
5518
6474
  "type": "array"
5519
6475
  }
5520
6476
  },
5521
6477
  "type": "object"
5522
6478
  },
5523
- "BatchGetSubscriptionsResponse": {
5524
- "description": "Response message for BatchGetSubscriptions endpoint.",
5525
- "id": "BatchGetSubscriptionsResponse",
6479
+ "BatchUpdateOneTimeProductOffersResponse": {
6480
+ "description": "Response message for BatchUpdateOneTimeProductOffers.",
6481
+ "id": "BatchUpdateOneTimeProductOffersResponse",
5526
6482
  "properties": {
5527
- "subscriptions": {
5528
- "description": "The list of requested subscriptions, in the same order as the request.",
6483
+ "oneTimeProductOffers": {
6484
+ "description": "The list of updated one-time product offers, in the same order as the request.",
5529
6485
  "items": {
5530
- "$ref": "Subscription"
6486
+ "$ref": "OneTimeProductOffer"
5531
6487
  },
5532
6488
  "type": "array"
5533
6489
  }
5534
6490
  },
5535
6491
  "type": "object"
5536
6492
  },
5537
- "BatchMigrateBasePlanPricesRequest": {
5538
- "description": "Request message for BatchMigrateBasePlanPrices.",
5539
- "id": "BatchMigrateBasePlanPricesRequest",
6493
+ "BatchUpdateOneTimeProductsRequest": {
6494
+ "description": "Request message for BatchUpdateOneTimeProduct.",
6495
+ "id": "BatchUpdateOneTimeProductsRequest",
5540
6496
  "properties": {
5541
6497
  "requests": {
5542
- "description": "Required. Up to 100 price migration requests. All requests must update different base plans.",
6498
+ "description": "Required. A list of update requests of up to 100 elements. All requests must update different one-time products.",
5543
6499
  "items": {
5544
- "$ref": "MigrateBasePlanPricesRequest"
6500
+ "$ref": "UpdateOneTimeProductRequest"
5545
6501
  },
5546
6502
  "type": "array"
5547
6503
  }
5548
6504
  },
5549
6505
  "type": "object"
5550
6506
  },
5551
- "BatchMigrateBasePlanPricesResponse": {
5552
- "description": "Response message for BatchMigrateBasePlanPrices.",
5553
- "id": "BatchMigrateBasePlanPricesResponse",
6507
+ "BatchUpdateOneTimeProductsResponse": {
6508
+ "description": "Response message for BatchUpdateOneTimeProduct.",
6509
+ "id": "BatchUpdateOneTimeProductsResponse",
5554
6510
  "properties": {
5555
- "responses": {
5556
- "description": "Contains one response per requested price migration, in the same order as the request.",
6511
+ "oneTimeProducts": {
6512
+ "description": "The list of updated one-time products list, in the same order as the request.",
5557
6513
  "items": {
5558
- "$ref": "MigrateBasePlanPricesResponse"
6514
+ "$ref": "OneTimeProduct"
5559
6515
  },
5560
6516
  "type": "array"
5561
6517
  }
5562
6518
  },
5563
6519
  "type": "object"
5564
6520
  },
5565
- "BatchUpdateBasePlanStatesRequest": {
5566
- "description": "Request message for BatchUpdateBasePlanStates.",
5567
- "id": "BatchUpdateBasePlanStatesRequest",
6521
+ "BatchUpdatePurchaseOptionStatesRequest": {
6522
+ "description": "Request message for BatchUpdatePurchaseOptionStates.",
6523
+ "id": "BatchUpdatePurchaseOptionStatesRequest",
5568
6524
  "properties": {
5569
6525
  "requests": {
5570
- "description": "Required. The update request list of up to 100 elements. All requests must update different base plans.",
6526
+ "description": "Required. The update request list of up to 100 elements. All requests must update different purchase options.",
5571
6527
  "items": {
5572
- "$ref": "UpdateBasePlanStateRequest"
6528
+ "$ref": "UpdatePurchaseOptionStateRequest"
5573
6529
  },
5574
6530
  "type": "array"
5575
6531
  }
5576
6532
  },
5577
6533
  "type": "object"
5578
6534
  },
5579
- "BatchUpdateBasePlanStatesResponse": {
5580
- "description": "Response message for BatchUpdateBasePlanStates.",
5581
- "id": "BatchUpdateBasePlanStatesResponse",
6535
+ "BatchUpdatePurchaseOptionStatesResponse": {
6536
+ "description": "Response message for BatchUpdatePurchaseOptionStates.",
6537
+ "id": "BatchUpdatePurchaseOptionStatesResponse",
5582
6538
  "properties": {
5583
- "subscriptions": {
5584
- "description": "The list of updated subscriptions. This list will match the requests one to one, in the same order.",
6539
+ "oneTimeProducts": {
6540
+ "description": "The list of updated one-time products. This list will match the requests one to one, in the same order.",
5585
6541
  "items": {
5586
- "$ref": "Subscription"
6542
+ "$ref": "OneTimeProduct"
5587
6543
  },
5588
6544
  "type": "array"
5589
6545
  }
@@ -5743,6 +6699,43 @@
5743
6699
  "properties": {},
5744
6700
  "type": "object"
5745
6701
  },
6702
+ "CancelOneTimeProductOfferRequest": {
6703
+ "description": "Request message for CancelOneTimeProductOffer.",
6704
+ "id": "CancelOneTimeProductOfferRequest",
6705
+ "properties": {
6706
+ "latencyTolerance": {
6707
+ "description": "Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.",
6708
+ "enum": [
6709
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
6710
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
6711
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
6712
+ ],
6713
+ "enumDescriptions": [
6714
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
6715
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
6716
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
6717
+ ],
6718
+ "type": "string"
6719
+ },
6720
+ "offerId": {
6721
+ "description": "Required. The offer ID of the offer to cancel.",
6722
+ "type": "string"
6723
+ },
6724
+ "packageName": {
6725
+ "description": "Required. The parent app (package name) of the offer to cancel.",
6726
+ "type": "string"
6727
+ },
6728
+ "productId": {
6729
+ "description": "Required. The parent one-time product (ID) of the offer to cancel.",
6730
+ "type": "string"
6731
+ },
6732
+ "purchaseOptionId": {
6733
+ "description": "Required. The parent purchase option (ID) of the offer to cancel.",
6734
+ "type": "string"
6735
+ }
6736
+ },
6737
+ "type": "object"
6738
+ },
5746
6739
  "CancelSurveyResult": {
5747
6740
  "description": "Result of the cancel survey when the subscription was canceled by the user.",
5748
6741
  "id": "CancelSurveyResult",
@@ -5957,6 +6950,76 @@
5957
6950
  },
5958
6951
  "type": "object"
5959
6952
  },
6953
+ "DeactivateOneTimeProductOfferRequest": {
6954
+ "description": "Request message for DeactivateOneTimeProductOffer.",
6955
+ "id": "DeactivateOneTimeProductOfferRequest",
6956
+ "properties": {
6957
+ "latencyTolerance": {
6958
+ "description": "Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive.",
6959
+ "enum": [
6960
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
6961
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
6962
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
6963
+ ],
6964
+ "enumDescriptions": [
6965
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
6966
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
6967
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
6968
+ ],
6969
+ "type": "string"
6970
+ },
6971
+ "offerId": {
6972
+ "description": "Required. The offer ID of the offer to deactivate.",
6973
+ "type": "string"
6974
+ },
6975
+ "packageName": {
6976
+ "description": "Required. The parent app (package name) of the offer to deactivate.",
6977
+ "type": "string"
6978
+ },
6979
+ "productId": {
6980
+ "description": "Required. The parent one-time product (ID) of the offer to deactivate.",
6981
+ "type": "string"
6982
+ },
6983
+ "purchaseOptionId": {
6984
+ "description": "Required. The parent purchase option (ID) of the offer to deactivate.",
6985
+ "type": "string"
6986
+ }
6987
+ },
6988
+ "type": "object"
6989
+ },
6990
+ "DeactivatePurchaseOptionRequest": {
6991
+ "description": "Request message for UpdatePurchaseOptionState.",
6992
+ "id": "DeactivatePurchaseOptionRequest",
6993
+ "properties": {
6994
+ "latencyTolerance": {
6995
+ "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
6996
+ "enum": [
6997
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
6998
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
6999
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
7000
+ ],
7001
+ "enumDescriptions": [
7002
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
7003
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
7004
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
7005
+ ],
7006
+ "type": "string"
7007
+ },
7008
+ "packageName": {
7009
+ "description": "Required. The parent app (package name) of the purchase option to deactivate.",
7010
+ "type": "string"
7011
+ },
7012
+ "productId": {
7013
+ "description": "Required. The parent one-time product (ID) of the purchase option to deactivate.",
7014
+ "type": "string"
7015
+ },
7016
+ "purchaseOptionId": {
7017
+ "description": "Required. The purchase option ID of the purchase option to deactivate.",
7018
+ "type": "string"
7019
+ }
7020
+ },
7021
+ "type": "object"
7022
+ },
5960
7023
  "DeactivateSubscriptionOfferRequest": {
5961
7024
  "description": "Request message for DeactivateSubscriptionOffer.",
5962
7025
  "id": "DeactivateSubscriptionOfferRequest",
@@ -6005,6 +7068,109 @@
6005
7068
  },
6006
7069
  "type": "object"
6007
7070
  },
7071
+ "DeleteOneTimeProductOfferRequest": {
7072
+ "description": "Request message for deleting an one-time product offer.",
7073
+ "id": "DeleteOneTimeProductOfferRequest",
7074
+ "properties": {
7075
+ "latencyTolerance": {
7076
+ "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
7077
+ "enum": [
7078
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
7079
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
7080
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
7081
+ ],
7082
+ "enumDescriptions": [
7083
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
7084
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
7085
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
7086
+ ],
7087
+ "type": "string"
7088
+ },
7089
+ "offerId": {
7090
+ "description": "Required. The unique offer ID of the offer to delete.",
7091
+ "type": "string"
7092
+ },
7093
+ "packageName": {
7094
+ "description": "Required. The parent app (package name) of the offer to delete.",
7095
+ "type": "string"
7096
+ },
7097
+ "productId": {
7098
+ "description": "Required. The parent one-time product (ID) of the offer to delete.",
7099
+ "type": "string"
7100
+ },
7101
+ "purchaseOptionId": {
7102
+ "description": "Required. The parent purchase option (ID) of the offer to delete.",
7103
+ "type": "string"
7104
+ }
7105
+ },
7106
+ "type": "object"
7107
+ },
7108
+ "DeleteOneTimeProductRequest": {
7109
+ "description": "Request message for deleting a one-time product.",
7110
+ "id": "DeleteOneTimeProductRequest",
7111
+ "properties": {
7112
+ "latencyTolerance": {
7113
+ "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
7114
+ "enum": [
7115
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
7116
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
7117
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
7118
+ ],
7119
+ "enumDescriptions": [
7120
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
7121
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
7122
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
7123
+ ],
7124
+ "type": "string"
7125
+ },
7126
+ "packageName": {
7127
+ "description": "Required. The parent app (package name) of the one-time product to delete.",
7128
+ "type": "string"
7129
+ },
7130
+ "productId": {
7131
+ "description": "Required. The one-time product ID of the one-time product to delete.",
7132
+ "type": "string"
7133
+ }
7134
+ },
7135
+ "type": "object"
7136
+ },
7137
+ "DeletePurchaseOptionRequest": {
7138
+ "description": "Request message for deleting a purchase option.",
7139
+ "id": "DeletePurchaseOptionRequest",
7140
+ "properties": {
7141
+ "force": {
7142
+ "description": "Optional. This field has no effect for purchase options with no offers under them. For purchase options with associated offers: * If `force` is set to false (default), an error will be returned. * If `force` is set to true, any associated offers under the purchase option will be deleted.",
7143
+ "type": "boolean"
7144
+ },
7145
+ "latencyTolerance": {
7146
+ "description": "Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive.",
7147
+ "enum": [
7148
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
7149
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
7150
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
7151
+ ],
7152
+ "enumDescriptions": [
7153
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
7154
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
7155
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
7156
+ ],
7157
+ "type": "string"
7158
+ },
7159
+ "packageName": {
7160
+ "description": "Required. The parent app (package name) of the purchase option to delete.",
7161
+ "type": "string"
7162
+ },
7163
+ "productId": {
7164
+ "description": "Required. The parent one-time product (ID) of the purchase option to delete.",
7165
+ "type": "string"
7166
+ },
7167
+ "purchaseOptionId": {
7168
+ "description": "Required. The purchase option ID of the purchase option to delete.",
7169
+ "type": "string"
7170
+ }
7171
+ },
7172
+ "type": "object"
7173
+ },
6008
7174
  "DeobfuscationFile": {
6009
7175
  "description": "Represents a deobfuscation file.",
6010
7176
  "id": "DeobfuscationFile",
@@ -6776,6 +7942,29 @@
6776
7942
  },
6777
7943
  "type": "object"
6778
7944
  },
7945
+ "GetOneTimeProductOfferRequest": {
7946
+ "description": "Request message for GetOneTimeProductOffers.",
7947
+ "id": "GetOneTimeProductOfferRequest",
7948
+ "properties": {
7949
+ "offerId": {
7950
+ "description": "Required. The unique offer ID of the offer to get.",
7951
+ "type": "string"
7952
+ },
7953
+ "packageName": {
7954
+ "description": "Required. The parent app (package name) of the offer to get.",
7955
+ "type": "string"
7956
+ },
7957
+ "productId": {
7958
+ "description": "Required. The parent one-time product (ID) of the offer to get.",
7959
+ "type": "string"
7960
+ },
7961
+ "purchaseOptionId": {
7962
+ "description": "Required. The parent purchase option (ID) of the offer to get.",
7963
+ "type": "string"
7964
+ }
7965
+ },
7966
+ "type": "object"
7967
+ },
6779
7968
  "GetSubscriptionOfferRequest": {
6780
7969
  "description": "Request message for GetSubscriptionOffer.",
6781
7970
  "id": "GetSubscriptionOfferRequest",
@@ -7411,13 +8600,49 @@ false
7411
8600
  "deviceTierConfigs": {
7412
8601
  "description": "Device tier configs created by the developer.",
7413
8602
  "items": {
7414
- "$ref": "DeviceTierConfig"
8603
+ "$ref": "DeviceTierConfig"
8604
+ },
8605
+ "type": "array"
8606
+ },
8607
+ "nextPageToken": {
8608
+ "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
8609
+ "type": "string"
8610
+ }
8611
+ },
8612
+ "type": "object"
8613
+ },
8614
+ "ListOneTimeProductOffersResponse": {
8615
+ "description": "Response message for ListOneTimeProductOffers.",
8616
+ "id": "ListOneTimeProductOffersResponse",
8617
+ "properties": {
8618
+ "nextPageToken": {
8619
+ "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
8620
+ "type": "string"
8621
+ },
8622
+ "oneTimeProductOffers": {
8623
+ "description": "The one_time_product offers from the specified request.",
8624
+ "items": {
8625
+ "$ref": "OneTimeProductOffer"
7415
8626
  },
7416
8627
  "type": "array"
8628
+ }
7417
8629
  },
8630
+ "type": "object"
8631
+ },
8632
+ "ListOneTimeProductsResponse": {
8633
+ "description": "Response message for ListOneTimeProducts.",
8634
+ "id": "ListOneTimeProductsResponse",
8635
+ "properties": {
7418
8636
  "nextPageToken": {
7419
8637
  "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
7420
8638
  "type": "string"
8639
+ },
8640
+ "oneTimeProducts": {
8641
+ "description": "The one-time products from the specified app.",
8642
+ "items": {
8643
+ "$ref": "OneTimeProduct"
8644
+ },
8645
+ "type": "array"
7421
8646
  }
7422
8647
  },
7423
8648
  "type": "object"
@@ -7698,100 +8923,509 @@ false
7698
8923
  "description": "The three-letter currency code defined in ISO 4217.",
7699
8924
  "type": "string"
7700
8925
  },
7701
- "nanos": {
7702
- "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
7703
- "format": "int32",
7704
- "type": "integer"
8926
+ "nanos": {
8927
+ "description": "Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.",
8928
+ "format": "int32",
8929
+ "type": "integer"
8930
+ },
8931
+ "units": {
8932
+ "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
8933
+ "format": "int64",
8934
+ "type": "string"
8935
+ }
8936
+ },
8937
+ "type": "object"
8938
+ },
8939
+ "MultiAbi": {
8940
+ "description": "Represents a list of ABIs.",
8941
+ "id": "MultiAbi",
8942
+ "properties": {
8943
+ "abi": {
8944
+ "description": "A list of targeted ABIs, as represented by the Android Platform",
8945
+ "items": {
8946
+ "$ref": "Abi"
8947
+ },
8948
+ "type": "array"
8949
+ }
8950
+ },
8951
+ "type": "object"
8952
+ },
8953
+ "MultiAbiTargeting": {
8954
+ "description": "Targeting based on multiple abis.",
8955
+ "id": "MultiAbiTargeting",
8956
+ "properties": {
8957
+ "alternatives": {
8958
+ "description": "Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.",
8959
+ "items": {
8960
+ "$ref": "MultiAbi"
8961
+ },
8962
+ "type": "array"
8963
+ },
8964
+ "value": {
8965
+ "description": "Value of a multi abi.",
8966
+ "items": {
8967
+ "$ref": "MultiAbi"
8968
+ },
8969
+ "type": "array"
8970
+ }
8971
+ },
8972
+ "type": "object"
8973
+ },
8974
+ "OfferDetails": {
8975
+ "description": "Offer details information related to a purchase line item.",
8976
+ "id": "OfferDetails",
8977
+ "properties": {
8978
+ "basePlanId": {
8979
+ "description": "The base plan ID. Present for all base plan and offers.",
8980
+ "type": "string"
8981
+ },
8982
+ "offerId": {
8983
+ "description": "The offer ID. Only present for discounted offers.",
8984
+ "type": "string"
8985
+ },
8986
+ "offerTags": {
8987
+ "description": "The latest offer tags associated with the offer. It includes tags inherited from the base plan.",
8988
+ "items": {
8989
+ "type": "string"
8990
+ },
8991
+ "type": "array"
8992
+ }
8993
+ },
8994
+ "type": "object"
8995
+ },
8996
+ "OfferTag": {
8997
+ "description": "Represents a custom tag specified for a product offer.",
8998
+ "id": "OfferTag",
8999
+ "properties": {
9000
+ "tag": {
9001
+ "description": "Must conform with RFC-1034. That is, this string can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters.",
9002
+ "type": "string"
9003
+ }
9004
+ },
9005
+ "type": "object"
9006
+ },
9007
+ "OneTimeCode": {
9008
+ "description": "A single use promotion code.",
9009
+ "id": "OneTimeCode",
9010
+ "properties": {},
9011
+ "type": "object"
9012
+ },
9013
+ "OneTimeExternalTransaction": {
9014
+ "description": "Represents a one-time transaction.",
9015
+ "id": "OneTimeExternalTransaction",
9016
+ "properties": {
9017
+ "externalTransactionToken": {
9018
+ "description": "Input only. Provided during the call to Create. Retrieved from the client when the alternative billing flow is launched.",
9019
+ "type": "string"
9020
+ }
9021
+ },
9022
+ "type": "object"
9023
+ },
9024
+ "OneTimeProduct": {
9025
+ "description": "A single one-time product for an app.",
9026
+ "id": "OneTimeProduct",
9027
+ "properties": {
9028
+ "listings": {
9029
+ "description": "Required. Set of localized title and description data. Must not have duplicate entries with the same language_code.",
9030
+ "items": {
9031
+ "$ref": "OneTimeProductListing"
9032
+ },
9033
+ "type": "array"
9034
+ },
9035
+ "offerTags": {
9036
+ "description": "Optional. List of up to 20 custom tags specified for this one-time product, and returned to the app through the billing library. Purchase options and offers for this product will also receive these tags in the billing library.",
9037
+ "items": {
9038
+ "$ref": "OfferTag"
9039
+ },
9040
+ "type": "array"
9041
+ },
9042
+ "packageName": {
9043
+ "description": "Required. Immutable. Package name of the parent app.",
9044
+ "type": "string"
9045
+ },
9046
+ "productId": {
9047
+ "description": "Required. Immutable. Unique product ID of the product. Unique within the parent app. Product IDs must start with a number or lowercase letter, and can contain numbers (0-9), lowercase letters (a-z), underscores (_), and periods (.).",
9048
+ "type": "string"
9049
+ },
9050
+ "purchaseOptions": {
9051
+ "description": "Required. The set of purchase options for this one-time product.",
9052
+ "items": {
9053
+ "$ref": "OneTimeProductPurchaseOption"
9054
+ },
9055
+ "type": "array"
9056
+ },
9057
+ "regionsVersion": {
9058
+ "$ref": "RegionsVersion",
9059
+ "description": "Output only. The version of the regions configuration that was used to generate the one-time product.",
9060
+ "readOnly": true
9061
+ },
9062
+ "restrictedPaymentCountries": {
9063
+ "$ref": "RestrictedPaymentCountries",
9064
+ "description": "Optional. Countries where the purchase of this one-time product is restricted to payment methods registered in the same country. If empty, no payment location restrictions are imposed."
9065
+ },
9066
+ "taxAndComplianceSettings": {
9067
+ "$ref": "OneTimeProductTaxAndComplianceSettings",
9068
+ "description": "Details about taxes and legal compliance."
9069
+ }
9070
+ },
9071
+ "type": "object"
9072
+ },
9073
+ "OneTimeProductBuyPurchaseOption": {
9074
+ "description": "A purchase option that can be bought.",
9075
+ "id": "OneTimeProductBuyPurchaseOption",
9076
+ "properties": {
9077
+ "legacyCompatible": {
9078
+ "description": "Optional. Whether this purchase option will be available in legacy PBL flows that do not support one-time products model. Up to one \"buy\" purchase option can be marked as backwards compatible.",
9079
+ "type": "boolean"
9080
+ },
9081
+ "multiQuantityEnabled": {
9082
+ "description": "Optional. Whether this purchase option allows multi-quantity. Multi-quantity allows buyer to purchase more than one item in a single checkout.",
9083
+ "type": "boolean"
9084
+ }
9085
+ },
9086
+ "type": "object"
9087
+ },
9088
+ "OneTimeProductDiscountedOffer": {
9089
+ "description": "Configuration specific to discounted offers.",
9090
+ "id": "OneTimeProductDiscountedOffer",
9091
+ "properties": {
9092
+ "endTime": {
9093
+ "description": "Time when the offer will stop being available.",
9094
+ "format": "google-datetime",
9095
+ "type": "string"
9096
+ },
9097
+ "redemptionLimit": {
9098
+ "description": "Optional. The number of times this offer can be redeemed. If unset or set to 0, allows for unlimited offer redemptions. Otherwise must be a number between 1 and 50 inclusive.",
9099
+ "format": "int64",
9100
+ "type": "string"
9101
+ },
9102
+ "startTime": {
9103
+ "description": "Time when the offer will start being available.",
9104
+ "format": "google-datetime",
9105
+ "type": "string"
9106
+ }
9107
+ },
9108
+ "type": "object"
9109
+ },
9110
+ "OneTimeProductListing": {
9111
+ "description": "Regional store listing for a one-time product.",
9112
+ "id": "OneTimeProductListing",
9113
+ "properties": {
9114
+ "description": {
9115
+ "description": "Required. The description of this product in the language of this listing. The maximum length is 200 characters.",
9116
+ "type": "string"
9117
+ },
9118
+ "languageCode": {
9119
+ "description": "Required. The language of this listing, as defined by BCP-47, e.g., \"en-US\".",
9120
+ "type": "string"
9121
+ },
9122
+ "title": {
9123
+ "description": "Required. The title of this product in the language of this listing. The maximum length is 55 characters.",
9124
+ "type": "string"
9125
+ }
9126
+ },
9127
+ "type": "object"
9128
+ },
9129
+ "OneTimeProductOffer": {
9130
+ "description": "A single offer for a one-time product.",
9131
+ "id": "OneTimeProductOffer",
9132
+ "properties": {
9133
+ "discountedOffer": {
9134
+ "$ref": "OneTimeProductDiscountedOffer",
9135
+ "description": "A discounted offer."
9136
+ },
9137
+ "offerId": {
9138
+ "description": "Required. Immutable. The ID of this product offer. Must be unique within the purchase option. It must start with a number or lower-case letter, and can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The maximum length is 63 characters.",
9139
+ "type": "string"
9140
+ },
9141
+ "offerTags": {
9142
+ "description": "Optional. List of up to 20 custom tags specified for this offer, and returned to the app through the billing library.",
9143
+ "items": {
9144
+ "$ref": "OfferTag"
9145
+ },
9146
+ "type": "array"
9147
+ },
9148
+ "packageName": {
9149
+ "description": "Required. Immutable. The package name of the app the parent product belongs to.",
9150
+ "type": "string"
9151
+ },
9152
+ "preOrderOffer": {
9153
+ "$ref": "OneTimeProductPreOrderOffer",
9154
+ "description": "A pre-order offer."
9155
+ },
9156
+ "productId": {
9157
+ "description": "Required. Immutable. The ID of the parent product this offer belongs to.",
9158
+ "type": "string"
9159
+ },
9160
+ "purchaseOptionId": {
9161
+ "description": "Required. Immutable. The ID of the purchase option to which this offer is an extension.",
9162
+ "type": "string"
9163
+ },
9164
+ "regionalPricingAndAvailabilityConfigs": {
9165
+ "description": "Set of regional pricing and availability information for this offer. Must not have duplicate entries with the same region_code.",
9166
+ "items": {
9167
+ "$ref": "OneTimeProductOfferRegionalPricingAndAvailabilityConfig"
9168
+ },
9169
+ "type": "array"
9170
+ },
9171
+ "regionsVersion": {
9172
+ "$ref": "RegionsVersion",
9173
+ "description": "Output only. The version of the regions configuration that was used to generate the one-time product offer.",
9174
+ "readOnly": true
9175
+ },
9176
+ "state": {
9177
+ "description": "Output only. The current state of this offer. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.",
9178
+ "enum": [
9179
+ "STATE_UNSPECIFIED",
9180
+ "DRAFT",
9181
+ "ACTIVE",
9182
+ "CANCELLED",
9183
+ "INACTIVE"
9184
+ ],
9185
+ "enumDescriptions": [
9186
+ "Default value, should never be used.",
9187
+ "The offer is not and has never been available to users.",
9188
+ "The offer is available to users, as long as its conditions are met.",
9189
+ "This state is specific to pre-orders. The offer is cancelled and not available to users. All pending orders related to this offer were cancelled.",
9190
+ "This state is specific to discounted offers. The offer is no longer available to users."
9191
+ ],
9192
+ "readOnly": true,
9193
+ "type": "string"
9194
+ }
9195
+ },
9196
+ "type": "object"
9197
+ },
9198
+ "OneTimeProductOfferNoPriceOverrideOptions": {
9199
+ "description": "Options for one-time product offers without a regional price override.",
9200
+ "id": "OneTimeProductOfferNoPriceOverrideOptions",
9201
+ "properties": {},
9202
+ "type": "object"
9203
+ },
9204
+ "OneTimeProductOfferRegionalPricingAndAvailabilityConfig": {
9205
+ "description": "Regional pricing and availability configuration for a one-time product offer.",
9206
+ "id": "OneTimeProductOfferRegionalPricingAndAvailabilityConfig",
9207
+ "properties": {
9208
+ "absoluteDiscount": {
9209
+ "$ref": "Money",
9210
+ "description": "The absolute value of the discount that is subtracted from the purchase option price. It should be between 0 and the purchase option price."
9211
+ },
9212
+ "availability": {
9213
+ "description": "Required. The availability for this region.",
9214
+ "enum": [
9215
+ "AVAILABILITY_UNSPECIFIED",
9216
+ "AVAILABLE",
9217
+ "NO_LONGER_AVAILABLE"
9218
+ ],
9219
+ "enumDescriptions": [
9220
+ "Unspecified availability. Must not be used.",
9221
+ "The offer is available to users.",
9222
+ "The offer is no longer available to users. This value can only be used if the availability was previously set as AVAILABLE."
9223
+ ],
9224
+ "type": "string"
9225
+ },
9226
+ "noOverride": {
9227
+ "$ref": "OneTimeProductOfferNoPriceOverrideOptions",
9228
+ "description": "The price defined in the purchase option for this region will be used."
9229
+ },
9230
+ "regionCode": {
9231
+ "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., \"US\".",
9232
+ "type": "string"
9233
+ },
9234
+ "relativeDiscount": {
9235
+ "description": "The fraction of the purchase option price that the user pays for this offer. For example, if the purchase option price for this region is $12, then a 50% discount would correspond to a price of $6. The discount must be specified as a fraction strictly larger than 0 and strictly smaller than 1. The resulting price will be rounded to the nearest billable unit (e.g. cents for USD). The relative discount is considered invalid if the discounted price ends up being smaller than the minimum price allowed in this region.",
9236
+ "format": "double",
9237
+ "type": "number"
9238
+ }
9239
+ },
9240
+ "type": "object"
9241
+ },
9242
+ "OneTimeProductPreOrderOffer": {
9243
+ "description": "Configuration specific to pre-order offers.",
9244
+ "id": "OneTimeProductPreOrderOffer",
9245
+ "properties": {
9246
+ "endTime": {
9247
+ "description": "Required. Time when the pre-order will stop being available.",
9248
+ "format": "google-datetime",
9249
+ "type": "string"
9250
+ },
9251
+ "priceChangeBehavior": {
9252
+ "description": "Required. Immutable. Specifies how price changes affect pre-existing pre-orders.",
9253
+ "enum": [
9254
+ "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED",
9255
+ "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST",
9256
+ "PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY"
9257
+ ],
9258
+ "enumDescriptions": [
9259
+ "Unspecified price change behavior. Must not be used.",
9260
+ "The buyer gets charged the minimum between the initial price at the time of pre-order and the final offer price on the release date.",
9261
+ "The buyer gets the same price as the one they pre-ordered, regardless of any price changes that may have happened after the pre-order."
9262
+ ],
9263
+ "type": "string"
7705
9264
  },
7706
- "units": {
7707
- "description": "The whole units of the amount. For example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
7708
- "format": "int64",
9265
+ "releaseTime": {
9266
+ "description": "Required. Time on which the product associated with the pre-order will be released and the pre-order orders fulfilled.",
9267
+ "format": "google-datetime",
9268
+ "type": "string"
9269
+ },
9270
+ "startTime": {
9271
+ "description": "Required. Time when the pre-order will start being available.",
9272
+ "format": "google-datetime",
7709
9273
  "type": "string"
7710
9274
  }
7711
9275
  },
7712
9276
  "type": "object"
7713
9277
  },
7714
- "MultiAbi": {
7715
- "description": "Represents a list of ABIs.",
7716
- "id": "MultiAbi",
9278
+ "OneTimeProductPurchaseOption": {
9279
+ "description": "A single purchase option for a one-time product.",
9280
+ "id": "OneTimeProductPurchaseOption",
7717
9281
  "properties": {
7718
- "abi": {
7719
- "description": "A list of targeted ABIs, as represented by the Android Platform",
9282
+ "buyOption": {
9283
+ "$ref": "OneTimeProductBuyPurchaseOption",
9284
+ "description": "A purchase option that can be bought."
9285
+ },
9286
+ "newRegionsConfig": {
9287
+ "$ref": "OneTimeProductPurchaseOptionNewRegionsConfig",
9288
+ "description": "Pricing information for any new locations Play may launch in the future. If omitted, the purchase option will not be automatically available in any new locations Play may launch in the future."
9289
+ },
9290
+ "offerTags": {
9291
+ "description": "Optional. List of up to 20 custom tags specified for this purchase option, and returned to the app through the billing library. Offers for this purchase option will also receive these tags in the billing library.",
7720
9292
  "items": {
7721
- "$ref": "Abi"
9293
+ "$ref": "OfferTag"
7722
9294
  },
7723
9295
  "type": "array"
7724
- }
7725
9296
  },
7726
- "type": "object"
9297
+ "purchaseOptionId": {
9298
+ "description": "Required. Immutable. The unique identifier of this purchase option. Must be unique within the one-time product. It must start with a number or lower-case letter, and can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-). The maximum length is 63 characters.",
9299
+ "type": "string"
7727
9300
  },
7728
- "MultiAbiTargeting": {
7729
- "description": "Targeting based on multiple abis.",
7730
- "id": "MultiAbiTargeting",
7731
- "properties": {
7732
- "alternatives": {
7733
- "description": "Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.",
9301
+ "regionalPricingAndAvailabilityConfigs": {
9302
+ "description": "Regional pricing and availability information for this purchase option.",
7734
9303
  "items": {
7735
- "$ref": "MultiAbi"
9304
+ "$ref": "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig"
7736
9305
  },
7737
9306
  "type": "array"
7738
9307
  },
7739
- "value": {
7740
- "description": "Value of a multi abi.",
7741
- "items": {
7742
- "$ref": "MultiAbi"
9308
+ "rentOption": {
9309
+ "$ref": "OneTimeProductRentPurchaseOption",
9310
+ "description": "A purchase option that can be rented."
7743
9311
  },
7744
- "type": "array"
9312
+ "state": {
9313
+ "description": "Output only. The state of the purchase option, i.e., whether it's active. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.",
9314
+ "enum": [
9315
+ "STATE_UNSPECIFIED",
9316
+ "DRAFT",
9317
+ "ACTIVE",
9318
+ "INACTIVE",
9319
+ "INACTIVE_PUBLISHED"
9320
+ ],
9321
+ "enumDescriptions": [
9322
+ "Default value, should never be used.",
9323
+ "The purchase option is not and has never been available to users.",
9324
+ "The purchase option is available to users.",
9325
+ "The purchase option is not available to users anymore.",
9326
+ "The purchase option is not available for purchase anymore, but we continue to expose its offer via the Play Billing Library for backwards compatibility. Only automatically migrated purchase options can be in this state."
9327
+ ],
9328
+ "readOnly": true,
9329
+ "type": "string"
9330
+ },
9331
+ "taxAndComplianceSettings": {
9332
+ "$ref": "PurchaseOptionTaxAndComplianceSettings",
9333
+ "description": "Optional. Details about taxes and legal compliance."
7745
9334
  }
7746
9335
  },
7747
9336
  "type": "object"
7748
9337
  },
7749
- "OfferDetails": {
7750
- "description": "Offer details information related to a purchase line item.",
7751
- "id": "OfferDetails",
9338
+ "OneTimeProductPurchaseOptionNewRegionsConfig": {
9339
+ "description": "Pricing information for any new regions Play may launch in the future.",
9340
+ "id": "OneTimeProductPurchaseOptionNewRegionsConfig",
7752
9341
  "properties": {
7753
- "basePlanId": {
7754
- "description": "The base plan ID. Present for all base plan and offers.",
7755
- "type": "string"
7756
- },
7757
- "offerId": {
7758
- "description": "The offer ID. Only present for discounted offers.",
9342
+ "availability": {
9343
+ "description": "Required. The regional availability for the new regions config. When set to AVAILABLE, the pricing information will be used for any new regions Play may launch in the future.",
9344
+ "enum": [
9345
+ "AVAILABILITY_UNSPECIFIED",
9346
+ "AVAILABLE",
9347
+ "NO_LONGER_AVAILABLE"
9348
+ ],
9349
+ "enumDescriptions": [
9350
+ "Unspecified availability. Must not be used.",
9351
+ "The config will be used for any new regions Play may launch in the future.",
9352
+ "The config is not available anymore and will not be used for any new regions Play may launch in the future. This value can only be used if the availability was previously set as AVAILABLE."
9353
+ ],
7759
9354
  "type": "string"
7760
9355
  },
7761
- "offerTags": {
7762
- "description": "The latest offer tags associated with the offer. It includes tags inherited from the base plan.",
7763
- "items": {
7764
- "type": "string"
9356
+ "eurPrice": {
9357
+ "$ref": "Money",
9358
+ "description": "Required. Price in EUR to use for any new regions Play may launch in."
7765
9359
  },
7766
- "type": "array"
9360
+ "usdPrice": {
9361
+ "$ref": "Money",
9362
+ "description": "Required. Price in USD to use for any new regions Play may launch in."
7767
9363
  }
7768
9364
  },
7769
9365
  "type": "object"
7770
9366
  },
7771
- "OfferTag": {
7772
- "description": "Represents a custom tag specified for a product offer.",
7773
- "id": "OfferTag",
9367
+ "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig": {
9368
+ "description": "Regional pricing and availability configuration for a purchase option.",
9369
+ "id": "OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig",
7774
9370
  "properties": {
7775
- "tag": {
7776
- "description": "Must conform with RFC-1034. That is, this string can only contain lower-case letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters.",
9371
+ "availability": {
9372
+ "description": "The availability of the purchase option.",
9373
+ "enum": [
9374
+ "AVAILABILITY_UNSPECIFIED",
9375
+ "AVAILABLE",
9376
+ "NO_LONGER_AVAILABLE",
9377
+ "AVAILABLE_IF_RELEASED",
9378
+ "AVAILABLE_FOR_OFFERS_ONLY"
9379
+ ],
9380
+ "enumDescriptions": [
9381
+ "Unspecified availability. Must not be used.",
9382
+ "The purchase option is available to users.",
9383
+ "The purchase option is no longer available to users. This value can only be used if the availability was previously set as AVAILABLE.",
9384
+ "The purchase option is initially unavailable, but made available via a released pre-order offer.",
9385
+ "The purchase option is unavailable but offers linked to it (i.e. Play Points offer) are available."
9386
+ ],
9387
+ "type": "string"
9388
+ },
9389
+ "price": {
9390
+ "$ref": "Money",
9391
+ "description": "The price of the purchase option in the specified region. Must be set in the currency that is linked to the specified region."
9392
+ },
9393
+ "regionCode": {
9394
+ "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., \"US\".",
7777
9395
  "type": "string"
7778
9396
  }
7779
9397
  },
7780
9398
  "type": "object"
7781
9399
  },
7782
- "OneTimeCode": {
7783
- "description": "A single use promotion code.",
7784
- "id": "OneTimeCode",
7785
- "properties": {},
9400
+ "OneTimeProductRentPurchaseOption": {
9401
+ "description": "A purchase option that can be rented.",
9402
+ "id": "OneTimeProductRentPurchaseOption",
9403
+ "properties": {
9404
+ "expirationPeriod": {
9405
+ "description": "Optional. The amount of time the user has after starting consuming the entitlement before it is revoked. Specified in ISO 8601 format.",
9406
+ "type": "string"
9407
+ },
9408
+ "rentalPeriod": {
9409
+ "description": "Required. The amount of time a user has the entitlement for. Starts at purchase flow completion. Specified in ISO 8601 format.",
9410
+ "type": "string"
9411
+ }
9412
+ },
7786
9413
  "type": "object"
7787
9414
  },
7788
- "OneTimeExternalTransaction": {
7789
- "description": "Represents a one-time transaction.",
7790
- "id": "OneTimeExternalTransaction",
9415
+ "OneTimeProductTaxAndComplianceSettings": {
9416
+ "description": "Details about taxation, Google Play policy and legal compliance for one-time products.",
9417
+ "id": "OneTimeProductTaxAndComplianceSettings",
7791
9418
  "properties": {
7792
- "externalTransactionToken": {
7793
- "description": "Input only. Provided during the call to Create. Retrieved from the client when the alternative billing flow is launched.",
7794
- "type": "string"
9419
+ "isTokenizedDigitalAsset": {
9420
+ "description": "Whether this one-time product is declared as a product representing a tokenized digital asset.",
9421
+ "type": "boolean"
9422
+ },
9423
+ "regionalTaxConfigs": {
9424
+ "description": "Regional tax configuration.",
9425
+ "items": {
9426
+ "$ref": "RegionalTaxConfig"
9427
+ },
9428
+ "type": "array"
7795
9429
  }
7796
9430
  },
7797
9431
  "type": "object"
@@ -8422,6 +10056,27 @@ false
8422
10056
  },
8423
10057
  "type": "object"
8424
10058
  },
10059
+ "PurchaseOptionTaxAndComplianceSettings": {
10060
+ "description": "Details about taxation, Google Play policy and legal compliance for one-time product purchase options.",
10061
+ "id": "PurchaseOptionTaxAndComplianceSettings",
10062
+ "properties": {
10063
+ "withdrawalRightType": {
10064
+ "description": "Optional. Digital content or service classification for products distributed to users in eligible regions. If unset, it defaults to `WITHDRAWAL_RIGHT_DIGITAL_CONTENT`. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information.",
10065
+ "enum": [
10066
+ "WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED",
10067
+ "WITHDRAWAL_RIGHT_DIGITAL_CONTENT",
10068
+ "WITHDRAWAL_RIGHT_SERVICE"
10069
+ ],
10070
+ "enumDescriptions": [
10071
+ "",
10072
+ "",
10073
+ ""
10074
+ ],
10075
+ "type": "string"
10076
+ }
10077
+ },
10078
+ "type": "object"
10079
+ },
8425
10080
  "PurchaseStateContext": {
8426
10081
  "description": "Context about the purchase state.",
8427
10082
  "id": "PurchaseStateContext",
@@ -8646,6 +10301,63 @@ false
8646
10301
  "properties": {},
8647
10302
  "type": "object"
8648
10303
  },
10304
+ "RegionalTaxConfig": {
10305
+ "description": "Details about taxation in a given geographical region.",
10306
+ "id": "RegionalTaxConfig",
10307
+ "properties": {
10308
+ "eligibleForStreamingServiceTaxRate": {
10309
+ "description": "You must tell us if your app contains streaming products to correctly charge US state and local sales tax. Field only supported in the United States.",
10310
+ "type": "boolean"
10311
+ },
10312
+ "regionCode": {
10313
+ "description": "Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. \"US\".",
10314
+ "type": "string"
10315
+ },
10316
+ "streamingTaxType": {
10317
+ "description": "To collect communications or amusement taxes in the United States, choose the appropriate tax category. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498#streaming_tax).",
10318
+ "enum": [
10319
+ "STREAMING_TAX_TYPE_UNSPECIFIED",
10320
+ "STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL",
10321
+ "STREAMING_TAX_TYPE_TELCO_VIDEO_SALES",
10322
+ "STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL",
10323
+ "STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL",
10324
+ "STREAMING_TAX_TYPE_TELCO_AUDIO_SALES",
10325
+ "STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL"
10326
+ ],
10327
+ "enumDescriptions": [
10328
+ "No telecommunications tax collected.",
10329
+ "US-specific telecommunications tax tier for video streaming, on demand, rentals / subscriptions / pay-per-view.",
10330
+ "US-specific telecommunications tax tier for video streaming of pre-recorded content like movies, tv shows.",
10331
+ "US-specific telecommunications tax tier for video streaming of multi-channel programming.",
10332
+ "US-specific telecommunications tax tier for audio streaming, rental / subscription.",
10333
+ "US-specific telecommunications tax tier for audio streaming, sale / permanent download.",
10334
+ "US-specific telecommunications tax tier for multi channel audio streaming like radio."
10335
+ ],
10336
+ "type": "string"
10337
+ },
10338
+ "taxTier": {
10339
+ "description": "Tax tier to specify reduced tax rate. Developers who sell digital news, magazines, newspapers, books, or audiobooks in various regions may be eligible for reduced tax rates. [Learn more](https://support.google.com/googleplay/android-developer/answer/10463498).",
10340
+ "enum": [
10341
+ "TAX_TIER_UNSPECIFIED",
10342
+ "TAX_TIER_BOOKS_1",
10343
+ "TAX_TIER_NEWS_1",
10344
+ "TAX_TIER_NEWS_2",
10345
+ "TAX_TIER_MUSIC_OR_AUDIO_1",
10346
+ "TAX_TIER_LIVE_OR_BROADCAST_1"
10347
+ ],
10348
+ "enumDescriptions": [
10349
+ "",
10350
+ "",
10351
+ "",
10352
+ "",
10353
+ "",
10354
+ ""
10355
+ ],
10356
+ "type": "string"
10357
+ }
10358
+ },
10359
+ "type": "object"
10360
+ },
8649
10361
  "RegionalTaxRateInfo": {
8650
10362
  "description": "Specified details about taxation in a given geographical region.",
8651
10363
  "id": "RegionalTaxRateInfo",
@@ -10277,6 +11989,116 @@ false
10277
11989
  },
10278
11990
  "type": "object"
10279
11991
  },
11992
+ "UpdateOneTimeProductOfferRequest": {
11993
+ "description": "Request message for UpdateOneTimeProductOffer.",
11994
+ "id": "UpdateOneTimeProductOfferRequest",
11995
+ "properties": {
11996
+ "allowMissing": {
11997
+ "description": "Optional. If set to true, and the offer with the given package_name, product_id, purchase_option_id and offer_id doesn't exist, an offer will be created. If a new offer is created, the update_mask is ignored.",
11998
+ "type": "boolean"
11999
+ },
12000
+ "latencyTolerance": {
12001
+ "description": "Optional. The latency tolerance for the propagation of this offer update. Defaults to latency-sensitive.",
12002
+ "enum": [
12003
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
12004
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
12005
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
12006
+ ],
12007
+ "enumDescriptions": [
12008
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
12009
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
12010
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
12011
+ ],
12012
+ "type": "string"
12013
+ },
12014
+ "oneTimeProductOffer": {
12015
+ "$ref": "OneTimeProductOffer",
12016
+ "description": "Required. The one-time product offer to update."
12017
+ },
12018
+ "regionsVersion": {
12019
+ "$ref": "RegionsVersion",
12020
+ "description": "Required. The version of the available regions being used for the offer."
12021
+ },
12022
+ "updateMask": {
12023
+ "description": "Required. The list of fields to be updated.",
12024
+ "format": "google-fieldmask",
12025
+ "type": "string"
12026
+ }
12027
+ },
12028
+ "type": "object"
12029
+ },
12030
+ "UpdateOneTimeProductOfferStateRequest": {
12031
+ "description": "Request message to update the state of a one-time product offer.",
12032
+ "id": "UpdateOneTimeProductOfferStateRequest",
12033
+ "properties": {
12034
+ "activateOneTimeProductOfferRequest": {
12035
+ "$ref": "ActivateOneTimeProductOfferRequest",
12036
+ "description": "Activates an offer. Once activated, the offer is available to users, as long as its conditions are met."
12037
+ },
12038
+ "cancelOneTimeProductOfferRequest": {
12039
+ "$ref": "CancelOneTimeProductOfferRequest",
12040
+ "description": "Cancels an offer. Once cancelled, the offer is not available to users. Any pending orders related to this offer will be cancelled. This state transition is specific to pre-orders."
12041
+ },
12042
+ "deactivateOneTimeProductOfferRequest": {
12043
+ "$ref": "DeactivateOneTimeProductOfferRequest",
12044
+ "description": "Deactivates an offer. Once deactivated, the offer is no longer available to users. This state transition is specific to discounted offers."
12045
+ }
12046
+ },
12047
+ "type": "object"
12048
+ },
12049
+ "UpdateOneTimeProductRequest": {
12050
+ "description": "Request message for UpdateOneTimeProduct.",
12051
+ "id": "UpdateOneTimeProductRequest",
12052
+ "properties": {
12053
+ "allowMissing": {
12054
+ "description": "Optional. If set to true, and the one-time product with the given package_name and product_id doesn't exist, the one-time product will be created. If a new one-time product is created, update_mask is ignored.",
12055
+ "type": "boolean"
12056
+ },
12057
+ "latencyTolerance": {
12058
+ "description": "Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive.",
12059
+ "enum": [
12060
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED",
12061
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE",
12062
+ "PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT"
12063
+ ],
12064
+ "enumDescriptions": [
12065
+ "Defaults to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE.",
12066
+ "The update will propagate to clients within several minutes on average and up to a few hours in rare cases. Throughput is limited to 7,200 updates per app per hour.",
12067
+ "The update will propagate to clients within 24 hours. Supports high throughput of up to 720,000 updates per app per hour using batch modification methods."
12068
+ ],
12069
+ "type": "string"
12070
+ },
12071
+ "oneTimeProduct": {
12072
+ "$ref": "OneTimeProduct",
12073
+ "description": "Required. The one-time product to upsert."
12074
+ },
12075
+ "regionsVersion": {
12076
+ "$ref": "RegionsVersion",
12077
+ "description": "Required. The version of the available regions being used for the one-time product."
12078
+ },
12079
+ "updateMask": {
12080
+ "description": "Required. The list of fields to be updated.",
12081
+ "format": "google-fieldmask",
12082
+ "type": "string"
12083
+ }
12084
+ },
12085
+ "type": "object"
12086
+ },
12087
+ "UpdatePurchaseOptionStateRequest": {
12088
+ "description": "Request message to update the state of a one-time product purchase option.",
12089
+ "id": "UpdatePurchaseOptionStateRequest",
12090
+ "properties": {
12091
+ "activatePurchaseOptionRequest": {
12092
+ "$ref": "ActivatePurchaseOptionRequest",
12093
+ "description": "Activates a purchase option. Once activated, the purchase option will be available."
12094
+ },
12095
+ "deactivatePurchaseOptionRequest": {
12096
+ "$ref": "DeactivatePurchaseOptionRequest",
12097
+ "description": "Deactivates a purchase option. Once deactivated, the purchase option will become unavailable."
12098
+ }
12099
+ },
12100
+ "type": "object"
12101
+ },
10280
12102
  "UpdateSubscriptionOfferRequest": {
10281
12103
  "description": "Request message for UpdateSubscriptionOffer.",
10282
12104
  "id": "UpdateSubscriptionOfferRequest",