@maxim_mazurok/gapi.client.androidpublisher-v3 0.2.20260316 → 0.3.20260603

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 (3) hide show
  1. package/index.d.ts +964 -526
  2. package/package.json +1 -1
  3. package/readme.md +17 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://androidpublisher.googleapis.com/$discovery/rest?version=v3
12
- // Revision: 20260316
12
+ // Revision: 20260603
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -30,7 +30,14 @@ declare namespace gapi.client {
30
30
  namespace androidpublisher {
31
31
  interface Abi {
32
32
  /** Alias for an abi. */
33
- alias?: string;
33
+ alias?:
34
+ | 'UNSPECIFIED_CPU_ARCHITECTURE'
35
+ | 'ARMEABI'
36
+ | 'ARMEABI_V7A'
37
+ | 'ARM64_V8A'
38
+ | 'X86'
39
+ | 'X86_64'
40
+ | 'RISCV64';
34
41
  }
35
42
  interface AbiTargeting {
36
43
  /** Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits. */
@@ -46,7 +53,10 @@ declare namespace gapi.client {
46
53
  /** Required. The unique base plan ID of the base plan to activate. */
47
54
  basePlanId?: string;
48
55
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
49
- latencyTolerance?: string;
56
+ latencyTolerance?:
57
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
58
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
59
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
50
60
  /** Required. The parent app (package name) of the base plan to activate. */
51
61
  packageName?: string;
52
62
  /** Required. The parent subscription (ID) of the base plan to activate. */
@@ -54,7 +64,10 @@ declare namespace gapi.client {
54
64
  }
55
65
  interface ActivateOneTimeProductOfferRequest {
56
66
  /** Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive. */
57
- latencyTolerance?: string;
67
+ latencyTolerance?:
68
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
69
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
70
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
58
71
  /** Required. The offer ID of the offer to activate. */
59
72
  offerId?: string;
60
73
  /** Required. The parent app (package name) of the offer to activate. */
@@ -66,7 +79,10 @@ declare namespace gapi.client {
66
79
  }
67
80
  interface ActivatePurchaseOptionRequest {
68
81
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
69
- latencyTolerance?: string;
82
+ latencyTolerance?:
83
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
84
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
85
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
70
86
  /** Required. The parent app (package name) of the purchase option to activate. */
71
87
  packageName?: string;
72
88
  /** Required. The parent one-time product (ID) of the purchase option to activate. */
@@ -78,7 +94,10 @@ declare namespace gapi.client {
78
94
  /** Required. The parent base plan (ID) of the offer to activate. */
79
95
  basePlanId?: string;
80
96
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
81
- latencyTolerance?: string;
97
+ latencyTolerance?:
98
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
99
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
100
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
82
101
  /** Required. The unique offer ID of the offer to activate. */
83
102
  offerId?: string;
84
103
  /** Required. The parent app (package name) of the offer to activate. */
@@ -189,7 +208,13 @@ declare namespace gapi.client {
189
208
  /** Data about the remote in-app update action such as such as recovered user base, recoverable user base etc. Set only if the recovery action type is Remote In-App Update. */
190
209
  remoteInAppUpdateData?: RemoteInAppUpdateData;
191
210
  /** The status of the recovery action. */
192
- status?: string;
211
+ status?:
212
+ | 'RECOVERY_STATUS_UNSPECIFIED'
213
+ | 'RECOVERY_STATUS_ACTIVE'
214
+ | 'RECOVERY_STATUS_CANCELED'
215
+ | 'RECOVERY_STATUS_DRAFT'
216
+ | 'RECOVERY_STATUS_GENERATION_IN_PROGRESS'
217
+ | 'RECOVERY_STATUS_GENERATION_FAILED';
193
218
  /** Specifies targeting criteria for the recovery action such as regions, android sdk versions, app versions etc. */
194
219
  targeting?: Targeting;
195
220
  }
@@ -205,12 +230,16 @@ declare namespace gapi.client {
205
230
  }
206
231
  interface ArchiveSubscriptionRequest {}
207
232
  interface ArtifactSummary {
208
- /** The version code of the artifact. */
233
+ /** Artifact's version code */
209
234
  versionCode?: number;
210
235
  }
211
236
  interface AssetModuleMetadata {
212
237
  /** Indicates the delivery type for persistent install. */
213
- deliveryType?: string;
238
+ deliveryType?:
239
+ | 'UNKNOWN_DELIVERY_TYPE'
240
+ | 'INSTALL_TIME'
241
+ | 'ON_DEMAND'
242
+ | 'FAST_FOLLOW';
214
243
  /** Module name. */
215
244
  name?: string;
216
245
  }
@@ -232,9 +261,15 @@ declare namespace gapi.client {
232
261
  /** Subscription offer id which is legacy compatible. The backward compatible subscription offer is returned by the Google Play Billing Library deprecated method querySkuDetailsAsync(). Only one subscription offer can be marked as legacy compatible for a given renewing base plan. To have no Subscription offer as legacy compatible set this field as empty string. */
233
262
  legacyCompatibleSubscriptionOfferId?: string;
234
263
  /** The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE. */
235
- prorationMode?: string;
264
+ prorationMode?:
265
+ | 'SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED'
266
+ | 'SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE'
267
+ | 'SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY';
236
268
  /** Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified. */
237
- resubscribeState?: string;
269
+ resubscribeState?:
270
+ | 'RESUBSCRIBE_STATE_UNSPECIFIED'
271
+ | 'RESUBSCRIBE_STATE_ACTIVE'
272
+ | 'RESUBSCRIBE_STATE_INACTIVE';
238
273
  }
239
274
  interface AutoRenewingPlan {
240
275
  /** If the subscription is currently set to auto-renew, e.g. the user has not canceled the subscription */
@@ -245,7 +280,7 @@ declare namespace gapi.client {
245
280
  priceChangeDetails?: SubscriptionItemPriceChangeDetails;
246
281
  /** The information of the latest price step-up consent. */
247
282
  priceStepUpConsentDetails?: PriceStepUpConsentDetails;
248
- /** The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and does not include taxes for tax-exclusive pricing, please call orders.get API instead if transaction details are needed. */
283
+ /** The current recurring price of the auto renewing plan. Note that the price does not take into account discounts and does not include taxes. For tax-exclusive pricing, please call orders.get API instead if transaction details are needed. */
249
284
  recurringPrice?: Money;
250
285
  }
251
286
  interface BaseDetails {}
@@ -265,7 +300,7 @@ declare namespace gapi.client {
265
300
  /** Region-specific information for this base plan. */
266
301
  regionalConfigs?: RegionalBasePlanConfig[];
267
302
  /** Output only. The state of the base plan, i.e. whether it's active. Draft and inactive base plans can be activated or deleted. Active base plans can be made inactive. Inactive base plans can be canceled. This field cannot be changed by updating the resource. Use the dedicated endpoints instead. */
268
- state?: string;
303
+ state?: 'STATE_UNSPECIFIED' | 'DRAFT' | 'ACTIVE' | 'INACTIVE';
269
304
  }
270
305
  interface BasePriceOfferPhase {}
271
306
  interface BatchDeleteOneTimeProductOffersRequest {
@@ -415,7 +450,10 @@ declare namespace gapi.client {
415
450
  }
416
451
  interface CancellationContext {
417
452
  /** Required. The type of cancellation for the purchased subscription. */
418
- cancellationType?: string;
453
+ cancellationType?:
454
+ | 'CANCELLATION_TYPE_UNSPECIFIED'
455
+ | 'USER_REQUESTED_STOP_RENEWALS'
456
+ | 'DEVELOPER_REQUESTED_STOP_PAYMENTS';
419
457
  }
420
458
  interface CancellationEvent {
421
459
  /** The time when the order was canceled. */
@@ -423,7 +461,10 @@ declare namespace gapi.client {
423
461
  }
424
462
  interface CancelOneTimeProductOfferRequest {
425
463
  /** Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive. */
426
- latencyTolerance?: string;
464
+ latencyTolerance?:
465
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
466
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
467
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
427
468
  /** Required. The offer ID of the offer to cancel. */
428
469
  offerId?: string;
429
470
  /** Required. The parent app (package name) of the offer to cancel. */
@@ -440,7 +481,13 @@ declare namespace gapi.client {
440
481
  interface CancelSubscriptionPurchaseResponse {}
441
482
  interface CancelSurveyResult {
442
483
  /** The reason the user selected in the cancel survey. */
443
- reason?: string;
484
+ reason?:
485
+ | 'CANCEL_SURVEY_REASON_UNSPECIFIED'
486
+ | 'CANCEL_SURVEY_REASON_NOT_ENOUGH_USAGE'
487
+ | 'CANCEL_SURVEY_REASON_TECHNICAL_ISSUES'
488
+ | 'CANCEL_SURVEY_REASON_COST_RELATED'
489
+ | 'CANCEL_SURVEY_REASON_FOUND_BETTER_APP'
490
+ | 'CANCEL_SURVEY_REASON_OTHERS';
444
491
  /** Only set for CANCEL_SURVEY_REASON_OTHERS. This is the user's freeform response to the survey. */
445
492
  reasonUserInput?: string;
446
493
  }
@@ -494,7 +541,10 @@ declare namespace gapi.client {
494
541
  /** Required. The unique base plan ID of the base plan to deactivate. */
495
542
  basePlanId?: string;
496
543
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
497
- latencyTolerance?: string;
544
+ latencyTolerance?:
545
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
546
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
547
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
498
548
  /** Required. The parent app (package name) of the base plan to deactivate. */
499
549
  packageName?: string;
500
550
  /** Required. The parent subscription (ID) of the base plan to deactivate. */
@@ -502,7 +552,10 @@ declare namespace gapi.client {
502
552
  }
503
553
  interface DeactivateOneTimeProductOfferRequest {
504
554
  /** Optional. The latency tolerance for the propagation of this update. Defaults to latency-sensitive. */
505
- latencyTolerance?: string;
555
+ latencyTolerance?:
556
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
557
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
558
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
506
559
  /** Required. The offer ID of the offer to deactivate. */
507
560
  offerId?: string;
508
561
  /** Required. The parent app (package name) of the offer to deactivate. */
@@ -514,7 +567,10 @@ declare namespace gapi.client {
514
567
  }
515
568
  interface DeactivatePurchaseOptionRequest {
516
569
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
517
- latencyTolerance?: string;
570
+ latencyTolerance?:
571
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
572
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
573
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
518
574
  /** Required. The parent app (package name) of the purchase option to deactivate. */
519
575
  packageName?: string;
520
576
  /** Required. The parent one-time product (ID) of the purchase option to deactivate. */
@@ -526,7 +582,10 @@ declare namespace gapi.client {
526
582
  /** Required. The parent base plan (ID) of the offer to deactivate. */
527
583
  basePlanId?: string;
528
584
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
529
- latencyTolerance?: string;
585
+ latencyTolerance?:
586
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
587
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
588
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
530
589
  /** Required. The unique offer ID of the offer to deactivate. */
531
590
  offerId?: string;
532
591
  /** Required. The parent app (package name) of the offer to deactivate. */
@@ -557,7 +616,10 @@ declare namespace gapi.client {
557
616
  }
558
617
  interface DeleteOneTimeProductOfferRequest {
559
618
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
560
- latencyTolerance?: string;
619
+ latencyTolerance?:
620
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
621
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
622
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
561
623
  /** Required. The unique offer ID of the offer to delete. */
562
624
  offerId?: string;
563
625
  /** Required. The parent app (package name) of the offer to delete. */
@@ -569,7 +631,10 @@ declare namespace gapi.client {
569
631
  }
570
632
  interface DeleteOneTimeProductRequest {
571
633
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
572
- latencyTolerance?: string;
634
+ latencyTolerance?:
635
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
636
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
637
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
573
638
  /** Required. The parent app (package name) of the one-time product to delete. */
574
639
  packageName?: string;
575
640
  /** Required. The one-time product ID of the one-time product to delete. */
@@ -579,7 +644,10 @@ declare namespace gapi.client {
579
644
  /** 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. */
580
645
  force?: boolean;
581
646
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
582
- latencyTolerance?: string;
647
+ latencyTolerance?:
648
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
649
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
650
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
583
651
  /** Required. The parent app (package name) of the purchase option to delete. */
584
652
  packageName?: string;
585
653
  /** Required. The parent one-time product (ID) of the purchase option to delete. */
@@ -589,7 +657,10 @@ declare namespace gapi.client {
589
657
  }
590
658
  interface DeobfuscationFile {
591
659
  /** The type of the deobfuscation file. */
592
- symbolType?: string;
660
+ symbolType?:
661
+ | 'deobfuscationFileTypeUnspecified'
662
+ | 'proguard'
663
+ | 'nativeCode';
593
664
  }
594
665
  interface DeobfuscationFilesUploadResponse {
595
666
  /** The uploaded Deobfuscation File configuration. */
@@ -758,15 +829,24 @@ declare namespace gapi.client {
758
829
  /** Optional. The external transaction id associated with the app download event through an external link. Required when reporting transactions made in externally installed apps. */
759
830
  appDownloadEventExternalTransactionId?: string;
760
831
  /** Optional. The category of the downloaded app though this transaction. This must match the category provided in Play Console during the external app verification process. Only required for app downloads. */
761
- installedAppCategory?: string;
832
+ installedAppCategory?:
833
+ | 'EXTERNAL_OFFER_APP_CATEGORY_UNSPECIFIED'
834
+ | 'APP'
835
+ | 'GAME';
762
836
  /** Optional. The package name of the app downloaded through this transaction. Required when link_type is LINK_TO_APP_DOWNLOAD. */
763
837
  installedAppPackage?: string;
764
838
  /** Optional. The type of content being reported by this transaction. Required when reporting app downloads or purchased digital content offers made in app installed through Google Play. */
765
- linkType?: string;
839
+ linkType?:
840
+ | 'EXTERNAL_OFFER_LINK_TYPE_UNSPECIFIED'
841
+ | 'LINK_TO_DIGITAL_CONTENT_OFFER'
842
+ | 'LINK_TO_APP_DOWNLOAD';
766
843
  }
767
844
  interface ExternalSubscription {
768
845
  /** Required. The type of the external subscription. */
769
- subscriptionType?: string;
846
+ subscriptionType?:
847
+ | 'SUBSCRIPTION_TYPE_UNSPECIFIED'
848
+ | 'RECURRING'
849
+ | 'PREPAID';
770
850
  }
771
851
  interface ExternalTransaction {
772
852
  /** Output only. The time when this transaction was created. This is the time when Google was notified of the transaction. */
@@ -794,7 +874,10 @@ declare namespace gapi.client {
794
874
  /** Optional. The transaction program code, used to help determine service fee for eligible apps participating in partner programs. Developers participating in the Play Media Experience Program (https://play.google.com/console/about/programs/mediaprogram/) must provide the program code when reporting alternative billing transactions. If you are an eligible developer, please contact your BDM for more information on how to set this field. Note: this field can not be used for external offers transactions. */
795
875
  transactionProgramCode?: number;
796
876
  /** Output only. The current state of the transaction. */
797
- transactionState?: string;
877
+ transactionState?:
878
+ | 'TRANSACTION_STATE_UNSPECIFIED'
879
+ | 'TRANSACTION_REPORTED'
880
+ | 'TRANSACTION_CANCELED';
798
881
  /** Required. The time when the transaction was completed. */
799
882
  transactionTime?: string;
800
883
  /** Required. User address for tax computation. */
@@ -829,6 +912,10 @@ declare namespace gapi.client {
829
912
  generatedUniversalApk?: GeneratedUniversalApk;
830
913
  /** Contains targeting information about the generated apks. */
831
914
  targetingInfo?: TargetingInfo;
915
+ /** List of generated split APKs without automatic protection, signed with a key corresponding to certificate_sha256_hash. This field is only present if the app uses automatic protection. In this case, `generated_split_apks` contains APKs with automatic protection enabled, whereas this field contains APKs without automatic protection. */
916
+ unprotectedGeneratedSplitApks?: GeneratedSplitApk[];
917
+ /** List of generated standalone APKs without automatic protection, signed with a key corresponding to certificate_sha256_hash. This field is only present if the app uses automatic protection. In this case, `generated_standalone_apks` contains APKs with automatic protection enabled, whereas this field contains APKs without automatic protection. */
918
+ unprotectedGeneratedStandaloneApks?: GeneratedStandaloneApk[];
832
919
  }
833
920
  interface GeneratedAssetPackSlice {
834
921
  /** Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method. */
@@ -848,7 +935,13 @@ declare namespace gapi.client {
848
935
  /** ID of the recovery action. */
849
936
  recoveryId?: string;
850
937
  /** The status of the recovery action corresponding to the recovery apk. */
851
- recoveryStatus?: string;
938
+ recoveryStatus?:
939
+ | 'RECOVERY_STATUS_UNSPECIFIED'
940
+ | 'RECOVERY_STATUS_ACTIVE'
941
+ | 'RECOVERY_STATUS_CANCELED'
942
+ | 'RECOVERY_STATUS_DRAFT'
943
+ | 'RECOVERY_STATUS_GENERATION_IN_PROGRESS'
944
+ | 'RECOVERY_STATUS_GENERATION_FAILED';
852
945
  }
853
946
  interface GeneratedSplitApk {
854
947
  /** Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method. */
@@ -892,7 +985,22 @@ declare namespace gapi.client {
892
985
  }
893
986
  interface Grant {
894
987
  /** The permissions granted to the user for this app. */
895
- appLevelPermissions?: string[];
988
+ appLevelPermissions?:
989
+ | 'APP_LEVEL_PERMISSION_UNSPECIFIED'
990
+ | 'CAN_ACCESS_APP'
991
+ | 'CAN_VIEW_FINANCIAL_DATA'
992
+ | 'CAN_MANAGE_PERMISSIONS'
993
+ | 'CAN_REPLY_TO_REVIEWS'
994
+ | 'CAN_MANAGE_PUBLIC_APKS'
995
+ | 'CAN_MANAGE_TRACK_APKS'
996
+ | 'CAN_MANAGE_TRACK_USERS'
997
+ | 'CAN_MANAGE_PUBLIC_LISTING'
998
+ | 'CAN_MANAGE_DRAFT_APPS'
999
+ | 'CAN_MANAGE_ORDERS'
1000
+ | 'CAN_MANAGE_APP_CONTENT'
1001
+ | 'CAN_VIEW_NON_FINANCIAL_DATA'
1002
+ | 'CAN_VIEW_APP_QUALITY'
1003
+ | 'CAN_MANAGE_DEEPLINKS'[];
896
1004
  /** Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". If this grant is for a draft app, the app ID will be used in this resource name instead of the package name. */
897
1005
  name?: string;
898
1006
  /** Immutable. The package name of the app. This will be empty for draft apps. */
@@ -936,11 +1044,11 @@ declare namespace gapi.client {
936
1044
  /** Prices per buyer region. None of these can be zero, as in-app products are never free. Map key is region code, as defined by ISO 3166-2. */
937
1045
  prices?: {[P in string]: Price};
938
1046
  /** The type of the product, e.g. a recurring subscription. */
939
- purchaseType?: string;
1047
+ purchaseType?: 'purchaseTypeUnspecified' | 'managedUser' | 'subscription';
940
1048
  /** Stock-keeping-unit (SKU) of the product, unique within an app. */
941
1049
  sku?: string;
942
1050
  /** The status of the product, e.g. whether it's active. */
943
- status?: string;
1051
+ status?: 'statusUnspecified' | 'active' | 'inactive';
944
1052
  /** Subscription period, specified in ISO 8601 format. Acceptable values are P1W (one week), P1M (one month), P3M (three months), P6M (six months), and P1Y (one year). */
945
1053
  subscriptionPeriod?: string;
946
1054
  /** Details about taxes and legal compliance. Only applicable to subscription products. */
@@ -974,7 +1082,10 @@ declare namespace gapi.client {
974
1082
  }
975
1083
  interface InappproductsDeleteRequest {
976
1084
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
977
- latencyTolerance?: string;
1085
+ latencyTolerance?:
1086
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
1087
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
1088
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
978
1089
  /** Package name of the app. */
979
1090
  packageName?: string;
980
1091
  /** Unique identifier for the in-app product. */
@@ -998,12 +1109,19 @@ declare namespace gapi.client {
998
1109
  /** The new in-app product. */
999
1110
  inappproduct?: InAppProduct;
1000
1111
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
1001
- latencyTolerance?: string;
1112
+ latencyTolerance?:
1113
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
1114
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
1115
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
1002
1116
  /** Package name of the app. */
1003
1117
  packageName?: string;
1004
1118
  /** Unique identifier for the in-app product. */
1005
1119
  sku?: string;
1006
1120
  }
1121
+ interface InGracePeriodStateContext {
1122
+ /** Optional. The payment for the renewal was declined. */
1123
+ renewalDeclined?: RenewalDeclinedContext;
1124
+ }
1007
1125
  interface InstallmentPlan {
1008
1126
  /** Total number of payments the user is initially committed for. */
1009
1127
  initialCommittedPaymentsCount?: number;
@@ -1024,11 +1142,20 @@ declare namespace gapi.client {
1024
1142
  /** Grace period of the subscription, specified in ISO 8601 format. Acceptable values must be in days and between P0D and the lesser of 30D and base plan billing period. If not specified, a default value will be used based on the billing period. The sum of gracePeriodDuration and accountHoldDuration must be between P30D and P60D days, inclusive. */
1025
1143
  gracePeriodDuration?: string;
1026
1144
  /** The proration mode for the base plan determines what happens when a user switches to this plan from another base plan. If unspecified, defaults to CHARGE_ON_NEXT_BILLING_DATE. */
1027
- prorationMode?: string;
1145
+ prorationMode?:
1146
+ | 'SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED'
1147
+ | 'SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE'
1148
+ | 'SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY';
1028
1149
  /** Required. Immutable. Installments base plan renewal type. Determines the behavior at the end of the initial commitment. The renewal type is immutable after the base plan is created. */
1029
- renewalType?: string;
1150
+ renewalType?:
1151
+ | 'RENEWAL_TYPE_UNSPECIFIED'
1152
+ | 'RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT'
1153
+ | 'RENEWAL_TYPE_RENEWS_WITH_COMMITMENT';
1030
1154
  /** Whether users should be able to resubscribe to this base plan in Google Play surfaces. Defaults to RESUBSCRIBE_STATE_ACTIVE if not specified. */
1031
- resubscribeState?: string;
1155
+ resubscribeState?:
1156
+ | 'RESUBSCRIBE_STATE_UNSPECIFIED'
1157
+ | 'RESUBSCRIBE_STATE_ACTIVE'
1158
+ | 'RESUBSCRIBE_STATE_INACTIVE';
1032
1159
  }
1033
1160
  interface InternalAppSharingArtifact {
1034
1161
  /** The sha256 fingerprint of the certificate used to sign the generated artifact. */
@@ -1064,7 +1191,14 @@ declare namespace gapi.client {
1064
1191
  /** The product ID of the subscription line item being replaced. */
1065
1192
  productId?: string;
1066
1193
  /** The replacement mode applied during the purchase. */
1067
- replacementMode?: string;
1194
+ replacementMode?:
1195
+ | 'REPLACEMENT_MODE_UNSPECIFIED'
1196
+ | 'WITH_TIME_PRORATION'
1197
+ | 'CHARGE_PRORATED_PRICE'
1198
+ | 'WITHOUT_PRORATION'
1199
+ | 'CHARGE_FULL_PRICE'
1200
+ | 'DEFERRED'
1201
+ | 'KEEP_EXISTING';
1068
1202
  }
1069
1203
  interface LanguageTargeting {
1070
1204
  /** Alternative languages. */
@@ -1131,7 +1265,7 @@ declare namespace gapi.client {
1131
1265
  oneTimeProducts?: OneTimeProduct[];
1132
1266
  }
1133
1267
  interface ListReleaseSummariesResponse {
1134
- /** List of releases for this track. There will be a maximum of 20 releases returned. */
1268
+ /** List of releases for this track. A maximum of 20 releases can be returned. */
1135
1269
  releases?: ReleaseSummary[];
1136
1270
  }
1137
1271
  interface ListSubscriptionOffersResponse {
@@ -1160,7 +1294,10 @@ declare namespace gapi.client {
1160
1294
  }
1161
1295
  interface ManagedProductTaxAndComplianceSettings {
1162
1296
  /** Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information. */
1163
- eeaWithdrawalRightType?: string;
1297
+ eeaWithdrawalRightType?:
1298
+ | 'WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED'
1299
+ | 'WITHDRAWAL_RIGHT_DIGITAL_CONTENT'
1300
+ | 'WITHDRAWAL_RIGHT_SERVICE';
1164
1301
  /** Whether this in-app product is declared as a product representing a tokenized digital asset. */
1165
1302
  isTokenizedDigitalAsset?: boolean;
1166
1303
  /** Product tax category code to assign to the in-app product. Product tax category determines the transaction tax rates applied to the product. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information. */
@@ -1174,7 +1311,10 @@ declare namespace gapi.client {
1174
1311
  /** Required. The unique base plan ID of the base plan to update prices on. */
1175
1312
  basePlanId?: string;
1176
1313
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
1177
- latencyTolerance?: string;
1314
+ latencyTolerance?:
1315
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
1316
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
1317
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
1178
1318
  /** Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource. */
1179
1319
  packageName?: string;
1180
1320
  /** Required. The ID of the subscription to update. Must be equal to the product_id field on the Subscription resource. */
@@ -1187,11 +1327,15 @@ declare namespace gapi.client {
1187
1327
  interface MigrateBasePlanPricesResponse {}
1188
1328
  interface ModuleMetadata {
1189
1329
  /** Indicates the delivery type (e.g. on-demand) of the module. */
1190
- deliveryType?: string;
1330
+ deliveryType?:
1331
+ | 'UNKNOWN_DELIVERY_TYPE'
1332
+ | 'INSTALL_TIME'
1333
+ | 'ON_DEMAND'
1334
+ | 'FAST_FOLLOW';
1191
1335
  /** Names of the modules that this module directly depends on. Each module implicitly depends on the base module. */
1192
1336
  dependencies?: string[];
1193
1337
  /** Indicates the type of this feature module. */
1194
- moduleType?: string;
1338
+ moduleType?: 'UNKNOWN_MODULE_TYPE' | 'FEATURE_MODULE';
1195
1339
  /** Module name. */
1196
1340
  name?: string;
1197
1341
  /** The targeting that makes a conditional module installed. Relevant only for Split APKs. */
@@ -1320,14 +1464,22 @@ declare namespace gapi.client {
1320
1464
  /** Output only. The version of the regions configuration that was used to generate the one-time product offer. */
1321
1465
  regionsVersion?: RegionsVersion;
1322
1466
  /** Output only. The current state of this offer. This field cannot be changed by updating the resource. Use the dedicated endpoints instead. */
1323
- state?: string;
1467
+ state?:
1468
+ | 'STATE_UNSPECIFIED'
1469
+ | 'DRAFT'
1470
+ | 'ACTIVE'
1471
+ | 'CANCELLED'
1472
+ | 'INACTIVE';
1324
1473
  }
1325
1474
  interface OneTimeProductOfferNoPriceOverrideOptions {}
1326
1475
  interface OneTimeProductOfferRegionalPricingAndAvailabilityConfig {
1327
1476
  /** The absolute value of the discount that is subtracted from the purchase option price. It should be between 0 and the purchase option price. */
1328
1477
  absoluteDiscount?: Money;
1329
1478
  /** Required. The availability for this region. */
1330
- availability?: string;
1479
+ availability?:
1480
+ | 'AVAILABILITY_UNSPECIFIED'
1481
+ | 'AVAILABLE'
1482
+ | 'NO_LONGER_AVAILABLE';
1331
1483
  /** The price defined in the purchase option for this region will be used. */
1332
1484
  noOverride?: any;
1333
1485
  /** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., "US". */
@@ -1339,7 +1491,10 @@ declare namespace gapi.client {
1339
1491
  /** Required. Time when the pre-order will stop being available. */
1340
1492
  endTime?: string;
1341
1493
  /** Required. Immutable. Specifies how price changes affect pre-existing pre-orders. */
1342
- priceChangeBehavior?: string;
1494
+ priceChangeBehavior?:
1495
+ | 'PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED'
1496
+ | 'PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST'
1497
+ | 'PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY';
1343
1498
  /** Required. Time on which the product associated with the pre-order will be released and the pre-order orders fulfilled. */
1344
1499
  releaseTime?: string;
1345
1500
  /** Required. Time when the pre-order will start being available. */
@@ -1359,13 +1514,21 @@ declare namespace gapi.client {
1359
1514
  /** A purchase option that can be rented. */
1360
1515
  rentOption?: OneTimeProductRentPurchaseOption;
1361
1516
  /** 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. */
1362
- state?: string;
1517
+ state?:
1518
+ | 'STATE_UNSPECIFIED'
1519
+ | 'DRAFT'
1520
+ | 'ACTIVE'
1521
+ | 'INACTIVE'
1522
+ | 'INACTIVE_PUBLISHED';
1363
1523
  /** Optional. Details about taxes and legal compliance. */
1364
1524
  taxAndComplianceSettings?: PurchaseOptionTaxAndComplianceSettings;
1365
1525
  }
1366
1526
  interface OneTimeProductPurchaseOptionNewRegionsConfig {
1367
1527
  /** 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. */
1368
- availability?: string;
1528
+ availability?:
1529
+ | 'AVAILABILITY_UNSPECIFIED'
1530
+ | 'AVAILABLE'
1531
+ | 'NO_LONGER_AVAILABLE';
1369
1532
  /** Required. Price in EUR to use for any new regions Play may launch in. */
1370
1533
  eurPrice?: Money;
1371
1534
  /** Required. Price in USD to use for any new regions Play may launch in. */
@@ -1373,7 +1536,12 @@ declare namespace gapi.client {
1373
1536
  }
1374
1537
  interface OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig {
1375
1538
  /** The availability of the purchase option. */
1376
- availability?: string;
1539
+ availability?:
1540
+ | 'AVAILABILITY_UNSPECIFIED'
1541
+ | 'AVAILABLE'
1542
+ | 'NO_LONGER_AVAILABLE'
1543
+ | 'AVAILABLE_IF_RELEASED'
1544
+ | 'AVAILABLE_FOR_OFFERS_ONLY';
1377
1545
  /** The price of the purchase option in the specified region. Must be set in the currency that is linked to the specified region. */
1378
1546
  price?: Money;
1379
1547
  /** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., "US". */
@@ -1407,6 +1575,10 @@ declare namespace gapi.client {
1407
1575
  /** The details of a rent purchase. Only set if it is a rent purchase. */
1408
1576
  rentalDetails?: any;
1409
1577
  }
1578
+ interface OnHoldStateContext {
1579
+ /** Optional. The payment for the renewal was declined. */
1580
+ renewalDeclined?: RenewalDeclinedContext;
1581
+ }
1410
1582
  interface Order {
1411
1583
  /** Address information for the customer, for use in tax computation. When Google is the Merchant of Record for the order, only country is shown. */
1412
1584
  buyerAddress?: BuyerAddress;
@@ -1429,9 +1601,22 @@ declare namespace gapi.client {
1429
1601
  /** The token provided to the user's device when the subscription or item was purchased. */
1430
1602
  purchaseToken?: string;
1431
1603
  /** The originating sales channel of the order. */
1432
- salesChannel?: string;
1604
+ salesChannel?:
1605
+ | 'SALES_CHANNEL_UNSPECIFIED'
1606
+ | 'IN_APP'
1607
+ | 'PC_EMULATOR'
1608
+ | 'NATIVE_PC'
1609
+ | 'PLAY_STORE'
1610
+ | 'OUTSIDE_PLAY_STORE';
1433
1611
  /** The state of the order. */
1434
- state?: string;
1612
+ state?:
1613
+ | 'STATE_UNSPECIFIED'
1614
+ | 'PENDING'
1615
+ | 'PROCESSED'
1616
+ | 'CANCELED'
1617
+ | 'PENDING_REFUND'
1618
+ | 'PARTIALLY_REFUNDED'
1619
+ | 'REFUNDED';
1435
1620
  /** The total tax paid as a part of this order. */
1436
1621
  tax?: Money;
1437
1622
  /** The final amount paid by the customer, taking into account discounts and taxes. */
@@ -1510,7 +1695,7 @@ declare namespace gapi.client {
1510
1695
  /** Details for the partial refund. */
1511
1696
  refundDetails?: RefundDetails;
1512
1697
  /** The state of the partial refund. */
1513
- state?: string;
1698
+ state?: 'STATE_UNSPECIFIED' | 'PENDING' | 'PROCESSED_SUCCESSFULLY';
1514
1699
  }
1515
1700
  interface PausedStateContext {
1516
1701
  /** Time at which the subscription will be automatically resumed. */
@@ -1536,7 +1721,10 @@ declare namespace gapi.client {
1536
1721
  /** Required. Immutable. Subscription period, specified in ISO 8601 format. For a list of acceptable billing periods, refer to the help center. The duration is immutable after the base plan is created. */
1537
1722
  billingPeriodDuration?: string;
1538
1723
  /** Whether users should be able to extend this prepaid base plan in Google Play surfaces. Defaults to TIME_EXTENSION_ACTIVE if not specified. */
1539
- timeExtension?: string;
1724
+ timeExtension?:
1725
+ | 'TIME_EXTENSION_UNSPECIFIED'
1726
+ | 'TIME_EXTENSION_ACTIVE'
1727
+ | 'TIME_EXTENSION_INACTIVE';
1540
1728
  }
1541
1729
  interface PrepaidPlan {
1542
1730
  /** If present, this is the time after which top up purchases are allowed for the prepaid plan. Will not be present for expired prepaid plans. */
@@ -1554,7 +1742,11 @@ declare namespace gapi.client {
1554
1742
  /** The new price which requires user consent. */
1555
1743
  newPrice?: Money;
1556
1744
  /** Output only. The state of the price step-up consent. */
1557
- state?: string;
1745
+ state?:
1746
+ | 'CONSENT_STATE_UNSPECIFIED'
1747
+ | 'PENDING'
1748
+ | 'CONFIRMED'
1749
+ | 'COMPLETED';
1558
1750
  }
1559
1751
  interface ProcessedEvent {
1560
1752
  /** The time when the order was processed. */
@@ -1568,7 +1760,10 @@ declare namespace gapi.client {
1568
1760
  }
1569
1761
  interface ProductOfferDetails {
1570
1762
  /** Output only. The consumption state of the purchase. */
1571
- consumptionState?: string;
1763
+ consumptionState?:
1764
+ | 'CONSUMPTION_STATE_UNSPECIFIED'
1765
+ | 'CONSUMPTION_STATE_YET_TO_BE_CONSUMED'
1766
+ | 'CONSUMPTION_STATE_CONSUMED';
1572
1767
  /** The offer ID. Only present for offers. */
1573
1768
  offerId?: string;
1574
1769
  /** The latest offer tags associated with the offer. It includes tags inherited from the purchase option. */
@@ -1624,7 +1819,10 @@ declare namespace gapi.client {
1624
1819
  }
1625
1820
  interface ProductPurchaseV2 {
1626
1821
  /** Output only. The acknowledgement state of the purchase. */
1627
- acknowledgementState?: string;
1822
+ acknowledgementState?:
1823
+ | 'ACKNOWLEDGEMENT_STATE_UNSPECIFIED'
1824
+ | 'ACKNOWLEDGEMENT_STATE_PENDING'
1825
+ | 'ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED';
1628
1826
  /** This kind represents a ProductPurchaseV2 object in the androidpublisher service. */
1629
1827
  kind?: string;
1630
1828
  /** An obfuscated version of the id that is uniquely associated with the user's account in your app. Only present if specified using https://developer.android.com/reference/com/android/billingclient/api/BillingFlowParams.Builder#setobfuscatedaccountid when the purchase was made. */
@@ -1646,19 +1844,34 @@ declare namespace gapi.client {
1646
1844
  }
1647
1845
  interface ProrationPeriodDetails {
1648
1846
  /** Represent the original offer phase from the purchased the line item if the proration period contains any of them. For example, a proration period from CHARGE_FULL_PRICE plan change may merge the 1st offer phase of the subscription offer of the new product user purchased. In this case, the original offer phase will be set here. */
1649
- originalOfferPhase?: string;
1847
+ originalOfferPhase?:
1848
+ | 'OFFER_PHASE_UNSPECIFIED'
1849
+ | 'BASE'
1850
+ | 'INTRODUCTORY'
1851
+ | 'FREE_TRIAL';
1650
1852
  }
1651
1853
  interface ProrationPeriodOfferPhase {
1652
1854
  /** The original offer phase type before the proration period. Only set when the proration period is updated from an existing offer phase. */
1653
- originalOfferPhaseType?: string;
1855
+ originalOfferPhaseType?:
1856
+ | 'ORIGINAL_OFFER_PHASE_TYPE_UNSPECIFIED'
1857
+ | 'BASE'
1858
+ | 'INTRODUCTORY'
1859
+ | 'FREE_TRIAL';
1654
1860
  }
1655
1861
  interface PurchaseOptionTaxAndComplianceSettings {
1656
1862
  /** 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. */
1657
- withdrawalRightType?: string;
1863
+ withdrawalRightType?:
1864
+ | 'WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED'
1865
+ | 'WITHDRAWAL_RIGHT_DIGITAL_CONTENT'
1866
+ | 'WITHDRAWAL_RIGHT_SERVICE';
1658
1867
  }
1659
1868
  interface PurchaseStateContext {
1660
1869
  /** Output only. The purchase state of the purchase. */
1661
- purchaseState?: string;
1870
+ purchaseState?:
1871
+ | 'PURCHASE_STATE_UNSPECIFIED'
1872
+ | 'PURCHASED'
1873
+ | 'CANCELLED'
1874
+ | 'PENDING';
1662
1875
  }
1663
1876
  interface RecurringExternalTransaction {
1664
1877
  /** Details of an external subscription. */
@@ -1668,7 +1881,10 @@ declare namespace gapi.client {
1668
1881
  /** The external transaction id of the first transaction of this recurring series of transactions. For example, for a subscription this would be the transaction id of the first payment. Required when creating recurring external transactions. */
1669
1882
  initialExternalTransactionId?: string;
1670
1883
  /** Input only. Provided during the call to Create. Must only be used when migrating a subscription from manual monthly reporting to automated reporting. */
1671
- migratedTransactionProgram?: string;
1884
+ migratedTransactionProgram?:
1885
+ | 'EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED'
1886
+ | 'USER_CHOICE_BILLING'
1887
+ | 'ALTERNATIVE_BILLING_ONLY';
1672
1888
  /** Details of a recurring external transaction product which doesn't belong to any other specific category. */
1673
1889
  otherRecurringProduct?: any;
1674
1890
  }
@@ -1684,7 +1900,7 @@ declare namespace gapi.client {
1684
1900
  /** Details for the full refund. */
1685
1901
  refundDetails?: RefundDetails;
1686
1902
  /** The reason the order was refunded. */
1687
- refundReason?: string;
1903
+ refundReason?: 'REFUND_REASON_UNSPECIFIED' | 'OTHER' | 'CHARGEBACK';
1688
1904
  }
1689
1905
  interface RefundExternalTransactionRequest {
1690
1906
  /** A full-amount refund. */
@@ -1706,13 +1922,21 @@ declare namespace gapi.client {
1706
1922
  /** Required. Subscribers in all legacy price cohorts before this time will be migrated to the current price. Subscribers in any newer price cohorts are unaffected. Affected subscribers will receive one or more notifications from Google Play about the price change. Price decreases occur at the subscriber's next billing date. Price increases occur at the subscriber's next billing date following a notification period that varies by region and price increase type. */
1707
1923
  oldestAllowedPriceVersionTime?: string;
1708
1924
  /** Optional. The requested type of price increase */
1709
- priceIncreaseType?: string;
1925
+ priceIncreaseType?:
1926
+ | 'PRICE_INCREASE_TYPE_UNSPECIFIED'
1927
+ | 'PRICE_INCREASE_TYPE_OPT_IN'
1928
+ | 'PRICE_INCREASE_TYPE_OPT_OUT';
1710
1929
  /** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US". */
1711
1930
  regionCode?: string;
1712
1931
  }
1713
1932
  interface RegionalProductAgeRatingInfo {
1714
1933
  /** The age rating tier of a product for the given region. */
1715
- productAgeRatingTier?: string;
1934
+ productAgeRatingTier?:
1935
+ | 'PRODUCT_AGE_RATING_TIER_UNKNOWN'
1936
+ | 'PRODUCT_AGE_RATING_TIER_EVERYONE'
1937
+ | 'PRODUCT_AGE_RATING_TIER_THIRTEEN_AND_ABOVE'
1938
+ | 'PRODUCT_AGE_RATING_TIER_SIXTEEN_AND_ABOVE'
1939
+ | 'PRODUCT_AGE_RATING_TIER_EIGHTEEN_AND_ABOVE';
1716
1940
  /** Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US". */
1717
1941
  regionCode?: string;
1718
1942
  }
@@ -1741,17 +1965,43 @@ declare namespace gapi.client {
1741
1965
  /** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US". */
1742
1966
  regionCode?: string;
1743
1967
  /** 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). */
1744
- streamingTaxType?: string;
1968
+ streamingTaxType?:
1969
+ | 'STREAMING_TAX_TYPE_UNSPECIFIED'
1970
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL'
1971
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_SALES'
1972
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL'
1973
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL'
1974
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_SALES'
1975
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL';
1745
1976
  /** 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). */
1746
- taxTier?: string;
1977
+ taxTier?:
1978
+ | 'TAX_TIER_UNSPECIFIED'
1979
+ | 'TAX_TIER_BOOKS_1'
1980
+ | 'TAX_TIER_NEWS_1'
1981
+ | 'TAX_TIER_NEWS_2'
1982
+ | 'TAX_TIER_MUSIC_OR_AUDIO_1'
1983
+ | 'TAX_TIER_LIVE_OR_BROADCAST_1';
1747
1984
  }
1748
1985
  interface RegionalTaxRateInfo {
1749
1986
  /** 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. */
1750
1987
  eligibleForStreamingServiceTaxRate?: boolean;
1751
1988
  /** 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). */
1752
- streamingTaxType?: string;
1989
+ streamingTaxType?:
1990
+ | 'STREAMING_TAX_TYPE_UNSPECIFIED'
1991
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL'
1992
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_SALES'
1993
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL'
1994
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL'
1995
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_SALES'
1996
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL';
1753
1997
  /** 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). */
1754
- taxTier?: string;
1998
+ taxTier?:
1999
+ | 'TAX_TIER_UNSPECIFIED'
2000
+ | 'TAX_TIER_BOOKS_1'
2001
+ | 'TAX_TIER_NEWS_1'
2002
+ | 'TAX_TIER_NEWS_2'
2003
+ | 'TAX_TIER_MUSIC_OR_AUDIO_1'
2004
+ | 'TAX_TIER_LIVE_OR_BROADCAST_1';
1755
2005
  }
1756
2006
  interface Regions {
1757
2007
  /** Regions targeted by the recovery action. Region codes are ISO 3166 Alpha-2 country codes. For example, US stands for United States of America. See https://www.iso.org/iso-3166-country-codes.html for the complete list of country codes. */
@@ -1762,13 +2012,20 @@ declare namespace gapi.client {
1762
2012
  version?: string;
1763
2013
  }
1764
2014
  interface ReleaseSummary {
1765
- /** List of active artifacts on this release. */
2015
+ /** List of active artifacts on this release */
1766
2016
  activeArtifacts?: ArtifactSummary[];
1767
2017
  /** The lifecycle state of a release. */
1768
- releaseLifecycleState?: string;
2018
+ releaseLifecycleState?:
2019
+ | 'RELEASE_LIFECYCLE_STATE_UNSPECIFIED'
2020
+ | 'RELEASE_LIFECYCLE_STATE_DRAFT'
2021
+ | 'RELEASE_LIFECYCLE_STATE_NOT_SENT_FOR_REVIEW'
2022
+ | 'RELEASE_LIFECYCLE_STATE_IN_REVIEW'
2023
+ | 'RELEASE_LIFECYCLE_STATE_APPROVED_NOT_PUBLISHED'
2024
+ | 'RELEASE_LIFECYCLE_STATE_NOT_APPROVED'
2025
+ | 'RELEASE_LIFECYCLE_STATE_PUBLISHED';
1769
2026
  /** Name of the release. */
1770
2027
  releaseName?: string;
1771
- /** Identifier of the track. More on [track name](https://developers.google.com/android-publisher/tracks). */
2028
+ /** Identifier for the track. [Learn more about track names.](https://developers.google.com/android-publisher/tracks). */
1772
2029
  track?: string;
1773
2030
  }
1774
2031
  interface RemoteInAppUpdate {
@@ -1787,6 +2044,10 @@ declare namespace gapi.client {
1787
2044
  /** Version Code corresponding to the target bundle. */
1788
2045
  versionCode?: string;
1789
2046
  }
2047
+ interface RenewalDeclinedContext {
2048
+ /** Required. The ID of the pending or failed order causing the state. */
2049
+ pendingOrderId?: string;
2050
+ }
1790
2051
  interface RentalDetails {}
1791
2052
  interface RentOfferDetails {}
1792
2053
  interface ReplacementCancellation {}
@@ -1850,7 +2111,16 @@ declare namespace gapi.client {
1850
2111
  interface SafetyLabelsUpdateResponse {}
1851
2112
  interface ScreenDensity {
1852
2113
  /** Alias for a screen density. */
1853
- densityAlias?: string;
2114
+ densityAlias?:
2115
+ | 'DENSITY_UNSPECIFIED'
2116
+ | 'NODPI'
2117
+ | 'LDPI'
2118
+ | 'MDPI'
2119
+ | 'TVDPI'
2120
+ | 'HDPI'
2121
+ | 'XHDPI'
2122
+ | 'XXHDPI'
2123
+ | 'XXXHDPI';
1854
2124
  /** Value for density dpi. */
1855
2125
  densityDpi?: number;
1856
2126
  }
@@ -1939,8 +2209,12 @@ declare namespace gapi.client {
1939
2209
  basePlanId?: string;
1940
2210
  /** The offer ID for the current subscription offer. */
1941
2211
  offerId?: string;
1942
- /** The pricing phase for the billing period funded by this order. Deprecated. Use offer_phase_details instead. */
1943
- offerPhase?: string;
2212
+ /** Deprecated: Use offer_phase_details instead. The pricing phase for the billing period funded by this order. */
2213
+ offerPhase?:
2214
+ | 'OFFER_PHASE_UNSPECIFIED'
2215
+ | 'BASE'
2216
+ | 'INTRODUCTORY'
2217
+ | 'FREE_TRIAL';
1944
2218
  /** The pricing phase details for the entitlement period funded by this order. */
1945
2219
  offerPhaseDetails?: OfferPhaseDetails;
1946
2220
  /** The end of the billing period funded by this order. This is a snapshot of the billing/service period end time at the moment the order was processed, and should be used only for accounting. To get the current end time of the subscription service period, use purchases.subscriptionsv2.get. */
@@ -1954,14 +2228,23 @@ declare namespace gapi.client {
1954
2228
  /** New recurring price for the subscription item. */
1955
2229
  newPrice?: Money;
1956
2230
  /** Price change mode specifies how the subscription item price is changing. */
1957
- priceChangeMode?: string;
2231
+ priceChangeMode?:
2232
+ | 'PRICE_CHANGE_MODE_UNSPECIFIED'
2233
+ | 'PRICE_DECREASE'
2234
+ | 'PRICE_INCREASE'
2235
+ | 'OPT_OUT_PRICE_INCREASE';
1958
2236
  /** State the price change is currently in. */
1959
- priceChangeState?: string;
2237
+ priceChangeState?:
2238
+ | 'PRICE_CHANGE_STATE_UNSPECIFIED'
2239
+ | 'OUTSTANDING'
2240
+ | 'CONFIRMED'
2241
+ | 'APPLIED'
2242
+ | 'CANCELED';
1960
2243
  }
1961
2244
  interface SubscriptionListing {
1962
2245
  /** A list of benefits shown to the user on platforms such as the Play Store and in restoration flows in the language of this listing. Plain text. Ordered list of at most four benefits. */
1963
2246
  benefits?: string[];
1964
- /** The description of this subscription in the language of this listing. Maximum length - 80 characters. Plain text. */
2247
+ /** The description of this subscription in the language of this listing. Maximum length - 200 characters. Plain text. */
1965
2248
  description?: string;
1966
2249
  /** Required. The language of this listing, as defined by BCP-47, e.g. "en-US". */
1967
2250
  languageCode?: string;
@@ -1986,7 +2269,7 @@ declare namespace gapi.client {
1986
2269
  /** Required. The region-specific configuration of this offer. Must contain at least one entry. */
1987
2270
  regionalConfigs?: RegionalSubscriptionOfferConfig[];
1988
2271
  /** Output only. The current state of this offer. Can be changed using Activate and Deactivate actions. NB: the base plan state supersedes this state, so an active offer may not be available if the base plan is not active. */
1989
- state?: string;
2272
+ state?: 'STATE_UNSPECIFIED' | 'DRAFT' | 'ACTIVE' | 'INACTIVE';
1990
2273
  /** The requirements that users need to fulfil to be eligible for this offer. Represents the requirements that Play will evaluate to decide whether an offer should be returned. Developers may further filter these offers themselves. */
1991
2274
  targeting?: SubscriptionOfferTargeting;
1992
2275
  }
@@ -2112,13 +2395,18 @@ declare namespace gapi.client {
2112
2395
  }
2113
2396
  interface SubscriptionPurchaseV2 {
2114
2397
  /** The acknowledgement state of the subscription. */
2115
- acknowledgementState?: string;
2398
+ acknowledgementState?:
2399
+ | 'ACKNOWLEDGEMENT_STATE_UNSPECIFIED'
2400
+ | 'ACKNOWLEDGEMENT_STATE_PENDING'
2401
+ | 'ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED';
2116
2402
  /** Additional context around canceled subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED. */
2117
2403
  canceledStateContext?: CanceledStateContext;
2118
2404
  /** Entity tag representing the current state of the subscription. The developer will provide this etag for subscription actions. This etag is always present for auto-renewing and prepaid subscriptions. */
2119
2405
  etag?: string;
2120
2406
  /** User account identifier in the third-party service. */
2121
2407
  externalAccountIdentifiers?: ExternalAccountIdentifiers;
2408
+ /** Optional. Additional context around subscriptions in IN_GRACE_PERIOD state. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_IN_GRACE_PERIOD. */
2409
+ inGracePeriodStateContext?: InGracePeriodStateContext;
2122
2410
  /** This kind represents a SubscriptionPurchaseV2 object in the androidpublisher service. */
2123
2411
  kind?: string;
2124
2412
  /** Deprecated: Use line_items.latest_successful_order_id instead. The order id of the latest order associated with the purchase of the subscription. For autoRenewing subscription, this is the order id of signup order if it is not renewed yet, or the last recurring order id (success, pending, or declined order). For prepaid subscription, this is the order id associated with the queried purchase token. */
@@ -2127,6 +2415,8 @@ declare namespace gapi.client {
2127
2415
  lineItems?: SubscriptionPurchaseLineItem[];
2128
2416
  /** The purchase token of the old subscription if this subscription is one of the following: * Re-signup of a canceled but non-lapsed subscription * Upgrade/downgrade from a previous subscription. * Convert from prepaid to auto renewing subscription. * Convert from an auto renewing subscription to prepaid. * Topup a prepaid subscription. */
2129
2417
  linkedPurchaseToken?: string;
2418
+ /** Optional. Additional context around subscriptions in ON_HOLD state. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_ON_HOLD. */
2419
+ onHoldStateContext?: OnHoldStateContext;
2130
2420
  /** Additional context for out of app purchases. This information is only present for re-subscription purchases (subscription purchases made after the previous subscription of the same product has expired) made through the Google Play subscriptions center. This field will be removed after you acknowledge the subscription. */
2131
2421
  outOfAppPurchaseContext?: OutOfAppPurchaseContext;
2132
2422
  /** Additional context around paused subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_PAUSED. */
@@ -2138,13 +2428,25 @@ declare namespace gapi.client {
2138
2428
  /** User profile associated with purchases made with 'Subscribe with Google'. */
2139
2429
  subscribeWithGoogleInfo?: SubscribeWithGoogleInfo;
2140
2430
  /** The current state of the subscription. */
2141
- subscriptionState?: string;
2431
+ subscriptionState?:
2432
+ | 'SUBSCRIPTION_STATE_UNSPECIFIED'
2433
+ | 'SUBSCRIPTION_STATE_PENDING'
2434
+ | 'SUBSCRIPTION_STATE_ACTIVE'
2435
+ | 'SUBSCRIPTION_STATE_PAUSED'
2436
+ | 'SUBSCRIPTION_STATE_IN_GRACE_PERIOD'
2437
+ | 'SUBSCRIPTION_STATE_ON_HOLD'
2438
+ | 'SUBSCRIPTION_STATE_CANCELED'
2439
+ | 'SUBSCRIPTION_STATE_EXPIRED'
2440
+ | 'SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED';
2142
2441
  /** Only present if this subscription purchase is a test purchase. */
2143
2442
  testPurchase?: any;
2144
2443
  }
2145
2444
  interface SubscriptionTaxAndComplianceSettings {
2146
2445
  /** Digital content or service classification for products distributed to users in the European Economic Area (EEA). The withdrawal regime under EEA consumer laws depends on this classification. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/10463498) for more information. */
2147
- eeaWithdrawalRightType?: string;
2446
+ eeaWithdrawalRightType?:
2447
+ | 'WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED'
2448
+ | 'WITHDRAWAL_RIGHT_DIGITAL_CONTENT'
2449
+ | 'WITHDRAWAL_RIGHT_SERVICE';
2148
2450
  /** Whether this subscription is declared as a product representing a tokenized digital asset. */
2149
2451
  isTokenizedDigitalAsset?: boolean;
2150
2452
  /** Product tax category code to assign to the subscription. Product tax category determines the transaction tax rates applied to the subscription. Refer to the [Help Center article](https://support.google.com/googleplay/android-developer/answer/16408159) for more information. */
@@ -2222,11 +2524,22 @@ declare namespace gapi.client {
2222
2524
  interface TestPurchase {}
2223
2525
  interface TestPurchaseContext {
2224
2526
  /** The fop type of the test purchase. */
2225
- fopType?: string;
2527
+ fopType?: 'FOP_TYPE_UNSPECIFIED' | 'TEST';
2226
2528
  }
2227
2529
  interface TextureCompressionFormat {
2228
2530
  /** Alias for texture compression format. */
2229
- alias?: string;
2531
+ alias?:
2532
+ | 'UNSPECIFIED_TEXTURE_COMPRESSION_FORMAT'
2533
+ | 'ETC1_RGB8'
2534
+ | 'PALETTED'
2535
+ | 'THREE_DC'
2536
+ | 'ATC'
2537
+ | 'LATC'
2538
+ | 'DXT1'
2539
+ | 'S3TC'
2540
+ | 'PVRTC'
2541
+ | 'ASTC'
2542
+ | 'ETC2';
2230
2543
  }
2231
2544
  interface TextureCompressionFormatTargeting {
2232
2545
  /** List of alternative TCFs (TCFs targeted by the sibling splits). */
@@ -2253,11 +2566,15 @@ declare namespace gapi.client {
2253
2566
  }
2254
2567
  interface TrackConfig {
2255
2568
  /** Required. Form factor of the new track. Defaults to the default track. */
2256
- formFactor?: string;
2569
+ formFactor?:
2570
+ | 'FORM_FACTOR_UNSPECIFIED'
2571
+ | 'DEFAULT'
2572
+ | 'WEAR'
2573
+ | 'AUTOMOTIVE';
2257
2574
  /** Required. Identifier of the new track. For default tracks, this field consists of the track alias only. Form factor tracks have a special prefix as an identifier, for example `wear:production`, `automotive:production`. This prefix must match the value of the `form_factor` field, if it is not a default track. [More on track name](https://developers.google.com/android-publisher/tracks#ff-track-name) */
2258
2575
  track?: string;
2259
2576
  /** Required. Type of the new track. Currently, the only supported value is closedTesting. */
2260
- type?: string;
2577
+ type?: 'TRACK_TYPE_UNSPECIFIED' | 'CLOSED_TESTING';
2261
2578
  }
2262
2579
  interface TrackCountryAvailability {
2263
2580
  /** A list of one or more countries where artifacts in this track are available. This list includes all countries that are targeted by the track, even if only specific carriers are targeted in that country. */
@@ -2277,7 +2594,12 @@ declare namespace gapi.client {
2277
2594
  /** A description of what is new in this release. */
2278
2595
  releaseNotes?: LocalizedText[];
2279
2596
  /** The status of the release. */
2280
- status?: string;
2597
+ status?:
2598
+ | 'statusUnspecified'
2599
+ | 'draft'
2600
+ | 'inProgress'
2601
+ | 'halted'
2602
+ | 'completed';
2281
2603
  /** Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when status is "inProgress" or "halted". */
2282
2604
  userFraction?: number;
2283
2605
  /** Version codes of all APKs in the release. Must include version codes to retain from previous releases. */
@@ -2303,7 +2625,10 @@ declare namespace gapi.client {
2303
2625
  /** 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. */
2304
2626
  allowMissing?: boolean;
2305
2627
  /** Optional. The latency tolerance for the propagation of this offer update. Defaults to latency-sensitive. */
2306
- latencyTolerance?: string;
2628
+ latencyTolerance?:
2629
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
2630
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
2631
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
2307
2632
  /** Required. The one-time product offer to update. */
2308
2633
  oneTimeProductOffer?: OneTimeProductOffer;
2309
2634
  /** Required. The version of the available regions being used for the offer. */
@@ -2323,7 +2648,10 @@ declare namespace gapi.client {
2323
2648
  /** 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. */
2324
2649
  allowMissing?: boolean;
2325
2650
  /** Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive. */
2326
- latencyTolerance?: string;
2651
+ latencyTolerance?:
2652
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
2653
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
2654
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
2327
2655
  /** Required. The one-time product to upsert. */
2328
2656
  oneTimeProduct?: OneTimeProduct;
2329
2657
  /** Required. The version of the available regions being used for the one-time product. */
@@ -2341,7 +2669,10 @@ declare namespace gapi.client {
2341
2669
  /** Optional. If set to true, and the subscription offer with the given package_name, product_id, base_plan_id and offer_id doesn't exist, an offer will be created. If a new offer is created, update_mask is ignored. */
2342
2670
  allowMissing?: boolean;
2343
2671
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
2344
- latencyTolerance?: string;
2672
+ latencyTolerance?:
2673
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
2674
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
2675
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
2345
2676
  /** Required. The version of the available regions being used for the subscription_offer. */
2346
2677
  regionsVersion?: RegionsVersion;
2347
2678
  /** Required. The subscription offer to update. */
@@ -2359,7 +2690,10 @@ declare namespace gapi.client {
2359
2690
  /** 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. */
2360
2691
  allowMissing?: boolean;
2361
2692
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
2362
- latencyTolerance?: string;
2693
+ latencyTolerance?:
2694
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
2695
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
2696
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
2363
2697
  /** Required. The version of the available regions being used for the subscription. */
2364
2698
  regionsVersion?: RegionsVersion;
2365
2699
  /** Required. The subscription to update. */
@@ -2377,9 +2711,35 @@ declare namespace gapi.client {
2377
2711
  }
2378
2712
  interface User {
2379
2713
  /** Output only. The state of the user's access to the Play Console. */
2380
- accessState?: string;
2714
+ accessState?:
2715
+ | 'ACCESS_STATE_UNSPECIFIED'
2716
+ | 'INVITED'
2717
+ | 'INVITATION_EXPIRED'
2718
+ | 'ACCESS_GRANTED'
2719
+ | 'ACCESS_EXPIRED';
2381
2720
  /** Permissions for the user which apply across the developer account. */
2382
- developerAccountPermissions?: string[];
2721
+ developerAccountPermissions?:
2722
+ | 'DEVELOPER_LEVEL_PERMISSION_UNSPECIFIED'
2723
+ | 'CAN_SEE_ALL_APPS'
2724
+ | 'CAN_VIEW_FINANCIAL_DATA_GLOBAL'
2725
+ | 'CAN_MANAGE_PERMISSIONS_GLOBAL'
2726
+ | 'CAN_EDIT_GAMES_GLOBAL'
2727
+ | 'CAN_PUBLISH_GAMES_GLOBAL'
2728
+ | 'CAN_REPLY_TO_REVIEWS_GLOBAL'
2729
+ | 'CAN_MANAGE_PUBLIC_APKS_GLOBAL'
2730
+ | 'CAN_MANAGE_TRACK_APKS_GLOBAL'
2731
+ | 'CAN_MANAGE_TRACK_USERS_GLOBAL'
2732
+ | 'CAN_MANAGE_PUBLIC_LISTING_GLOBAL'
2733
+ | 'CAN_MANAGE_DRAFT_APPS_GLOBAL'
2734
+ | 'CAN_CREATE_MANAGED_PLAY_APPS_GLOBAL'
2735
+ | 'CAN_CHANGE_MANAGED_PLAY_SETTING_GLOBAL'
2736
+ | 'CAN_MANAGE_ORDERS_GLOBAL'
2737
+ | 'CAN_MANAGE_APP_CONTENT_GLOBAL'
2738
+ | 'CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL'
2739
+ | 'CAN_VIEW_APP_QUALITY_GLOBAL'
2740
+ | 'CAN_MANAGE_DEEPLINKS_GLOBAL'
2741
+ | 'CAN_VIEW_CONNECTED_APPS_GLOBAL'
2742
+ | 'CAN_EDIT_CONNECTED_APPS_GLOBAL'[];
2383
2743
  /** Immutable. The user's email address. */
2384
2744
  email?: string;
2385
2745
  /** The time at which the user's access expires, if set. When setting this value, it must always be in the future. */
@@ -2494,13 +2854,13 @@ declare namespace gapi.client {
2494
2854
  /** Creates a new device tier config for an app. */
2495
2855
  create(request: {
2496
2856
  /** V1 error format. */
2497
- '$.xgafv'?: string;
2857
+ '$.xgafv'?: '1' | '2';
2498
2858
  /** OAuth access token. */
2499
2859
  access_token?: string;
2500
2860
  /** Whether the service should accept device IDs that are unknown to Play's device catalog. */
2501
2861
  allowUnknownDevices?: boolean;
2502
2862
  /** Data format for response. */
2503
- alt?: string;
2863
+ alt?: 'json' | 'media' | 'proto';
2504
2864
  /** JSONP */
2505
2865
  callback?: string;
2506
2866
  /** Selector specifying which fields to include in a partial response. */
@@ -2525,13 +2885,13 @@ declare namespace gapi.client {
2525
2885
  create(
2526
2886
  request: {
2527
2887
  /** V1 error format. */
2528
- '$.xgafv'?: string;
2888
+ '$.xgafv'?: '1' | '2';
2529
2889
  /** OAuth access token. */
2530
2890
  access_token?: string;
2531
2891
  /** Whether the service should accept device IDs that are unknown to Play's device catalog. */
2532
2892
  allowUnknownDevices?: boolean;
2533
2893
  /** Data format for response. */
2534
- alt?: string;
2894
+ alt?: 'json' | 'media' | 'proto';
2535
2895
  /** JSONP */
2536
2896
  callback?: string;
2537
2897
  /** Selector specifying which fields to include in a partial response. */
@@ -2556,11 +2916,11 @@ declare namespace gapi.client {
2556
2916
  /** Returns a particular device tier config. */
2557
2917
  get(request?: {
2558
2918
  /** V1 error format. */
2559
- '$.xgafv'?: string;
2919
+ '$.xgafv'?: '1' | '2';
2560
2920
  /** OAuth access token. */
2561
2921
  access_token?: string;
2562
2922
  /** Data format for response. */
2563
- alt?: string;
2923
+ alt?: 'json' | 'media' | 'proto';
2564
2924
  /** JSONP */
2565
2925
  callback?: string;
2566
2926
  /** Required. Id of an existing device tier config. */
@@ -2585,11 +2945,11 @@ declare namespace gapi.client {
2585
2945
  /** Returns created device tier configs, ordered by descending creation time. */
2586
2946
  list(request?: {
2587
2947
  /** V1 error format. */
2588
- '$.xgafv'?: string;
2948
+ '$.xgafv'?: '1' | '2';
2589
2949
  /** OAuth access token. */
2590
2950
  access_token?: string;
2591
2951
  /** Data format for response. */
2592
- alt?: string;
2952
+ alt?: 'json' | 'media' | 'proto';
2593
2953
  /** JSONP */
2594
2954
  callback?: string;
2595
2955
  /** Selector specifying which fields to include in a partial response. */
@@ -2618,11 +2978,11 @@ declare namespace gapi.client {
2618
2978
  /** Returns the list of all releases for a given track. This excludes any releases that are obsolete. */
2619
2979
  list(request?: {
2620
2980
  /** V1 error format. */
2621
- '$.xgafv'?: string;
2981
+ '$.xgafv'?: '1' | '2';
2622
2982
  /** OAuth access token. */
2623
2983
  access_token?: string;
2624
2984
  /** Data format for response. */
2625
- alt?: string;
2985
+ alt?: 'json' | 'media' | 'proto';
2626
2986
  /** JSONP */
2627
2987
  callback?: string;
2628
2988
  /** Selector specifying which fields to include in a partial response. */
@@ -2650,11 +3010,11 @@ declare namespace gapi.client {
2650
3010
  /** Writes the Safety Labels declaration of an app. */
2651
3011
  dataSafety(request: {
2652
3012
  /** V1 error format. */
2653
- '$.xgafv'?: string;
3013
+ '$.xgafv'?: '1' | '2';
2654
3014
  /** OAuth access token. */
2655
3015
  access_token?: string;
2656
3016
  /** Data format for response. */
2657
- alt?: string;
3017
+ alt?: 'json' | 'media' | 'proto';
2658
3018
  /** JSONP */
2659
3019
  callback?: string;
2660
3020
  /** Selector specifying which fields to include in a partial response. */
@@ -2679,11 +3039,11 @@ declare namespace gapi.client {
2679
3039
  dataSafety(
2680
3040
  request: {
2681
3041
  /** V1 error format. */
2682
- '$.xgafv'?: string;
3042
+ '$.xgafv'?: '1' | '2';
2683
3043
  /** OAuth access token. */
2684
3044
  access_token?: string;
2685
3045
  /** Data format for response. */
2686
- alt?: string;
3046
+ alt?: 'json' | 'media' | 'proto';
2687
3047
  /** JSONP */
2688
3048
  callback?: string;
2689
3049
  /** Selector specifying which fields to include in a partial response. */
@@ -2712,11 +3072,11 @@ declare namespace gapi.client {
2712
3072
  /** Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded. */
2713
3073
  addTargeting(request: {
2714
3074
  /** V1 error format. */
2715
- '$.xgafv'?: string;
3075
+ '$.xgafv'?: '1' | '2';
2716
3076
  /** OAuth access token. */
2717
3077
  access_token?: string;
2718
3078
  /** Data format for response. */
2719
- alt?: string;
3079
+ alt?: 'json' | 'media' | 'proto';
2720
3080
  /** Required. ID corresponding to the app recovery action. */
2721
3081
  appRecoveryId: string;
2722
3082
  /** JSONP */
@@ -2743,11 +3103,11 @@ declare namespace gapi.client {
2743
3103
  addTargeting(
2744
3104
  request: {
2745
3105
  /** V1 error format. */
2746
- '$.xgafv'?: string;
3106
+ '$.xgafv'?: '1' | '2';
2747
3107
  /** OAuth access token. */
2748
3108
  access_token?: string;
2749
3109
  /** Data format for response. */
2750
- alt?: string;
3110
+ alt?: 'json' | 'media' | 'proto';
2751
3111
  /** Required. ID corresponding to the app recovery action. */
2752
3112
  appRecoveryId: string;
2753
3113
  /** JSONP */
@@ -2774,11 +3134,11 @@ declare namespace gapi.client {
2774
3134
  /** Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED. */
2775
3135
  cancel(request: {
2776
3136
  /** V1 error format. */
2777
- '$.xgafv'?: string;
3137
+ '$.xgafv'?: '1' | '2';
2778
3138
  /** OAuth access token. */
2779
3139
  access_token?: string;
2780
3140
  /** Data format for response. */
2781
- alt?: string;
3141
+ alt?: 'json' | 'media' | 'proto';
2782
3142
  /** Required. ID corresponding to the app recovery action. */
2783
3143
  appRecoveryId: string;
2784
3144
  /** JSONP */
@@ -2805,11 +3165,11 @@ declare namespace gapi.client {
2805
3165
  cancel(
2806
3166
  request: {
2807
3167
  /** V1 error format. */
2808
- '$.xgafv'?: string;
3168
+ '$.xgafv'?: '1' | '2';
2809
3169
  /** OAuth access token. */
2810
3170
  access_token?: string;
2811
3171
  /** Data format for response. */
2812
- alt?: string;
3172
+ alt?: 'json' | 'media' | 'proto';
2813
3173
  /** Required. ID corresponding to the app recovery action. */
2814
3174
  appRecoveryId: string;
2815
3175
  /** JSONP */
@@ -2836,11 +3196,11 @@ declare namespace gapi.client {
2836
3196
  /** Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action. */
2837
3197
  create(request: {
2838
3198
  /** V1 error format. */
2839
- '$.xgafv'?: string;
3199
+ '$.xgafv'?: '1' | '2';
2840
3200
  /** OAuth access token. */
2841
3201
  access_token?: string;
2842
3202
  /** Data format for response. */
2843
- alt?: string;
3203
+ alt?: 'json' | 'media' | 'proto';
2844
3204
  /** JSONP */
2845
3205
  callback?: string;
2846
3206
  /** Selector specifying which fields to include in a partial response. */
@@ -2865,11 +3225,11 @@ declare namespace gapi.client {
2865
3225
  create(
2866
3226
  request: {
2867
3227
  /** V1 error format. */
2868
- '$.xgafv'?: string;
3228
+ '$.xgafv'?: '1' | '2';
2869
3229
  /** OAuth access token. */
2870
3230
  access_token?: string;
2871
3231
  /** Data format for response. */
2872
- alt?: string;
3232
+ alt?: 'json' | 'media' | 'proto';
2873
3233
  /** JSONP */
2874
3234
  callback?: string;
2875
3235
  /** Selector specifying which fields to include in a partial response. */
@@ -2894,11 +3254,11 @@ declare namespace gapi.client {
2894
3254
  /** Deploy an already created app recovery action with recovery status DRAFT. Note that this action activates the recovery action for all targeted users and changes its status to ACTIVE. */
2895
3255
  deploy(request: {
2896
3256
  /** V1 error format. */
2897
- '$.xgafv'?: string;
3257
+ '$.xgafv'?: '1' | '2';
2898
3258
  /** OAuth access token. */
2899
3259
  access_token?: string;
2900
3260
  /** Data format for response. */
2901
- alt?: string;
3261
+ alt?: 'json' | 'media' | 'proto';
2902
3262
  /** Required. ID corresponding to the app recovery action to deploy. */
2903
3263
  appRecoveryId: string;
2904
3264
  /** JSONP */
@@ -2925,11 +3285,11 @@ declare namespace gapi.client {
2925
3285
  deploy(
2926
3286
  request: {
2927
3287
  /** V1 error format. */
2928
- '$.xgafv'?: string;
3288
+ '$.xgafv'?: '1' | '2';
2929
3289
  /** OAuth access token. */
2930
3290
  access_token?: string;
2931
3291
  /** Data format for response. */
2932
- alt?: string;
3292
+ alt?: 'json' | 'media' | 'proto';
2933
3293
  /** Required. ID corresponding to the app recovery action to deploy. */
2934
3294
  appRecoveryId: string;
2935
3295
  /** JSONP */
@@ -2956,11 +3316,11 @@ declare namespace gapi.client {
2956
3316
  /** List all app recovery action resources associated with a particular package name and app version. */
2957
3317
  list(request?: {
2958
3318
  /** V1 error format. */
2959
- '$.xgafv'?: string;
3319
+ '$.xgafv'?: '1' | '2';
2960
3320
  /** OAuth access token. */
2961
3321
  access_token?: string;
2962
3322
  /** Data format for response. */
2963
- alt?: string;
3323
+ alt?: 'json' | 'media' | 'proto';
2964
3324
  /** JSONP */
2965
3325
  callback?: string;
2966
3326
  /** Selector specifying which fields to include in a partial response. */
@@ -2987,11 +3347,11 @@ declare namespace gapi.client {
2987
3347
  /** Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to organizations using Managed Play whose application is configured to restrict distribution to the organizations. */
2988
3348
  addexternallyhosted(request: {
2989
3349
  /** V1 error format. */
2990
- '$.xgafv'?: string;
3350
+ '$.xgafv'?: '1' | '2';
2991
3351
  /** OAuth access token. */
2992
3352
  access_token?: string;
2993
3353
  /** Data format for response. */
2994
- alt?: string;
3354
+ alt?: 'json' | 'media' | 'proto';
2995
3355
  /** JSONP */
2996
3356
  callback?: string;
2997
3357
  /** Identifier of the edit. */
@@ -3018,11 +3378,11 @@ declare namespace gapi.client {
3018
3378
  addexternallyhosted(
3019
3379
  request: {
3020
3380
  /** V1 error format. */
3021
- '$.xgafv'?: string;
3381
+ '$.xgafv'?: '1' | '2';
3022
3382
  /** OAuth access token. */
3023
3383
  access_token?: string;
3024
3384
  /** Data format for response. */
3025
- alt?: string;
3385
+ alt?: 'json' | 'media' | 'proto';
3026
3386
  /** JSONP */
3027
3387
  callback?: string;
3028
3388
  /** Identifier of the edit. */
@@ -3049,11 +3409,11 @@ declare namespace gapi.client {
3049
3409
  /** Lists all current APKs of the app and edit. */
3050
3410
  list(request?: {
3051
3411
  /** V1 error format. */
3052
- '$.xgafv'?: string;
3412
+ '$.xgafv'?: '1' | '2';
3053
3413
  /** OAuth access token. */
3054
3414
  access_token?: string;
3055
3415
  /** Data format for response. */
3056
- alt?: string;
3416
+ alt?: 'json' | 'media' | 'proto';
3057
3417
  /** JSONP */
3058
3418
  callback?: string;
3059
3419
  /** Identifier of the edit. */
@@ -3078,11 +3438,11 @@ declare namespace gapi.client {
3078
3438
  /** Uploads an APK and adds to the current edit. */
3079
3439
  upload(request?: {
3080
3440
  /** V1 error format. */
3081
- '$.xgafv'?: string;
3441
+ '$.xgafv'?: '1' | '2';
3082
3442
  /** OAuth access token. */
3083
3443
  access_token?: string;
3084
3444
  /** Data format for response. */
3085
- alt?: string;
3445
+ alt?: 'json' | 'media' | 'proto';
3086
3446
  /** JSONP */
3087
3447
  callback?: string;
3088
3448
  /** Identifier of the edit. */
@@ -3109,11 +3469,11 @@ declare namespace gapi.client {
3109
3469
  /** Lists all current Android App Bundles of the app and edit. */
3110
3470
  list(request?: {
3111
3471
  /** V1 error format. */
3112
- '$.xgafv'?: string;
3472
+ '$.xgafv'?: '1' | '2';
3113
3473
  /** OAuth access token. */
3114
3474
  access_token?: string;
3115
3475
  /** Data format for response. */
3116
- alt?: string;
3476
+ alt?: 'json' | 'media' | 'proto';
3117
3477
  /** JSONP */
3118
3478
  callback?: string;
3119
3479
  /** Identifier of the edit. */
@@ -3138,13 +3498,13 @@ declare namespace gapi.client {
3138
3498
  /** Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java. */
3139
3499
  upload(request?: {
3140
3500
  /** V1 error format. */
3141
- '$.xgafv'?: string;
3501
+ '$.xgafv'?: '1' | '2';
3142
3502
  /** OAuth access token. */
3143
3503
  access_token?: string;
3144
3504
  /** Deprecated. The installation warning has been removed, it's not necessary to set this field anymore. */
3145
3505
  ackBundleInstallationWarning?: boolean;
3146
3506
  /** Data format for response. */
3147
- alt?: string;
3507
+ alt?: 'json' | 'media' | 'proto';
3148
3508
  /** JSONP */
3149
3509
  callback?: string;
3150
3510
  /** Device tier config (DTC) to be used for generating deliverables (APKs). Contains id of the DTC or "LATEST" for last uploaded DTC. */
@@ -3173,11 +3533,11 @@ declare namespace gapi.client {
3173
3533
  /** Gets country availability. */
3174
3534
  get(request?: {
3175
3535
  /** V1 error format. */
3176
- '$.xgafv'?: string;
3536
+ '$.xgafv'?: '1' | '2';
3177
3537
  /** OAuth access token. */
3178
3538
  access_token?: string;
3179
3539
  /** Data format for response. */
3180
- alt?: string;
3540
+ alt?: 'json' | 'media' | 'proto';
3181
3541
  /** JSONP */
3182
3542
  callback?: string;
3183
3543
  /** Identifier of the edit. */
@@ -3206,17 +3566,20 @@ declare namespace gapi.client {
3206
3566
  /** Uploads a new deobfuscation file and attaches to the specified APK. */
3207
3567
  upload(request?: {
3208
3568
  /** V1 error format. */
3209
- '$.xgafv'?: string;
3569
+ '$.xgafv'?: '1' | '2';
3210
3570
  /** OAuth access token. */
3211
3571
  access_token?: string;
3212
3572
  /** Data format for response. */
3213
- alt?: string;
3573
+ alt?: 'json' | 'media' | 'proto';
3214
3574
  /** The version code of the APK whose Deobfuscation File is being uploaded. */
3215
3575
  apkVersionCode: number;
3216
3576
  /** JSONP */
3217
3577
  callback?: string;
3218
3578
  /** The type of the deobfuscation file. */
3219
- deobfuscationFileType: string;
3579
+ deobfuscationFileType:
3580
+ | 'deobfuscationFileTypeUnspecified'
3581
+ | 'proguard'
3582
+ | 'nativeCode';
3220
3583
  /** Unique identifier for this edit. */
3221
3584
  editId: string;
3222
3585
  /** Selector specifying which fields to include in a partial response. */
@@ -3241,11 +3604,11 @@ declare namespace gapi.client {
3241
3604
  /** Gets details of an app. */
3242
3605
  get(request?: {
3243
3606
  /** V1 error format. */
3244
- '$.xgafv'?: string;
3607
+ '$.xgafv'?: '1' | '2';
3245
3608
  /** OAuth access token. */
3246
3609
  access_token?: string;
3247
3610
  /** Data format for response. */
3248
- alt?: string;
3611
+ alt?: 'json' | 'media' | 'proto';
3249
3612
  /** JSONP */
3250
3613
  callback?: string;
3251
3614
  /** Identifier of the edit. */
@@ -3270,11 +3633,11 @@ declare namespace gapi.client {
3270
3633
  /** Patches details of an app. */
3271
3634
  patch(request: {
3272
3635
  /** V1 error format. */
3273
- '$.xgafv'?: string;
3636
+ '$.xgafv'?: '1' | '2';
3274
3637
  /** OAuth access token. */
3275
3638
  access_token?: string;
3276
3639
  /** Data format for response. */
3277
- alt?: string;
3640
+ alt?: 'json' | 'media' | 'proto';
3278
3641
  /** JSONP */
3279
3642
  callback?: string;
3280
3643
  /** Identifier of the edit. */
@@ -3301,11 +3664,11 @@ declare namespace gapi.client {
3301
3664
  patch(
3302
3665
  request: {
3303
3666
  /** V1 error format. */
3304
- '$.xgafv'?: string;
3667
+ '$.xgafv'?: '1' | '2';
3305
3668
  /** OAuth access token. */
3306
3669
  access_token?: string;
3307
3670
  /** Data format for response. */
3308
- alt?: string;
3671
+ alt?: 'json' | 'media' | 'proto';
3309
3672
  /** JSONP */
3310
3673
  callback?: string;
3311
3674
  /** Identifier of the edit. */
@@ -3332,11 +3695,11 @@ declare namespace gapi.client {
3332
3695
  /** Updates details of an app. */
3333
3696
  update(request: {
3334
3697
  /** V1 error format. */
3335
- '$.xgafv'?: string;
3698
+ '$.xgafv'?: '1' | '2';
3336
3699
  /** OAuth access token. */
3337
3700
  access_token?: string;
3338
3701
  /** Data format for response. */
3339
- alt?: string;
3702
+ alt?: 'json' | 'media' | 'proto';
3340
3703
  /** JSONP */
3341
3704
  callback?: string;
3342
3705
  /** Identifier of the edit. */
@@ -3363,11 +3726,11 @@ declare namespace gapi.client {
3363
3726
  update(
3364
3727
  request: {
3365
3728
  /** V1 error format. */
3366
- '$.xgafv'?: string;
3729
+ '$.xgafv'?: '1' | '2';
3367
3730
  /** OAuth access token. */
3368
3731
  access_token?: string;
3369
3732
  /** Data format for response. */
3370
- alt?: string;
3733
+ alt?: 'json' | 'media' | 'proto';
3371
3734
  /** JSONP */
3372
3735
  callback?: string;
3373
3736
  /** Identifier of the edit. */
@@ -3396,11 +3759,11 @@ declare namespace gapi.client {
3396
3759
  /** Fetches the expansion file configuration for the specified APK. */
3397
3760
  get(request?: {
3398
3761
  /** V1 error format. */
3399
- '$.xgafv'?: string;
3762
+ '$.xgafv'?: '1' | '2';
3400
3763
  /** OAuth access token. */
3401
3764
  access_token?: string;
3402
3765
  /** Data format for response. */
3403
- alt?: string;
3766
+ alt?: 'json' | 'media' | 'proto';
3404
3767
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3405
3768
  apkVersionCode: number;
3406
3769
  /** JSONP */
@@ -3408,7 +3771,7 @@ declare namespace gapi.client {
3408
3771
  /** Identifier of the edit. */
3409
3772
  editId: string;
3410
3773
  /** The file type of the file configuration which is being read or modified. */
3411
- expansionFileType: string;
3774
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3412
3775
  /** Selector specifying which fields to include in a partial response. */
3413
3776
  fields?: string;
3414
3777
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -3429,11 +3792,11 @@ declare namespace gapi.client {
3429
3792
  /** Patches the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method. */
3430
3793
  patch(request: {
3431
3794
  /** V1 error format. */
3432
- '$.xgafv'?: string;
3795
+ '$.xgafv'?: '1' | '2';
3433
3796
  /** OAuth access token. */
3434
3797
  access_token?: string;
3435
3798
  /** Data format for response. */
3436
- alt?: string;
3799
+ alt?: 'json' | 'media' | 'proto';
3437
3800
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3438
3801
  apkVersionCode: number;
3439
3802
  /** JSONP */
@@ -3441,7 +3804,7 @@ declare namespace gapi.client {
3441
3804
  /** Identifier of the edit. */
3442
3805
  editId: string;
3443
3806
  /** The file type of the expansion file configuration which is being updated. */
3444
- expansionFileType: string;
3807
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3445
3808
  /** Selector specifying which fields to include in a partial response. */
3446
3809
  fields?: string;
3447
3810
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -3464,11 +3827,11 @@ declare namespace gapi.client {
3464
3827
  patch(
3465
3828
  request: {
3466
3829
  /** V1 error format. */
3467
- '$.xgafv'?: string;
3830
+ '$.xgafv'?: '1' | '2';
3468
3831
  /** OAuth access token. */
3469
3832
  access_token?: string;
3470
3833
  /** Data format for response. */
3471
- alt?: string;
3834
+ alt?: 'json' | 'media' | 'proto';
3472
3835
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3473
3836
  apkVersionCode: number;
3474
3837
  /** JSONP */
@@ -3476,7 +3839,7 @@ declare namespace gapi.client {
3476
3839
  /** Identifier of the edit. */
3477
3840
  editId: string;
3478
3841
  /** The file type of the expansion file configuration which is being updated. */
3479
- expansionFileType: string;
3842
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3480
3843
  /** Selector specifying which fields to include in a partial response. */
3481
3844
  fields?: string;
3482
3845
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -3499,11 +3862,11 @@ declare namespace gapi.client {
3499
3862
  /** Updates the APK's expansion file configuration to reference another APK's expansion file. To add a new expansion file use the Upload method. */
3500
3863
  update(request: {
3501
3864
  /** V1 error format. */
3502
- '$.xgafv'?: string;
3865
+ '$.xgafv'?: '1' | '2';
3503
3866
  /** OAuth access token. */
3504
3867
  access_token?: string;
3505
3868
  /** Data format for response. */
3506
- alt?: string;
3869
+ alt?: 'json' | 'media' | 'proto';
3507
3870
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3508
3871
  apkVersionCode: number;
3509
3872
  /** JSONP */
@@ -3511,7 +3874,7 @@ declare namespace gapi.client {
3511
3874
  /** Identifier of the edit. */
3512
3875
  editId: string;
3513
3876
  /** The file type of the file configuration which is being read or modified. */
3514
- expansionFileType: string;
3877
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3515
3878
  /** Selector specifying which fields to include in a partial response. */
3516
3879
  fields?: string;
3517
3880
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -3534,11 +3897,11 @@ declare namespace gapi.client {
3534
3897
  update(
3535
3898
  request: {
3536
3899
  /** V1 error format. */
3537
- '$.xgafv'?: string;
3900
+ '$.xgafv'?: '1' | '2';
3538
3901
  /** OAuth access token. */
3539
3902
  access_token?: string;
3540
3903
  /** Data format for response. */
3541
- alt?: string;
3904
+ alt?: 'json' | 'media' | 'proto';
3542
3905
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3543
3906
  apkVersionCode: number;
3544
3907
  /** JSONP */
@@ -3546,7 +3909,7 @@ declare namespace gapi.client {
3546
3909
  /** Identifier of the edit. */
3547
3910
  editId: string;
3548
3911
  /** The file type of the file configuration which is being read or modified. */
3549
- expansionFileType: string;
3912
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3550
3913
  /** Selector specifying which fields to include in a partial response. */
3551
3914
  fields?: string;
3552
3915
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -3569,11 +3932,11 @@ declare namespace gapi.client {
3569
3932
  /** Uploads a new expansion file and attaches to the specified APK. */
3570
3933
  upload(request?: {
3571
3934
  /** V1 error format. */
3572
- '$.xgafv'?: string;
3935
+ '$.xgafv'?: '1' | '2';
3573
3936
  /** OAuth access token. */
3574
3937
  access_token?: string;
3575
3938
  /** Data format for response. */
3576
- alt?: string;
3939
+ alt?: 'json' | 'media' | 'proto';
3577
3940
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3578
3941
  apkVersionCode: number;
3579
3942
  /** JSONP */
@@ -3581,7 +3944,7 @@ declare namespace gapi.client {
3581
3944
  /** Identifier of the edit. */
3582
3945
  editId: string;
3583
3946
  /** The file type of the expansion file configuration which is being updated. */
3584
- expansionFileType: string;
3947
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3585
3948
  /** Selector specifying which fields to include in a partial response. */
3586
3949
  fields?: string;
3587
3950
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
@@ -3604,11 +3967,11 @@ declare namespace gapi.client {
3604
3967
  /** Deletes the image (specified by id) from the edit. */
3605
3968
  delete(request?: {
3606
3969
  /** V1 error format. */
3607
- '$.xgafv'?: string;
3970
+ '$.xgafv'?: '1' | '2';
3608
3971
  /** OAuth access token. */
3609
3972
  access_token?: string;
3610
3973
  /** Data format for response. */
3611
- alt?: string;
3974
+ alt?: 'json' | 'media' | 'proto';
3612
3975
  /** JSONP */
3613
3976
  callback?: string;
3614
3977
  /** Identifier of the edit. */
@@ -3618,7 +3981,16 @@ declare namespace gapi.client {
3618
3981
  /** Unique identifier an image within the set of images attached to this edit. */
3619
3982
  imageId: string;
3620
3983
  /** Type of the Image. */
3621
- imageType: string;
3984
+ imageType:
3985
+ | 'appImageTypeUnspecified'
3986
+ | 'phoneScreenshots'
3987
+ | 'sevenInchScreenshots'
3988
+ | 'tenInchScreenshots'
3989
+ | 'tvScreenshots'
3990
+ | 'wearScreenshots'
3991
+ | 'icon'
3992
+ | 'featureGraphic'
3993
+ | 'tvBanner';
3622
3994
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3623
3995
  key?: string;
3624
3996
  /** Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). */
@@ -3639,11 +4011,11 @@ declare namespace gapi.client {
3639
4011
  /** Deletes all images for the specified language and image type. Returns an empty response if no images are found. */
3640
4012
  deleteall(request?: {
3641
4013
  /** V1 error format. */
3642
- '$.xgafv'?: string;
4014
+ '$.xgafv'?: '1' | '2';
3643
4015
  /** OAuth access token. */
3644
4016
  access_token?: string;
3645
4017
  /** Data format for response. */
3646
- alt?: string;
4018
+ alt?: 'json' | 'media' | 'proto';
3647
4019
  /** JSONP */
3648
4020
  callback?: string;
3649
4021
  /** Identifier of the edit. */
@@ -3651,7 +4023,16 @@ declare namespace gapi.client {
3651
4023
  /** Selector specifying which fields to include in a partial response. */
3652
4024
  fields?: string;
3653
4025
  /** Type of the Image. Providing an image type that refers to no images is a no-op. */
3654
- imageType: string;
4026
+ imageType:
4027
+ | 'appImageTypeUnspecified'
4028
+ | 'phoneScreenshots'
4029
+ | 'sevenInchScreenshots'
4030
+ | 'tenInchScreenshots'
4031
+ | 'tvScreenshots'
4032
+ | 'wearScreenshots'
4033
+ | 'icon'
4034
+ | 'featureGraphic'
4035
+ | 'tvBanner';
3655
4036
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3656
4037
  key?: string;
3657
4038
  /** Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Providing a language that is not supported by the App is a no-op. */
@@ -3672,11 +4053,11 @@ declare namespace gapi.client {
3672
4053
  /** Lists all images. The response may be empty. */
3673
4054
  list(request?: {
3674
4055
  /** V1 error format. */
3675
- '$.xgafv'?: string;
4056
+ '$.xgafv'?: '1' | '2';
3676
4057
  /** OAuth access token. */
3677
4058
  access_token?: string;
3678
4059
  /** Data format for response. */
3679
- alt?: string;
4060
+ alt?: 'json' | 'media' | 'proto';
3680
4061
  /** JSONP */
3681
4062
  callback?: string;
3682
4063
  /** Identifier of the edit. */
@@ -3684,7 +4065,16 @@ declare namespace gapi.client {
3684
4065
  /** Selector specifying which fields to include in a partial response. */
3685
4066
  fields?: string;
3686
4067
  /** Type of the Image. Providing an image type that refers to no images will return an empty response. */
3687
- imageType: string;
4068
+ imageType:
4069
+ | 'appImageTypeUnspecified'
4070
+ | 'phoneScreenshots'
4071
+ | 'sevenInchScreenshots'
4072
+ | 'tenInchScreenshots'
4073
+ | 'tvScreenshots'
4074
+ | 'wearScreenshots'
4075
+ | 'icon'
4076
+ | 'featureGraphic'
4077
+ | 'tvBanner';
3688
4078
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3689
4079
  key?: string;
3690
4080
  /** Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). There must be a store listing for the specified language. */
@@ -3705,11 +4095,11 @@ declare namespace gapi.client {
3705
4095
  /** Uploads an image of the specified language and image type, and adds to the edit. */
3706
4096
  upload(request?: {
3707
4097
  /** V1 error format. */
3708
- '$.xgafv'?: string;
4098
+ '$.xgafv'?: '1' | '2';
3709
4099
  /** OAuth access token. */
3710
4100
  access_token?: string;
3711
4101
  /** Data format for response. */
3712
- alt?: string;
4102
+ alt?: 'json' | 'media' | 'proto';
3713
4103
  /** JSONP */
3714
4104
  callback?: string;
3715
4105
  /** Identifier of the edit. */
@@ -3717,7 +4107,16 @@ declare namespace gapi.client {
3717
4107
  /** Selector specifying which fields to include in a partial response. */
3718
4108
  fields?: string;
3719
4109
  /** Type of the Image. */
3720
- imageType: string;
4110
+ imageType:
4111
+ | 'appImageTypeUnspecified'
4112
+ | 'phoneScreenshots'
4113
+ | 'sevenInchScreenshots'
4114
+ | 'tenInchScreenshots'
4115
+ | 'tvScreenshots'
4116
+ | 'wearScreenshots'
4117
+ | 'icon'
4118
+ | 'featureGraphic'
4119
+ | 'tvBanner';
3721
4120
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
3722
4121
  key?: string;
3723
4122
  /** Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). Providing a language that is not supported by the App is a no-op. */
@@ -3740,11 +4139,11 @@ declare namespace gapi.client {
3740
4139
  /** Deletes a localized store listing. */
3741
4140
  delete(request?: {
3742
4141
  /** V1 error format. */
3743
- '$.xgafv'?: string;
4142
+ '$.xgafv'?: '1' | '2';
3744
4143
  /** OAuth access token. */
3745
4144
  access_token?: string;
3746
4145
  /** Data format for response. */
3747
- alt?: string;
4146
+ alt?: 'json' | 'media' | 'proto';
3748
4147
  /** JSONP */
3749
4148
  callback?: string;
3750
4149
  /** Identifier of the edit. */
@@ -3771,11 +4170,11 @@ declare namespace gapi.client {
3771
4170
  /** Deletes all store listings. */
3772
4171
  deleteall(request?: {
3773
4172
  /** V1 error format. */
3774
- '$.xgafv'?: string;
4173
+ '$.xgafv'?: '1' | '2';
3775
4174
  /** OAuth access token. */
3776
4175
  access_token?: string;
3777
4176
  /** Data format for response. */
3778
- alt?: string;
4177
+ alt?: 'json' | 'media' | 'proto';
3779
4178
  /** JSONP */
3780
4179
  callback?: string;
3781
4180
  /** Identifier of the edit. */
@@ -3800,11 +4199,11 @@ declare namespace gapi.client {
3800
4199
  /** Gets a localized store listing. */
3801
4200
  get(request?: {
3802
4201
  /** V1 error format. */
3803
- '$.xgafv'?: string;
4202
+ '$.xgafv'?: '1' | '2';
3804
4203
  /** OAuth access token. */
3805
4204
  access_token?: string;
3806
4205
  /** Data format for response. */
3807
- alt?: string;
4206
+ alt?: 'json' | 'media' | 'proto';
3808
4207
  /** JSONP */
3809
4208
  callback?: string;
3810
4209
  /** Identifier of the edit. */
@@ -3831,11 +4230,11 @@ declare namespace gapi.client {
3831
4230
  /** Lists all localized store listings. */
3832
4231
  list(request?: {
3833
4232
  /** V1 error format. */
3834
- '$.xgafv'?: string;
4233
+ '$.xgafv'?: '1' | '2';
3835
4234
  /** OAuth access token. */
3836
4235
  access_token?: string;
3837
4236
  /** Data format for response. */
3838
- alt?: string;
4237
+ alt?: 'json' | 'media' | 'proto';
3839
4238
  /** JSONP */
3840
4239
  callback?: string;
3841
4240
  /** Identifier of the edit. */
@@ -3860,11 +4259,11 @@ declare namespace gapi.client {
3860
4259
  /** Patches a localized store listing. */
3861
4260
  patch(request: {
3862
4261
  /** V1 error format. */
3863
- '$.xgafv'?: string;
4262
+ '$.xgafv'?: '1' | '2';
3864
4263
  /** OAuth access token. */
3865
4264
  access_token?: string;
3866
4265
  /** Data format for response. */
3867
- alt?: string;
4266
+ alt?: 'json' | 'media' | 'proto';
3868
4267
  /** JSONP */
3869
4268
  callback?: string;
3870
4269
  /** Identifier of the edit. */
@@ -3893,11 +4292,11 @@ declare namespace gapi.client {
3893
4292
  patch(
3894
4293
  request: {
3895
4294
  /** V1 error format. */
3896
- '$.xgafv'?: string;
4295
+ '$.xgafv'?: '1' | '2';
3897
4296
  /** OAuth access token. */
3898
4297
  access_token?: string;
3899
4298
  /** Data format for response. */
3900
- alt?: string;
4299
+ alt?: 'json' | 'media' | 'proto';
3901
4300
  /** JSONP */
3902
4301
  callback?: string;
3903
4302
  /** Identifier of the edit. */
@@ -3926,11 +4325,11 @@ declare namespace gapi.client {
3926
4325
  /** Creates or updates a localized store listing. */
3927
4326
  update(request: {
3928
4327
  /** V1 error format. */
3929
- '$.xgafv'?: string;
4328
+ '$.xgafv'?: '1' | '2';
3930
4329
  /** OAuth access token. */
3931
4330
  access_token?: string;
3932
4331
  /** Data format for response. */
3933
- alt?: string;
4332
+ alt?: 'json' | 'media' | 'proto';
3934
4333
  /** JSONP */
3935
4334
  callback?: string;
3936
4335
  /** Identifier of the edit. */
@@ -3959,11 +4358,11 @@ declare namespace gapi.client {
3959
4358
  update(
3960
4359
  request: {
3961
4360
  /** V1 error format. */
3962
- '$.xgafv'?: string;
4361
+ '$.xgafv'?: '1' | '2';
3963
4362
  /** OAuth access token. */
3964
4363
  access_token?: string;
3965
4364
  /** Data format for response. */
3966
- alt?: string;
4365
+ alt?: 'json' | 'media' | 'proto';
3967
4366
  /** JSONP */
3968
4367
  callback?: string;
3969
4368
  /** Identifier of the edit. */
@@ -3994,11 +4393,11 @@ declare namespace gapi.client {
3994
4393
  /** Gets testers. Note: Testers resource does not support email lists. */
3995
4394
  get(request?: {
3996
4395
  /** V1 error format. */
3997
- '$.xgafv'?: string;
4396
+ '$.xgafv'?: '1' | '2';
3998
4397
  /** OAuth access token. */
3999
4398
  access_token?: string;
4000
4399
  /** Data format for response. */
4001
- alt?: string;
4400
+ alt?: 'json' | 'media' | 'proto';
4002
4401
  /** JSONP */
4003
4402
  callback?: string;
4004
4403
  /** Identifier of the edit. */
@@ -4025,11 +4424,11 @@ declare namespace gapi.client {
4025
4424
  /** Patches testers. Note: Testers resource does not support email lists. */
4026
4425
  patch(request: {
4027
4426
  /** V1 error format. */
4028
- '$.xgafv'?: string;
4427
+ '$.xgafv'?: '1' | '2';
4029
4428
  /** OAuth access token. */
4030
4429
  access_token?: string;
4031
4430
  /** Data format for response. */
4032
- alt?: string;
4431
+ alt?: 'json' | 'media' | 'proto';
4033
4432
  /** JSONP */
4034
4433
  callback?: string;
4035
4434
  /** Identifier of the edit. */
@@ -4058,11 +4457,11 @@ declare namespace gapi.client {
4058
4457
  patch(
4059
4458
  request: {
4060
4459
  /** V1 error format. */
4061
- '$.xgafv'?: string;
4460
+ '$.xgafv'?: '1' | '2';
4062
4461
  /** OAuth access token. */
4063
4462
  access_token?: string;
4064
4463
  /** Data format for response. */
4065
- alt?: string;
4464
+ alt?: 'json' | 'media' | 'proto';
4066
4465
  /** JSONP */
4067
4466
  callback?: string;
4068
4467
  /** Identifier of the edit. */
@@ -4091,11 +4490,11 @@ declare namespace gapi.client {
4091
4490
  /** Updates testers. Note: Testers resource does not support email lists. */
4092
4491
  update(request: {
4093
4492
  /** V1 error format. */
4094
- '$.xgafv'?: string;
4493
+ '$.xgafv'?: '1' | '2';
4095
4494
  /** OAuth access token. */
4096
4495
  access_token?: string;
4097
4496
  /** Data format for response. */
4098
- alt?: string;
4497
+ alt?: 'json' | 'media' | 'proto';
4099
4498
  /** JSONP */
4100
4499
  callback?: string;
4101
4500
  /** Identifier of the edit. */
@@ -4124,11 +4523,11 @@ declare namespace gapi.client {
4124
4523
  update(
4125
4524
  request: {
4126
4525
  /** V1 error format. */
4127
- '$.xgafv'?: string;
4526
+ '$.xgafv'?: '1' | '2';
4128
4527
  /** OAuth access token. */
4129
4528
  access_token?: string;
4130
4529
  /** Data format for response. */
4131
- alt?: string;
4530
+ alt?: 'json' | 'media' | 'proto';
4132
4531
  /** JSONP */
4133
4532
  callback?: string;
4134
4533
  /** Identifier of the edit. */
@@ -4159,11 +4558,11 @@ declare namespace gapi.client {
4159
4558
  /** Creates a new track. */
4160
4559
  create(request: {
4161
4560
  /** V1 error format. */
4162
- '$.xgafv'?: string;
4561
+ '$.xgafv'?: '1' | '2';
4163
4562
  /** OAuth access token. */
4164
4563
  access_token?: string;
4165
4564
  /** Data format for response. */
4166
- alt?: string;
4565
+ alt?: 'json' | 'media' | 'proto';
4167
4566
  /** JSONP */
4168
4567
  callback?: string;
4169
4568
  /** Required. Identifier of the edit. */
@@ -4190,11 +4589,11 @@ declare namespace gapi.client {
4190
4589
  create(
4191
4590
  request: {
4192
4591
  /** V1 error format. */
4193
- '$.xgafv'?: string;
4592
+ '$.xgafv'?: '1' | '2';
4194
4593
  /** OAuth access token. */
4195
4594
  access_token?: string;
4196
4595
  /** Data format for response. */
4197
- alt?: string;
4596
+ alt?: 'json' | 'media' | 'proto';
4198
4597
  /** JSONP */
4199
4598
  callback?: string;
4200
4599
  /** Required. Identifier of the edit. */
@@ -4221,11 +4620,11 @@ declare namespace gapi.client {
4221
4620
  /** Gets a track. */
4222
4621
  get(request?: {
4223
4622
  /** V1 error format. */
4224
- '$.xgafv'?: string;
4623
+ '$.xgafv'?: '1' | '2';
4225
4624
  /** OAuth access token. */
4226
4625
  access_token?: string;
4227
4626
  /** Data format for response. */
4228
- alt?: string;
4627
+ alt?: 'json' | 'media' | 'proto';
4229
4628
  /** JSONP */
4230
4629
  callback?: string;
4231
4630
  /** Identifier of the edit. */
@@ -4252,11 +4651,11 @@ declare namespace gapi.client {
4252
4651
  /** Lists all tracks. */
4253
4652
  list(request?: {
4254
4653
  /** V1 error format. */
4255
- '$.xgafv'?: string;
4654
+ '$.xgafv'?: '1' | '2';
4256
4655
  /** OAuth access token. */
4257
4656
  access_token?: string;
4258
4657
  /** Data format for response. */
4259
- alt?: string;
4658
+ alt?: 'json' | 'media' | 'proto';
4260
4659
  /** JSONP */
4261
4660
  callback?: string;
4262
4661
  /** Identifier of the edit. */
@@ -4281,11 +4680,11 @@ declare namespace gapi.client {
4281
4680
  /** Patches a track. */
4282
4681
  patch(request: {
4283
4682
  /** V1 error format. */
4284
- '$.xgafv'?: string;
4683
+ '$.xgafv'?: '1' | '2';
4285
4684
  /** OAuth access token. */
4286
4685
  access_token?: string;
4287
4686
  /** Data format for response. */
4288
- alt?: string;
4687
+ alt?: 'json' | 'media' | 'proto';
4289
4688
  /** JSONP */
4290
4689
  callback?: string;
4291
4690
  /** Identifier of the edit. */
@@ -4314,11 +4713,11 @@ declare namespace gapi.client {
4314
4713
  patch(
4315
4714
  request: {
4316
4715
  /** V1 error format. */
4317
- '$.xgafv'?: string;
4716
+ '$.xgafv'?: '1' | '2';
4318
4717
  /** OAuth access token. */
4319
4718
  access_token?: string;
4320
4719
  /** Data format for response. */
4321
- alt?: string;
4720
+ alt?: 'json' | 'media' | 'proto';
4322
4721
  /** JSONP */
4323
4722
  callback?: string;
4324
4723
  /** Identifier of the edit. */
@@ -4347,11 +4746,11 @@ declare namespace gapi.client {
4347
4746
  /** Updates a track. */
4348
4747
  update(request: {
4349
4748
  /** V1 error format. */
4350
- '$.xgafv'?: string;
4749
+ '$.xgafv'?: '1' | '2';
4351
4750
  /** OAuth access token. */
4352
4751
  access_token?: string;
4353
4752
  /** Data format for response. */
4354
- alt?: string;
4753
+ alt?: 'json' | 'media' | 'proto';
4355
4754
  /** JSONP */
4356
4755
  callback?: string;
4357
4756
  /** Identifier of the edit. */
@@ -4380,11 +4779,11 @@ declare namespace gapi.client {
4380
4779
  update(
4381
4780
  request: {
4382
4781
  /** V1 error format. */
4383
- '$.xgafv'?: string;
4782
+ '$.xgafv'?: '1' | '2';
4384
4783
  /** OAuth access token. */
4385
4784
  access_token?: string;
4386
4785
  /** Data format for response. */
4387
- alt?: string;
4786
+ alt?: 'json' | 'media' | 'proto';
4388
4787
  /** JSONP */
4389
4788
  callback?: string;
4390
4789
  /** Identifier of the edit. */
@@ -4415,15 +4814,18 @@ declare namespace gapi.client {
4415
4814
  /** Commits an app edit. */
4416
4815
  commit(request?: {
4417
4816
  /** V1 error format. */
4418
- '$.xgafv'?: string;
4817
+ '$.xgafv'?: '1' | '2';
4419
4818
  /** OAuth access token. */
4420
4819
  access_token?: string;
4421
4820
  /** Data format for response. */
4422
- alt?: string;
4821
+ alt?: 'json' | 'media' | 'proto';
4423
4822
  /** JSONP */
4424
4823
  callback?: string;
4425
4824
  /** Optional. Specify how the API should behave if there are changes currently in review. If this value is not set, it will default to "CANCEL_IN_REVIEW_AND_SUBMIT", which will cancel the changes in review and then send all the changes for publishing. */
4426
- changesInReviewBehavior?: string;
4825
+ changesInReviewBehavior?:
4826
+ | 'CHANGES_IN_REVIEW_BEHAVIOR_TYPE_UNSPECIFIED'
4827
+ | 'CANCEL_IN_REVIEW_AND_SUBMIT'
4828
+ | 'ERROR_IF_IN_REVIEW';
4427
4829
  /** When a rejection happens, the parameter will make sure that the changes in this edit won't be reviewed until they are explicitly sent for review from within the Google Play Console UI. These changes will be added to any other changes that are not yet sent for review. */
4428
4830
  changesNotSentForReview?: boolean;
4429
4831
  /** Identifier of the edit. */
@@ -4448,11 +4850,11 @@ declare namespace gapi.client {
4448
4850
  /** Deletes an app edit. */
4449
4851
  delete(request?: {
4450
4852
  /** V1 error format. */
4451
- '$.xgafv'?: string;
4853
+ '$.xgafv'?: '1' | '2';
4452
4854
  /** OAuth access token. */
4453
4855
  access_token?: string;
4454
4856
  /** Data format for response. */
4455
- alt?: string;
4857
+ alt?: 'json' | 'media' | 'proto';
4456
4858
  /** JSONP */
4457
4859
  callback?: string;
4458
4860
  /** Identifier of the edit. */
@@ -4477,11 +4879,11 @@ declare namespace gapi.client {
4477
4879
  /** Gets an app edit. */
4478
4880
  get(request?: {
4479
4881
  /** V1 error format. */
4480
- '$.xgafv'?: string;
4882
+ '$.xgafv'?: '1' | '2';
4481
4883
  /** OAuth access token. */
4482
4884
  access_token?: string;
4483
4885
  /** Data format for response. */
4484
- alt?: string;
4886
+ alt?: 'json' | 'media' | 'proto';
4485
4887
  /** JSONP */
4486
4888
  callback?: string;
4487
4889
  /** Identifier of the edit. */
@@ -4506,11 +4908,11 @@ declare namespace gapi.client {
4506
4908
  /** Creates a new edit for an app. */
4507
4909
  insert(request: {
4508
4910
  /** V1 error format. */
4509
- '$.xgafv'?: string;
4911
+ '$.xgafv'?: '1' | '2';
4510
4912
  /** OAuth access token. */
4511
4913
  access_token?: string;
4512
4914
  /** Data format for response. */
4513
- alt?: string;
4915
+ alt?: 'json' | 'media' | 'proto';
4514
4916
  /** JSONP */
4515
4917
  callback?: string;
4516
4918
  /** Selector specifying which fields to include in a partial response. */
@@ -4535,11 +4937,11 @@ declare namespace gapi.client {
4535
4937
  insert(
4536
4938
  request: {
4537
4939
  /** V1 error format. */
4538
- '$.xgafv'?: string;
4940
+ '$.xgafv'?: '1' | '2';
4539
4941
  /** OAuth access token. */
4540
4942
  access_token?: string;
4541
4943
  /** Data format for response. */
4542
- alt?: string;
4944
+ alt?: 'json' | 'media' | 'proto';
4543
4945
  /** JSONP */
4544
4946
  callback?: string;
4545
4947
  /** Selector specifying which fields to include in a partial response. */
@@ -4564,11 +4966,11 @@ declare namespace gapi.client {
4564
4966
  /** Validates an app edit. */
4565
4967
  validate(request?: {
4566
4968
  /** V1 error format. */
4567
- '$.xgafv'?: string;
4969
+ '$.xgafv'?: '1' | '2';
4568
4970
  /** OAuth access token. */
4569
4971
  access_token?: string;
4570
4972
  /** Data format for response. */
4571
- alt?: string;
4973
+ alt?: 'json' | 'media' | 'proto';
4572
4974
  /** JSONP */
4573
4975
  callback?: string;
4574
4976
  /** Identifier of the edit. */
@@ -4605,11 +5007,11 @@ declare namespace gapi.client {
4605
5007
  /** Creates a new external transaction. */
4606
5008
  createexternaltransaction(request: {
4607
5009
  /** V1 error format. */
4608
- '$.xgafv'?: string;
5010
+ '$.xgafv'?: '1' | '2';
4609
5011
  /** OAuth access token. */
4610
5012
  access_token?: string;
4611
5013
  /** Data format for response. */
4612
- alt?: string;
5014
+ alt?: 'json' | 'media' | 'proto';
4613
5015
  /** JSONP */
4614
5016
  callback?: string;
4615
5017
  /** Required. The id to use for the external transaction. Must be unique across all other transactions for the app. This value should be 1-63 characters and valid characters are /a-zA-Z0-9_-/. Do not use this field to store any Personally Identifiable Information (PII) such as emails. Attempting to store PII in this field may result in requests being blocked. */
@@ -4636,11 +5038,11 @@ declare namespace gapi.client {
4636
5038
  createexternaltransaction(
4637
5039
  request: {
4638
5040
  /** V1 error format. */
4639
- '$.xgafv'?: string;
5041
+ '$.xgafv'?: '1' | '2';
4640
5042
  /** OAuth access token. */
4641
5043
  access_token?: string;
4642
5044
  /** Data format for response. */
4643
- alt?: string;
5045
+ alt?: 'json' | 'media' | 'proto';
4644
5046
  /** JSONP */
4645
5047
  callback?: string;
4646
5048
  /** Required. The id to use for the external transaction. Must be unique across all other transactions for the app. This value should be 1-63 characters and valid characters are /a-zA-Z0-9_-/. Do not use this field to store any Personally Identifiable Information (PII) such as emails. Attempting to store PII in this field may result in requests being blocked. */
@@ -4667,11 +5069,11 @@ declare namespace gapi.client {
4667
5069
  /** Gets an existing external transaction. */
4668
5070
  getexternaltransaction(request?: {
4669
5071
  /** V1 error format. */
4670
- '$.xgafv'?: string;
5072
+ '$.xgafv'?: '1' | '2';
4671
5073
  /** OAuth access token. */
4672
5074
  access_token?: string;
4673
5075
  /** Data format for response. */
4674
- alt?: string;
5076
+ alt?: 'json' | 'media' | 'proto';
4675
5077
  /** JSONP */
4676
5078
  callback?: string;
4677
5079
  /** Selector specifying which fields to include in a partial response. */
@@ -4694,11 +5096,11 @@ declare namespace gapi.client {
4694
5096
  /** Refunds or partially refunds an existing external transaction. */
4695
5097
  refundexternaltransaction(request: {
4696
5098
  /** V1 error format. */
4697
- '$.xgafv'?: string;
5099
+ '$.xgafv'?: '1' | '2';
4698
5100
  /** OAuth access token. */
4699
5101
  access_token?: string;
4700
5102
  /** Data format for response. */
4701
- alt?: string;
5103
+ alt?: 'json' | 'media' | 'proto';
4702
5104
  /** JSONP */
4703
5105
  callback?: string;
4704
5106
  /** Selector specifying which fields to include in a partial response. */
@@ -4723,11 +5125,11 @@ declare namespace gapi.client {
4723
5125
  refundexternaltransaction(
4724
5126
  request: {
4725
5127
  /** V1 error format. */
4726
- '$.xgafv'?: string;
5128
+ '$.xgafv'?: '1' | '2';
4727
5129
  /** OAuth access token. */
4728
5130
  access_token?: string;
4729
5131
  /** Data format for response. */
4730
- alt?: string;
5132
+ alt?: 'json' | 'media' | 'proto';
4731
5133
  /** JSONP */
4732
5134
  callback?: string;
4733
5135
  /** Selector specifying which fields to include in a partial response. */
@@ -4754,11 +5156,11 @@ declare namespace gapi.client {
4754
5156
  /** Downloads a single signed APK generated from an app bundle. */
4755
5157
  download(request?: {
4756
5158
  /** V1 error format. */
4757
- '$.xgafv'?: string;
5159
+ '$.xgafv'?: '1' | '2';
4758
5160
  /** OAuth access token. */
4759
5161
  access_token?: string;
4760
5162
  /** Data format for response. */
4761
- alt?: string;
5163
+ alt?: 'json' | 'media' | 'proto';
4762
5164
  /** JSONP */
4763
5165
  callback?: string;
4764
5166
  /** Download ID, which uniquely identifies the APK to download. Can be obtained from the response of `generatedapks.list` method. */
@@ -4785,11 +5187,11 @@ declare namespace gapi.client {
4785
5187
  /** Returns download metadata for all APKs that were generated from a given app bundle. */
4786
5188
  list(request?: {
4787
5189
  /** V1 error format. */
4788
- '$.xgafv'?: string;
5190
+ '$.xgafv'?: '1' | '2';
4789
5191
  /** OAuth access token. */
4790
5192
  access_token?: string;
4791
5193
  /** Data format for response. */
4792
- alt?: string;
5194
+ alt?: 'json' | 'media' | 'proto';
4793
5195
  /** JSONP */
4794
5196
  callback?: string;
4795
5197
  /** Selector specifying which fields to include in a partial response. */
@@ -4816,11 +5218,11 @@ declare namespace gapi.client {
4816
5218
  /** Grant access for a user to the given package. */
4817
5219
  create(request: {
4818
5220
  /** V1 error format. */
4819
- '$.xgafv'?: string;
5221
+ '$.xgafv'?: '1' | '2';
4820
5222
  /** OAuth access token. */
4821
5223
  access_token?: string;
4822
5224
  /** Data format for response. */
4823
- alt?: string;
5225
+ alt?: 'json' | 'media' | 'proto';
4824
5226
  /** JSONP */
4825
5227
  callback?: string;
4826
5228
  /** Selector specifying which fields to include in a partial response. */
@@ -4845,11 +5247,11 @@ declare namespace gapi.client {
4845
5247
  create(
4846
5248
  request: {
4847
5249
  /** V1 error format. */
4848
- '$.xgafv'?: string;
5250
+ '$.xgafv'?: '1' | '2';
4849
5251
  /** OAuth access token. */
4850
5252
  access_token?: string;
4851
5253
  /** Data format for response. */
4852
- alt?: string;
5254
+ alt?: 'json' | 'media' | 'proto';
4853
5255
  /** JSONP */
4854
5256
  callback?: string;
4855
5257
  /** Selector specifying which fields to include in a partial response. */
@@ -4874,11 +5276,11 @@ declare namespace gapi.client {
4874
5276
  /** Removes all access for the user to the given package or developer account. */
4875
5277
  delete(request?: {
4876
5278
  /** V1 error format. */
4877
- '$.xgafv'?: string;
5279
+ '$.xgafv'?: '1' | '2';
4878
5280
  /** OAuth access token. */
4879
5281
  access_token?: string;
4880
5282
  /** Data format for response. */
4881
- alt?: string;
5283
+ alt?: 'json' | 'media' | 'proto';
4882
5284
  /** JSONP */
4883
5285
  callback?: string;
4884
5286
  /** Selector specifying which fields to include in a partial response. */
@@ -4901,11 +5303,11 @@ declare namespace gapi.client {
4901
5303
  /** Updates access for the user to the given package. */
4902
5304
  patch(request: {
4903
5305
  /** V1 error format. */
4904
- '$.xgafv'?: string;
5306
+ '$.xgafv'?: '1' | '2';
4905
5307
  /** OAuth access token. */
4906
5308
  access_token?: string;
4907
5309
  /** Data format for response. */
4908
- alt?: string;
5310
+ alt?: 'json' | 'media' | 'proto';
4909
5311
  /** JSONP */
4910
5312
  callback?: string;
4911
5313
  /** Selector specifying which fields to include in a partial response. */
@@ -4932,11 +5334,11 @@ declare namespace gapi.client {
4932
5334
  patch(
4933
5335
  request: {
4934
5336
  /** V1 error format. */
4935
- '$.xgafv'?: string;
5337
+ '$.xgafv'?: '1' | '2';
4936
5338
  /** OAuth access token. */
4937
5339
  access_token?: string;
4938
5340
  /** Data format for response. */
4939
- alt?: string;
5341
+ alt?: 'json' | 'media' | 'proto';
4940
5342
  /** JSONP */
4941
5343
  callback?: string;
4942
5344
  /** Selector specifying which fields to include in a partial response. */
@@ -4965,11 +5367,11 @@ declare namespace gapi.client {
4965
5367
  /** Deletes in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should not be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
4966
5368
  batchDelete(request: {
4967
5369
  /** V1 error format. */
4968
- '$.xgafv'?: string;
5370
+ '$.xgafv'?: '1' | '2';
4969
5371
  /** OAuth access token. */
4970
5372
  access_token?: string;
4971
5373
  /** Data format for response. */
4972
- alt?: string;
5374
+ alt?: 'json' | 'media' | 'proto';
4973
5375
  /** JSONP */
4974
5376
  callback?: string;
4975
5377
  /** Selector specifying which fields to include in a partial response. */
@@ -4994,11 +5396,11 @@ declare namespace gapi.client {
4994
5396
  batchDelete(
4995
5397
  request: {
4996
5398
  /** V1 error format. */
4997
- '$.xgafv'?: string;
5399
+ '$.xgafv'?: '1' | '2';
4998
5400
  /** OAuth access token. */
4999
5401
  access_token?: string;
5000
5402
  /** Data format for response. */
5001
- alt?: string;
5403
+ alt?: 'json' | 'media' | 'proto';
5002
5404
  /** JSONP */
5003
5405
  callback?: string;
5004
5406
  /** Selector specifying which fields to include in a partial response. */
@@ -5023,11 +5425,11 @@ declare namespace gapi.client {
5023
5425
  /** Reads multiple in-app products, which can be managed products or subscriptions. This method should not be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
5024
5426
  batchGet(request?: {
5025
5427
  /** V1 error format. */
5026
- '$.xgafv'?: string;
5428
+ '$.xgafv'?: '1' | '2';
5027
5429
  /** OAuth access token. */
5028
5430
  access_token?: string;
5029
5431
  /** Data format for response. */
5030
- alt?: string;
5432
+ alt?: 'json' | 'media' | 'proto';
5031
5433
  /** JSONP */
5032
5434
  callback?: string;
5033
5435
  /** Selector specifying which fields to include in a partial response. */
@@ -5052,11 +5454,11 @@ declare namespace gapi.client {
5052
5454
  /** Updates or inserts one or more in-app products (managed products or subscriptions). Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
5053
5455
  batchUpdate(request: {
5054
5456
  /** V1 error format. */
5055
- '$.xgafv'?: string;
5457
+ '$.xgafv'?: '1' | '2';
5056
5458
  /** OAuth access token. */
5057
5459
  access_token?: string;
5058
5460
  /** Data format for response. */
5059
- alt?: string;
5461
+ alt?: 'json' | 'media' | 'proto';
5060
5462
  /** JSONP */
5061
5463
  callback?: string;
5062
5464
  /** Selector specifying which fields to include in a partial response. */
@@ -5081,11 +5483,11 @@ declare namespace gapi.client {
5081
5483
  batchUpdate(
5082
5484
  request: {
5083
5485
  /** V1 error format. */
5084
- '$.xgafv'?: string;
5486
+ '$.xgafv'?: '1' | '2';
5085
5487
  /** OAuth access token. */
5086
5488
  access_token?: string;
5087
5489
  /** Data format for response. */
5088
- alt?: string;
5490
+ alt?: 'json' | 'media' | 'proto';
5089
5491
  /** JSONP */
5090
5492
  callback?: string;
5091
5493
  /** Selector specifying which fields to include in a partial response. */
@@ -5110,11 +5512,11 @@ declare namespace gapi.client {
5110
5512
  /** Deletes an in-app product (a managed product or a subscription). This method should no longer be used to delete subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
5111
5513
  delete(request?: {
5112
5514
  /** V1 error format. */
5113
- '$.xgafv'?: string;
5515
+ '$.xgafv'?: '1' | '2';
5114
5516
  /** OAuth access token. */
5115
5517
  access_token?: string;
5116
5518
  /** Data format for response. */
5117
- alt?: string;
5519
+ alt?: 'json' | 'media' | 'proto';
5118
5520
  /** JSONP */
5119
5521
  callback?: string;
5120
5522
  /** Selector specifying which fields to include in a partial response. */
@@ -5122,7 +5524,10 @@ declare namespace gapi.client {
5122
5524
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5123
5525
  key?: string;
5124
5526
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5125
- latencyTolerance?: string;
5527
+ latencyTolerance?:
5528
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5529
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5530
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5126
5531
  /** OAuth 2.0 token for the current user. */
5127
5532
  oauth_token?: string;
5128
5533
  /** Package name of the app. */
@@ -5141,11 +5546,11 @@ declare namespace gapi.client {
5141
5546
  /** Gets an in-app product, which can be a managed product or a subscription. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
5142
5547
  get(request?: {
5143
5548
  /** V1 error format. */
5144
- '$.xgafv'?: string;
5549
+ '$.xgafv'?: '1' | '2';
5145
5550
  /** OAuth access token. */
5146
5551
  access_token?: string;
5147
5552
  /** Data format for response. */
5148
- alt?: string;
5553
+ alt?: 'json' | 'media' | 'proto';
5149
5554
  /** JSONP */
5150
5555
  callback?: string;
5151
5556
  /** Selector specifying which fields to include in a partial response. */
@@ -5170,11 +5575,11 @@ declare namespace gapi.client {
5170
5575
  /** Creates an in-app product (a managed product or a subscription). This method should no longer be used to create subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
5171
5576
  insert(request: {
5172
5577
  /** V1 error format. */
5173
- '$.xgafv'?: string;
5578
+ '$.xgafv'?: '1' | '2';
5174
5579
  /** OAuth access token. */
5175
5580
  access_token?: string;
5176
5581
  /** Data format for response. */
5177
- alt?: string;
5582
+ alt?: 'json' | 'media' | 'proto';
5178
5583
  /** If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. */
5179
5584
  autoConvertMissingPrices?: boolean;
5180
5585
  /** JSONP */
@@ -5201,11 +5606,11 @@ declare namespace gapi.client {
5201
5606
  insert(
5202
5607
  request: {
5203
5608
  /** V1 error format. */
5204
- '$.xgafv'?: string;
5609
+ '$.xgafv'?: '1' | '2';
5205
5610
  /** OAuth access token. */
5206
5611
  access_token?: string;
5207
5612
  /** Data format for response. */
5208
- alt?: string;
5613
+ alt?: 'json' | 'media' | 'proto';
5209
5614
  /** If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. */
5210
5615
  autoConvertMissingPrices?: boolean;
5211
5616
  /** JSONP */
@@ -5232,11 +5637,11 @@ declare namespace gapi.client {
5232
5637
  /** Lists all in-app products - both managed products and subscriptions. If an app has a large number of in-app products, the response may be paginated. In this case the response field `tokenPagination.nextPageToken` will be set and the caller should provide its value as a `token` request parameter to retrieve the next page. This method should no longer be used to retrieve subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
5233
5638
  list(request?: {
5234
5639
  /** V1 error format. */
5235
- '$.xgafv'?: string;
5640
+ '$.xgafv'?: '1' | '2';
5236
5641
  /** OAuth access token. */
5237
5642
  access_token?: string;
5238
5643
  /** Data format for response. */
5239
- alt?: string;
5644
+ alt?: 'json' | 'media' | 'proto';
5240
5645
  /** JSONP */
5241
5646
  callback?: string;
5242
5647
  /** Selector specifying which fields to include in a partial response. */
@@ -5265,11 +5670,11 @@ declare namespace gapi.client {
5265
5670
  /** Patches an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
5266
5671
  patch(request: {
5267
5672
  /** V1 error format. */
5268
- '$.xgafv'?: string;
5673
+ '$.xgafv'?: '1' | '2';
5269
5674
  /** OAuth access token. */
5270
5675
  access_token?: string;
5271
5676
  /** Data format for response. */
5272
- alt?: string;
5677
+ alt?: 'json' | 'media' | 'proto';
5273
5678
  /** If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. */
5274
5679
  autoConvertMissingPrices?: boolean;
5275
5680
  /** JSONP */
@@ -5279,7 +5684,10 @@ declare namespace gapi.client {
5279
5684
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5280
5685
  key?: string;
5281
5686
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5282
- latencyTolerance?: string;
5687
+ latencyTolerance?:
5688
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5689
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5690
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5283
5691
  /** OAuth 2.0 token for the current user. */
5284
5692
  oauth_token?: string;
5285
5693
  /** Package name of the app. */
@@ -5300,11 +5708,11 @@ declare namespace gapi.client {
5300
5708
  patch(
5301
5709
  request: {
5302
5710
  /** V1 error format. */
5303
- '$.xgafv'?: string;
5711
+ '$.xgafv'?: '1' | '2';
5304
5712
  /** OAuth access token. */
5305
5713
  access_token?: string;
5306
5714
  /** Data format for response. */
5307
- alt?: string;
5715
+ alt?: 'json' | 'media' | 'proto';
5308
5716
  /** If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. */
5309
5717
  autoConvertMissingPrices?: boolean;
5310
5718
  /** JSONP */
@@ -5314,7 +5722,10 @@ declare namespace gapi.client {
5314
5722
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5315
5723
  key?: string;
5316
5724
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5317
- latencyTolerance?: string;
5725
+ latencyTolerance?:
5726
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5727
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5728
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5318
5729
  /** OAuth 2.0 token for the current user. */
5319
5730
  oauth_token?: string;
5320
5731
  /** Package name of the app. */
@@ -5335,13 +5746,13 @@ declare namespace gapi.client {
5335
5746
  /** Updates an in-app product (a managed product or a subscription). This method should no longer be used to update subscriptions. See [this article](https://android-developers.googleblog.com/2023/06/changes-to-google-play-developer-api-june-2023.html) for more information. */
5336
5747
  update(request: {
5337
5748
  /** V1 error format. */
5338
- '$.xgafv'?: string;
5749
+ '$.xgafv'?: '1' | '2';
5339
5750
  /** OAuth access token. */
5340
5751
  access_token?: string;
5341
5752
  /** If set to true, and the in-app product with the given package_name and sku doesn't exist, the in-app product will be created. */
5342
5753
  allowMissing?: boolean;
5343
5754
  /** Data format for response. */
5344
- alt?: string;
5755
+ alt?: 'json' | 'media' | 'proto';
5345
5756
  /** If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. */
5346
5757
  autoConvertMissingPrices?: boolean;
5347
5758
  /** JSONP */
@@ -5351,7 +5762,10 @@ declare namespace gapi.client {
5351
5762
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5352
5763
  key?: string;
5353
5764
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5354
- latencyTolerance?: string;
5765
+ latencyTolerance?:
5766
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5767
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5768
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5355
5769
  /** OAuth 2.0 token for the current user. */
5356
5770
  oauth_token?: string;
5357
5771
  /** Package name of the app. */
@@ -5372,13 +5786,13 @@ declare namespace gapi.client {
5372
5786
  update(
5373
5787
  request: {
5374
5788
  /** V1 error format. */
5375
- '$.xgafv'?: string;
5789
+ '$.xgafv'?: '1' | '2';
5376
5790
  /** OAuth access token. */
5377
5791
  access_token?: string;
5378
5792
  /** If set to true, and the in-app product with the given package_name and sku doesn't exist, the in-app product will be created. */
5379
5793
  allowMissing?: boolean;
5380
5794
  /** Data format for response. */
5381
- alt?: string;
5795
+ alt?: 'json' | 'media' | 'proto';
5382
5796
  /** If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false. */
5383
5797
  autoConvertMissingPrices?: boolean;
5384
5798
  /** JSONP */
@@ -5388,7 +5802,10 @@ declare namespace gapi.client {
5388
5802
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
5389
5803
  key?: string;
5390
5804
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5391
- latencyTolerance?: string;
5805
+ latencyTolerance?:
5806
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5807
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5808
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5392
5809
  /** OAuth 2.0 token for the current user. */
5393
5810
  oauth_token?: string;
5394
5811
  /** Package name of the app. */
@@ -5411,11 +5828,11 @@ declare namespace gapi.client {
5411
5828
  /** Uploads an APK to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java. */
5412
5829
  uploadapk(request?: {
5413
5830
  /** V1 error format. */
5414
- '$.xgafv'?: string;
5831
+ '$.xgafv'?: '1' | '2';
5415
5832
  /** OAuth access token. */
5416
5833
  access_token?: string;
5417
5834
  /** Data format for response. */
5418
- alt?: string;
5835
+ alt?: 'json' | 'media' | 'proto';
5419
5836
  /** JSONP */
5420
5837
  callback?: string;
5421
5838
  /** Selector specifying which fields to include in a partial response. */
@@ -5438,11 +5855,11 @@ declare namespace gapi.client {
5438
5855
  /** Uploads an app bundle to internal app sharing. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See [Timeouts and Errors](https://developers.google.com/api-client-library/java/google-api-java-client/errors) for an example in java. */
5439
5856
  uploadbundle(request?: {
5440
5857
  /** V1 error format. */
5441
- '$.xgafv'?: string;
5858
+ '$.xgafv'?: '1' | '2';
5442
5859
  /** OAuth access token. */
5443
5860
  access_token?: string;
5444
5861
  /** Data format for response. */
5445
- alt?: string;
5862
+ alt?: 'json' | 'media' | 'proto';
5446
5863
  /** JSONP */
5447
5864
  callback?: string;
5448
5865
  /** Selector specifying which fields to include in a partial response. */
@@ -5467,11 +5884,11 @@ declare namespace gapi.client {
5467
5884
  /** Activates a one-time product offer. */
5468
5885
  activate(request: {
5469
5886
  /** V1 error format. */
5470
- '$.xgafv'?: string;
5887
+ '$.xgafv'?: '1' | '2';
5471
5888
  /** OAuth access token. */
5472
5889
  access_token?: string;
5473
5890
  /** Data format for response. */
5474
- alt?: string;
5891
+ alt?: 'json' | 'media' | 'proto';
5475
5892
  /** JSONP */
5476
5893
  callback?: string;
5477
5894
  /** Selector specifying which fields to include in a partial response. */
@@ -5502,11 +5919,11 @@ declare namespace gapi.client {
5502
5919
  activate(
5503
5920
  request: {
5504
5921
  /** V1 error format. */
5505
- '$.xgafv'?: string;
5922
+ '$.xgafv'?: '1' | '2';
5506
5923
  /** OAuth access token. */
5507
5924
  access_token?: string;
5508
5925
  /** Data format for response. */
5509
- alt?: string;
5926
+ alt?: 'json' | 'media' | 'proto';
5510
5927
  /** JSONP */
5511
5928
  callback?: string;
5512
5929
  /** Selector specifying which fields to include in a partial response. */
@@ -5537,11 +5954,11 @@ declare namespace gapi.client {
5537
5954
  /** Deletes one or more one-time product offers. */
5538
5955
  batchDelete(request: {
5539
5956
  /** V1 error format. */
5540
- '$.xgafv'?: string;
5957
+ '$.xgafv'?: '1' | '2';
5541
5958
  /** OAuth access token. */
5542
5959
  access_token?: string;
5543
5960
  /** Data format for response. */
5544
- alt?: string;
5961
+ alt?: 'json' | 'media' | 'proto';
5545
5962
  /** JSONP */
5546
5963
  callback?: string;
5547
5964
  /** Selector specifying which fields to include in a partial response. */
@@ -5570,11 +5987,11 @@ declare namespace gapi.client {
5570
5987
  batchDelete(
5571
5988
  request: {
5572
5989
  /** V1 error format. */
5573
- '$.xgafv'?: string;
5990
+ '$.xgafv'?: '1' | '2';
5574
5991
  /** OAuth access token. */
5575
5992
  access_token?: string;
5576
5993
  /** Data format for response. */
5577
- alt?: string;
5994
+ alt?: 'json' | 'media' | 'proto';
5578
5995
  /** JSONP */
5579
5996
  callback?: string;
5580
5997
  /** Selector specifying which fields to include in a partial response. */
@@ -5603,11 +6020,11 @@ declare namespace gapi.client {
5603
6020
  /** Reads one or more one-time product offers. */
5604
6021
  batchGet(request: {
5605
6022
  /** V1 error format. */
5606
- '$.xgafv'?: string;
6023
+ '$.xgafv'?: '1' | '2';
5607
6024
  /** OAuth access token. */
5608
6025
  access_token?: string;
5609
6026
  /** Data format for response. */
5610
- alt?: string;
6027
+ alt?: 'json' | 'media' | 'proto';
5611
6028
  /** JSONP */
5612
6029
  callback?: string;
5613
6030
  /** Selector specifying which fields to include in a partial response. */
@@ -5636,11 +6053,11 @@ declare namespace gapi.client {
5636
6053
  batchGet(
5637
6054
  request: {
5638
6055
  /** V1 error format. */
5639
- '$.xgafv'?: string;
6056
+ '$.xgafv'?: '1' | '2';
5640
6057
  /** OAuth access token. */
5641
6058
  access_token?: string;
5642
6059
  /** Data format for response. */
5643
- alt?: string;
6060
+ alt?: 'json' | 'media' | 'proto';
5644
6061
  /** JSONP */
5645
6062
  callback?: string;
5646
6063
  /** Selector specifying which fields to include in a partial response. */
@@ -5669,11 +6086,11 @@ declare namespace gapi.client {
5669
6086
  /** Creates or updates one or more one-time product offers. */
5670
6087
  batchUpdate(request: {
5671
6088
  /** V1 error format. */
5672
- '$.xgafv'?: string;
6089
+ '$.xgafv'?: '1' | '2';
5673
6090
  /** OAuth access token. */
5674
6091
  access_token?: string;
5675
6092
  /** Data format for response. */
5676
- alt?: string;
6093
+ alt?: 'json' | 'media' | 'proto';
5677
6094
  /** JSONP */
5678
6095
  callback?: string;
5679
6096
  /** Selector specifying which fields to include in a partial response. */
@@ -5702,11 +6119,11 @@ declare namespace gapi.client {
5702
6119
  batchUpdate(
5703
6120
  request: {
5704
6121
  /** V1 error format. */
5705
- '$.xgafv'?: string;
6122
+ '$.xgafv'?: '1' | '2';
5706
6123
  /** OAuth access token. */
5707
6124
  access_token?: string;
5708
6125
  /** Data format for response. */
5709
- alt?: string;
6126
+ alt?: 'json' | 'media' | 'proto';
5710
6127
  /** JSONP */
5711
6128
  callback?: string;
5712
6129
  /** Selector specifying which fields to include in a partial response. */
@@ -5735,11 +6152,11 @@ declare namespace gapi.client {
5735
6152
  /** Updates a batch of one-time product offer states. */
5736
6153
  batchUpdateStates(request: {
5737
6154
  /** V1 error format. */
5738
- '$.xgafv'?: string;
6155
+ '$.xgafv'?: '1' | '2';
5739
6156
  /** OAuth access token. */
5740
6157
  access_token?: string;
5741
6158
  /** Data format for response. */
5742
- alt?: string;
6159
+ alt?: 'json' | 'media' | 'proto';
5743
6160
  /** JSONP */
5744
6161
  callback?: string;
5745
6162
  /** Selector specifying which fields to include in a partial response. */
@@ -5768,11 +6185,11 @@ declare namespace gapi.client {
5768
6185
  batchUpdateStates(
5769
6186
  request: {
5770
6187
  /** V1 error format. */
5771
- '$.xgafv'?: string;
6188
+ '$.xgafv'?: '1' | '2';
5772
6189
  /** OAuth access token. */
5773
6190
  access_token?: string;
5774
6191
  /** Data format for response. */
5775
- alt?: string;
6192
+ alt?: 'json' | 'media' | 'proto';
5776
6193
  /** JSONP */
5777
6194
  callback?: string;
5778
6195
  /** Selector specifying which fields to include in a partial response. */
@@ -5801,11 +6218,11 @@ declare namespace gapi.client {
5801
6218
  /** Cancels a one-time product offer. */
5802
6219
  cancel(request: {
5803
6220
  /** V1 error format. */
5804
- '$.xgafv'?: string;
6221
+ '$.xgafv'?: '1' | '2';
5805
6222
  /** OAuth access token. */
5806
6223
  access_token?: string;
5807
6224
  /** Data format for response. */
5808
- alt?: string;
6225
+ alt?: 'json' | 'media' | 'proto';
5809
6226
  /** JSONP */
5810
6227
  callback?: string;
5811
6228
  /** Selector specifying which fields to include in a partial response. */
@@ -5836,11 +6253,11 @@ declare namespace gapi.client {
5836
6253
  cancel(
5837
6254
  request: {
5838
6255
  /** V1 error format. */
5839
- '$.xgafv'?: string;
6256
+ '$.xgafv'?: '1' | '2';
5840
6257
  /** OAuth access token. */
5841
6258
  access_token?: string;
5842
6259
  /** Data format for response. */
5843
- alt?: string;
6260
+ alt?: 'json' | 'media' | 'proto';
5844
6261
  /** JSONP */
5845
6262
  callback?: string;
5846
6263
  /** Selector specifying which fields to include in a partial response. */
@@ -5871,11 +6288,11 @@ declare namespace gapi.client {
5871
6288
  /** Deactivates a one-time product offer. */
5872
6289
  deactivate(request: {
5873
6290
  /** V1 error format. */
5874
- '$.xgafv'?: string;
6291
+ '$.xgafv'?: '1' | '2';
5875
6292
  /** OAuth access token. */
5876
6293
  access_token?: string;
5877
6294
  /** Data format for response. */
5878
- alt?: string;
6295
+ alt?: 'json' | 'media' | 'proto';
5879
6296
  /** JSONP */
5880
6297
  callback?: string;
5881
6298
  /** Selector specifying which fields to include in a partial response. */
@@ -5906,11 +6323,11 @@ declare namespace gapi.client {
5906
6323
  deactivate(
5907
6324
  request: {
5908
6325
  /** V1 error format. */
5909
- '$.xgafv'?: string;
6326
+ '$.xgafv'?: '1' | '2';
5910
6327
  /** OAuth access token. */
5911
6328
  access_token?: string;
5912
6329
  /** Data format for response. */
5913
- alt?: string;
6330
+ alt?: 'json' | 'media' | 'proto';
5914
6331
  /** JSONP */
5915
6332
  callback?: string;
5916
6333
  /** Selector specifying which fields to include in a partial response. */
@@ -5941,11 +6358,11 @@ declare namespace gapi.client {
5941
6358
  /** Lists all offers under a given app, product, or purchase option. */
5942
6359
  list(request?: {
5943
6360
  /** V1 error format. */
5944
- '$.xgafv'?: string;
6361
+ '$.xgafv'?: '1' | '2';
5945
6362
  /** OAuth access token. */
5946
6363
  access_token?: string;
5947
6364
  /** Data format for response. */
5948
- alt?: string;
6365
+ alt?: 'json' | 'media' | 'proto';
5949
6366
  /** JSONP */
5950
6367
  callback?: string;
5951
6368
  /** Selector specifying which fields to include in a partial response. */
@@ -5978,11 +6395,11 @@ declare namespace gapi.client {
5978
6395
  /** 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. */
5979
6396
  batchDelete(request: {
5980
6397
  /** V1 error format. */
5981
- '$.xgafv'?: string;
6398
+ '$.xgafv'?: '1' | '2';
5982
6399
  /** OAuth access token. */
5983
6400
  access_token?: string;
5984
6401
  /** Data format for response. */
5985
- alt?: string;
6402
+ alt?: 'json' | 'media' | 'proto';
5986
6403
  /** JSONP */
5987
6404
  callback?: string;
5988
6405
  /** Selector specifying which fields to include in a partial response. */
@@ -6009,11 +6426,11 @@ declare namespace gapi.client {
6009
6426
  batchDelete(
6010
6427
  request: {
6011
6428
  /** V1 error format. */
6012
- '$.xgafv'?: string;
6429
+ '$.xgafv'?: '1' | '2';
6013
6430
  /** OAuth access token. */
6014
6431
  access_token?: string;
6015
6432
  /** Data format for response. */
6016
- alt?: string;
6433
+ alt?: 'json' | 'media' | 'proto';
6017
6434
  /** JSONP */
6018
6435
  callback?: string;
6019
6436
  /** Selector specifying which fields to include in a partial response. */
@@ -6040,11 +6457,11 @@ declare namespace gapi.client {
6040
6457
  /** Activates or deactivates purchase options across one or multiple one-time products. */
6041
6458
  batchUpdateStates(request: {
6042
6459
  /** V1 error format. */
6043
- '$.xgafv'?: string;
6460
+ '$.xgafv'?: '1' | '2';
6044
6461
  /** OAuth access token. */
6045
6462
  access_token?: string;
6046
6463
  /** Data format for response. */
6047
- alt?: string;
6464
+ alt?: 'json' | 'media' | 'proto';
6048
6465
  /** JSONP */
6049
6466
  callback?: string;
6050
6467
  /** Selector specifying which fields to include in a partial response. */
@@ -6071,11 +6488,11 @@ declare namespace gapi.client {
6071
6488
  batchUpdateStates(
6072
6489
  request: {
6073
6490
  /** V1 error format. */
6074
- '$.xgafv'?: string;
6491
+ '$.xgafv'?: '1' | '2';
6075
6492
  /** OAuth access token. */
6076
6493
  access_token?: string;
6077
6494
  /** Data format for response. */
6078
- alt?: string;
6495
+ alt?: 'json' | 'media' | 'proto';
6079
6496
  /** JSONP */
6080
6497
  callback?: string;
6081
6498
  /** Selector specifying which fields to include in a partial response. */
@@ -6105,11 +6522,11 @@ declare namespace gapi.client {
6105
6522
  /** Deletes one or more one-time products. */
6106
6523
  batchDelete(request: {
6107
6524
  /** V1 error format. */
6108
- '$.xgafv'?: string;
6525
+ '$.xgafv'?: '1' | '2';
6109
6526
  /** OAuth access token. */
6110
6527
  access_token?: string;
6111
6528
  /** Data format for response. */
6112
- alt?: string;
6529
+ alt?: 'json' | 'media' | 'proto';
6113
6530
  /** JSONP */
6114
6531
  callback?: string;
6115
6532
  /** Selector specifying which fields to include in a partial response. */
@@ -6134,11 +6551,11 @@ declare namespace gapi.client {
6134
6551
  batchDelete(
6135
6552
  request: {
6136
6553
  /** V1 error format. */
6137
- '$.xgafv'?: string;
6554
+ '$.xgafv'?: '1' | '2';
6138
6555
  /** OAuth access token. */
6139
6556
  access_token?: string;
6140
6557
  /** Data format for response. */
6141
- alt?: string;
6558
+ alt?: 'json' | 'media' | 'proto';
6142
6559
  /** JSONP */
6143
6560
  callback?: string;
6144
6561
  /** Selector specifying which fields to include in a partial response. */
@@ -6163,11 +6580,11 @@ declare namespace gapi.client {
6163
6580
  /** Reads one or more one-time products. */
6164
6581
  batchGet(request?: {
6165
6582
  /** V1 error format. */
6166
- '$.xgafv'?: string;
6583
+ '$.xgafv'?: '1' | '2';
6167
6584
  /** OAuth access token. */
6168
6585
  access_token?: string;
6169
6586
  /** Data format for response. */
6170
- alt?: string;
6587
+ alt?: 'json' | 'media' | 'proto';
6171
6588
  /** JSONP */
6172
6589
  callback?: string;
6173
6590
  /** Selector specifying which fields to include in a partial response. */
@@ -6192,11 +6609,11 @@ declare namespace gapi.client {
6192
6609
  /** Creates or updates one or more one-time products. */
6193
6610
  batchUpdate(request: {
6194
6611
  /** V1 error format. */
6195
- '$.xgafv'?: string;
6612
+ '$.xgafv'?: '1' | '2';
6196
6613
  /** OAuth access token. */
6197
6614
  access_token?: string;
6198
6615
  /** Data format for response. */
6199
- alt?: string;
6616
+ alt?: 'json' | 'media' | 'proto';
6200
6617
  /** JSONP */
6201
6618
  callback?: string;
6202
6619
  /** Selector specifying which fields to include in a partial response. */
@@ -6221,11 +6638,11 @@ declare namespace gapi.client {
6221
6638
  batchUpdate(
6222
6639
  request: {
6223
6640
  /** V1 error format. */
6224
- '$.xgafv'?: string;
6641
+ '$.xgafv'?: '1' | '2';
6225
6642
  /** OAuth access token. */
6226
6643
  access_token?: string;
6227
6644
  /** Data format for response. */
6228
- alt?: string;
6645
+ alt?: 'json' | 'media' | 'proto';
6229
6646
  /** JSONP */
6230
6647
  callback?: string;
6231
6648
  /** Selector specifying which fields to include in a partial response. */
@@ -6250,11 +6667,11 @@ declare namespace gapi.client {
6250
6667
  /** Deletes a one-time product. */
6251
6668
  delete(request?: {
6252
6669
  /** V1 error format. */
6253
- '$.xgafv'?: string;
6670
+ '$.xgafv'?: '1' | '2';
6254
6671
  /** OAuth access token. */
6255
6672
  access_token?: string;
6256
6673
  /** Data format for response. */
6257
- alt?: string;
6674
+ alt?: 'json' | 'media' | 'proto';
6258
6675
  /** JSONP */
6259
6676
  callback?: string;
6260
6677
  /** Selector specifying which fields to include in a partial response. */
@@ -6262,7 +6679,10 @@ declare namespace gapi.client {
6262
6679
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
6263
6680
  key?: string;
6264
6681
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
6265
- latencyTolerance?: string;
6682
+ latencyTolerance?:
6683
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
6684
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
6685
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6266
6686
  /** OAuth 2.0 token for the current user. */
6267
6687
  oauth_token?: string;
6268
6688
  /** Required. The parent app (package name) of the one-time product to delete. */
@@ -6281,11 +6701,11 @@ declare namespace gapi.client {
6281
6701
  /** Reads a single one-time product. */
6282
6702
  get(request?: {
6283
6703
  /** V1 error format. */
6284
- '$.xgafv'?: string;
6704
+ '$.xgafv'?: '1' | '2';
6285
6705
  /** OAuth access token. */
6286
6706
  access_token?: string;
6287
6707
  /** Data format for response. */
6288
- alt?: string;
6708
+ alt?: 'json' | 'media' | 'proto';
6289
6709
  /** JSONP */
6290
6710
  callback?: string;
6291
6711
  /** Selector specifying which fields to include in a partial response. */
@@ -6310,11 +6730,11 @@ declare namespace gapi.client {
6310
6730
  /** Lists all one-time products under a given app. */
6311
6731
  list(request?: {
6312
6732
  /** V1 error format. */
6313
- '$.xgafv'?: string;
6733
+ '$.xgafv'?: '1' | '2';
6314
6734
  /** OAuth access token. */
6315
6735
  access_token?: string;
6316
6736
  /** Data format for response. */
6317
- alt?: string;
6737
+ alt?: 'json' | 'media' | 'proto';
6318
6738
  /** JSONP */
6319
6739
  callback?: string;
6320
6740
  /** Selector specifying which fields to include in a partial response. */
@@ -6341,13 +6761,13 @@ declare namespace gapi.client {
6341
6761
  /** Creates or updates a one-time product. */
6342
6762
  patch(request: {
6343
6763
  /** V1 error format. */
6344
- '$.xgafv'?: string;
6764
+ '$.xgafv'?: '1' | '2';
6345
6765
  /** OAuth access token. */
6346
6766
  access_token?: string;
6347
6767
  /** 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. */
6348
6768
  allowMissing?: boolean;
6349
6769
  /** Data format for response. */
6350
- alt?: string;
6770
+ alt?: 'json' | 'media' | 'proto';
6351
6771
  /** JSONP */
6352
6772
  callback?: string;
6353
6773
  /** Selector specifying which fields to include in a partial response. */
@@ -6355,7 +6775,10 @@ declare namespace gapi.client {
6355
6775
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
6356
6776
  key?: string;
6357
6777
  /** Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive. */
6358
- latencyTolerance?: string;
6778
+ latencyTolerance?:
6779
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
6780
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
6781
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6359
6782
  /** OAuth 2.0 token for the current user. */
6360
6783
  oauth_token?: string;
6361
6784
  /** Required. Immutable. Package name of the parent app. */
@@ -6380,13 +6803,13 @@ declare namespace gapi.client {
6380
6803
  patch(
6381
6804
  request: {
6382
6805
  /** V1 error format. */
6383
- '$.xgafv'?: string;
6806
+ '$.xgafv'?: '1' | '2';
6384
6807
  /** OAuth access token. */
6385
6808
  access_token?: string;
6386
6809
  /** 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. */
6387
6810
  allowMissing?: boolean;
6388
6811
  /** Data format for response. */
6389
- alt?: string;
6812
+ alt?: 'json' | 'media' | 'proto';
6390
6813
  /** JSONP */
6391
6814
  callback?: string;
6392
6815
  /** Selector specifying which fields to include in a partial response. */
@@ -6394,7 +6817,10 @@ declare namespace gapi.client {
6394
6817
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
6395
6818
  key?: string;
6396
6819
  /** Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive. */
6397
- latencyTolerance?: string;
6820
+ latencyTolerance?:
6821
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
6822
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
6823
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6398
6824
  /** OAuth 2.0 token for the current user. */
6399
6825
  oauth_token?: string;
6400
6826
  /** Required. Immutable. Package name of the parent app. */
@@ -6422,11 +6848,11 @@ declare namespace gapi.client {
6422
6848
  /** Activates a subscription offer. Once activated, subscription offers will be available to new subscribers. */
6423
6849
  activate(request: {
6424
6850
  /** V1 error format. */
6425
- '$.xgafv'?: string;
6851
+ '$.xgafv'?: '1' | '2';
6426
6852
  /** OAuth access token. */
6427
6853
  access_token?: string;
6428
6854
  /** Data format for response. */
6429
- alt?: string;
6855
+ alt?: 'json' | 'media' | 'proto';
6430
6856
  /** Required. The parent base plan (ID) of the offer to activate. */
6431
6857
  basePlanId: string;
6432
6858
  /** JSONP */
@@ -6457,11 +6883,11 @@ declare namespace gapi.client {
6457
6883
  activate(
6458
6884
  request: {
6459
6885
  /** V1 error format. */
6460
- '$.xgafv'?: string;
6886
+ '$.xgafv'?: '1' | '2';
6461
6887
  /** OAuth access token. */
6462
6888
  access_token?: string;
6463
6889
  /** Data format for response. */
6464
- alt?: string;
6890
+ alt?: 'json' | 'media' | 'proto';
6465
6891
  /** Required. The parent base plan (ID) of the offer to activate. */
6466
6892
  basePlanId: string;
6467
6893
  /** JSONP */
@@ -6492,11 +6918,11 @@ declare namespace gapi.client {
6492
6918
  /** Reads one or more subscription offers. */
6493
6919
  batchGet(request: {
6494
6920
  /** V1 error format. */
6495
- '$.xgafv'?: string;
6921
+ '$.xgafv'?: '1' | '2';
6496
6922
  /** OAuth access token. */
6497
6923
  access_token?: string;
6498
6924
  /** Data format for response. */
6499
- alt?: string;
6925
+ alt?: 'json' | 'media' | 'proto';
6500
6926
  /** Required. The parent base plan (ID) for which the offers should be read. May be specified as '-' to read offers from multiple base plans. */
6501
6927
  basePlanId: string;
6502
6928
  /** JSONP */
@@ -6525,11 +6951,11 @@ declare namespace gapi.client {
6525
6951
  batchGet(
6526
6952
  request: {
6527
6953
  /** V1 error format. */
6528
- '$.xgafv'?: string;
6954
+ '$.xgafv'?: '1' | '2';
6529
6955
  /** OAuth access token. */
6530
6956
  access_token?: string;
6531
6957
  /** Data format for response. */
6532
- alt?: string;
6958
+ alt?: 'json' | 'media' | 'proto';
6533
6959
  /** Required. The parent base plan (ID) for which the offers should be read. May be specified as '-' to read offers from multiple base plans. */
6534
6960
  basePlanId: string;
6535
6961
  /** JSONP */
@@ -6558,11 +6984,11 @@ declare namespace gapi.client {
6558
6984
  /** Updates a batch of subscription offers. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. */
6559
6985
  batchUpdate(request: {
6560
6986
  /** V1 error format. */
6561
- '$.xgafv'?: string;
6987
+ '$.xgafv'?: '1' | '2';
6562
6988
  /** OAuth access token. */
6563
6989
  access_token?: string;
6564
6990
  /** Data format for response. */
6565
- alt?: string;
6991
+ alt?: 'json' | 'media' | 'proto';
6566
6992
  /** Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple base plans. */
6567
6993
  basePlanId: string;
6568
6994
  /** JSONP */
@@ -6591,11 +7017,11 @@ declare namespace gapi.client {
6591
7017
  batchUpdate(
6592
7018
  request: {
6593
7019
  /** V1 error format. */
6594
- '$.xgafv'?: string;
7020
+ '$.xgafv'?: '1' | '2';
6595
7021
  /** OAuth access token. */
6596
7022
  access_token?: string;
6597
7023
  /** Data format for response. */
6598
- alt?: string;
7024
+ alt?: 'json' | 'media' | 'proto';
6599
7025
  /** Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple base plans. */
6600
7026
  basePlanId: string;
6601
7027
  /** JSONP */
@@ -6624,11 +7050,11 @@ declare namespace gapi.client {
6624
7050
  /** Updates a batch of subscription offer states. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. */
6625
7051
  batchUpdateStates(request: {
6626
7052
  /** V1 error format. */
6627
- '$.xgafv'?: string;
7053
+ '$.xgafv'?: '1' | '2';
6628
7054
  /** OAuth access token. */
6629
7055
  access_token?: string;
6630
7056
  /** Data format for response. */
6631
- alt?: string;
7057
+ alt?: 'json' | 'media' | 'proto';
6632
7058
  /** Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple base plans. */
6633
7059
  basePlanId: string;
6634
7060
  /** JSONP */
@@ -6657,11 +7083,11 @@ declare namespace gapi.client {
6657
7083
  batchUpdateStates(
6658
7084
  request: {
6659
7085
  /** V1 error format. */
6660
- '$.xgafv'?: string;
7086
+ '$.xgafv'?: '1' | '2';
6661
7087
  /** OAuth access token. */
6662
7088
  access_token?: string;
6663
7089
  /** Data format for response. */
6664
- alt?: string;
7090
+ alt?: 'json' | 'media' | 'proto';
6665
7091
  /** Required. The parent base plan (ID) for which the offers should be updated. May be specified as '-' to update offers from multiple base plans. */
6666
7092
  basePlanId: string;
6667
7093
  /** JSONP */
@@ -6690,11 +7116,11 @@ declare namespace gapi.client {
6690
7116
  /** Creates a new subscription offer. Only auto-renewing base plans can have subscription offers. The offer state will be DRAFT until it is activated. */
6691
7117
  create(request: {
6692
7118
  /** V1 error format. */
6693
- '$.xgafv'?: string;
7119
+ '$.xgafv'?: '1' | '2';
6694
7120
  /** OAuth access token. */
6695
7121
  access_token?: string;
6696
7122
  /** Data format for response. */
6697
- alt?: string;
7123
+ alt?: 'json' | 'media' | 'proto';
6698
7124
  /** Required. The parent base plan (ID) for which the offer should be created. Must be equal to the base_plan_id field on the SubscriptionOffer resource. */
6699
7125
  basePlanId: string;
6700
7126
  /** JSONP */
@@ -6727,11 +7153,11 @@ declare namespace gapi.client {
6727
7153
  create(
6728
7154
  request: {
6729
7155
  /** V1 error format. */
6730
- '$.xgafv'?: string;
7156
+ '$.xgafv'?: '1' | '2';
6731
7157
  /** OAuth access token. */
6732
7158
  access_token?: string;
6733
7159
  /** Data format for response. */
6734
- alt?: string;
7160
+ alt?: 'json' | 'media' | 'proto';
6735
7161
  /** Required. The parent base plan (ID) for which the offer should be created. Must be equal to the base_plan_id field on the SubscriptionOffer resource. */
6736
7162
  basePlanId: string;
6737
7163
  /** JSONP */
@@ -6764,11 +7190,11 @@ declare namespace gapi.client {
6764
7190
  /** Deactivates a subscription offer. Once deactivated, existing subscribers will maintain their subscription, but the offer will become unavailable to new subscribers. */
6765
7191
  deactivate(request: {
6766
7192
  /** V1 error format. */
6767
- '$.xgafv'?: string;
7193
+ '$.xgafv'?: '1' | '2';
6768
7194
  /** OAuth access token. */
6769
7195
  access_token?: string;
6770
7196
  /** Data format for response. */
6771
- alt?: string;
7197
+ alt?: 'json' | 'media' | 'proto';
6772
7198
  /** Required. The parent base plan (ID) of the offer to deactivate. */
6773
7199
  basePlanId: string;
6774
7200
  /** JSONP */
@@ -6799,11 +7225,11 @@ declare namespace gapi.client {
6799
7225
  deactivate(
6800
7226
  request: {
6801
7227
  /** V1 error format. */
6802
- '$.xgafv'?: string;
7228
+ '$.xgafv'?: '1' | '2';
6803
7229
  /** OAuth access token. */
6804
7230
  access_token?: string;
6805
7231
  /** Data format for response. */
6806
- alt?: string;
7232
+ alt?: 'json' | 'media' | 'proto';
6807
7233
  /** Required. The parent base plan (ID) of the offer to deactivate. */
6808
7234
  basePlanId: string;
6809
7235
  /** JSONP */
@@ -6834,11 +7260,11 @@ declare namespace gapi.client {
6834
7260
  /** Deletes a subscription offer. Can only be done for draft offers. This action is irreversible. */
6835
7261
  delete(request?: {
6836
7262
  /** V1 error format. */
6837
- '$.xgafv'?: string;
7263
+ '$.xgafv'?: '1' | '2';
6838
7264
  /** OAuth access token. */
6839
7265
  access_token?: string;
6840
7266
  /** Data format for response. */
6841
- alt?: string;
7267
+ alt?: 'json' | 'media' | 'proto';
6842
7268
  /** Required. The parent base plan (ID) of the offer to delete. */
6843
7269
  basePlanId: string;
6844
7270
  /** JSONP */
@@ -6867,11 +7293,11 @@ declare namespace gapi.client {
6867
7293
  /** Reads a single offer */
6868
7294
  get(request?: {
6869
7295
  /** V1 error format. */
6870
- '$.xgafv'?: string;
7296
+ '$.xgafv'?: '1' | '2';
6871
7297
  /** OAuth access token. */
6872
7298
  access_token?: string;
6873
7299
  /** Data format for response. */
6874
- alt?: string;
7300
+ alt?: 'json' | 'media' | 'proto';
6875
7301
  /** Required. The parent base plan (ID) of the offer to get. */
6876
7302
  basePlanId: string;
6877
7303
  /** JSONP */
@@ -6900,11 +7326,11 @@ declare namespace gapi.client {
6900
7326
  /** Lists all offers under a given subscription. */
6901
7327
  list(request?: {
6902
7328
  /** V1 error format. */
6903
- '$.xgafv'?: string;
7329
+ '$.xgafv'?: '1' | '2';
6904
7330
  /** OAuth access token. */
6905
7331
  access_token?: string;
6906
7332
  /** Data format for response. */
6907
- alt?: string;
7333
+ alt?: 'json' | 'media' | 'proto';
6908
7334
  /** Required. The parent base plan (ID) for which the offers should be read. May be specified as '-' to read all offers under a subscription or an app. Must be specified as '-' if product_id is specified as '-'. */
6909
7335
  basePlanId: string;
6910
7336
  /** JSONP */
@@ -6935,13 +7361,13 @@ declare namespace gapi.client {
6935
7361
  /** Updates an existing subscription offer. */
6936
7362
  patch(request: {
6937
7363
  /** V1 error format. */
6938
- '$.xgafv'?: string;
7364
+ '$.xgafv'?: '1' | '2';
6939
7365
  /** OAuth access token. */
6940
7366
  access_token?: string;
6941
7367
  /** Optional. If set to true, and the subscription offer with the given package_name, product_id, base_plan_id and offer_id doesn't exist, an offer will be created. If a new offer is created, update_mask is ignored. */
6942
7368
  allowMissing?: boolean;
6943
7369
  /** Data format for response. */
6944
- alt?: string;
7370
+ alt?: 'json' | 'media' | 'proto';
6945
7371
  /** Required. Immutable. The ID of the base plan to which this offer is an extension. */
6946
7372
  basePlanId: string;
6947
7373
  /** JSONP */
@@ -6951,7 +7377,10 @@ declare namespace gapi.client {
6951
7377
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
6952
7378
  key?: string;
6953
7379
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
6954
- latencyTolerance?: string;
7380
+ latencyTolerance?:
7381
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
7382
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
7383
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6955
7384
  /** OAuth 2.0 token for the current user. */
6956
7385
  oauth_token?: string;
6957
7386
  /** Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan. */
@@ -6978,13 +7407,13 @@ declare namespace gapi.client {
6978
7407
  patch(
6979
7408
  request: {
6980
7409
  /** V1 error format. */
6981
- '$.xgafv'?: string;
7410
+ '$.xgafv'?: '1' | '2';
6982
7411
  /** OAuth access token. */
6983
7412
  access_token?: string;
6984
7413
  /** Optional. If set to true, and the subscription offer with the given package_name, product_id, base_plan_id and offer_id doesn't exist, an offer will be created. If a new offer is created, update_mask is ignored. */
6985
7414
  allowMissing?: boolean;
6986
7415
  /** Data format for response. */
6987
- alt?: string;
7416
+ alt?: 'json' | 'media' | 'proto';
6988
7417
  /** Required. Immutable. The ID of the base plan to which this offer is an extension. */
6989
7418
  basePlanId: string;
6990
7419
  /** JSONP */
@@ -6994,7 +7423,10 @@ declare namespace gapi.client {
6994
7423
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
6995
7424
  key?: string;
6996
7425
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
6997
- latencyTolerance?: string;
7426
+ latencyTolerance?:
7427
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
7428
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
7429
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6998
7430
  /** OAuth 2.0 token for the current user. */
6999
7431
  oauth_token?: string;
7000
7432
  /** Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan. */
@@ -7023,11 +7455,11 @@ declare namespace gapi.client {
7023
7455
  /** Activates a base plan. Once activated, base plans will be available to new subscribers. */
7024
7456
  activate(request: {
7025
7457
  /** V1 error format. */
7026
- '$.xgafv'?: string;
7458
+ '$.xgafv'?: '1' | '2';
7027
7459
  /** OAuth access token. */
7028
7460
  access_token?: string;
7029
7461
  /** Data format for response. */
7030
- alt?: string;
7462
+ alt?: 'json' | 'media' | 'proto';
7031
7463
  /** Required. The unique base plan ID of the base plan to activate. */
7032
7464
  basePlanId: string;
7033
7465
  /** JSONP */
@@ -7056,11 +7488,11 @@ declare namespace gapi.client {
7056
7488
  activate(
7057
7489
  request: {
7058
7490
  /** V1 error format. */
7059
- '$.xgafv'?: string;
7491
+ '$.xgafv'?: '1' | '2';
7060
7492
  /** OAuth access token. */
7061
7493
  access_token?: string;
7062
7494
  /** Data format for response. */
7063
- alt?: string;
7495
+ alt?: 'json' | 'media' | 'proto';
7064
7496
  /** Required. The unique base plan ID of the base plan to activate. */
7065
7497
  basePlanId: string;
7066
7498
  /** JSONP */
@@ -7089,11 +7521,11 @@ declare namespace gapi.client {
7089
7521
  /** 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. */
7090
7522
  batchMigratePrices(request: {
7091
7523
  /** V1 error format. */
7092
- '$.xgafv'?: string;
7524
+ '$.xgafv'?: '1' | '2';
7093
7525
  /** OAuth access token. */
7094
7526
  access_token?: string;
7095
7527
  /** Data format for response. */
7096
- alt?: string;
7528
+ alt?: 'json' | 'media' | 'proto';
7097
7529
  /** JSONP */
7098
7530
  callback?: string;
7099
7531
  /** Selector specifying which fields to include in a partial response. */
@@ -7120,11 +7552,11 @@ declare namespace gapi.client {
7120
7552
  batchMigratePrices(
7121
7553
  request: {
7122
7554
  /** V1 error format. */
7123
- '$.xgafv'?: string;
7555
+ '$.xgafv'?: '1' | '2';
7124
7556
  /** OAuth access token. */
7125
7557
  access_token?: string;
7126
7558
  /** Data format for response. */
7127
- alt?: string;
7559
+ alt?: 'json' | 'media' | 'proto';
7128
7560
  /** JSONP */
7129
7561
  callback?: string;
7130
7562
  /** Selector specifying which fields to include in a partial response. */
@@ -7151,11 +7583,11 @@ declare namespace gapi.client {
7151
7583
  /** 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. */
7152
7584
  batchUpdateStates(request: {
7153
7585
  /** V1 error format. */
7154
- '$.xgafv'?: string;
7586
+ '$.xgafv'?: '1' | '2';
7155
7587
  /** OAuth access token. */
7156
7588
  access_token?: string;
7157
7589
  /** Data format for response. */
7158
- alt?: string;
7590
+ alt?: 'json' | 'media' | 'proto';
7159
7591
  /** JSONP */
7160
7592
  callback?: string;
7161
7593
  /** Selector specifying which fields to include in a partial response. */
@@ -7182,11 +7614,11 @@ declare namespace gapi.client {
7182
7614
  batchUpdateStates(
7183
7615
  request: {
7184
7616
  /** V1 error format. */
7185
- '$.xgafv'?: string;
7617
+ '$.xgafv'?: '1' | '2';
7186
7618
  /** OAuth access token. */
7187
7619
  access_token?: string;
7188
7620
  /** Data format for response. */
7189
- alt?: string;
7621
+ alt?: 'json' | 'media' | 'proto';
7190
7622
  /** JSONP */
7191
7623
  callback?: string;
7192
7624
  /** Selector specifying which fields to include in a partial response. */
@@ -7213,11 +7645,11 @@ declare namespace gapi.client {
7213
7645
  /** Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription */
7214
7646
  deactivate(request: {
7215
7647
  /** V1 error format. */
7216
- '$.xgafv'?: string;
7648
+ '$.xgafv'?: '1' | '2';
7217
7649
  /** OAuth access token. */
7218
7650
  access_token?: string;
7219
7651
  /** Data format for response. */
7220
- alt?: string;
7652
+ alt?: 'json' | 'media' | 'proto';
7221
7653
  /** Required. The unique base plan ID of the base plan to deactivate. */
7222
7654
  basePlanId: string;
7223
7655
  /** JSONP */
@@ -7246,11 +7678,11 @@ declare namespace gapi.client {
7246
7678
  deactivate(
7247
7679
  request: {
7248
7680
  /** V1 error format. */
7249
- '$.xgafv'?: string;
7681
+ '$.xgafv'?: '1' | '2';
7250
7682
  /** OAuth access token. */
7251
7683
  access_token?: string;
7252
7684
  /** Data format for response. */
7253
- alt?: string;
7685
+ alt?: 'json' | 'media' | 'proto';
7254
7686
  /** Required. The unique base plan ID of the base plan to deactivate. */
7255
7687
  basePlanId: string;
7256
7688
  /** JSONP */
@@ -7279,11 +7711,11 @@ declare namespace gapi.client {
7279
7711
  /** Deletes a base plan. Can only be done for draft base plans. This action is irreversible. */
7280
7712
  delete(request?: {
7281
7713
  /** V1 error format. */
7282
- '$.xgafv'?: string;
7714
+ '$.xgafv'?: '1' | '2';
7283
7715
  /** OAuth access token. */
7284
7716
  access_token?: string;
7285
7717
  /** Data format for response. */
7286
- alt?: string;
7718
+ alt?: 'json' | 'media' | 'proto';
7287
7719
  /** Required. The unique offer ID of the base plan to delete. */
7288
7720
  basePlanId: string;
7289
7721
  /** JSONP */
@@ -7310,11 +7742,11 @@ declare namespace gapi.client {
7310
7742
  /** 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. */
7311
7743
  migratePrices(request: {
7312
7744
  /** V1 error format. */
7313
- '$.xgafv'?: string;
7745
+ '$.xgafv'?: '1' | '2';
7314
7746
  /** OAuth access token. */
7315
7747
  access_token?: string;
7316
7748
  /** Data format for response. */
7317
- alt?: string;
7749
+ alt?: 'json' | 'media' | 'proto';
7318
7750
  /** Required. The unique base plan ID of the base plan to update prices on. */
7319
7751
  basePlanId: string;
7320
7752
  /** JSONP */
@@ -7343,11 +7775,11 @@ declare namespace gapi.client {
7343
7775
  migratePrices(
7344
7776
  request: {
7345
7777
  /** V1 error format. */
7346
- '$.xgafv'?: string;
7778
+ '$.xgafv'?: '1' | '2';
7347
7779
  /** OAuth access token. */
7348
7780
  access_token?: string;
7349
7781
  /** Data format for response. */
7350
- alt?: string;
7782
+ alt?: 'json' | 'media' | 'proto';
7351
7783
  /** Required. The unique base plan ID of the base plan to update prices on. */
7352
7784
  basePlanId: string;
7353
7785
  /** JSONP */
@@ -7379,11 +7811,11 @@ declare namespace gapi.client {
7379
7811
  /** Deprecated: subscription archiving is not supported. */
7380
7812
  archive(request: {
7381
7813
  /** V1 error format. */
7382
- '$.xgafv'?: string;
7814
+ '$.xgafv'?: '1' | '2';
7383
7815
  /** OAuth access token. */
7384
7816
  access_token?: string;
7385
7817
  /** Data format for response. */
7386
- alt?: string;
7818
+ alt?: 'json' | 'media' | 'proto';
7387
7819
  /** JSONP */
7388
7820
  callback?: string;
7389
7821
  /** Selector specifying which fields to include in a partial response. */
@@ -7410,11 +7842,11 @@ declare namespace gapi.client {
7410
7842
  archive(
7411
7843
  request: {
7412
7844
  /** V1 error format. */
7413
- '$.xgafv'?: string;
7845
+ '$.xgafv'?: '1' | '2';
7414
7846
  /** OAuth access token. */
7415
7847
  access_token?: string;
7416
7848
  /** Data format for response. */
7417
- alt?: string;
7849
+ alt?: 'json' | 'media' | 'proto';
7418
7850
  /** JSONP */
7419
7851
  callback?: string;
7420
7852
  /** Selector specifying which fields to include in a partial response. */
@@ -7441,11 +7873,11 @@ declare namespace gapi.client {
7441
7873
  /** Reads one or more subscriptions. */
7442
7874
  batchGet(request?: {
7443
7875
  /** V1 error format. */
7444
- '$.xgafv'?: string;
7876
+ '$.xgafv'?: '1' | '2';
7445
7877
  /** OAuth access token. */
7446
7878
  access_token?: string;
7447
7879
  /** Data format for response. */
7448
- alt?: string;
7880
+ alt?: 'json' | 'media' | 'proto';
7449
7881
  /** JSONP */
7450
7882
  callback?: string;
7451
7883
  /** Selector specifying which fields to include in a partial response. */
@@ -7470,11 +7902,11 @@ declare namespace gapi.client {
7470
7902
  /** Updates a batch of subscriptions. Set the latencyTolerance field on nested requests to PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT to achieve maximum update throughput. */
7471
7903
  batchUpdate(request: {
7472
7904
  /** V1 error format. */
7473
- '$.xgafv'?: string;
7905
+ '$.xgafv'?: '1' | '2';
7474
7906
  /** OAuth access token. */
7475
7907
  access_token?: string;
7476
7908
  /** Data format for response. */
7477
- alt?: string;
7909
+ alt?: 'json' | 'media' | 'proto';
7478
7910
  /** JSONP */
7479
7911
  callback?: string;
7480
7912
  /** Selector specifying which fields to include in a partial response. */
@@ -7499,11 +7931,11 @@ declare namespace gapi.client {
7499
7931
  batchUpdate(
7500
7932
  request: {
7501
7933
  /** V1 error format. */
7502
- '$.xgafv'?: string;
7934
+ '$.xgafv'?: '1' | '2';
7503
7935
  /** OAuth access token. */
7504
7936
  access_token?: string;
7505
7937
  /** Data format for response. */
7506
- alt?: string;
7938
+ alt?: 'json' | 'media' | 'proto';
7507
7939
  /** JSONP */
7508
7940
  callback?: string;
7509
7941
  /** Selector specifying which fields to include in a partial response. */
@@ -7528,11 +7960,11 @@ declare namespace gapi.client {
7528
7960
  /** Creates a new subscription. Newly added base plans will remain in draft state until activated. */
7529
7961
  create(request: {
7530
7962
  /** V1 error format. */
7531
- '$.xgafv'?: string;
7963
+ '$.xgafv'?: '1' | '2';
7532
7964
  /** OAuth access token. */
7533
7965
  access_token?: string;
7534
7966
  /** Data format for response. */
7535
- alt?: string;
7967
+ alt?: 'json' | 'media' | 'proto';
7536
7968
  /** JSONP */
7537
7969
  callback?: string;
7538
7970
  /** Selector specifying which fields to include in a partial response. */
@@ -7561,11 +7993,11 @@ declare namespace gapi.client {
7561
7993
  create(
7562
7994
  request: {
7563
7995
  /** V1 error format. */
7564
- '$.xgafv'?: string;
7996
+ '$.xgafv'?: '1' | '2';
7565
7997
  /** OAuth access token. */
7566
7998
  access_token?: string;
7567
7999
  /** Data format for response. */
7568
- alt?: string;
8000
+ alt?: 'json' | 'media' | 'proto';
7569
8001
  /** JSONP */
7570
8002
  callback?: string;
7571
8003
  /** Selector specifying which fields to include in a partial response. */
@@ -7594,11 +8026,11 @@ declare namespace gapi.client {
7594
8026
  /** Deletes a subscription. A subscription can only be deleted if it has never had a base plan published. */
7595
8027
  delete(request?: {
7596
8028
  /** V1 error format. */
7597
- '$.xgafv'?: string;
8029
+ '$.xgafv'?: '1' | '2';
7598
8030
  /** OAuth access token. */
7599
8031
  access_token?: string;
7600
8032
  /** Data format for response. */
7601
- alt?: string;
8033
+ alt?: 'json' | 'media' | 'proto';
7602
8034
  /** JSONP */
7603
8035
  callback?: string;
7604
8036
  /** Selector specifying which fields to include in a partial response. */
@@ -7623,11 +8055,11 @@ declare namespace gapi.client {
7623
8055
  /** Reads a single subscription. */
7624
8056
  get(request?: {
7625
8057
  /** V1 error format. */
7626
- '$.xgafv'?: string;
8058
+ '$.xgafv'?: '1' | '2';
7627
8059
  /** OAuth access token. */
7628
8060
  access_token?: string;
7629
8061
  /** Data format for response. */
7630
- alt?: string;
8062
+ alt?: 'json' | 'media' | 'proto';
7631
8063
  /** JSONP */
7632
8064
  callback?: string;
7633
8065
  /** Selector specifying which fields to include in a partial response. */
@@ -7652,11 +8084,11 @@ declare namespace gapi.client {
7652
8084
  /** Lists all subscriptions under a given app. */
7653
8085
  list(request?: {
7654
8086
  /** V1 error format. */
7655
- '$.xgafv'?: string;
8087
+ '$.xgafv'?: '1' | '2';
7656
8088
  /** OAuth access token. */
7657
8089
  access_token?: string;
7658
8090
  /** Data format for response. */
7659
- alt?: string;
8091
+ alt?: 'json' | 'media' | 'proto';
7660
8092
  /** JSONP */
7661
8093
  callback?: string;
7662
8094
  /** Selector specifying which fields to include in a partial response. */
@@ -7685,13 +8117,13 @@ declare namespace gapi.client {
7685
8117
  /** Updates an existing subscription. */
7686
8118
  patch(request: {
7687
8119
  /** V1 error format. */
7688
- '$.xgafv'?: string;
8120
+ '$.xgafv'?: '1' | '2';
7689
8121
  /** OAuth access token. */
7690
8122
  access_token?: string;
7691
8123
  /** 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. */
7692
8124
  allowMissing?: boolean;
7693
8125
  /** Data format for response. */
7694
- alt?: string;
8126
+ alt?: 'json' | 'media' | 'proto';
7695
8127
  /** JSONP */
7696
8128
  callback?: string;
7697
8129
  /** Selector specifying which fields to include in a partial response. */
@@ -7699,7 +8131,10 @@ declare namespace gapi.client {
7699
8131
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7700
8132
  key?: string;
7701
8133
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
7702
- latencyTolerance?: string;
8134
+ latencyTolerance?:
8135
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
8136
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
8137
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
7703
8138
  /** OAuth 2.0 token for the current user. */
7704
8139
  oauth_token?: string;
7705
8140
  /** Immutable. Package name of the parent app. */
@@ -7724,13 +8159,13 @@ declare namespace gapi.client {
7724
8159
  patch(
7725
8160
  request: {
7726
8161
  /** V1 error format. */
7727
- '$.xgafv'?: string;
8162
+ '$.xgafv'?: '1' | '2';
7728
8163
  /** OAuth access token. */
7729
8164
  access_token?: string;
7730
8165
  /** 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. */
7731
8166
  allowMissing?: boolean;
7732
8167
  /** Data format for response. */
7733
- alt?: string;
8168
+ alt?: 'json' | 'media' | 'proto';
7734
8169
  /** JSONP */
7735
8170
  callback?: string;
7736
8171
  /** Selector specifying which fields to include in a partial response. */
@@ -7738,7 +8173,10 @@ declare namespace gapi.client {
7738
8173
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7739
8174
  key?: string;
7740
8175
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
7741
- latencyTolerance?: string;
8176
+ latencyTolerance?:
8177
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
8178
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
8179
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
7742
8180
  /** OAuth 2.0 token for the current user. */
7743
8181
  oauth_token?: string;
7744
8182
  /** Immutable. Package name of the parent app. */
@@ -7766,11 +8204,11 @@ declare namespace gapi.client {
7766
8204
  /** Calculates the region prices, using today's exchange rate and country-specific pricing patterns, based on the price in the request for a set of regions. */
7767
8205
  convertRegionPrices(request: {
7768
8206
  /** V1 error format. */
7769
- '$.xgafv'?: string;
8207
+ '$.xgafv'?: '1' | '2';
7770
8208
  /** OAuth access token. */
7771
8209
  access_token?: string;
7772
8210
  /** Data format for response. */
7773
- alt?: string;
8211
+ alt?: 'json' | 'media' | 'proto';
7774
8212
  /** JSONP */
7775
8213
  callback?: string;
7776
8214
  /** Selector specifying which fields to include in a partial response. */
@@ -7795,11 +8233,11 @@ declare namespace gapi.client {
7795
8233
  convertRegionPrices(
7796
8234
  request: {
7797
8235
  /** V1 error format. */
7798
- '$.xgafv'?: string;
8236
+ '$.xgafv'?: '1' | '2';
7799
8237
  /** OAuth access token. */
7800
8238
  access_token?: string;
7801
8239
  /** Data format for response. */
7802
- alt?: string;
8240
+ alt?: 'json' | 'media' | 'proto';
7803
8241
  /** JSONP */
7804
8242
  callback?: string;
7805
8243
  /** Selector specifying which fields to include in a partial response. */
@@ -7828,11 +8266,11 @@ declare namespace gapi.client {
7828
8266
  /** Get order details for a list of orders. */
7829
8267
  batchget(request?: {
7830
8268
  /** V1 error format. */
7831
- '$.xgafv'?: string;
8269
+ '$.xgafv'?: '1' | '2';
7832
8270
  /** OAuth access token. */
7833
8271
  access_token?: string;
7834
8272
  /** Data format for response. */
7835
- alt?: string;
8273
+ alt?: 'json' | 'media' | 'proto';
7836
8274
  /** JSONP */
7837
8275
  callback?: string;
7838
8276
  /** Selector specifying which fields to include in a partial response. */
@@ -7857,11 +8295,11 @@ declare namespace gapi.client {
7857
8295
  /** Get order details for a single order. */
7858
8296
  get(request?: {
7859
8297
  /** V1 error format. */
7860
- '$.xgafv'?: string;
8298
+ '$.xgafv'?: '1' | '2';
7861
8299
  /** OAuth access token. */
7862
8300
  access_token?: string;
7863
8301
  /** Data format for response. */
7864
- alt?: string;
8302
+ alt?: 'json' | 'media' | 'proto';
7865
8303
  /** JSONP */
7866
8304
  callback?: string;
7867
8305
  /** Selector specifying which fields to include in a partial response. */
@@ -7886,11 +8324,11 @@ declare namespace gapi.client {
7886
8324
  /** Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded. */
7887
8325
  refund(request?: {
7888
8326
  /** V1 error format. */
7889
- '$.xgafv'?: string;
8327
+ '$.xgafv'?: '1' | '2';
7890
8328
  /** OAuth access token. */
7891
8329
  access_token?: string;
7892
8330
  /** Data format for response. */
7893
- alt?: string;
8331
+ alt?: 'json' | 'media' | 'proto';
7894
8332
  /** JSONP */
7895
8333
  callback?: string;
7896
8334
  /** Selector specifying which fields to include in a partial response. */
@@ -7919,11 +8357,11 @@ declare namespace gapi.client {
7919
8357
  /** Acknowledges a purchase of an inapp item. */
7920
8358
  acknowledge(request: {
7921
8359
  /** V1 error format. */
7922
- '$.xgafv'?: string;
8360
+ '$.xgafv'?: '1' | '2';
7923
8361
  /** OAuth access token. */
7924
8362
  access_token?: string;
7925
8363
  /** Data format for response. */
7926
- alt?: string;
8364
+ alt?: 'json' | 'media' | 'proto';
7927
8365
  /** JSONP */
7928
8366
  callback?: string;
7929
8367
  /** Selector specifying which fields to include in a partial response. */
@@ -7952,11 +8390,11 @@ declare namespace gapi.client {
7952
8390
  acknowledge(
7953
8391
  request: {
7954
8392
  /** V1 error format. */
7955
- '$.xgafv'?: string;
8393
+ '$.xgafv'?: '1' | '2';
7956
8394
  /** OAuth access token. */
7957
8395
  access_token?: string;
7958
8396
  /** Data format for response. */
7959
- alt?: string;
8397
+ alt?: 'json' | 'media' | 'proto';
7960
8398
  /** JSONP */
7961
8399
  callback?: string;
7962
8400
  /** Selector specifying which fields to include in a partial response. */
@@ -7985,11 +8423,11 @@ declare namespace gapi.client {
7985
8423
  /** Consumes a purchase for an inapp item. */
7986
8424
  consume(request?: {
7987
8425
  /** V1 error format. */
7988
- '$.xgafv'?: string;
8426
+ '$.xgafv'?: '1' | '2';
7989
8427
  /** OAuth access token. */
7990
8428
  access_token?: string;
7991
8429
  /** Data format for response. */
7992
- alt?: string;
8430
+ alt?: 'json' | 'media' | 'proto';
7993
8431
  /** JSONP */
7994
8432
  callback?: string;
7995
8433
  /** Selector specifying which fields to include in a partial response. */
@@ -8016,11 +8454,11 @@ declare namespace gapi.client {
8016
8454
  /** Checks the purchase and consumption status of an inapp item. */
8017
8455
  get(request?: {
8018
8456
  /** V1 error format. */
8019
- '$.xgafv'?: string;
8457
+ '$.xgafv'?: '1' | '2';
8020
8458
  /** OAuth access token. */
8021
8459
  access_token?: string;
8022
8460
  /** Data format for response. */
8023
- alt?: string;
8461
+ alt?: 'json' | 'media' | 'proto';
8024
8462
  /** JSONP */
8025
8463
  callback?: string;
8026
8464
  /** Selector specifying which fields to include in a partial response. */
@@ -8049,11 +8487,11 @@ declare namespace gapi.client {
8049
8487
  /** Checks the purchase and consumption status of an inapp item. */
8050
8488
  getproductpurchasev2(request?: {
8051
8489
  /** V1 error format. */
8052
- '$.xgafv'?: string;
8490
+ '$.xgafv'?: '1' | '2';
8053
8491
  /** OAuth access token. */
8054
8492
  access_token?: string;
8055
8493
  /** Data format for response. */
8056
- alt?: string;
8494
+ alt?: 'json' | 'media' | 'proto';
8057
8495
  /** JSONP */
8058
8496
  callback?: string;
8059
8497
  /** Selector specifying which fields to include in a partial response. */
@@ -8080,11 +8518,11 @@ declare namespace gapi.client {
8080
8518
  /** Acknowledges a subscription purchase. */
8081
8519
  acknowledge(request: {
8082
8520
  /** V1 error format. */
8083
- '$.xgafv'?: string;
8521
+ '$.xgafv'?: '1' | '2';
8084
8522
  /** OAuth access token. */
8085
8523
  access_token?: string;
8086
8524
  /** Data format for response. */
8087
- alt?: string;
8525
+ alt?: 'json' | 'media' | 'proto';
8088
8526
  /** JSONP */
8089
8527
  callback?: string;
8090
8528
  /** Selector specifying which fields to include in a partial response. */
@@ -8113,11 +8551,11 @@ declare namespace gapi.client {
8113
8551
  acknowledge(
8114
8552
  request: {
8115
8553
  /** V1 error format. */
8116
- '$.xgafv'?: string;
8554
+ '$.xgafv'?: '1' | '2';
8117
8555
  /** OAuth access token. */
8118
8556
  access_token?: string;
8119
8557
  /** Data format for response. */
8120
- alt?: string;
8558
+ alt?: 'json' | 'media' | 'proto';
8121
8559
  /** JSONP */
8122
8560
  callback?: string;
8123
8561
  /** Selector specifying which fields to include in a partial response. */
@@ -8143,14 +8581,14 @@ declare namespace gapi.client {
8143
8581
  },
8144
8582
  body: SubscriptionPurchasesAcknowledgeRequest,
8145
8583
  ): Request<void>;
8146
- /** Cancels a user's subscription purchase. The subscription remains valid until its expiration time. Newer version is available at purchases.subscriptionsv2.cancel for better client library support. */
8584
+ /** Deprecated: Use purchases.subscriptionsv2.cancel instead. Cancels a user's subscription purchase. The subscription remains valid until its expiration time. Newer version is available at purchases.subscriptionsv2.cancel for better client library support. */
8147
8585
  cancel(request?: {
8148
8586
  /** V1 error format. */
8149
- '$.xgafv'?: string;
8587
+ '$.xgafv'?: '1' | '2';
8150
8588
  /** OAuth access token. */
8151
8589
  access_token?: string;
8152
8590
  /** Data format for response. */
8153
- alt?: string;
8591
+ alt?: 'json' | 'media' | 'proto';
8154
8592
  /** JSONP */
8155
8593
  callback?: string;
8156
8594
  /** Selector specifying which fields to include in a partial response. */
@@ -8174,14 +8612,14 @@ declare namespace gapi.client {
8174
8612
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8175
8613
  uploadType?: string;
8176
8614
  }): Request<void>;
8177
- /** Defers a user's subscription purchase until a specified future expiration time. */
8615
+ /** Deprecated: Use purchases.subscriptionsv2.defer instead. Defers a user's subscription purchase until a specified future expiration time. */
8178
8616
  defer(request: {
8179
8617
  /** V1 error format. */
8180
- '$.xgafv'?: string;
8618
+ '$.xgafv'?: '1' | '2';
8181
8619
  /** OAuth access token. */
8182
8620
  access_token?: string;
8183
8621
  /** Data format for response. */
8184
- alt?: string;
8622
+ alt?: 'json' | 'media' | 'proto';
8185
8623
  /** JSONP */
8186
8624
  callback?: string;
8187
8625
  /** Selector specifying which fields to include in a partial response. */
@@ -8210,11 +8648,11 @@ declare namespace gapi.client {
8210
8648
  defer(
8211
8649
  request: {
8212
8650
  /** V1 error format. */
8213
- '$.xgafv'?: string;
8651
+ '$.xgafv'?: '1' | '2';
8214
8652
  /** OAuth access token. */
8215
8653
  access_token?: string;
8216
8654
  /** Data format for response. */
8217
- alt?: string;
8655
+ alt?: 'json' | 'media' | 'proto';
8218
8656
  /** JSONP */
8219
8657
  callback?: string;
8220
8658
  /** Selector specifying which fields to include in a partial response. */
@@ -8243,11 +8681,11 @@ declare namespace gapi.client {
8243
8681
  /** Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription purchase is valid and returns its expiry time. */
8244
8682
  get(request?: {
8245
8683
  /** V1 error format. */
8246
- '$.xgafv'?: string;
8684
+ '$.xgafv'?: '1' | '2';
8247
8685
  /** OAuth access token. */
8248
8686
  access_token?: string;
8249
8687
  /** Data format for response. */
8250
- alt?: string;
8688
+ alt?: 'json' | 'media' | 'proto';
8251
8689
  /** JSONP */
8252
8690
  callback?: string;
8253
8691
  /** Selector specifying which fields to include in a partial response. */
@@ -8274,11 +8712,11 @@ declare namespace gapi.client {
8274
8712
  /** Deprecated: Use orders.refund instead. Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur. */
8275
8713
  refund(request?: {
8276
8714
  /** V1 error format. */
8277
- '$.xgafv'?: string;
8715
+ '$.xgafv'?: '1' | '2';
8278
8716
  /** OAuth access token. */
8279
8717
  access_token?: string;
8280
8718
  /** Data format for response. */
8281
- alt?: string;
8719
+ alt?: 'json' | 'media' | 'proto';
8282
8720
  /** JSONP */
8283
8721
  callback?: string;
8284
8722
  /** Selector specifying which fields to include in a partial response. */
@@ -8305,11 +8743,11 @@ declare namespace gapi.client {
8305
8743
  /** Deprecated: Use purchases.subscriptionsv2.revoke instead. Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring. */
8306
8744
  revoke(request?: {
8307
8745
  /** V1 error format. */
8308
- '$.xgafv'?: string;
8746
+ '$.xgafv'?: '1' | '2';
8309
8747
  /** OAuth access token. */
8310
8748
  access_token?: string;
8311
8749
  /** Data format for response. */
8312
- alt?: string;
8750
+ alt?: 'json' | 'media' | 'proto';
8313
8751
  /** JSONP */
8314
8752
  callback?: string;
8315
8753
  /** Selector specifying which fields to include in a partial response. */
@@ -8338,11 +8776,11 @@ declare namespace gapi.client {
8338
8776
  /** Cancel a subscription purchase for the user. */
8339
8777
  cancel(request: {
8340
8778
  /** V1 error format. */
8341
- '$.xgafv'?: string;
8779
+ '$.xgafv'?: '1' | '2';
8342
8780
  /** OAuth access token. */
8343
8781
  access_token?: string;
8344
8782
  /** Data format for response. */
8345
- alt?: string;
8783
+ alt?: 'json' | 'media' | 'proto';
8346
8784
  /** JSONP */
8347
8785
  callback?: string;
8348
8786
  /** Selector specifying which fields to include in a partial response. */
@@ -8369,11 +8807,11 @@ declare namespace gapi.client {
8369
8807
  cancel(
8370
8808
  request: {
8371
8809
  /** V1 error format. */
8372
- '$.xgafv'?: string;
8810
+ '$.xgafv'?: '1' | '2';
8373
8811
  /** OAuth access token. */
8374
8812
  access_token?: string;
8375
8813
  /** Data format for response. */
8376
- alt?: string;
8814
+ alt?: 'json' | 'media' | 'proto';
8377
8815
  /** JSONP */
8378
8816
  callback?: string;
8379
8817
  /** Selector specifying which fields to include in a partial response. */
@@ -8400,11 +8838,11 @@ declare namespace gapi.client {
8400
8838
  /** Defers the renewal of a subscription. */
8401
8839
  defer(request: {
8402
8840
  /** V1 error format. */
8403
- '$.xgafv'?: string;
8841
+ '$.xgafv'?: '1' | '2';
8404
8842
  /** OAuth access token. */
8405
8843
  access_token?: string;
8406
8844
  /** Data format for response. */
8407
- alt?: string;
8845
+ alt?: 'json' | 'media' | 'proto';
8408
8846
  /** JSONP */
8409
8847
  callback?: string;
8410
8848
  /** Selector specifying which fields to include in a partial response. */
@@ -8431,11 +8869,11 @@ declare namespace gapi.client {
8431
8869
  defer(
8432
8870
  request: {
8433
8871
  /** V1 error format. */
8434
- '$.xgafv'?: string;
8872
+ '$.xgafv'?: '1' | '2';
8435
8873
  /** OAuth access token. */
8436
8874
  access_token?: string;
8437
8875
  /** Data format for response. */
8438
- alt?: string;
8876
+ alt?: 'json' | 'media' | 'proto';
8439
8877
  /** JSONP */
8440
8878
  callback?: string;
8441
8879
  /** Selector specifying which fields to include in a partial response. */
@@ -8462,11 +8900,11 @@ declare namespace gapi.client {
8462
8900
  /** Get metadata about a subscription */
8463
8901
  get(request?: {
8464
8902
  /** V1 error format. */
8465
- '$.xgafv'?: string;
8903
+ '$.xgafv'?: '1' | '2';
8466
8904
  /** OAuth access token. */
8467
8905
  access_token?: string;
8468
8906
  /** Data format for response. */
8469
- alt?: string;
8907
+ alt?: 'json' | 'media' | 'proto';
8470
8908
  /** JSONP */
8471
8909
  callback?: string;
8472
8910
  /** Selector specifying which fields to include in a partial response. */
@@ -8491,11 +8929,11 @@ declare namespace gapi.client {
8491
8929
  /** Revoke a subscription purchase for the user. */
8492
8930
  revoke(request: {
8493
8931
  /** V1 error format. */
8494
- '$.xgafv'?: string;
8932
+ '$.xgafv'?: '1' | '2';
8495
8933
  /** OAuth access token. */
8496
8934
  access_token?: string;
8497
8935
  /** Data format for response. */
8498
- alt?: string;
8936
+ alt?: 'json' | 'media' | 'proto';
8499
8937
  /** JSONP */
8500
8938
  callback?: string;
8501
8939
  /** Selector specifying which fields to include in a partial response. */
@@ -8522,11 +8960,11 @@ declare namespace gapi.client {
8522
8960
  revoke(
8523
8961
  request: {
8524
8962
  /** V1 error format. */
8525
- '$.xgafv'?: string;
8963
+ '$.xgafv'?: '1' | '2';
8526
8964
  /** OAuth access token. */
8527
8965
  access_token?: string;
8528
8966
  /** Data format for response. */
8529
- alt?: string;
8967
+ alt?: 'json' | 'media' | 'proto';
8530
8968
  /** JSONP */
8531
8969
  callback?: string;
8532
8970
  /** Selector specifying which fields to include in a partial response. */
@@ -8555,11 +8993,11 @@ declare namespace gapi.client {
8555
8993
  /** Lists the purchases that were canceled, refunded or charged-back. */
8556
8994
  list(request?: {
8557
8995
  /** V1 error format. */
8558
- '$.xgafv'?: string;
8996
+ '$.xgafv'?: '1' | '2';
8559
8997
  /** OAuth access token. */
8560
8998
  access_token?: string;
8561
8999
  /** Data format for response. */
8562
- alt?: string;
9000
+ alt?: 'json' | 'media' | 'proto';
8563
9001
  /** JSONP */
8564
9002
  callback?: string;
8565
9003
  /** The time, in milliseconds since the Epoch, of the newest voided purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time. Note: This filter is applied on the time at which the record is seen as voided by our systems and not the actual voided time returned in the response. */
@@ -8605,11 +9043,11 @@ declare namespace gapi.client {
8605
9043
  /** Gets a single review. */
8606
9044
  get(request?: {
8607
9045
  /** V1 error format. */
8608
- '$.xgafv'?: string;
9046
+ '$.xgafv'?: '1' | '2';
8609
9047
  /** OAuth access token. */
8610
9048
  access_token?: string;
8611
9049
  /** Data format for response. */
8612
- alt?: string;
9050
+ alt?: 'json' | 'media' | 'proto';
8613
9051
  /** JSONP */
8614
9052
  callback?: string;
8615
9053
  /** Selector specifying which fields to include in a partial response. */
@@ -8636,11 +9074,11 @@ declare namespace gapi.client {
8636
9074
  /** Lists all reviews. */
8637
9075
  list(request?: {
8638
9076
  /** V1 error format. */
8639
- '$.xgafv'?: string;
9077
+ '$.xgafv'?: '1' | '2';
8640
9078
  /** OAuth access token. */
8641
9079
  access_token?: string;
8642
9080
  /** Data format for response. */
8643
- alt?: string;
9081
+ alt?: 'json' | 'media' | 'proto';
8644
9082
  /** JSONP */
8645
9083
  callback?: string;
8646
9084
  /** Selector specifying which fields to include in a partial response. */
@@ -8671,11 +9109,11 @@ declare namespace gapi.client {
8671
9109
  /** Replies to a single review, or updates an existing reply. */
8672
9110
  reply(request: {
8673
9111
  /** V1 error format. */
8674
- '$.xgafv'?: string;
9112
+ '$.xgafv'?: '1' | '2';
8675
9113
  /** OAuth access token. */
8676
9114
  access_token?: string;
8677
9115
  /** Data format for response. */
8678
- alt?: string;
9116
+ alt?: 'json' | 'media' | 'proto';
8679
9117
  /** JSONP */
8680
9118
  callback?: string;
8681
9119
  /** Selector specifying which fields to include in a partial response. */
@@ -8702,11 +9140,11 @@ declare namespace gapi.client {
8702
9140
  reply(
8703
9141
  request: {
8704
9142
  /** V1 error format. */
8705
- '$.xgafv'?: string;
9143
+ '$.xgafv'?: '1' | '2';
8706
9144
  /** OAuth access token. */
8707
9145
  access_token?: string;
8708
9146
  /** Data format for response. */
8709
- alt?: string;
9147
+ alt?: 'json' | 'media' | 'proto';
8710
9148
  /** JSONP */
8711
9149
  callback?: string;
8712
9150
  /** Selector specifying which fields to include in a partial response. */
@@ -8735,11 +9173,11 @@ declare namespace gapi.client {
8735
9173
  /** Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle. */
8736
9174
  create(request: {
8737
9175
  /** V1 error format. */
8738
- '$.xgafv'?: string;
9176
+ '$.xgafv'?: '1' | '2';
8739
9177
  /** OAuth access token. */
8740
9178
  access_token?: string;
8741
9179
  /** Data format for response. */
8742
- alt?: string;
9180
+ alt?: 'json' | 'media' | 'proto';
8743
9181
  /** JSONP */
8744
9182
  callback?: string;
8745
9183
  /** Selector specifying which fields to include in a partial response. */
@@ -8766,11 +9204,11 @@ declare namespace gapi.client {
8766
9204
  create(
8767
9205
  request: {
8768
9206
  /** V1 error format. */
8769
- '$.xgafv'?: string;
9207
+ '$.xgafv'?: '1' | '2';
8770
9208
  /** OAuth access token. */
8771
9209
  access_token?: string;
8772
9210
  /** Data format for response. */
8773
- alt?: string;
9211
+ alt?: 'json' | 'media' | 'proto';
8774
9212
  /** JSONP */
8775
9213
  callback?: string;
8776
9214
  /** Selector specifying which fields to include in a partial response. */
@@ -8797,11 +9235,11 @@ declare namespace gapi.client {
8797
9235
  /** Downloads a previously created system APK which is suitable for inclusion in a system image. */
8798
9236
  download(request?: {
8799
9237
  /** V1 error format. */
8800
- '$.xgafv'?: string;
9238
+ '$.xgafv'?: '1' | '2';
8801
9239
  /** OAuth access token. */
8802
9240
  access_token?: string;
8803
9241
  /** Data format for response. */
8804
- alt?: string;
9242
+ alt?: 'json' | 'media' | 'proto';
8805
9243
  /** JSONP */
8806
9244
  callback?: string;
8807
9245
  /** Selector specifying which fields to include in a partial response. */
@@ -8828,11 +9266,11 @@ declare namespace gapi.client {
8828
9266
  /** Returns a previously created system APK variant. */
8829
9267
  get(request?: {
8830
9268
  /** V1 error format. */
8831
- '$.xgafv'?: string;
9269
+ '$.xgafv'?: '1' | '2';
8832
9270
  /** OAuth access token. */
8833
9271
  access_token?: string;
8834
9272
  /** Data format for response. */
8835
- alt?: string;
9273
+ alt?: 'json' | 'media' | 'proto';
8836
9274
  /** JSONP */
8837
9275
  callback?: string;
8838
9276
  /** Selector specifying which fields to include in a partial response. */
@@ -8859,11 +9297,11 @@ declare namespace gapi.client {
8859
9297
  /** Returns the list of previously created system APK variants. */
8860
9298
  list(request?: {
8861
9299
  /** V1 error format. */
8862
- '$.xgafv'?: string;
9300
+ '$.xgafv'?: '1' | '2';
8863
9301
  /** OAuth access token. */
8864
9302
  access_token?: string;
8865
9303
  /** Data format for response. */
8866
- alt?: string;
9304
+ alt?: 'json' | 'media' | 'proto';
8867
9305
  /** JSONP */
8868
9306
  callback?: string;
8869
9307
  /** Selector specifying which fields to include in a partial response. */
@@ -8893,11 +9331,11 @@ declare namespace gapi.client {
8893
9331
  /** Grant access for a user to the given developer account. */
8894
9332
  create(request: {
8895
9333
  /** V1 error format. */
8896
- '$.xgafv'?: string;
9334
+ '$.xgafv'?: '1' | '2';
8897
9335
  /** OAuth access token. */
8898
9336
  access_token?: string;
8899
9337
  /** Data format for response. */
8900
- alt?: string;
9338
+ alt?: 'json' | 'media' | 'proto';
8901
9339
  /** JSONP */
8902
9340
  callback?: string;
8903
9341
  /** Selector specifying which fields to include in a partial response. */
@@ -8922,11 +9360,11 @@ declare namespace gapi.client {
8922
9360
  create(
8923
9361
  request: {
8924
9362
  /** V1 error format. */
8925
- '$.xgafv'?: string;
9363
+ '$.xgafv'?: '1' | '2';
8926
9364
  /** OAuth access token. */
8927
9365
  access_token?: string;
8928
9366
  /** Data format for response. */
8929
- alt?: string;
9367
+ alt?: 'json' | 'media' | 'proto';
8930
9368
  /** JSONP */
8931
9369
  callback?: string;
8932
9370
  /** Selector specifying which fields to include in a partial response. */
@@ -8951,11 +9389,11 @@ declare namespace gapi.client {
8951
9389
  /** Removes all access for the user to the given developer account. */
8952
9390
  delete(request?: {
8953
9391
  /** V1 error format. */
8954
- '$.xgafv'?: string;
9392
+ '$.xgafv'?: '1' | '2';
8955
9393
  /** OAuth access token. */
8956
9394
  access_token?: string;
8957
9395
  /** Data format for response. */
8958
- alt?: string;
9396
+ alt?: 'json' | 'media' | 'proto';
8959
9397
  /** JSONP */
8960
9398
  callback?: string;
8961
9399
  /** Selector specifying which fields to include in a partial response. */
@@ -8978,11 +9416,11 @@ declare namespace gapi.client {
8978
9416
  /** Lists all users with access to a developer account. */
8979
9417
  list(request?: {
8980
9418
  /** V1 error format. */
8981
- '$.xgafv'?: string;
9419
+ '$.xgafv'?: '1' | '2';
8982
9420
  /** OAuth access token. */
8983
9421
  access_token?: string;
8984
9422
  /** Data format for response. */
8985
- alt?: string;
9423
+ alt?: 'json' | 'media' | 'proto';
8986
9424
  /** JSONP */
8987
9425
  callback?: string;
8988
9426
  /** Selector specifying which fields to include in a partial response. */
@@ -9009,11 +9447,11 @@ declare namespace gapi.client {
9009
9447
  /** Updates access for the user to the developer account. */
9010
9448
  patch(request: {
9011
9449
  /** V1 error format. */
9012
- '$.xgafv'?: string;
9450
+ '$.xgafv'?: '1' | '2';
9013
9451
  /** OAuth access token. */
9014
9452
  access_token?: string;
9015
9453
  /** Data format for response. */
9016
- alt?: string;
9454
+ alt?: 'json' | 'media' | 'proto';
9017
9455
  /** JSONP */
9018
9456
  callback?: string;
9019
9457
  /** Selector specifying which fields to include in a partial response. */
@@ -9040,11 +9478,11 @@ declare namespace gapi.client {
9040
9478
  patch(
9041
9479
  request: {
9042
9480
  /** V1 error format. */
9043
- '$.xgafv'?: string;
9481
+ '$.xgafv'?: '1' | '2';
9044
9482
  /** OAuth access token. */
9045
9483
  access_token?: string;
9046
9484
  /** Data format for response. */
9047
- alt?: string;
9485
+ alt?: 'json' | 'media' | 'proto';
9048
9486
  /** JSONP */
9049
9487
  callback?: string;
9050
9488
  /** Selector specifying which fields to include in a partial response. */