@maxim_mazurok/gapi.client.androidpublisher-v3 0.2.20260312 → 0.3.20260316

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 (2) hide show
  1. package/index.d.ts +933 -517
  2. package/package.json +1 -1
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: 20260312
12
+ // Revision: 20260316
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
  }
@@ -210,7 +235,11 @@ declare namespace gapi.client {
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 */
@@ -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. */
@@ -848,7 +931,13 @@ declare namespace gapi.client {
848
931
  /** ID of the recovery action. */
849
932
  recoveryId?: string;
850
933
  /** The status of the recovery action corresponding to the recovery apk. */
851
- recoveryStatus?: string;
934
+ recoveryStatus?:
935
+ | 'RECOVERY_STATUS_UNSPECIFIED'
936
+ | 'RECOVERY_STATUS_ACTIVE'
937
+ | 'RECOVERY_STATUS_CANCELED'
938
+ | 'RECOVERY_STATUS_DRAFT'
939
+ | 'RECOVERY_STATUS_GENERATION_IN_PROGRESS'
940
+ | 'RECOVERY_STATUS_GENERATION_FAILED';
852
941
  }
853
942
  interface GeneratedSplitApk {
854
943
  /** Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method. */
@@ -892,7 +981,22 @@ declare namespace gapi.client {
892
981
  }
893
982
  interface Grant {
894
983
  /** The permissions granted to the user for this app. */
895
- appLevelPermissions?: string[];
984
+ appLevelPermissions?:
985
+ | 'APP_LEVEL_PERMISSION_UNSPECIFIED'
986
+ | 'CAN_ACCESS_APP'
987
+ | 'CAN_VIEW_FINANCIAL_DATA'
988
+ | 'CAN_MANAGE_PERMISSIONS'
989
+ | 'CAN_REPLY_TO_REVIEWS'
990
+ | 'CAN_MANAGE_PUBLIC_APKS'
991
+ | 'CAN_MANAGE_TRACK_APKS'
992
+ | 'CAN_MANAGE_TRACK_USERS'
993
+ | 'CAN_MANAGE_PUBLIC_LISTING'
994
+ | 'CAN_MANAGE_DRAFT_APPS'
995
+ | 'CAN_MANAGE_ORDERS'
996
+ | 'CAN_MANAGE_APP_CONTENT'
997
+ | 'CAN_VIEW_NON_FINANCIAL_DATA'
998
+ | 'CAN_VIEW_APP_QUALITY'
999
+ | 'CAN_MANAGE_DEEPLINKS'[];
896
1000
  /** 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
1001
  name?: string;
898
1002
  /** Immutable. The package name of the app. This will be empty for draft apps. */
@@ -936,11 +1040,11 @@ declare namespace gapi.client {
936
1040
  /** 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
1041
  prices?: {[P in string]: Price};
938
1042
  /** The type of the product, e.g. a recurring subscription. */
939
- purchaseType?: string;
1043
+ purchaseType?: 'purchaseTypeUnspecified' | 'managedUser' | 'subscription';
940
1044
  /** Stock-keeping-unit (SKU) of the product, unique within an app. */
941
1045
  sku?: string;
942
1046
  /** The status of the product, e.g. whether it's active. */
943
- status?: string;
1047
+ status?: 'statusUnspecified' | 'active' | 'inactive';
944
1048
  /** 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
1049
  subscriptionPeriod?: string;
946
1050
  /** Details about taxes and legal compliance. Only applicable to subscription products. */
@@ -974,7 +1078,10 @@ declare namespace gapi.client {
974
1078
  }
975
1079
  interface InappproductsDeleteRequest {
976
1080
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
977
- latencyTolerance?: string;
1081
+ latencyTolerance?:
1082
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
1083
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
1084
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
978
1085
  /** Package name of the app. */
979
1086
  packageName?: string;
980
1087
  /** Unique identifier for the in-app product. */
@@ -998,7 +1105,10 @@ declare namespace gapi.client {
998
1105
  /** The new in-app product. */
999
1106
  inappproduct?: InAppProduct;
1000
1107
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
1001
- latencyTolerance?: string;
1108
+ latencyTolerance?:
1109
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
1110
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
1111
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
1002
1112
  /** Package name of the app. */
1003
1113
  packageName?: string;
1004
1114
  /** Unique identifier for the in-app product. */
@@ -1024,11 +1134,20 @@ declare namespace gapi.client {
1024
1134
  /** 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
1135
  gracePeriodDuration?: string;
1026
1136
  /** 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;
1137
+ prorationMode?:
1138
+ | 'SUBSCRIPTION_PRORATION_MODE_UNSPECIFIED'
1139
+ | 'SUBSCRIPTION_PRORATION_MODE_CHARGE_ON_NEXT_BILLING_DATE'
1140
+ | 'SUBSCRIPTION_PRORATION_MODE_CHARGE_FULL_PRICE_IMMEDIATELY';
1028
1141
  /** 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;
1142
+ renewalType?:
1143
+ | 'RENEWAL_TYPE_UNSPECIFIED'
1144
+ | 'RENEWAL_TYPE_RENEWS_WITHOUT_COMMITMENT'
1145
+ | 'RENEWAL_TYPE_RENEWS_WITH_COMMITMENT';
1030
1146
  /** 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;
1147
+ resubscribeState?:
1148
+ | 'RESUBSCRIBE_STATE_UNSPECIFIED'
1149
+ | 'RESUBSCRIBE_STATE_ACTIVE'
1150
+ | 'RESUBSCRIBE_STATE_INACTIVE';
1032
1151
  }
1033
1152
  interface InternalAppSharingArtifact {
1034
1153
  /** The sha256 fingerprint of the certificate used to sign the generated artifact. */
@@ -1064,7 +1183,14 @@ declare namespace gapi.client {
1064
1183
  /** The product ID of the subscription line item being replaced. */
1065
1184
  productId?: string;
1066
1185
  /** The replacement mode applied during the purchase. */
1067
- replacementMode?: string;
1186
+ replacementMode?:
1187
+ | 'REPLACEMENT_MODE_UNSPECIFIED'
1188
+ | 'WITH_TIME_PRORATION'
1189
+ | 'CHARGE_PRORATED_PRICE'
1190
+ | 'WITHOUT_PRORATION'
1191
+ | 'CHARGE_FULL_PRICE'
1192
+ | 'DEFERRED'
1193
+ | 'KEEP_EXISTING';
1068
1194
  }
1069
1195
  interface LanguageTargeting {
1070
1196
  /** Alternative languages. */
@@ -1160,7 +1286,10 @@ declare namespace gapi.client {
1160
1286
  }
1161
1287
  interface ManagedProductTaxAndComplianceSettings {
1162
1288
  /** 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;
1289
+ eeaWithdrawalRightType?:
1290
+ | 'WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED'
1291
+ | 'WITHDRAWAL_RIGHT_DIGITAL_CONTENT'
1292
+ | 'WITHDRAWAL_RIGHT_SERVICE';
1164
1293
  /** Whether this in-app product is declared as a product representing a tokenized digital asset. */
1165
1294
  isTokenizedDigitalAsset?: boolean;
1166
1295
  /** 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 +1303,10 @@ declare namespace gapi.client {
1174
1303
  /** Required. The unique base plan ID of the base plan to update prices on. */
1175
1304
  basePlanId?: string;
1176
1305
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
1177
- latencyTolerance?: string;
1306
+ latencyTolerance?:
1307
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
1308
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
1309
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
1178
1310
  /** Required. Package name of the parent app. Must be equal to the package_name field on the Subscription resource. */
1179
1311
  packageName?: string;
1180
1312
  /** Required. The ID of the subscription to update. Must be equal to the product_id field on the Subscription resource. */
@@ -1187,11 +1319,15 @@ declare namespace gapi.client {
1187
1319
  interface MigrateBasePlanPricesResponse {}
1188
1320
  interface ModuleMetadata {
1189
1321
  /** Indicates the delivery type (e.g. on-demand) of the module. */
1190
- deliveryType?: string;
1322
+ deliveryType?:
1323
+ | 'UNKNOWN_DELIVERY_TYPE'
1324
+ | 'INSTALL_TIME'
1325
+ | 'ON_DEMAND'
1326
+ | 'FAST_FOLLOW';
1191
1327
  /** Names of the modules that this module directly depends on. Each module implicitly depends on the base module. */
1192
1328
  dependencies?: string[];
1193
1329
  /** Indicates the type of this feature module. */
1194
- moduleType?: string;
1330
+ moduleType?: 'UNKNOWN_MODULE_TYPE' | 'FEATURE_MODULE';
1195
1331
  /** Module name. */
1196
1332
  name?: string;
1197
1333
  /** The targeting that makes a conditional module installed. Relevant only for Split APKs. */
@@ -1320,14 +1456,22 @@ declare namespace gapi.client {
1320
1456
  /** Output only. The version of the regions configuration that was used to generate the one-time product offer. */
1321
1457
  regionsVersion?: RegionsVersion;
1322
1458
  /** 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;
1459
+ state?:
1460
+ | 'STATE_UNSPECIFIED'
1461
+ | 'DRAFT'
1462
+ | 'ACTIVE'
1463
+ | 'CANCELLED'
1464
+ | 'INACTIVE';
1324
1465
  }
1325
1466
  interface OneTimeProductOfferNoPriceOverrideOptions {}
1326
1467
  interface OneTimeProductOfferRegionalPricingAndAvailabilityConfig {
1327
1468
  /** 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
1469
  absoluteDiscount?: Money;
1329
1470
  /** Required. The availability for this region. */
1330
- availability?: string;
1471
+ availability?:
1472
+ | 'AVAILABILITY_UNSPECIFIED'
1473
+ | 'AVAILABLE'
1474
+ | 'NO_LONGER_AVAILABLE';
1331
1475
  /** The price defined in the purchase option for this region will be used. */
1332
1476
  noOverride?: any;
1333
1477
  /** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., "US". */
@@ -1339,7 +1483,10 @@ declare namespace gapi.client {
1339
1483
  /** Required. Time when the pre-order will stop being available. */
1340
1484
  endTime?: string;
1341
1485
  /** Required. Immutable. Specifies how price changes affect pre-existing pre-orders. */
1342
- priceChangeBehavior?: string;
1486
+ priceChangeBehavior?:
1487
+ | 'PRE_ORDER_PRICE_CHANGE_BEHAVIOR_UNSPECIFIED'
1488
+ | 'PRE_ORDER_PRICE_CHANGE_BEHAVIOR_TWO_POINT_LOWEST'
1489
+ | 'PRE_ORDER_PRICE_CHANGE_BEHAVIOR_NEW_ORDERS_ONLY';
1343
1490
  /** Required. Time on which the product associated with the pre-order will be released and the pre-order orders fulfilled. */
1344
1491
  releaseTime?: string;
1345
1492
  /** Required. Time when the pre-order will start being available. */
@@ -1359,13 +1506,21 @@ declare namespace gapi.client {
1359
1506
  /** A purchase option that can be rented. */
1360
1507
  rentOption?: OneTimeProductRentPurchaseOption;
1361
1508
  /** 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;
1509
+ state?:
1510
+ | 'STATE_UNSPECIFIED'
1511
+ | 'DRAFT'
1512
+ | 'ACTIVE'
1513
+ | 'INACTIVE'
1514
+ | 'INACTIVE_PUBLISHED';
1363
1515
  /** Optional. Details about taxes and legal compliance. */
1364
1516
  taxAndComplianceSettings?: PurchaseOptionTaxAndComplianceSettings;
1365
1517
  }
1366
1518
  interface OneTimeProductPurchaseOptionNewRegionsConfig {
1367
1519
  /** 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;
1520
+ availability?:
1521
+ | 'AVAILABILITY_UNSPECIFIED'
1522
+ | 'AVAILABLE'
1523
+ | 'NO_LONGER_AVAILABLE';
1369
1524
  /** Required. Price in EUR to use for any new regions Play may launch in. */
1370
1525
  eurPrice?: Money;
1371
1526
  /** Required. Price in USD to use for any new regions Play may launch in. */
@@ -1373,7 +1528,12 @@ declare namespace gapi.client {
1373
1528
  }
1374
1529
  interface OneTimeProductPurchaseOptionRegionalPricingAndAvailabilityConfig {
1375
1530
  /** The availability of the purchase option. */
1376
- availability?: string;
1531
+ availability?:
1532
+ | 'AVAILABILITY_UNSPECIFIED'
1533
+ | 'AVAILABLE'
1534
+ | 'NO_LONGER_AVAILABLE'
1535
+ | 'AVAILABLE_IF_RELEASED'
1536
+ | 'AVAILABLE_FOR_OFFERS_ONLY';
1377
1537
  /** The price of the purchase option in the specified region. Must be set in the currency that is linked to the specified region. */
1378
1538
  price?: Money;
1379
1539
  /** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g., "US". */
@@ -1429,9 +1589,22 @@ declare namespace gapi.client {
1429
1589
  /** The token provided to the user's device when the subscription or item was purchased. */
1430
1590
  purchaseToken?: string;
1431
1591
  /** The originating sales channel of the order. */
1432
- salesChannel?: string;
1592
+ salesChannel?:
1593
+ | 'SALES_CHANNEL_UNSPECIFIED'
1594
+ | 'IN_APP'
1595
+ | 'PC_EMULATOR'
1596
+ | 'NATIVE_PC'
1597
+ | 'PLAY_STORE'
1598
+ | 'OUTSIDE_PLAY_STORE';
1433
1599
  /** The state of the order. */
1434
- state?: string;
1600
+ state?:
1601
+ | 'STATE_UNSPECIFIED'
1602
+ | 'PENDING'
1603
+ | 'PROCESSED'
1604
+ | 'CANCELED'
1605
+ | 'PENDING_REFUND'
1606
+ | 'PARTIALLY_REFUNDED'
1607
+ | 'REFUNDED';
1435
1608
  /** The total tax paid as a part of this order. */
1436
1609
  tax?: Money;
1437
1610
  /** The final amount paid by the customer, taking into account discounts and taxes. */
@@ -1510,7 +1683,7 @@ declare namespace gapi.client {
1510
1683
  /** Details for the partial refund. */
1511
1684
  refundDetails?: RefundDetails;
1512
1685
  /** The state of the partial refund. */
1513
- state?: string;
1686
+ state?: 'STATE_UNSPECIFIED' | 'PENDING' | 'PROCESSED_SUCCESSFULLY';
1514
1687
  }
1515
1688
  interface PausedStateContext {
1516
1689
  /** Time at which the subscription will be automatically resumed. */
@@ -1536,7 +1709,10 @@ declare namespace gapi.client {
1536
1709
  /** 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
1710
  billingPeriodDuration?: string;
1538
1711
  /** 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;
1712
+ timeExtension?:
1713
+ | 'TIME_EXTENSION_UNSPECIFIED'
1714
+ | 'TIME_EXTENSION_ACTIVE'
1715
+ | 'TIME_EXTENSION_INACTIVE';
1540
1716
  }
1541
1717
  interface PrepaidPlan {
1542
1718
  /** 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 +1730,11 @@ declare namespace gapi.client {
1554
1730
  /** The new price which requires user consent. */
1555
1731
  newPrice?: Money;
1556
1732
  /** Output only. The state of the price step-up consent. */
1557
- state?: string;
1733
+ state?:
1734
+ | 'CONSENT_STATE_UNSPECIFIED'
1735
+ | 'PENDING'
1736
+ | 'CONFIRMED'
1737
+ | 'COMPLETED';
1558
1738
  }
1559
1739
  interface ProcessedEvent {
1560
1740
  /** The time when the order was processed. */
@@ -1568,7 +1748,10 @@ declare namespace gapi.client {
1568
1748
  }
1569
1749
  interface ProductOfferDetails {
1570
1750
  /** Output only. The consumption state of the purchase. */
1571
- consumptionState?: string;
1751
+ consumptionState?:
1752
+ | 'CONSUMPTION_STATE_UNSPECIFIED'
1753
+ | 'CONSUMPTION_STATE_YET_TO_BE_CONSUMED'
1754
+ | 'CONSUMPTION_STATE_CONSUMED';
1572
1755
  /** The offer ID. Only present for offers. */
1573
1756
  offerId?: string;
1574
1757
  /** The latest offer tags associated with the offer. It includes tags inherited from the purchase option. */
@@ -1624,7 +1807,10 @@ declare namespace gapi.client {
1624
1807
  }
1625
1808
  interface ProductPurchaseV2 {
1626
1809
  /** Output only. The acknowledgement state of the purchase. */
1627
- acknowledgementState?: string;
1810
+ acknowledgementState?:
1811
+ | 'ACKNOWLEDGEMENT_STATE_UNSPECIFIED'
1812
+ | 'ACKNOWLEDGEMENT_STATE_PENDING'
1813
+ | 'ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED';
1628
1814
  /** This kind represents a ProductPurchaseV2 object in the androidpublisher service. */
1629
1815
  kind?: string;
1630
1816
  /** 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 +1832,34 @@ declare namespace gapi.client {
1646
1832
  }
1647
1833
  interface ProrationPeriodDetails {
1648
1834
  /** 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;
1835
+ originalOfferPhase?:
1836
+ | 'OFFER_PHASE_UNSPECIFIED'
1837
+ | 'BASE'
1838
+ | 'INTRODUCTORY'
1839
+ | 'FREE_TRIAL';
1650
1840
  }
1651
1841
  interface ProrationPeriodOfferPhase {
1652
1842
  /** 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;
1843
+ originalOfferPhaseType?:
1844
+ | 'ORIGINAL_OFFER_PHASE_TYPE_UNSPECIFIED'
1845
+ | 'BASE'
1846
+ | 'INTRODUCTORY'
1847
+ | 'FREE_TRIAL';
1654
1848
  }
1655
1849
  interface PurchaseOptionTaxAndComplianceSettings {
1656
1850
  /** 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;
1851
+ withdrawalRightType?:
1852
+ | 'WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED'
1853
+ | 'WITHDRAWAL_RIGHT_DIGITAL_CONTENT'
1854
+ | 'WITHDRAWAL_RIGHT_SERVICE';
1658
1855
  }
1659
1856
  interface PurchaseStateContext {
1660
1857
  /** Output only. The purchase state of the purchase. */
1661
- purchaseState?: string;
1858
+ purchaseState?:
1859
+ | 'PURCHASE_STATE_UNSPECIFIED'
1860
+ | 'PURCHASED'
1861
+ | 'CANCELLED'
1862
+ | 'PENDING';
1662
1863
  }
1663
1864
  interface RecurringExternalTransaction {
1664
1865
  /** Details of an external subscription. */
@@ -1668,7 +1869,10 @@ declare namespace gapi.client {
1668
1869
  /** 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
1870
  initialExternalTransactionId?: string;
1670
1871
  /** 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;
1872
+ migratedTransactionProgram?:
1873
+ | 'EXTERNAL_TRANSACTION_PROGRAM_UNSPECIFIED'
1874
+ | 'USER_CHOICE_BILLING'
1875
+ | 'ALTERNATIVE_BILLING_ONLY';
1672
1876
  /** Details of a recurring external transaction product which doesn't belong to any other specific category. */
1673
1877
  otherRecurringProduct?: any;
1674
1878
  }
@@ -1684,7 +1888,7 @@ declare namespace gapi.client {
1684
1888
  /** Details for the full refund. */
1685
1889
  refundDetails?: RefundDetails;
1686
1890
  /** The reason the order was refunded. */
1687
- refundReason?: string;
1891
+ refundReason?: 'REFUND_REASON_UNSPECIFIED' | 'OTHER' | 'CHARGEBACK';
1688
1892
  }
1689
1893
  interface RefundExternalTransactionRequest {
1690
1894
  /** A full-amount refund. */
@@ -1706,13 +1910,21 @@ declare namespace gapi.client {
1706
1910
  /** 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
1911
  oldestAllowedPriceVersionTime?: string;
1708
1912
  /** Optional. The requested type of price increase */
1709
- priceIncreaseType?: string;
1913
+ priceIncreaseType?:
1914
+ | 'PRICE_INCREASE_TYPE_UNSPECIFIED'
1915
+ | 'PRICE_INCREASE_TYPE_OPT_IN'
1916
+ | 'PRICE_INCREASE_TYPE_OPT_OUT';
1710
1917
  /** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US". */
1711
1918
  regionCode?: string;
1712
1919
  }
1713
1920
  interface RegionalProductAgeRatingInfo {
1714
1921
  /** The age rating tier of a product for the given region. */
1715
- productAgeRatingTier?: string;
1922
+ productAgeRatingTier?:
1923
+ | 'PRODUCT_AGE_RATING_TIER_UNKNOWN'
1924
+ | 'PRODUCT_AGE_RATING_TIER_EVERYONE'
1925
+ | 'PRODUCT_AGE_RATING_TIER_THIRTEEN_AND_ABOVE'
1926
+ | 'PRODUCT_AGE_RATING_TIER_SIXTEEN_AND_ABOVE'
1927
+ | 'PRODUCT_AGE_RATING_TIER_EIGHTEEN_AND_ABOVE';
1716
1928
  /** Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US". */
1717
1929
  regionCode?: string;
1718
1930
  }
@@ -1741,17 +1953,43 @@ declare namespace gapi.client {
1741
1953
  /** Required. Region code this configuration applies to, as defined by ISO 3166-2, e.g. "US". */
1742
1954
  regionCode?: string;
1743
1955
  /** 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;
1956
+ streamingTaxType?:
1957
+ | 'STREAMING_TAX_TYPE_UNSPECIFIED'
1958
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL'
1959
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_SALES'
1960
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL'
1961
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL'
1962
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_SALES'
1963
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL';
1745
1964
  /** 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;
1965
+ taxTier?:
1966
+ | 'TAX_TIER_UNSPECIFIED'
1967
+ | 'TAX_TIER_BOOKS_1'
1968
+ | 'TAX_TIER_NEWS_1'
1969
+ | 'TAX_TIER_NEWS_2'
1970
+ | 'TAX_TIER_MUSIC_OR_AUDIO_1'
1971
+ | 'TAX_TIER_LIVE_OR_BROADCAST_1';
1747
1972
  }
1748
1973
  interface RegionalTaxRateInfo {
1749
1974
  /** 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
1975
  eligibleForStreamingServiceTaxRate?: boolean;
1751
1976
  /** 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;
1977
+ streamingTaxType?:
1978
+ | 'STREAMING_TAX_TYPE_UNSPECIFIED'
1979
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_RENTAL'
1980
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_SALES'
1981
+ | 'STREAMING_TAX_TYPE_TELCO_VIDEO_MULTI_CHANNEL'
1982
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_RENTAL'
1983
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_SALES'
1984
+ | 'STREAMING_TAX_TYPE_TELCO_AUDIO_MULTI_CHANNEL';
1753
1985
  /** 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;
1986
+ taxTier?:
1987
+ | 'TAX_TIER_UNSPECIFIED'
1988
+ | 'TAX_TIER_BOOKS_1'
1989
+ | 'TAX_TIER_NEWS_1'
1990
+ | 'TAX_TIER_NEWS_2'
1991
+ | 'TAX_TIER_MUSIC_OR_AUDIO_1'
1992
+ | 'TAX_TIER_LIVE_OR_BROADCAST_1';
1755
1993
  }
1756
1994
  interface Regions {
1757
1995
  /** 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. */
@@ -1765,7 +2003,14 @@ declare namespace gapi.client {
1765
2003
  /** List of active artifacts on this release. */
1766
2004
  activeArtifacts?: ArtifactSummary[];
1767
2005
  /** The lifecycle state of a release. */
1768
- releaseLifecycleState?: string;
2006
+ releaseLifecycleState?:
2007
+ | 'RELEASE_LIFECYCLE_STATE_UNSPECIFIED'
2008
+ | 'RELEASE_LIFECYCLE_STATE_DRAFT'
2009
+ | 'RELEASE_LIFECYCLE_STATE_NOT_SENT_FOR_REVIEW'
2010
+ | 'RELEASE_LIFECYCLE_STATE_IN_REVIEW'
2011
+ | 'RELEASE_LIFECYCLE_STATE_APPROVED_NOT_PUBLISHED'
2012
+ | 'RELEASE_LIFECYCLE_STATE_NOT_APPROVED'
2013
+ | 'RELEASE_LIFECYCLE_STATE_PUBLISHED';
1769
2014
  /** Name of the release. */
1770
2015
  releaseName?: string;
1771
2016
  /** Identifier of the track. More on [track name](https://developers.google.com/android-publisher/tracks). */
@@ -1850,7 +2095,16 @@ declare namespace gapi.client {
1850
2095
  interface SafetyLabelsUpdateResponse {}
1851
2096
  interface ScreenDensity {
1852
2097
  /** Alias for a screen density. */
1853
- densityAlias?: string;
2098
+ densityAlias?:
2099
+ | 'DENSITY_UNSPECIFIED'
2100
+ | 'NODPI'
2101
+ | 'LDPI'
2102
+ | 'MDPI'
2103
+ | 'TVDPI'
2104
+ | 'HDPI'
2105
+ | 'XHDPI'
2106
+ | 'XXHDPI'
2107
+ | 'XXXHDPI';
1854
2108
  /** Value for density dpi. */
1855
2109
  densityDpi?: number;
1856
2110
  }
@@ -1940,7 +2194,11 @@ declare namespace gapi.client {
1940
2194
  /** The offer ID for the current subscription offer. */
1941
2195
  offerId?: string;
1942
2196
  /** The pricing phase for the billing period funded by this order. Deprecated. Use offer_phase_details instead. */
1943
- offerPhase?: string;
2197
+ offerPhase?:
2198
+ | 'OFFER_PHASE_UNSPECIFIED'
2199
+ | 'BASE'
2200
+ | 'INTRODUCTORY'
2201
+ | 'FREE_TRIAL';
1944
2202
  /** The pricing phase details for the entitlement period funded by this order. */
1945
2203
  offerPhaseDetails?: OfferPhaseDetails;
1946
2204
  /** 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,9 +2212,18 @@ declare namespace gapi.client {
1954
2212
  /** New recurring price for the subscription item. */
1955
2213
  newPrice?: Money;
1956
2214
  /** Price change mode specifies how the subscription item price is changing. */
1957
- priceChangeMode?: string;
2215
+ priceChangeMode?:
2216
+ | 'PRICE_CHANGE_MODE_UNSPECIFIED'
2217
+ | 'PRICE_DECREASE'
2218
+ | 'PRICE_INCREASE'
2219
+ | 'OPT_OUT_PRICE_INCREASE';
1958
2220
  /** State the price change is currently in. */
1959
- priceChangeState?: string;
2221
+ priceChangeState?:
2222
+ | 'PRICE_CHANGE_STATE_UNSPECIFIED'
2223
+ | 'OUTSTANDING'
2224
+ | 'CONFIRMED'
2225
+ | 'APPLIED'
2226
+ | 'CANCELED';
1960
2227
  }
1961
2228
  interface SubscriptionListing {
1962
2229
  /** 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. */
@@ -1986,7 +2253,7 @@ declare namespace gapi.client {
1986
2253
  /** Required. The region-specific configuration of this offer. Must contain at least one entry. */
1987
2254
  regionalConfigs?: RegionalSubscriptionOfferConfig[];
1988
2255
  /** 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;
2256
+ state?: 'STATE_UNSPECIFIED' | 'DRAFT' | 'ACTIVE' | 'INACTIVE';
1990
2257
  /** 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
2258
  targeting?: SubscriptionOfferTargeting;
1992
2259
  }
@@ -2112,7 +2379,10 @@ declare namespace gapi.client {
2112
2379
  }
2113
2380
  interface SubscriptionPurchaseV2 {
2114
2381
  /** The acknowledgement state of the subscription. */
2115
- acknowledgementState?: string;
2382
+ acknowledgementState?:
2383
+ | 'ACKNOWLEDGEMENT_STATE_UNSPECIFIED'
2384
+ | 'ACKNOWLEDGEMENT_STATE_PENDING'
2385
+ | 'ACKNOWLEDGEMENT_STATE_ACKNOWLEDGED';
2116
2386
  /** Additional context around canceled subscriptions. Only present if the subscription currently has subscription_state SUBSCRIPTION_STATE_CANCELED or SUBSCRIPTION_STATE_EXPIRED. */
2117
2387
  canceledStateContext?: CanceledStateContext;
2118
2388
  /** 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. */
@@ -2138,13 +2408,25 @@ declare namespace gapi.client {
2138
2408
  /** User profile associated with purchases made with 'Subscribe with Google'. */
2139
2409
  subscribeWithGoogleInfo?: SubscribeWithGoogleInfo;
2140
2410
  /** The current state of the subscription. */
2141
- subscriptionState?: string;
2411
+ subscriptionState?:
2412
+ | 'SUBSCRIPTION_STATE_UNSPECIFIED'
2413
+ | 'SUBSCRIPTION_STATE_PENDING'
2414
+ | 'SUBSCRIPTION_STATE_ACTIVE'
2415
+ | 'SUBSCRIPTION_STATE_PAUSED'
2416
+ | 'SUBSCRIPTION_STATE_IN_GRACE_PERIOD'
2417
+ | 'SUBSCRIPTION_STATE_ON_HOLD'
2418
+ | 'SUBSCRIPTION_STATE_CANCELED'
2419
+ | 'SUBSCRIPTION_STATE_EXPIRED'
2420
+ | 'SUBSCRIPTION_STATE_PENDING_PURCHASE_CANCELED';
2142
2421
  /** Only present if this subscription purchase is a test purchase. */
2143
2422
  testPurchase?: any;
2144
2423
  }
2145
2424
  interface SubscriptionTaxAndComplianceSettings {
2146
2425
  /** 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;
2426
+ eeaWithdrawalRightType?:
2427
+ | 'WITHDRAWAL_RIGHT_TYPE_UNSPECIFIED'
2428
+ | 'WITHDRAWAL_RIGHT_DIGITAL_CONTENT'
2429
+ | 'WITHDRAWAL_RIGHT_SERVICE';
2148
2430
  /** Whether this subscription is declared as a product representing a tokenized digital asset. */
2149
2431
  isTokenizedDigitalAsset?: boolean;
2150
2432
  /** 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 +2504,22 @@ declare namespace gapi.client {
2222
2504
  interface TestPurchase {}
2223
2505
  interface TestPurchaseContext {
2224
2506
  /** The fop type of the test purchase. */
2225
- fopType?: string;
2507
+ fopType?: 'FOP_TYPE_UNSPECIFIED' | 'TEST';
2226
2508
  }
2227
2509
  interface TextureCompressionFormat {
2228
2510
  /** Alias for texture compression format. */
2229
- alias?: string;
2511
+ alias?:
2512
+ | 'UNSPECIFIED_TEXTURE_COMPRESSION_FORMAT'
2513
+ | 'ETC1_RGB8'
2514
+ | 'PALETTED'
2515
+ | 'THREE_DC'
2516
+ | 'ATC'
2517
+ | 'LATC'
2518
+ | 'DXT1'
2519
+ | 'S3TC'
2520
+ | 'PVRTC'
2521
+ | 'ASTC'
2522
+ | 'ETC2';
2230
2523
  }
2231
2524
  interface TextureCompressionFormatTargeting {
2232
2525
  /** List of alternative TCFs (TCFs targeted by the sibling splits). */
@@ -2253,11 +2546,15 @@ declare namespace gapi.client {
2253
2546
  }
2254
2547
  interface TrackConfig {
2255
2548
  /** Required. Form factor of the new track. Defaults to the default track. */
2256
- formFactor?: string;
2549
+ formFactor?:
2550
+ | 'FORM_FACTOR_UNSPECIFIED'
2551
+ | 'DEFAULT'
2552
+ | 'WEAR'
2553
+ | 'AUTOMOTIVE';
2257
2554
  /** 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
2555
  track?: string;
2259
2556
  /** Required. Type of the new track. Currently, the only supported value is closedTesting. */
2260
- type?: string;
2557
+ type?: 'TRACK_TYPE_UNSPECIFIED' | 'CLOSED_TESTING';
2261
2558
  }
2262
2559
  interface TrackCountryAvailability {
2263
2560
  /** 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 +2574,12 @@ declare namespace gapi.client {
2277
2574
  /** A description of what is new in this release. */
2278
2575
  releaseNotes?: LocalizedText[];
2279
2576
  /** The status of the release. */
2280
- status?: string;
2577
+ status?:
2578
+ | 'statusUnspecified'
2579
+ | 'draft'
2580
+ | 'inProgress'
2581
+ | 'halted'
2582
+ | 'completed';
2281
2583
  /** Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when status is "inProgress" or "halted". */
2282
2584
  userFraction?: number;
2283
2585
  /** Version codes of all APKs in the release. Must include version codes to retain from previous releases. */
@@ -2303,7 +2605,10 @@ declare namespace gapi.client {
2303
2605
  /** 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
2606
  allowMissing?: boolean;
2305
2607
  /** Optional. The latency tolerance for the propagation of this offer update. Defaults to latency-sensitive. */
2306
- latencyTolerance?: string;
2608
+ latencyTolerance?:
2609
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
2610
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
2611
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
2307
2612
  /** Required. The one-time product offer to update. */
2308
2613
  oneTimeProductOffer?: OneTimeProductOffer;
2309
2614
  /** Required. The version of the available regions being used for the offer. */
@@ -2323,7 +2628,10 @@ declare namespace gapi.client {
2323
2628
  /** 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
2629
  allowMissing?: boolean;
2325
2630
  /** Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive. */
2326
- latencyTolerance?: string;
2631
+ latencyTolerance?:
2632
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
2633
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
2634
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
2327
2635
  /** Required. The one-time product to upsert. */
2328
2636
  oneTimeProduct?: OneTimeProduct;
2329
2637
  /** Required. The version of the available regions being used for the one-time product. */
@@ -2341,7 +2649,10 @@ declare namespace gapi.client {
2341
2649
  /** 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
2650
  allowMissing?: boolean;
2343
2651
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
2344
- latencyTolerance?: string;
2652
+ latencyTolerance?:
2653
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
2654
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
2655
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
2345
2656
  /** Required. The version of the available regions being used for the subscription_offer. */
2346
2657
  regionsVersion?: RegionsVersion;
2347
2658
  /** Required. The subscription offer to update. */
@@ -2359,7 +2670,10 @@ declare namespace gapi.client {
2359
2670
  /** 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
2671
  allowMissing?: boolean;
2361
2672
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
2362
- latencyTolerance?: string;
2673
+ latencyTolerance?:
2674
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
2675
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
2676
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
2363
2677
  /** Required. The version of the available regions being used for the subscription. */
2364
2678
  regionsVersion?: RegionsVersion;
2365
2679
  /** Required. The subscription to update. */
@@ -2377,9 +2691,33 @@ declare namespace gapi.client {
2377
2691
  }
2378
2692
  interface User {
2379
2693
  /** Output only. The state of the user's access to the Play Console. */
2380
- accessState?: string;
2694
+ accessState?:
2695
+ | 'ACCESS_STATE_UNSPECIFIED'
2696
+ | 'INVITED'
2697
+ | 'INVITATION_EXPIRED'
2698
+ | 'ACCESS_GRANTED'
2699
+ | 'ACCESS_EXPIRED';
2381
2700
  /** Permissions for the user which apply across the developer account. */
2382
- developerAccountPermissions?: string[];
2701
+ developerAccountPermissions?:
2702
+ | 'DEVELOPER_LEVEL_PERMISSION_UNSPECIFIED'
2703
+ | 'CAN_SEE_ALL_APPS'
2704
+ | 'CAN_VIEW_FINANCIAL_DATA_GLOBAL'
2705
+ | 'CAN_MANAGE_PERMISSIONS_GLOBAL'
2706
+ | 'CAN_EDIT_GAMES_GLOBAL'
2707
+ | 'CAN_PUBLISH_GAMES_GLOBAL'
2708
+ | 'CAN_REPLY_TO_REVIEWS_GLOBAL'
2709
+ | 'CAN_MANAGE_PUBLIC_APKS_GLOBAL'
2710
+ | 'CAN_MANAGE_TRACK_APKS_GLOBAL'
2711
+ | 'CAN_MANAGE_TRACK_USERS_GLOBAL'
2712
+ | 'CAN_MANAGE_PUBLIC_LISTING_GLOBAL'
2713
+ | 'CAN_MANAGE_DRAFT_APPS_GLOBAL'
2714
+ | 'CAN_CREATE_MANAGED_PLAY_APPS_GLOBAL'
2715
+ | 'CAN_CHANGE_MANAGED_PLAY_SETTING_GLOBAL'
2716
+ | 'CAN_MANAGE_ORDERS_GLOBAL'
2717
+ | 'CAN_MANAGE_APP_CONTENT_GLOBAL'
2718
+ | 'CAN_VIEW_NON_FINANCIAL_DATA_GLOBAL'
2719
+ | 'CAN_VIEW_APP_QUALITY_GLOBAL'
2720
+ | 'CAN_MANAGE_DEEPLINKS_GLOBAL'[];
2383
2721
  /** Immutable. The user's email address. */
2384
2722
  email?: string;
2385
2723
  /** The time at which the user's access expires, if set. When setting this value, it must always be in the future. */
@@ -2494,13 +2832,13 @@ declare namespace gapi.client {
2494
2832
  /** Creates a new device tier config for an app. */
2495
2833
  create(request: {
2496
2834
  /** V1 error format. */
2497
- '$.xgafv'?: string;
2835
+ '$.xgafv'?: '1' | '2';
2498
2836
  /** OAuth access token. */
2499
2837
  access_token?: string;
2500
2838
  /** Whether the service should accept device IDs that are unknown to Play's device catalog. */
2501
2839
  allowUnknownDevices?: boolean;
2502
2840
  /** Data format for response. */
2503
- alt?: string;
2841
+ alt?: 'json' | 'media' | 'proto';
2504
2842
  /** JSONP */
2505
2843
  callback?: string;
2506
2844
  /** Selector specifying which fields to include in a partial response. */
@@ -2525,13 +2863,13 @@ declare namespace gapi.client {
2525
2863
  create(
2526
2864
  request: {
2527
2865
  /** V1 error format. */
2528
- '$.xgafv'?: string;
2866
+ '$.xgafv'?: '1' | '2';
2529
2867
  /** OAuth access token. */
2530
2868
  access_token?: string;
2531
2869
  /** Whether the service should accept device IDs that are unknown to Play's device catalog. */
2532
2870
  allowUnknownDevices?: boolean;
2533
2871
  /** Data format for response. */
2534
- alt?: string;
2872
+ alt?: 'json' | 'media' | 'proto';
2535
2873
  /** JSONP */
2536
2874
  callback?: string;
2537
2875
  /** Selector specifying which fields to include in a partial response. */
@@ -2556,11 +2894,11 @@ declare namespace gapi.client {
2556
2894
  /** Returns a particular device tier config. */
2557
2895
  get(request?: {
2558
2896
  /** V1 error format. */
2559
- '$.xgafv'?: string;
2897
+ '$.xgafv'?: '1' | '2';
2560
2898
  /** OAuth access token. */
2561
2899
  access_token?: string;
2562
2900
  /** Data format for response. */
2563
- alt?: string;
2901
+ alt?: 'json' | 'media' | 'proto';
2564
2902
  /** JSONP */
2565
2903
  callback?: string;
2566
2904
  /** Required. Id of an existing device tier config. */
@@ -2585,11 +2923,11 @@ declare namespace gapi.client {
2585
2923
  /** Returns created device tier configs, ordered by descending creation time. */
2586
2924
  list(request?: {
2587
2925
  /** V1 error format. */
2588
- '$.xgafv'?: string;
2926
+ '$.xgafv'?: '1' | '2';
2589
2927
  /** OAuth access token. */
2590
2928
  access_token?: string;
2591
2929
  /** Data format for response. */
2592
- alt?: string;
2930
+ alt?: 'json' | 'media' | 'proto';
2593
2931
  /** JSONP */
2594
2932
  callback?: string;
2595
2933
  /** Selector specifying which fields to include in a partial response. */
@@ -2618,11 +2956,11 @@ declare namespace gapi.client {
2618
2956
  /** Returns the list of all releases for a given track. This excludes any releases that are obsolete. */
2619
2957
  list(request?: {
2620
2958
  /** V1 error format. */
2621
- '$.xgafv'?: string;
2959
+ '$.xgafv'?: '1' | '2';
2622
2960
  /** OAuth access token. */
2623
2961
  access_token?: string;
2624
2962
  /** Data format for response. */
2625
- alt?: string;
2963
+ alt?: 'json' | 'media' | 'proto';
2626
2964
  /** JSONP */
2627
2965
  callback?: string;
2628
2966
  /** Selector specifying which fields to include in a partial response. */
@@ -2650,11 +2988,11 @@ declare namespace gapi.client {
2650
2988
  /** Writes the Safety Labels declaration of an app. */
2651
2989
  dataSafety(request: {
2652
2990
  /** V1 error format. */
2653
- '$.xgafv'?: string;
2991
+ '$.xgafv'?: '1' | '2';
2654
2992
  /** OAuth access token. */
2655
2993
  access_token?: string;
2656
2994
  /** Data format for response. */
2657
- alt?: string;
2995
+ alt?: 'json' | 'media' | 'proto';
2658
2996
  /** JSONP */
2659
2997
  callback?: string;
2660
2998
  /** Selector specifying which fields to include in a partial response. */
@@ -2679,11 +3017,11 @@ declare namespace gapi.client {
2679
3017
  dataSafety(
2680
3018
  request: {
2681
3019
  /** V1 error format. */
2682
- '$.xgafv'?: string;
3020
+ '$.xgafv'?: '1' | '2';
2683
3021
  /** OAuth access token. */
2684
3022
  access_token?: string;
2685
3023
  /** Data format for response. */
2686
- alt?: string;
3024
+ alt?: 'json' | 'media' | 'proto';
2687
3025
  /** JSONP */
2688
3026
  callback?: string;
2689
3027
  /** Selector specifying which fields to include in a partial response. */
@@ -2712,11 +3050,11 @@ declare namespace gapi.client {
2712
3050
  /** Incrementally update targeting for a recovery action. Note that only the criteria selected during the creation of recovery action can be expanded. */
2713
3051
  addTargeting(request: {
2714
3052
  /** V1 error format. */
2715
- '$.xgafv'?: string;
3053
+ '$.xgafv'?: '1' | '2';
2716
3054
  /** OAuth access token. */
2717
3055
  access_token?: string;
2718
3056
  /** Data format for response. */
2719
- alt?: string;
3057
+ alt?: 'json' | 'media' | 'proto';
2720
3058
  /** Required. ID corresponding to the app recovery action. */
2721
3059
  appRecoveryId: string;
2722
3060
  /** JSONP */
@@ -2743,11 +3081,11 @@ declare namespace gapi.client {
2743
3081
  addTargeting(
2744
3082
  request: {
2745
3083
  /** V1 error format. */
2746
- '$.xgafv'?: string;
3084
+ '$.xgafv'?: '1' | '2';
2747
3085
  /** OAuth access token. */
2748
3086
  access_token?: string;
2749
3087
  /** Data format for response. */
2750
- alt?: string;
3088
+ alt?: 'json' | 'media' | 'proto';
2751
3089
  /** Required. ID corresponding to the app recovery action. */
2752
3090
  appRecoveryId: string;
2753
3091
  /** JSONP */
@@ -2774,11 +3112,11 @@ declare namespace gapi.client {
2774
3112
  /** Cancel an already executing app recovery action. Note that this action changes status of the recovery action to CANCELED. */
2775
3113
  cancel(request: {
2776
3114
  /** V1 error format. */
2777
- '$.xgafv'?: string;
3115
+ '$.xgafv'?: '1' | '2';
2778
3116
  /** OAuth access token. */
2779
3117
  access_token?: string;
2780
3118
  /** Data format for response. */
2781
- alt?: string;
3119
+ alt?: 'json' | 'media' | 'proto';
2782
3120
  /** Required. ID corresponding to the app recovery action. */
2783
3121
  appRecoveryId: string;
2784
3122
  /** JSONP */
@@ -2805,11 +3143,11 @@ declare namespace gapi.client {
2805
3143
  cancel(
2806
3144
  request: {
2807
3145
  /** V1 error format. */
2808
- '$.xgafv'?: string;
3146
+ '$.xgafv'?: '1' | '2';
2809
3147
  /** OAuth access token. */
2810
3148
  access_token?: string;
2811
3149
  /** Data format for response. */
2812
- alt?: string;
3150
+ alt?: 'json' | 'media' | 'proto';
2813
3151
  /** Required. ID corresponding to the app recovery action. */
2814
3152
  appRecoveryId: string;
2815
3153
  /** JSONP */
@@ -2836,11 +3174,11 @@ declare namespace gapi.client {
2836
3174
  /** Create an app recovery action with recovery status as DRAFT. Note that this action does not execute the recovery action. */
2837
3175
  create(request: {
2838
3176
  /** V1 error format. */
2839
- '$.xgafv'?: string;
3177
+ '$.xgafv'?: '1' | '2';
2840
3178
  /** OAuth access token. */
2841
3179
  access_token?: string;
2842
3180
  /** Data format for response. */
2843
- alt?: string;
3181
+ alt?: 'json' | 'media' | 'proto';
2844
3182
  /** JSONP */
2845
3183
  callback?: string;
2846
3184
  /** Selector specifying which fields to include in a partial response. */
@@ -2865,11 +3203,11 @@ declare namespace gapi.client {
2865
3203
  create(
2866
3204
  request: {
2867
3205
  /** V1 error format. */
2868
- '$.xgafv'?: string;
3206
+ '$.xgafv'?: '1' | '2';
2869
3207
  /** OAuth access token. */
2870
3208
  access_token?: string;
2871
3209
  /** Data format for response. */
2872
- alt?: string;
3210
+ alt?: 'json' | 'media' | 'proto';
2873
3211
  /** JSONP */
2874
3212
  callback?: string;
2875
3213
  /** Selector specifying which fields to include in a partial response. */
@@ -2894,11 +3232,11 @@ declare namespace gapi.client {
2894
3232
  /** 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
3233
  deploy(request: {
2896
3234
  /** V1 error format. */
2897
- '$.xgafv'?: string;
3235
+ '$.xgafv'?: '1' | '2';
2898
3236
  /** OAuth access token. */
2899
3237
  access_token?: string;
2900
3238
  /** Data format for response. */
2901
- alt?: string;
3239
+ alt?: 'json' | 'media' | 'proto';
2902
3240
  /** Required. ID corresponding to the app recovery action to deploy. */
2903
3241
  appRecoveryId: string;
2904
3242
  /** JSONP */
@@ -2925,11 +3263,11 @@ declare namespace gapi.client {
2925
3263
  deploy(
2926
3264
  request: {
2927
3265
  /** V1 error format. */
2928
- '$.xgafv'?: string;
3266
+ '$.xgafv'?: '1' | '2';
2929
3267
  /** OAuth access token. */
2930
3268
  access_token?: string;
2931
3269
  /** Data format for response. */
2932
- alt?: string;
3270
+ alt?: 'json' | 'media' | 'proto';
2933
3271
  /** Required. ID corresponding to the app recovery action to deploy. */
2934
3272
  appRecoveryId: string;
2935
3273
  /** JSONP */
@@ -2956,11 +3294,11 @@ declare namespace gapi.client {
2956
3294
  /** List all app recovery action resources associated with a particular package name and app version. */
2957
3295
  list(request?: {
2958
3296
  /** V1 error format. */
2959
- '$.xgafv'?: string;
3297
+ '$.xgafv'?: '1' | '2';
2960
3298
  /** OAuth access token. */
2961
3299
  access_token?: string;
2962
3300
  /** Data format for response. */
2963
- alt?: string;
3301
+ alt?: 'json' | 'media' | 'proto';
2964
3302
  /** JSONP */
2965
3303
  callback?: string;
2966
3304
  /** Selector specifying which fields to include in a partial response. */
@@ -2987,11 +3325,11 @@ declare namespace gapi.client {
2987
3325
  /** 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
3326
  addexternallyhosted(request: {
2989
3327
  /** V1 error format. */
2990
- '$.xgafv'?: string;
3328
+ '$.xgafv'?: '1' | '2';
2991
3329
  /** OAuth access token. */
2992
3330
  access_token?: string;
2993
3331
  /** Data format for response. */
2994
- alt?: string;
3332
+ alt?: 'json' | 'media' | 'proto';
2995
3333
  /** JSONP */
2996
3334
  callback?: string;
2997
3335
  /** Identifier of the edit. */
@@ -3018,11 +3356,11 @@ declare namespace gapi.client {
3018
3356
  addexternallyhosted(
3019
3357
  request: {
3020
3358
  /** V1 error format. */
3021
- '$.xgafv'?: string;
3359
+ '$.xgafv'?: '1' | '2';
3022
3360
  /** OAuth access token. */
3023
3361
  access_token?: string;
3024
3362
  /** Data format for response. */
3025
- alt?: string;
3363
+ alt?: 'json' | 'media' | 'proto';
3026
3364
  /** JSONP */
3027
3365
  callback?: string;
3028
3366
  /** Identifier of the edit. */
@@ -3049,11 +3387,11 @@ declare namespace gapi.client {
3049
3387
  /** Lists all current APKs of the app and edit. */
3050
3388
  list(request?: {
3051
3389
  /** V1 error format. */
3052
- '$.xgafv'?: string;
3390
+ '$.xgafv'?: '1' | '2';
3053
3391
  /** OAuth access token. */
3054
3392
  access_token?: string;
3055
3393
  /** Data format for response. */
3056
- alt?: string;
3394
+ alt?: 'json' | 'media' | 'proto';
3057
3395
  /** JSONP */
3058
3396
  callback?: string;
3059
3397
  /** Identifier of the edit. */
@@ -3078,11 +3416,11 @@ declare namespace gapi.client {
3078
3416
  /** Uploads an APK and adds to the current edit. */
3079
3417
  upload(request?: {
3080
3418
  /** V1 error format. */
3081
- '$.xgafv'?: string;
3419
+ '$.xgafv'?: '1' | '2';
3082
3420
  /** OAuth access token. */
3083
3421
  access_token?: string;
3084
3422
  /** Data format for response. */
3085
- alt?: string;
3423
+ alt?: 'json' | 'media' | 'proto';
3086
3424
  /** JSONP */
3087
3425
  callback?: string;
3088
3426
  /** Identifier of the edit. */
@@ -3109,11 +3447,11 @@ declare namespace gapi.client {
3109
3447
  /** Lists all current Android App Bundles of the app and edit. */
3110
3448
  list(request?: {
3111
3449
  /** V1 error format. */
3112
- '$.xgafv'?: string;
3450
+ '$.xgafv'?: '1' | '2';
3113
3451
  /** OAuth access token. */
3114
3452
  access_token?: string;
3115
3453
  /** Data format for response. */
3116
- alt?: string;
3454
+ alt?: 'json' | 'media' | 'proto';
3117
3455
  /** JSONP */
3118
3456
  callback?: string;
3119
3457
  /** Identifier of the edit. */
@@ -3138,13 +3476,13 @@ declare namespace gapi.client {
3138
3476
  /** 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
3477
  upload(request?: {
3140
3478
  /** V1 error format. */
3141
- '$.xgafv'?: string;
3479
+ '$.xgafv'?: '1' | '2';
3142
3480
  /** OAuth access token. */
3143
3481
  access_token?: string;
3144
3482
  /** Deprecated. The installation warning has been removed, it's not necessary to set this field anymore. */
3145
3483
  ackBundleInstallationWarning?: boolean;
3146
3484
  /** Data format for response. */
3147
- alt?: string;
3485
+ alt?: 'json' | 'media' | 'proto';
3148
3486
  /** JSONP */
3149
3487
  callback?: string;
3150
3488
  /** Device tier config (DTC) to be used for generating deliverables (APKs). Contains id of the DTC or "LATEST" for last uploaded DTC. */
@@ -3173,11 +3511,11 @@ declare namespace gapi.client {
3173
3511
  /** Gets country availability. */
3174
3512
  get(request?: {
3175
3513
  /** V1 error format. */
3176
- '$.xgafv'?: string;
3514
+ '$.xgafv'?: '1' | '2';
3177
3515
  /** OAuth access token. */
3178
3516
  access_token?: string;
3179
3517
  /** Data format for response. */
3180
- alt?: string;
3518
+ alt?: 'json' | 'media' | 'proto';
3181
3519
  /** JSONP */
3182
3520
  callback?: string;
3183
3521
  /** Identifier of the edit. */
@@ -3206,17 +3544,20 @@ declare namespace gapi.client {
3206
3544
  /** Uploads a new deobfuscation file and attaches to the specified APK. */
3207
3545
  upload(request?: {
3208
3546
  /** V1 error format. */
3209
- '$.xgafv'?: string;
3547
+ '$.xgafv'?: '1' | '2';
3210
3548
  /** OAuth access token. */
3211
3549
  access_token?: string;
3212
3550
  /** Data format for response. */
3213
- alt?: string;
3551
+ alt?: 'json' | 'media' | 'proto';
3214
3552
  /** The version code of the APK whose Deobfuscation File is being uploaded. */
3215
3553
  apkVersionCode: number;
3216
3554
  /** JSONP */
3217
3555
  callback?: string;
3218
3556
  /** The type of the deobfuscation file. */
3219
- deobfuscationFileType: string;
3557
+ deobfuscationFileType:
3558
+ | 'deobfuscationFileTypeUnspecified'
3559
+ | 'proguard'
3560
+ | 'nativeCode';
3220
3561
  /** Unique identifier for this edit. */
3221
3562
  editId: string;
3222
3563
  /** Selector specifying which fields to include in a partial response. */
@@ -3241,11 +3582,11 @@ declare namespace gapi.client {
3241
3582
  /** Gets details of an app. */
3242
3583
  get(request?: {
3243
3584
  /** V1 error format. */
3244
- '$.xgafv'?: string;
3585
+ '$.xgafv'?: '1' | '2';
3245
3586
  /** OAuth access token. */
3246
3587
  access_token?: string;
3247
3588
  /** Data format for response. */
3248
- alt?: string;
3589
+ alt?: 'json' | 'media' | 'proto';
3249
3590
  /** JSONP */
3250
3591
  callback?: string;
3251
3592
  /** Identifier of the edit. */
@@ -3270,11 +3611,11 @@ declare namespace gapi.client {
3270
3611
  /** Patches details of an app. */
3271
3612
  patch(request: {
3272
3613
  /** V1 error format. */
3273
- '$.xgafv'?: string;
3614
+ '$.xgafv'?: '1' | '2';
3274
3615
  /** OAuth access token. */
3275
3616
  access_token?: string;
3276
3617
  /** Data format for response. */
3277
- alt?: string;
3618
+ alt?: 'json' | 'media' | 'proto';
3278
3619
  /** JSONP */
3279
3620
  callback?: string;
3280
3621
  /** Identifier of the edit. */
@@ -3301,11 +3642,11 @@ declare namespace gapi.client {
3301
3642
  patch(
3302
3643
  request: {
3303
3644
  /** V1 error format. */
3304
- '$.xgafv'?: string;
3645
+ '$.xgafv'?: '1' | '2';
3305
3646
  /** OAuth access token. */
3306
3647
  access_token?: string;
3307
3648
  /** Data format for response. */
3308
- alt?: string;
3649
+ alt?: 'json' | 'media' | 'proto';
3309
3650
  /** JSONP */
3310
3651
  callback?: string;
3311
3652
  /** Identifier of the edit. */
@@ -3332,11 +3673,11 @@ declare namespace gapi.client {
3332
3673
  /** Updates details of an app. */
3333
3674
  update(request: {
3334
3675
  /** V1 error format. */
3335
- '$.xgafv'?: string;
3676
+ '$.xgafv'?: '1' | '2';
3336
3677
  /** OAuth access token. */
3337
3678
  access_token?: string;
3338
3679
  /** Data format for response. */
3339
- alt?: string;
3680
+ alt?: 'json' | 'media' | 'proto';
3340
3681
  /** JSONP */
3341
3682
  callback?: string;
3342
3683
  /** Identifier of the edit. */
@@ -3363,11 +3704,11 @@ declare namespace gapi.client {
3363
3704
  update(
3364
3705
  request: {
3365
3706
  /** V1 error format. */
3366
- '$.xgafv'?: string;
3707
+ '$.xgafv'?: '1' | '2';
3367
3708
  /** OAuth access token. */
3368
3709
  access_token?: string;
3369
3710
  /** Data format for response. */
3370
- alt?: string;
3711
+ alt?: 'json' | 'media' | 'proto';
3371
3712
  /** JSONP */
3372
3713
  callback?: string;
3373
3714
  /** Identifier of the edit. */
@@ -3396,11 +3737,11 @@ declare namespace gapi.client {
3396
3737
  /** Fetches the expansion file configuration for the specified APK. */
3397
3738
  get(request?: {
3398
3739
  /** V1 error format. */
3399
- '$.xgafv'?: string;
3740
+ '$.xgafv'?: '1' | '2';
3400
3741
  /** OAuth access token. */
3401
3742
  access_token?: string;
3402
3743
  /** Data format for response. */
3403
- alt?: string;
3744
+ alt?: 'json' | 'media' | 'proto';
3404
3745
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3405
3746
  apkVersionCode: number;
3406
3747
  /** JSONP */
@@ -3408,7 +3749,7 @@ declare namespace gapi.client {
3408
3749
  /** Identifier of the edit. */
3409
3750
  editId: string;
3410
3751
  /** The file type of the file configuration which is being read or modified. */
3411
- expansionFileType: string;
3752
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3412
3753
  /** Selector specifying which fields to include in a partial response. */
3413
3754
  fields?: string;
3414
3755
  /** 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 +3770,11 @@ declare namespace gapi.client {
3429
3770
  /** 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
3771
  patch(request: {
3431
3772
  /** V1 error format. */
3432
- '$.xgafv'?: string;
3773
+ '$.xgafv'?: '1' | '2';
3433
3774
  /** OAuth access token. */
3434
3775
  access_token?: string;
3435
3776
  /** Data format for response. */
3436
- alt?: string;
3777
+ alt?: 'json' | 'media' | 'proto';
3437
3778
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3438
3779
  apkVersionCode: number;
3439
3780
  /** JSONP */
@@ -3441,7 +3782,7 @@ declare namespace gapi.client {
3441
3782
  /** Identifier of the edit. */
3442
3783
  editId: string;
3443
3784
  /** The file type of the expansion file configuration which is being updated. */
3444
- expansionFileType: string;
3785
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3445
3786
  /** Selector specifying which fields to include in a partial response. */
3446
3787
  fields?: string;
3447
3788
  /** 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 +3805,11 @@ declare namespace gapi.client {
3464
3805
  patch(
3465
3806
  request: {
3466
3807
  /** V1 error format. */
3467
- '$.xgafv'?: string;
3808
+ '$.xgafv'?: '1' | '2';
3468
3809
  /** OAuth access token. */
3469
3810
  access_token?: string;
3470
3811
  /** Data format for response. */
3471
- alt?: string;
3812
+ alt?: 'json' | 'media' | 'proto';
3472
3813
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3473
3814
  apkVersionCode: number;
3474
3815
  /** JSONP */
@@ -3476,7 +3817,7 @@ declare namespace gapi.client {
3476
3817
  /** Identifier of the edit. */
3477
3818
  editId: string;
3478
3819
  /** The file type of the expansion file configuration which is being updated. */
3479
- expansionFileType: string;
3820
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3480
3821
  /** Selector specifying which fields to include in a partial response. */
3481
3822
  fields?: string;
3482
3823
  /** 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 +3840,11 @@ declare namespace gapi.client {
3499
3840
  /** 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
3841
  update(request: {
3501
3842
  /** V1 error format. */
3502
- '$.xgafv'?: string;
3843
+ '$.xgafv'?: '1' | '2';
3503
3844
  /** OAuth access token. */
3504
3845
  access_token?: string;
3505
3846
  /** Data format for response. */
3506
- alt?: string;
3847
+ alt?: 'json' | 'media' | 'proto';
3507
3848
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3508
3849
  apkVersionCode: number;
3509
3850
  /** JSONP */
@@ -3511,7 +3852,7 @@ declare namespace gapi.client {
3511
3852
  /** Identifier of the edit. */
3512
3853
  editId: string;
3513
3854
  /** The file type of the file configuration which is being read or modified. */
3514
- expansionFileType: string;
3855
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3515
3856
  /** Selector specifying which fields to include in a partial response. */
3516
3857
  fields?: string;
3517
3858
  /** 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 +3875,11 @@ declare namespace gapi.client {
3534
3875
  update(
3535
3876
  request: {
3536
3877
  /** V1 error format. */
3537
- '$.xgafv'?: string;
3878
+ '$.xgafv'?: '1' | '2';
3538
3879
  /** OAuth access token. */
3539
3880
  access_token?: string;
3540
3881
  /** Data format for response. */
3541
- alt?: string;
3882
+ alt?: 'json' | 'media' | 'proto';
3542
3883
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3543
3884
  apkVersionCode: number;
3544
3885
  /** JSONP */
@@ -3546,7 +3887,7 @@ declare namespace gapi.client {
3546
3887
  /** Identifier of the edit. */
3547
3888
  editId: string;
3548
3889
  /** The file type of the file configuration which is being read or modified. */
3549
- expansionFileType: string;
3890
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3550
3891
  /** Selector specifying which fields to include in a partial response. */
3551
3892
  fields?: string;
3552
3893
  /** 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 +3910,11 @@ declare namespace gapi.client {
3569
3910
  /** Uploads a new expansion file and attaches to the specified APK. */
3570
3911
  upload(request?: {
3571
3912
  /** V1 error format. */
3572
- '$.xgafv'?: string;
3913
+ '$.xgafv'?: '1' | '2';
3573
3914
  /** OAuth access token. */
3574
3915
  access_token?: string;
3575
3916
  /** Data format for response. */
3576
- alt?: string;
3917
+ alt?: 'json' | 'media' | 'proto';
3577
3918
  /** The version code of the APK whose expansion file configuration is being read or modified. */
3578
3919
  apkVersionCode: number;
3579
3920
  /** JSONP */
@@ -3581,7 +3922,7 @@ declare namespace gapi.client {
3581
3922
  /** Identifier of the edit. */
3582
3923
  editId: string;
3583
3924
  /** The file type of the expansion file configuration which is being updated. */
3584
- expansionFileType: string;
3925
+ expansionFileType: 'expansionFileTypeUnspecified' | 'main' | 'patch';
3585
3926
  /** Selector specifying which fields to include in a partial response. */
3586
3927
  fields?: string;
3587
3928
  /** 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 +3945,11 @@ declare namespace gapi.client {
3604
3945
  /** Deletes the image (specified by id) from the edit. */
3605
3946
  delete(request?: {
3606
3947
  /** V1 error format. */
3607
- '$.xgafv'?: string;
3948
+ '$.xgafv'?: '1' | '2';
3608
3949
  /** OAuth access token. */
3609
3950
  access_token?: string;
3610
3951
  /** Data format for response. */
3611
- alt?: string;
3952
+ alt?: 'json' | 'media' | 'proto';
3612
3953
  /** JSONP */
3613
3954
  callback?: string;
3614
3955
  /** Identifier of the edit. */
@@ -3618,7 +3959,16 @@ declare namespace gapi.client {
3618
3959
  /** Unique identifier an image within the set of images attached to this edit. */
3619
3960
  imageId: string;
3620
3961
  /** Type of the Image. */
3621
- imageType: string;
3962
+ imageType:
3963
+ | 'appImageTypeUnspecified'
3964
+ | 'phoneScreenshots'
3965
+ | 'sevenInchScreenshots'
3966
+ | 'tenInchScreenshots'
3967
+ | 'tvScreenshots'
3968
+ | 'wearScreenshots'
3969
+ | 'icon'
3970
+ | 'featureGraphic'
3971
+ | 'tvBanner';
3622
3972
  /** 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
3973
  key?: string;
3624
3974
  /** Language localization code (a BCP-47 language tag; for example, "de-AT" for Austrian German). */
@@ -3639,11 +3989,11 @@ declare namespace gapi.client {
3639
3989
  /** Deletes all images for the specified language and image type. Returns an empty response if no images are found. */
3640
3990
  deleteall(request?: {
3641
3991
  /** V1 error format. */
3642
- '$.xgafv'?: string;
3992
+ '$.xgafv'?: '1' | '2';
3643
3993
  /** OAuth access token. */
3644
3994
  access_token?: string;
3645
3995
  /** Data format for response. */
3646
- alt?: string;
3996
+ alt?: 'json' | 'media' | 'proto';
3647
3997
  /** JSONP */
3648
3998
  callback?: string;
3649
3999
  /** Identifier of the edit. */
@@ -3651,7 +4001,16 @@ declare namespace gapi.client {
3651
4001
  /** Selector specifying which fields to include in a partial response. */
3652
4002
  fields?: string;
3653
4003
  /** Type of the Image. Providing an image type that refers to no images is a no-op. */
3654
- imageType: string;
4004
+ imageType:
4005
+ | 'appImageTypeUnspecified'
4006
+ | 'phoneScreenshots'
4007
+ | 'sevenInchScreenshots'
4008
+ | 'tenInchScreenshots'
4009
+ | 'tvScreenshots'
4010
+ | 'wearScreenshots'
4011
+ | 'icon'
4012
+ | 'featureGraphic'
4013
+ | 'tvBanner';
3655
4014
  /** 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
4015
  key?: string;
3657
4016
  /** 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 +4031,11 @@ declare namespace gapi.client {
3672
4031
  /** Lists all images. The response may be empty. */
3673
4032
  list(request?: {
3674
4033
  /** V1 error format. */
3675
- '$.xgafv'?: string;
4034
+ '$.xgafv'?: '1' | '2';
3676
4035
  /** OAuth access token. */
3677
4036
  access_token?: string;
3678
4037
  /** Data format for response. */
3679
- alt?: string;
4038
+ alt?: 'json' | 'media' | 'proto';
3680
4039
  /** JSONP */
3681
4040
  callback?: string;
3682
4041
  /** Identifier of the edit. */
@@ -3684,7 +4043,16 @@ declare namespace gapi.client {
3684
4043
  /** Selector specifying which fields to include in a partial response. */
3685
4044
  fields?: string;
3686
4045
  /** Type of the Image. Providing an image type that refers to no images will return an empty response. */
3687
- imageType: string;
4046
+ imageType:
4047
+ | 'appImageTypeUnspecified'
4048
+ | 'phoneScreenshots'
4049
+ | 'sevenInchScreenshots'
4050
+ | 'tenInchScreenshots'
4051
+ | 'tvScreenshots'
4052
+ | 'wearScreenshots'
4053
+ | 'icon'
4054
+ | 'featureGraphic'
4055
+ | 'tvBanner';
3688
4056
  /** 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
4057
  key?: string;
3690
4058
  /** 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 +4073,11 @@ declare namespace gapi.client {
3705
4073
  /** Uploads an image of the specified language and image type, and adds to the edit. */
3706
4074
  upload(request?: {
3707
4075
  /** V1 error format. */
3708
- '$.xgafv'?: string;
4076
+ '$.xgafv'?: '1' | '2';
3709
4077
  /** OAuth access token. */
3710
4078
  access_token?: string;
3711
4079
  /** Data format for response. */
3712
- alt?: string;
4080
+ alt?: 'json' | 'media' | 'proto';
3713
4081
  /** JSONP */
3714
4082
  callback?: string;
3715
4083
  /** Identifier of the edit. */
@@ -3717,7 +4085,16 @@ declare namespace gapi.client {
3717
4085
  /** Selector specifying which fields to include in a partial response. */
3718
4086
  fields?: string;
3719
4087
  /** Type of the Image. */
3720
- imageType: string;
4088
+ imageType:
4089
+ | 'appImageTypeUnspecified'
4090
+ | 'phoneScreenshots'
4091
+ | 'sevenInchScreenshots'
4092
+ | 'tenInchScreenshots'
4093
+ | 'tvScreenshots'
4094
+ | 'wearScreenshots'
4095
+ | 'icon'
4096
+ | 'featureGraphic'
4097
+ | 'tvBanner';
3721
4098
  /** 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
4099
  key?: string;
3723
4100
  /** 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 +4117,11 @@ declare namespace gapi.client {
3740
4117
  /** Deletes a localized store listing. */
3741
4118
  delete(request?: {
3742
4119
  /** V1 error format. */
3743
- '$.xgafv'?: string;
4120
+ '$.xgafv'?: '1' | '2';
3744
4121
  /** OAuth access token. */
3745
4122
  access_token?: string;
3746
4123
  /** Data format for response. */
3747
- alt?: string;
4124
+ alt?: 'json' | 'media' | 'proto';
3748
4125
  /** JSONP */
3749
4126
  callback?: string;
3750
4127
  /** Identifier of the edit. */
@@ -3771,11 +4148,11 @@ declare namespace gapi.client {
3771
4148
  /** Deletes all store listings. */
3772
4149
  deleteall(request?: {
3773
4150
  /** V1 error format. */
3774
- '$.xgafv'?: string;
4151
+ '$.xgafv'?: '1' | '2';
3775
4152
  /** OAuth access token. */
3776
4153
  access_token?: string;
3777
4154
  /** Data format for response. */
3778
- alt?: string;
4155
+ alt?: 'json' | 'media' | 'proto';
3779
4156
  /** JSONP */
3780
4157
  callback?: string;
3781
4158
  /** Identifier of the edit. */
@@ -3800,11 +4177,11 @@ declare namespace gapi.client {
3800
4177
  /** Gets a localized store listing. */
3801
4178
  get(request?: {
3802
4179
  /** V1 error format. */
3803
- '$.xgafv'?: string;
4180
+ '$.xgafv'?: '1' | '2';
3804
4181
  /** OAuth access token. */
3805
4182
  access_token?: string;
3806
4183
  /** Data format for response. */
3807
- alt?: string;
4184
+ alt?: 'json' | 'media' | 'proto';
3808
4185
  /** JSONP */
3809
4186
  callback?: string;
3810
4187
  /** Identifier of the edit. */
@@ -3831,11 +4208,11 @@ declare namespace gapi.client {
3831
4208
  /** Lists all localized store listings. */
3832
4209
  list(request?: {
3833
4210
  /** V1 error format. */
3834
- '$.xgafv'?: string;
4211
+ '$.xgafv'?: '1' | '2';
3835
4212
  /** OAuth access token. */
3836
4213
  access_token?: string;
3837
4214
  /** Data format for response. */
3838
- alt?: string;
4215
+ alt?: 'json' | 'media' | 'proto';
3839
4216
  /** JSONP */
3840
4217
  callback?: string;
3841
4218
  /** Identifier of the edit. */
@@ -3860,11 +4237,11 @@ declare namespace gapi.client {
3860
4237
  /** Patches a localized store listing. */
3861
4238
  patch(request: {
3862
4239
  /** V1 error format. */
3863
- '$.xgafv'?: string;
4240
+ '$.xgafv'?: '1' | '2';
3864
4241
  /** OAuth access token. */
3865
4242
  access_token?: string;
3866
4243
  /** Data format for response. */
3867
- alt?: string;
4244
+ alt?: 'json' | 'media' | 'proto';
3868
4245
  /** JSONP */
3869
4246
  callback?: string;
3870
4247
  /** Identifier of the edit. */
@@ -3893,11 +4270,11 @@ declare namespace gapi.client {
3893
4270
  patch(
3894
4271
  request: {
3895
4272
  /** V1 error format. */
3896
- '$.xgafv'?: string;
4273
+ '$.xgafv'?: '1' | '2';
3897
4274
  /** OAuth access token. */
3898
4275
  access_token?: string;
3899
4276
  /** Data format for response. */
3900
- alt?: string;
4277
+ alt?: 'json' | 'media' | 'proto';
3901
4278
  /** JSONP */
3902
4279
  callback?: string;
3903
4280
  /** Identifier of the edit. */
@@ -3926,11 +4303,11 @@ declare namespace gapi.client {
3926
4303
  /** Creates or updates a localized store listing. */
3927
4304
  update(request: {
3928
4305
  /** V1 error format. */
3929
- '$.xgafv'?: string;
4306
+ '$.xgafv'?: '1' | '2';
3930
4307
  /** OAuth access token. */
3931
4308
  access_token?: string;
3932
4309
  /** Data format for response. */
3933
- alt?: string;
4310
+ alt?: 'json' | 'media' | 'proto';
3934
4311
  /** JSONP */
3935
4312
  callback?: string;
3936
4313
  /** Identifier of the edit. */
@@ -3959,11 +4336,11 @@ declare namespace gapi.client {
3959
4336
  update(
3960
4337
  request: {
3961
4338
  /** V1 error format. */
3962
- '$.xgafv'?: string;
4339
+ '$.xgafv'?: '1' | '2';
3963
4340
  /** OAuth access token. */
3964
4341
  access_token?: string;
3965
4342
  /** Data format for response. */
3966
- alt?: string;
4343
+ alt?: 'json' | 'media' | 'proto';
3967
4344
  /** JSONP */
3968
4345
  callback?: string;
3969
4346
  /** Identifier of the edit. */
@@ -3994,11 +4371,11 @@ declare namespace gapi.client {
3994
4371
  /** Gets testers. Note: Testers resource does not support email lists. */
3995
4372
  get(request?: {
3996
4373
  /** V1 error format. */
3997
- '$.xgafv'?: string;
4374
+ '$.xgafv'?: '1' | '2';
3998
4375
  /** OAuth access token. */
3999
4376
  access_token?: string;
4000
4377
  /** Data format for response. */
4001
- alt?: string;
4378
+ alt?: 'json' | 'media' | 'proto';
4002
4379
  /** JSONP */
4003
4380
  callback?: string;
4004
4381
  /** Identifier of the edit. */
@@ -4025,11 +4402,11 @@ declare namespace gapi.client {
4025
4402
  /** Patches testers. Note: Testers resource does not support email lists. */
4026
4403
  patch(request: {
4027
4404
  /** V1 error format. */
4028
- '$.xgafv'?: string;
4405
+ '$.xgafv'?: '1' | '2';
4029
4406
  /** OAuth access token. */
4030
4407
  access_token?: string;
4031
4408
  /** Data format for response. */
4032
- alt?: string;
4409
+ alt?: 'json' | 'media' | 'proto';
4033
4410
  /** JSONP */
4034
4411
  callback?: string;
4035
4412
  /** Identifier of the edit. */
@@ -4058,11 +4435,11 @@ declare namespace gapi.client {
4058
4435
  patch(
4059
4436
  request: {
4060
4437
  /** V1 error format. */
4061
- '$.xgafv'?: string;
4438
+ '$.xgafv'?: '1' | '2';
4062
4439
  /** OAuth access token. */
4063
4440
  access_token?: string;
4064
4441
  /** Data format for response. */
4065
- alt?: string;
4442
+ alt?: 'json' | 'media' | 'proto';
4066
4443
  /** JSONP */
4067
4444
  callback?: string;
4068
4445
  /** Identifier of the edit. */
@@ -4091,11 +4468,11 @@ declare namespace gapi.client {
4091
4468
  /** Updates testers. Note: Testers resource does not support email lists. */
4092
4469
  update(request: {
4093
4470
  /** V1 error format. */
4094
- '$.xgafv'?: string;
4471
+ '$.xgafv'?: '1' | '2';
4095
4472
  /** OAuth access token. */
4096
4473
  access_token?: string;
4097
4474
  /** Data format for response. */
4098
- alt?: string;
4475
+ alt?: 'json' | 'media' | 'proto';
4099
4476
  /** JSONP */
4100
4477
  callback?: string;
4101
4478
  /** Identifier of the edit. */
@@ -4124,11 +4501,11 @@ declare namespace gapi.client {
4124
4501
  update(
4125
4502
  request: {
4126
4503
  /** V1 error format. */
4127
- '$.xgafv'?: string;
4504
+ '$.xgafv'?: '1' | '2';
4128
4505
  /** OAuth access token. */
4129
4506
  access_token?: string;
4130
4507
  /** Data format for response. */
4131
- alt?: string;
4508
+ alt?: 'json' | 'media' | 'proto';
4132
4509
  /** JSONP */
4133
4510
  callback?: string;
4134
4511
  /** Identifier of the edit. */
@@ -4159,11 +4536,11 @@ declare namespace gapi.client {
4159
4536
  /** Creates a new track. */
4160
4537
  create(request: {
4161
4538
  /** V1 error format. */
4162
- '$.xgafv'?: string;
4539
+ '$.xgafv'?: '1' | '2';
4163
4540
  /** OAuth access token. */
4164
4541
  access_token?: string;
4165
4542
  /** Data format for response. */
4166
- alt?: string;
4543
+ alt?: 'json' | 'media' | 'proto';
4167
4544
  /** JSONP */
4168
4545
  callback?: string;
4169
4546
  /** Required. Identifier of the edit. */
@@ -4190,11 +4567,11 @@ declare namespace gapi.client {
4190
4567
  create(
4191
4568
  request: {
4192
4569
  /** V1 error format. */
4193
- '$.xgafv'?: string;
4570
+ '$.xgafv'?: '1' | '2';
4194
4571
  /** OAuth access token. */
4195
4572
  access_token?: string;
4196
4573
  /** Data format for response. */
4197
- alt?: string;
4574
+ alt?: 'json' | 'media' | 'proto';
4198
4575
  /** JSONP */
4199
4576
  callback?: string;
4200
4577
  /** Required. Identifier of the edit. */
@@ -4221,11 +4598,11 @@ declare namespace gapi.client {
4221
4598
  /** Gets a track. */
4222
4599
  get(request?: {
4223
4600
  /** V1 error format. */
4224
- '$.xgafv'?: string;
4601
+ '$.xgafv'?: '1' | '2';
4225
4602
  /** OAuth access token. */
4226
4603
  access_token?: string;
4227
4604
  /** Data format for response. */
4228
- alt?: string;
4605
+ alt?: 'json' | 'media' | 'proto';
4229
4606
  /** JSONP */
4230
4607
  callback?: string;
4231
4608
  /** Identifier of the edit. */
@@ -4252,11 +4629,11 @@ declare namespace gapi.client {
4252
4629
  /** Lists all tracks. */
4253
4630
  list(request?: {
4254
4631
  /** V1 error format. */
4255
- '$.xgafv'?: string;
4632
+ '$.xgafv'?: '1' | '2';
4256
4633
  /** OAuth access token. */
4257
4634
  access_token?: string;
4258
4635
  /** Data format for response. */
4259
- alt?: string;
4636
+ alt?: 'json' | 'media' | 'proto';
4260
4637
  /** JSONP */
4261
4638
  callback?: string;
4262
4639
  /** Identifier of the edit. */
@@ -4281,11 +4658,11 @@ declare namespace gapi.client {
4281
4658
  /** Patches a track. */
4282
4659
  patch(request: {
4283
4660
  /** V1 error format. */
4284
- '$.xgafv'?: string;
4661
+ '$.xgafv'?: '1' | '2';
4285
4662
  /** OAuth access token. */
4286
4663
  access_token?: string;
4287
4664
  /** Data format for response. */
4288
- alt?: string;
4665
+ alt?: 'json' | 'media' | 'proto';
4289
4666
  /** JSONP */
4290
4667
  callback?: string;
4291
4668
  /** Identifier of the edit. */
@@ -4314,11 +4691,11 @@ declare namespace gapi.client {
4314
4691
  patch(
4315
4692
  request: {
4316
4693
  /** V1 error format. */
4317
- '$.xgafv'?: string;
4694
+ '$.xgafv'?: '1' | '2';
4318
4695
  /** OAuth access token. */
4319
4696
  access_token?: string;
4320
4697
  /** Data format for response. */
4321
- alt?: string;
4698
+ alt?: 'json' | 'media' | 'proto';
4322
4699
  /** JSONP */
4323
4700
  callback?: string;
4324
4701
  /** Identifier of the edit. */
@@ -4347,11 +4724,11 @@ declare namespace gapi.client {
4347
4724
  /** Updates a track. */
4348
4725
  update(request: {
4349
4726
  /** V1 error format. */
4350
- '$.xgafv'?: string;
4727
+ '$.xgafv'?: '1' | '2';
4351
4728
  /** OAuth access token. */
4352
4729
  access_token?: string;
4353
4730
  /** Data format for response. */
4354
- alt?: string;
4731
+ alt?: 'json' | 'media' | 'proto';
4355
4732
  /** JSONP */
4356
4733
  callback?: string;
4357
4734
  /** Identifier of the edit. */
@@ -4380,11 +4757,11 @@ declare namespace gapi.client {
4380
4757
  update(
4381
4758
  request: {
4382
4759
  /** V1 error format. */
4383
- '$.xgafv'?: string;
4760
+ '$.xgafv'?: '1' | '2';
4384
4761
  /** OAuth access token. */
4385
4762
  access_token?: string;
4386
4763
  /** Data format for response. */
4387
- alt?: string;
4764
+ alt?: 'json' | 'media' | 'proto';
4388
4765
  /** JSONP */
4389
4766
  callback?: string;
4390
4767
  /** Identifier of the edit. */
@@ -4415,15 +4792,18 @@ declare namespace gapi.client {
4415
4792
  /** Commits an app edit. */
4416
4793
  commit(request?: {
4417
4794
  /** V1 error format. */
4418
- '$.xgafv'?: string;
4795
+ '$.xgafv'?: '1' | '2';
4419
4796
  /** OAuth access token. */
4420
4797
  access_token?: string;
4421
4798
  /** Data format for response. */
4422
- alt?: string;
4799
+ alt?: 'json' | 'media' | 'proto';
4423
4800
  /** JSONP */
4424
4801
  callback?: string;
4425
4802
  /** 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;
4803
+ changesInReviewBehavior?:
4804
+ | 'CHANGES_IN_REVIEW_BEHAVIOR_TYPE_UNSPECIFIED'
4805
+ | 'CANCEL_IN_REVIEW_AND_SUBMIT'
4806
+ | 'ERROR_IF_IN_REVIEW';
4427
4807
  /** 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
4808
  changesNotSentForReview?: boolean;
4429
4809
  /** Identifier of the edit. */
@@ -4448,11 +4828,11 @@ declare namespace gapi.client {
4448
4828
  /** Deletes an app edit. */
4449
4829
  delete(request?: {
4450
4830
  /** V1 error format. */
4451
- '$.xgafv'?: string;
4831
+ '$.xgafv'?: '1' | '2';
4452
4832
  /** OAuth access token. */
4453
4833
  access_token?: string;
4454
4834
  /** Data format for response. */
4455
- alt?: string;
4835
+ alt?: 'json' | 'media' | 'proto';
4456
4836
  /** JSONP */
4457
4837
  callback?: string;
4458
4838
  /** Identifier of the edit. */
@@ -4477,11 +4857,11 @@ declare namespace gapi.client {
4477
4857
  /** Gets an app edit. */
4478
4858
  get(request?: {
4479
4859
  /** V1 error format. */
4480
- '$.xgafv'?: string;
4860
+ '$.xgafv'?: '1' | '2';
4481
4861
  /** OAuth access token. */
4482
4862
  access_token?: string;
4483
4863
  /** Data format for response. */
4484
- alt?: string;
4864
+ alt?: 'json' | 'media' | 'proto';
4485
4865
  /** JSONP */
4486
4866
  callback?: string;
4487
4867
  /** Identifier of the edit. */
@@ -4506,11 +4886,11 @@ declare namespace gapi.client {
4506
4886
  /** Creates a new edit for an app. */
4507
4887
  insert(request: {
4508
4888
  /** V1 error format. */
4509
- '$.xgafv'?: string;
4889
+ '$.xgafv'?: '1' | '2';
4510
4890
  /** OAuth access token. */
4511
4891
  access_token?: string;
4512
4892
  /** Data format for response. */
4513
- alt?: string;
4893
+ alt?: 'json' | 'media' | 'proto';
4514
4894
  /** JSONP */
4515
4895
  callback?: string;
4516
4896
  /** Selector specifying which fields to include in a partial response. */
@@ -4535,11 +4915,11 @@ declare namespace gapi.client {
4535
4915
  insert(
4536
4916
  request: {
4537
4917
  /** V1 error format. */
4538
- '$.xgafv'?: string;
4918
+ '$.xgafv'?: '1' | '2';
4539
4919
  /** OAuth access token. */
4540
4920
  access_token?: string;
4541
4921
  /** Data format for response. */
4542
- alt?: string;
4922
+ alt?: 'json' | 'media' | 'proto';
4543
4923
  /** JSONP */
4544
4924
  callback?: string;
4545
4925
  /** Selector specifying which fields to include in a partial response. */
@@ -4564,11 +4944,11 @@ declare namespace gapi.client {
4564
4944
  /** Validates an app edit. */
4565
4945
  validate(request?: {
4566
4946
  /** V1 error format. */
4567
- '$.xgafv'?: string;
4947
+ '$.xgafv'?: '1' | '2';
4568
4948
  /** OAuth access token. */
4569
4949
  access_token?: string;
4570
4950
  /** Data format for response. */
4571
- alt?: string;
4951
+ alt?: 'json' | 'media' | 'proto';
4572
4952
  /** JSONP */
4573
4953
  callback?: string;
4574
4954
  /** Identifier of the edit. */
@@ -4605,11 +4985,11 @@ declare namespace gapi.client {
4605
4985
  /** Creates a new external transaction. */
4606
4986
  createexternaltransaction(request: {
4607
4987
  /** V1 error format. */
4608
- '$.xgafv'?: string;
4988
+ '$.xgafv'?: '1' | '2';
4609
4989
  /** OAuth access token. */
4610
4990
  access_token?: string;
4611
4991
  /** Data format for response. */
4612
- alt?: string;
4992
+ alt?: 'json' | 'media' | 'proto';
4613
4993
  /** JSONP */
4614
4994
  callback?: string;
4615
4995
  /** 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 +5016,11 @@ declare namespace gapi.client {
4636
5016
  createexternaltransaction(
4637
5017
  request: {
4638
5018
  /** V1 error format. */
4639
- '$.xgafv'?: string;
5019
+ '$.xgafv'?: '1' | '2';
4640
5020
  /** OAuth access token. */
4641
5021
  access_token?: string;
4642
5022
  /** Data format for response. */
4643
- alt?: string;
5023
+ alt?: 'json' | 'media' | 'proto';
4644
5024
  /** JSONP */
4645
5025
  callback?: string;
4646
5026
  /** 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 +5047,11 @@ declare namespace gapi.client {
4667
5047
  /** Gets an existing external transaction. */
4668
5048
  getexternaltransaction(request?: {
4669
5049
  /** V1 error format. */
4670
- '$.xgafv'?: string;
5050
+ '$.xgafv'?: '1' | '2';
4671
5051
  /** OAuth access token. */
4672
5052
  access_token?: string;
4673
5053
  /** Data format for response. */
4674
- alt?: string;
5054
+ alt?: 'json' | 'media' | 'proto';
4675
5055
  /** JSONP */
4676
5056
  callback?: string;
4677
5057
  /** Selector specifying which fields to include in a partial response. */
@@ -4694,11 +5074,11 @@ declare namespace gapi.client {
4694
5074
  /** Refunds or partially refunds an existing external transaction. */
4695
5075
  refundexternaltransaction(request: {
4696
5076
  /** V1 error format. */
4697
- '$.xgafv'?: string;
5077
+ '$.xgafv'?: '1' | '2';
4698
5078
  /** OAuth access token. */
4699
5079
  access_token?: string;
4700
5080
  /** Data format for response. */
4701
- alt?: string;
5081
+ alt?: 'json' | 'media' | 'proto';
4702
5082
  /** JSONP */
4703
5083
  callback?: string;
4704
5084
  /** Selector specifying which fields to include in a partial response. */
@@ -4723,11 +5103,11 @@ declare namespace gapi.client {
4723
5103
  refundexternaltransaction(
4724
5104
  request: {
4725
5105
  /** V1 error format. */
4726
- '$.xgafv'?: string;
5106
+ '$.xgafv'?: '1' | '2';
4727
5107
  /** OAuth access token. */
4728
5108
  access_token?: string;
4729
5109
  /** Data format for response. */
4730
- alt?: string;
5110
+ alt?: 'json' | 'media' | 'proto';
4731
5111
  /** JSONP */
4732
5112
  callback?: string;
4733
5113
  /** Selector specifying which fields to include in a partial response. */
@@ -4754,11 +5134,11 @@ declare namespace gapi.client {
4754
5134
  /** Downloads a single signed APK generated from an app bundle. */
4755
5135
  download(request?: {
4756
5136
  /** V1 error format. */
4757
- '$.xgafv'?: string;
5137
+ '$.xgafv'?: '1' | '2';
4758
5138
  /** OAuth access token. */
4759
5139
  access_token?: string;
4760
5140
  /** Data format for response. */
4761
- alt?: string;
5141
+ alt?: 'json' | 'media' | 'proto';
4762
5142
  /** JSONP */
4763
5143
  callback?: string;
4764
5144
  /** Download ID, which uniquely identifies the APK to download. Can be obtained from the response of `generatedapks.list` method. */
@@ -4785,11 +5165,11 @@ declare namespace gapi.client {
4785
5165
  /** Returns download metadata for all APKs that were generated from a given app bundle. */
4786
5166
  list(request?: {
4787
5167
  /** V1 error format. */
4788
- '$.xgafv'?: string;
5168
+ '$.xgafv'?: '1' | '2';
4789
5169
  /** OAuth access token. */
4790
5170
  access_token?: string;
4791
5171
  /** Data format for response. */
4792
- alt?: string;
5172
+ alt?: 'json' | 'media' | 'proto';
4793
5173
  /** JSONP */
4794
5174
  callback?: string;
4795
5175
  /** Selector specifying which fields to include in a partial response. */
@@ -4816,11 +5196,11 @@ declare namespace gapi.client {
4816
5196
  /** Grant access for a user to the given package. */
4817
5197
  create(request: {
4818
5198
  /** V1 error format. */
4819
- '$.xgafv'?: string;
5199
+ '$.xgafv'?: '1' | '2';
4820
5200
  /** OAuth access token. */
4821
5201
  access_token?: string;
4822
5202
  /** Data format for response. */
4823
- alt?: string;
5203
+ alt?: 'json' | 'media' | 'proto';
4824
5204
  /** JSONP */
4825
5205
  callback?: string;
4826
5206
  /** Selector specifying which fields to include in a partial response. */
@@ -4845,11 +5225,11 @@ declare namespace gapi.client {
4845
5225
  create(
4846
5226
  request: {
4847
5227
  /** V1 error format. */
4848
- '$.xgafv'?: string;
5228
+ '$.xgafv'?: '1' | '2';
4849
5229
  /** OAuth access token. */
4850
5230
  access_token?: string;
4851
5231
  /** Data format for response. */
4852
- alt?: string;
5232
+ alt?: 'json' | 'media' | 'proto';
4853
5233
  /** JSONP */
4854
5234
  callback?: string;
4855
5235
  /** Selector specifying which fields to include in a partial response. */
@@ -4874,11 +5254,11 @@ declare namespace gapi.client {
4874
5254
  /** Removes all access for the user to the given package or developer account. */
4875
5255
  delete(request?: {
4876
5256
  /** V1 error format. */
4877
- '$.xgafv'?: string;
5257
+ '$.xgafv'?: '1' | '2';
4878
5258
  /** OAuth access token. */
4879
5259
  access_token?: string;
4880
5260
  /** Data format for response. */
4881
- alt?: string;
5261
+ alt?: 'json' | 'media' | 'proto';
4882
5262
  /** JSONP */
4883
5263
  callback?: string;
4884
5264
  /** Selector specifying which fields to include in a partial response. */
@@ -4901,11 +5281,11 @@ declare namespace gapi.client {
4901
5281
  /** Updates access for the user to the given package. */
4902
5282
  patch(request: {
4903
5283
  /** V1 error format. */
4904
- '$.xgafv'?: string;
5284
+ '$.xgafv'?: '1' | '2';
4905
5285
  /** OAuth access token. */
4906
5286
  access_token?: string;
4907
5287
  /** Data format for response. */
4908
- alt?: string;
5288
+ alt?: 'json' | 'media' | 'proto';
4909
5289
  /** JSONP */
4910
5290
  callback?: string;
4911
5291
  /** Selector specifying which fields to include in a partial response. */
@@ -4932,11 +5312,11 @@ declare namespace gapi.client {
4932
5312
  patch(
4933
5313
  request: {
4934
5314
  /** V1 error format. */
4935
- '$.xgafv'?: string;
5315
+ '$.xgafv'?: '1' | '2';
4936
5316
  /** OAuth access token. */
4937
5317
  access_token?: string;
4938
5318
  /** Data format for response. */
4939
- alt?: string;
5319
+ alt?: 'json' | 'media' | 'proto';
4940
5320
  /** JSONP */
4941
5321
  callback?: string;
4942
5322
  /** Selector specifying which fields to include in a partial response. */
@@ -4965,11 +5345,11 @@ declare namespace gapi.client {
4965
5345
  /** 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
5346
  batchDelete(request: {
4967
5347
  /** V1 error format. */
4968
- '$.xgafv'?: string;
5348
+ '$.xgafv'?: '1' | '2';
4969
5349
  /** OAuth access token. */
4970
5350
  access_token?: string;
4971
5351
  /** Data format for response. */
4972
- alt?: string;
5352
+ alt?: 'json' | 'media' | 'proto';
4973
5353
  /** JSONP */
4974
5354
  callback?: string;
4975
5355
  /** Selector specifying which fields to include in a partial response. */
@@ -4994,11 +5374,11 @@ declare namespace gapi.client {
4994
5374
  batchDelete(
4995
5375
  request: {
4996
5376
  /** V1 error format. */
4997
- '$.xgafv'?: string;
5377
+ '$.xgafv'?: '1' | '2';
4998
5378
  /** OAuth access token. */
4999
5379
  access_token?: string;
5000
5380
  /** Data format for response. */
5001
- alt?: string;
5381
+ alt?: 'json' | 'media' | 'proto';
5002
5382
  /** JSONP */
5003
5383
  callback?: string;
5004
5384
  /** Selector specifying which fields to include in a partial response. */
@@ -5023,11 +5403,11 @@ declare namespace gapi.client {
5023
5403
  /** 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
5404
  batchGet(request?: {
5025
5405
  /** V1 error format. */
5026
- '$.xgafv'?: string;
5406
+ '$.xgafv'?: '1' | '2';
5027
5407
  /** OAuth access token. */
5028
5408
  access_token?: string;
5029
5409
  /** Data format for response. */
5030
- alt?: string;
5410
+ alt?: 'json' | 'media' | 'proto';
5031
5411
  /** JSONP */
5032
5412
  callback?: string;
5033
5413
  /** Selector specifying which fields to include in a partial response. */
@@ -5052,11 +5432,11 @@ declare namespace gapi.client {
5052
5432
  /** 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
5433
  batchUpdate(request: {
5054
5434
  /** V1 error format. */
5055
- '$.xgafv'?: string;
5435
+ '$.xgafv'?: '1' | '2';
5056
5436
  /** OAuth access token. */
5057
5437
  access_token?: string;
5058
5438
  /** Data format for response. */
5059
- alt?: string;
5439
+ alt?: 'json' | 'media' | 'proto';
5060
5440
  /** JSONP */
5061
5441
  callback?: string;
5062
5442
  /** Selector specifying which fields to include in a partial response. */
@@ -5081,11 +5461,11 @@ declare namespace gapi.client {
5081
5461
  batchUpdate(
5082
5462
  request: {
5083
5463
  /** V1 error format. */
5084
- '$.xgafv'?: string;
5464
+ '$.xgafv'?: '1' | '2';
5085
5465
  /** OAuth access token. */
5086
5466
  access_token?: string;
5087
5467
  /** Data format for response. */
5088
- alt?: string;
5468
+ alt?: 'json' | 'media' | 'proto';
5089
5469
  /** JSONP */
5090
5470
  callback?: string;
5091
5471
  /** Selector specifying which fields to include in a partial response. */
@@ -5110,11 +5490,11 @@ declare namespace gapi.client {
5110
5490
  /** 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
5491
  delete(request?: {
5112
5492
  /** V1 error format. */
5113
- '$.xgafv'?: string;
5493
+ '$.xgafv'?: '1' | '2';
5114
5494
  /** OAuth access token. */
5115
5495
  access_token?: string;
5116
5496
  /** Data format for response. */
5117
- alt?: string;
5497
+ alt?: 'json' | 'media' | 'proto';
5118
5498
  /** JSONP */
5119
5499
  callback?: string;
5120
5500
  /** Selector specifying which fields to include in a partial response. */
@@ -5122,7 +5502,10 @@ declare namespace gapi.client {
5122
5502
  /** 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
5503
  key?: string;
5124
5504
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5125
- latencyTolerance?: string;
5505
+ latencyTolerance?:
5506
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5507
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5508
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5126
5509
  /** OAuth 2.0 token for the current user. */
5127
5510
  oauth_token?: string;
5128
5511
  /** Package name of the app. */
@@ -5141,11 +5524,11 @@ declare namespace gapi.client {
5141
5524
  /** 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
5525
  get(request?: {
5143
5526
  /** V1 error format. */
5144
- '$.xgafv'?: string;
5527
+ '$.xgafv'?: '1' | '2';
5145
5528
  /** OAuth access token. */
5146
5529
  access_token?: string;
5147
5530
  /** Data format for response. */
5148
- alt?: string;
5531
+ alt?: 'json' | 'media' | 'proto';
5149
5532
  /** JSONP */
5150
5533
  callback?: string;
5151
5534
  /** Selector specifying which fields to include in a partial response. */
@@ -5170,11 +5553,11 @@ declare namespace gapi.client {
5170
5553
  /** 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
5554
  insert(request: {
5172
5555
  /** V1 error format. */
5173
- '$.xgafv'?: string;
5556
+ '$.xgafv'?: '1' | '2';
5174
5557
  /** OAuth access token. */
5175
5558
  access_token?: string;
5176
5559
  /** Data format for response. */
5177
- alt?: string;
5560
+ alt?: 'json' | 'media' | 'proto';
5178
5561
  /** 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
5562
  autoConvertMissingPrices?: boolean;
5180
5563
  /** JSONP */
@@ -5201,11 +5584,11 @@ declare namespace gapi.client {
5201
5584
  insert(
5202
5585
  request: {
5203
5586
  /** V1 error format. */
5204
- '$.xgafv'?: string;
5587
+ '$.xgafv'?: '1' | '2';
5205
5588
  /** OAuth access token. */
5206
5589
  access_token?: string;
5207
5590
  /** Data format for response. */
5208
- alt?: string;
5591
+ alt?: 'json' | 'media' | 'proto';
5209
5592
  /** 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
5593
  autoConvertMissingPrices?: boolean;
5211
5594
  /** JSONP */
@@ -5232,11 +5615,11 @@ declare namespace gapi.client {
5232
5615
  /** 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
5616
  list(request?: {
5234
5617
  /** V1 error format. */
5235
- '$.xgafv'?: string;
5618
+ '$.xgafv'?: '1' | '2';
5236
5619
  /** OAuth access token. */
5237
5620
  access_token?: string;
5238
5621
  /** Data format for response. */
5239
- alt?: string;
5622
+ alt?: 'json' | 'media' | 'proto';
5240
5623
  /** JSONP */
5241
5624
  callback?: string;
5242
5625
  /** Selector specifying which fields to include in a partial response. */
@@ -5265,11 +5648,11 @@ declare namespace gapi.client {
5265
5648
  /** 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
5649
  patch(request: {
5267
5650
  /** V1 error format. */
5268
- '$.xgafv'?: string;
5651
+ '$.xgafv'?: '1' | '2';
5269
5652
  /** OAuth access token. */
5270
5653
  access_token?: string;
5271
5654
  /** Data format for response. */
5272
- alt?: string;
5655
+ alt?: 'json' | 'media' | 'proto';
5273
5656
  /** 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
5657
  autoConvertMissingPrices?: boolean;
5275
5658
  /** JSONP */
@@ -5279,7 +5662,10 @@ declare namespace gapi.client {
5279
5662
  /** 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
5663
  key?: string;
5281
5664
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5282
- latencyTolerance?: string;
5665
+ latencyTolerance?:
5666
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5667
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5668
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5283
5669
  /** OAuth 2.0 token for the current user. */
5284
5670
  oauth_token?: string;
5285
5671
  /** Package name of the app. */
@@ -5300,11 +5686,11 @@ declare namespace gapi.client {
5300
5686
  patch(
5301
5687
  request: {
5302
5688
  /** V1 error format. */
5303
- '$.xgafv'?: string;
5689
+ '$.xgafv'?: '1' | '2';
5304
5690
  /** OAuth access token. */
5305
5691
  access_token?: string;
5306
5692
  /** Data format for response. */
5307
- alt?: string;
5693
+ alt?: 'json' | 'media' | 'proto';
5308
5694
  /** 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
5695
  autoConvertMissingPrices?: boolean;
5310
5696
  /** JSONP */
@@ -5314,7 +5700,10 @@ declare namespace gapi.client {
5314
5700
  /** 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
5701
  key?: string;
5316
5702
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5317
- latencyTolerance?: string;
5703
+ latencyTolerance?:
5704
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5705
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5706
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5318
5707
  /** OAuth 2.0 token for the current user. */
5319
5708
  oauth_token?: string;
5320
5709
  /** Package name of the app. */
@@ -5335,13 +5724,13 @@ declare namespace gapi.client {
5335
5724
  /** 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
5725
  update(request: {
5337
5726
  /** V1 error format. */
5338
- '$.xgafv'?: string;
5727
+ '$.xgafv'?: '1' | '2';
5339
5728
  /** OAuth access token. */
5340
5729
  access_token?: string;
5341
5730
  /** 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
5731
  allowMissing?: boolean;
5343
5732
  /** Data format for response. */
5344
- alt?: string;
5733
+ alt?: 'json' | 'media' | 'proto';
5345
5734
  /** 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
5735
  autoConvertMissingPrices?: boolean;
5347
5736
  /** JSONP */
@@ -5351,7 +5740,10 @@ declare namespace gapi.client {
5351
5740
  /** 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
5741
  key?: string;
5353
5742
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5354
- latencyTolerance?: string;
5743
+ latencyTolerance?:
5744
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5745
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5746
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5355
5747
  /** OAuth 2.0 token for the current user. */
5356
5748
  oauth_token?: string;
5357
5749
  /** Package name of the app. */
@@ -5372,13 +5764,13 @@ declare namespace gapi.client {
5372
5764
  update(
5373
5765
  request: {
5374
5766
  /** V1 error format. */
5375
- '$.xgafv'?: string;
5767
+ '$.xgafv'?: '1' | '2';
5376
5768
  /** OAuth access token. */
5377
5769
  access_token?: string;
5378
5770
  /** 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
5771
  allowMissing?: boolean;
5380
5772
  /** Data format for response. */
5381
- alt?: string;
5773
+ alt?: 'json' | 'media' | 'proto';
5382
5774
  /** 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
5775
  autoConvertMissingPrices?: boolean;
5384
5776
  /** JSONP */
@@ -5388,7 +5780,10 @@ declare namespace gapi.client {
5388
5780
  /** 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
5781
  key?: string;
5390
5782
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
5391
- latencyTolerance?: string;
5783
+ latencyTolerance?:
5784
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
5785
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
5786
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
5392
5787
  /** OAuth 2.0 token for the current user. */
5393
5788
  oauth_token?: string;
5394
5789
  /** Package name of the app. */
@@ -5411,11 +5806,11 @@ declare namespace gapi.client {
5411
5806
  /** 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
5807
  uploadapk(request?: {
5413
5808
  /** V1 error format. */
5414
- '$.xgafv'?: string;
5809
+ '$.xgafv'?: '1' | '2';
5415
5810
  /** OAuth access token. */
5416
5811
  access_token?: string;
5417
5812
  /** Data format for response. */
5418
- alt?: string;
5813
+ alt?: 'json' | 'media' | 'proto';
5419
5814
  /** JSONP */
5420
5815
  callback?: string;
5421
5816
  /** Selector specifying which fields to include in a partial response. */
@@ -5438,11 +5833,11 @@ declare namespace gapi.client {
5438
5833
  /** 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
5834
  uploadbundle(request?: {
5440
5835
  /** V1 error format. */
5441
- '$.xgafv'?: string;
5836
+ '$.xgafv'?: '1' | '2';
5442
5837
  /** OAuth access token. */
5443
5838
  access_token?: string;
5444
5839
  /** Data format for response. */
5445
- alt?: string;
5840
+ alt?: 'json' | 'media' | 'proto';
5446
5841
  /** JSONP */
5447
5842
  callback?: string;
5448
5843
  /** Selector specifying which fields to include in a partial response. */
@@ -5467,11 +5862,11 @@ declare namespace gapi.client {
5467
5862
  /** Activates a one-time product offer. */
5468
5863
  activate(request: {
5469
5864
  /** V1 error format. */
5470
- '$.xgafv'?: string;
5865
+ '$.xgafv'?: '1' | '2';
5471
5866
  /** OAuth access token. */
5472
5867
  access_token?: string;
5473
5868
  /** Data format for response. */
5474
- alt?: string;
5869
+ alt?: 'json' | 'media' | 'proto';
5475
5870
  /** JSONP */
5476
5871
  callback?: string;
5477
5872
  /** Selector specifying which fields to include in a partial response. */
@@ -5502,11 +5897,11 @@ declare namespace gapi.client {
5502
5897
  activate(
5503
5898
  request: {
5504
5899
  /** V1 error format. */
5505
- '$.xgafv'?: string;
5900
+ '$.xgafv'?: '1' | '2';
5506
5901
  /** OAuth access token. */
5507
5902
  access_token?: string;
5508
5903
  /** Data format for response. */
5509
- alt?: string;
5904
+ alt?: 'json' | 'media' | 'proto';
5510
5905
  /** JSONP */
5511
5906
  callback?: string;
5512
5907
  /** Selector specifying which fields to include in a partial response. */
@@ -5537,11 +5932,11 @@ declare namespace gapi.client {
5537
5932
  /** Deletes one or more one-time product offers. */
5538
5933
  batchDelete(request: {
5539
5934
  /** V1 error format. */
5540
- '$.xgafv'?: string;
5935
+ '$.xgafv'?: '1' | '2';
5541
5936
  /** OAuth access token. */
5542
5937
  access_token?: string;
5543
5938
  /** Data format for response. */
5544
- alt?: string;
5939
+ alt?: 'json' | 'media' | 'proto';
5545
5940
  /** JSONP */
5546
5941
  callback?: string;
5547
5942
  /** Selector specifying which fields to include in a partial response. */
@@ -5570,11 +5965,11 @@ declare namespace gapi.client {
5570
5965
  batchDelete(
5571
5966
  request: {
5572
5967
  /** V1 error format. */
5573
- '$.xgafv'?: string;
5968
+ '$.xgafv'?: '1' | '2';
5574
5969
  /** OAuth access token. */
5575
5970
  access_token?: string;
5576
5971
  /** Data format for response. */
5577
- alt?: string;
5972
+ alt?: 'json' | 'media' | 'proto';
5578
5973
  /** JSONP */
5579
5974
  callback?: string;
5580
5975
  /** Selector specifying which fields to include in a partial response. */
@@ -5603,11 +5998,11 @@ declare namespace gapi.client {
5603
5998
  /** Reads one or more one-time product offers. */
5604
5999
  batchGet(request: {
5605
6000
  /** V1 error format. */
5606
- '$.xgafv'?: string;
6001
+ '$.xgafv'?: '1' | '2';
5607
6002
  /** OAuth access token. */
5608
6003
  access_token?: string;
5609
6004
  /** Data format for response. */
5610
- alt?: string;
6005
+ alt?: 'json' | 'media' | 'proto';
5611
6006
  /** JSONP */
5612
6007
  callback?: string;
5613
6008
  /** Selector specifying which fields to include in a partial response. */
@@ -5636,11 +6031,11 @@ declare namespace gapi.client {
5636
6031
  batchGet(
5637
6032
  request: {
5638
6033
  /** V1 error format. */
5639
- '$.xgafv'?: string;
6034
+ '$.xgafv'?: '1' | '2';
5640
6035
  /** OAuth access token. */
5641
6036
  access_token?: string;
5642
6037
  /** Data format for response. */
5643
- alt?: string;
6038
+ alt?: 'json' | 'media' | 'proto';
5644
6039
  /** JSONP */
5645
6040
  callback?: string;
5646
6041
  /** Selector specifying which fields to include in a partial response. */
@@ -5669,11 +6064,11 @@ declare namespace gapi.client {
5669
6064
  /** Creates or updates one or more one-time product offers. */
5670
6065
  batchUpdate(request: {
5671
6066
  /** V1 error format. */
5672
- '$.xgafv'?: string;
6067
+ '$.xgafv'?: '1' | '2';
5673
6068
  /** OAuth access token. */
5674
6069
  access_token?: string;
5675
6070
  /** Data format for response. */
5676
- alt?: string;
6071
+ alt?: 'json' | 'media' | 'proto';
5677
6072
  /** JSONP */
5678
6073
  callback?: string;
5679
6074
  /** Selector specifying which fields to include in a partial response. */
@@ -5702,11 +6097,11 @@ declare namespace gapi.client {
5702
6097
  batchUpdate(
5703
6098
  request: {
5704
6099
  /** V1 error format. */
5705
- '$.xgafv'?: string;
6100
+ '$.xgafv'?: '1' | '2';
5706
6101
  /** OAuth access token. */
5707
6102
  access_token?: string;
5708
6103
  /** Data format for response. */
5709
- alt?: string;
6104
+ alt?: 'json' | 'media' | 'proto';
5710
6105
  /** JSONP */
5711
6106
  callback?: string;
5712
6107
  /** Selector specifying which fields to include in a partial response. */
@@ -5735,11 +6130,11 @@ declare namespace gapi.client {
5735
6130
  /** Updates a batch of one-time product offer states. */
5736
6131
  batchUpdateStates(request: {
5737
6132
  /** V1 error format. */
5738
- '$.xgafv'?: string;
6133
+ '$.xgafv'?: '1' | '2';
5739
6134
  /** OAuth access token. */
5740
6135
  access_token?: string;
5741
6136
  /** Data format for response. */
5742
- alt?: string;
6137
+ alt?: 'json' | 'media' | 'proto';
5743
6138
  /** JSONP */
5744
6139
  callback?: string;
5745
6140
  /** Selector specifying which fields to include in a partial response. */
@@ -5768,11 +6163,11 @@ declare namespace gapi.client {
5768
6163
  batchUpdateStates(
5769
6164
  request: {
5770
6165
  /** V1 error format. */
5771
- '$.xgafv'?: string;
6166
+ '$.xgafv'?: '1' | '2';
5772
6167
  /** OAuth access token. */
5773
6168
  access_token?: string;
5774
6169
  /** Data format for response. */
5775
- alt?: string;
6170
+ alt?: 'json' | 'media' | 'proto';
5776
6171
  /** JSONP */
5777
6172
  callback?: string;
5778
6173
  /** Selector specifying which fields to include in a partial response. */
@@ -5801,11 +6196,11 @@ declare namespace gapi.client {
5801
6196
  /** Cancels a one-time product offer. */
5802
6197
  cancel(request: {
5803
6198
  /** V1 error format. */
5804
- '$.xgafv'?: string;
6199
+ '$.xgafv'?: '1' | '2';
5805
6200
  /** OAuth access token. */
5806
6201
  access_token?: string;
5807
6202
  /** Data format for response. */
5808
- alt?: string;
6203
+ alt?: 'json' | 'media' | 'proto';
5809
6204
  /** JSONP */
5810
6205
  callback?: string;
5811
6206
  /** Selector specifying which fields to include in a partial response. */
@@ -5836,11 +6231,11 @@ declare namespace gapi.client {
5836
6231
  cancel(
5837
6232
  request: {
5838
6233
  /** V1 error format. */
5839
- '$.xgafv'?: string;
6234
+ '$.xgafv'?: '1' | '2';
5840
6235
  /** OAuth access token. */
5841
6236
  access_token?: string;
5842
6237
  /** Data format for response. */
5843
- alt?: string;
6238
+ alt?: 'json' | 'media' | 'proto';
5844
6239
  /** JSONP */
5845
6240
  callback?: string;
5846
6241
  /** Selector specifying which fields to include in a partial response. */
@@ -5871,11 +6266,11 @@ declare namespace gapi.client {
5871
6266
  /** Deactivates a one-time product offer. */
5872
6267
  deactivate(request: {
5873
6268
  /** V1 error format. */
5874
- '$.xgafv'?: string;
6269
+ '$.xgafv'?: '1' | '2';
5875
6270
  /** OAuth access token. */
5876
6271
  access_token?: string;
5877
6272
  /** Data format for response. */
5878
- alt?: string;
6273
+ alt?: 'json' | 'media' | 'proto';
5879
6274
  /** JSONP */
5880
6275
  callback?: string;
5881
6276
  /** Selector specifying which fields to include in a partial response. */
@@ -5906,11 +6301,11 @@ declare namespace gapi.client {
5906
6301
  deactivate(
5907
6302
  request: {
5908
6303
  /** V1 error format. */
5909
- '$.xgafv'?: string;
6304
+ '$.xgafv'?: '1' | '2';
5910
6305
  /** OAuth access token. */
5911
6306
  access_token?: string;
5912
6307
  /** Data format for response. */
5913
- alt?: string;
6308
+ alt?: 'json' | 'media' | 'proto';
5914
6309
  /** JSONP */
5915
6310
  callback?: string;
5916
6311
  /** Selector specifying which fields to include in a partial response. */
@@ -5941,11 +6336,11 @@ declare namespace gapi.client {
5941
6336
  /** Lists all offers under a given app, product, or purchase option. */
5942
6337
  list(request?: {
5943
6338
  /** V1 error format. */
5944
- '$.xgafv'?: string;
6339
+ '$.xgafv'?: '1' | '2';
5945
6340
  /** OAuth access token. */
5946
6341
  access_token?: string;
5947
6342
  /** Data format for response. */
5948
- alt?: string;
6343
+ alt?: 'json' | 'media' | 'proto';
5949
6344
  /** JSONP */
5950
6345
  callback?: string;
5951
6346
  /** Selector specifying which fields to include in a partial response. */
@@ -5978,11 +6373,11 @@ declare namespace gapi.client {
5978
6373
  /** 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
6374
  batchDelete(request: {
5980
6375
  /** V1 error format. */
5981
- '$.xgafv'?: string;
6376
+ '$.xgafv'?: '1' | '2';
5982
6377
  /** OAuth access token. */
5983
6378
  access_token?: string;
5984
6379
  /** Data format for response. */
5985
- alt?: string;
6380
+ alt?: 'json' | 'media' | 'proto';
5986
6381
  /** JSONP */
5987
6382
  callback?: string;
5988
6383
  /** Selector specifying which fields to include in a partial response. */
@@ -6009,11 +6404,11 @@ declare namespace gapi.client {
6009
6404
  batchDelete(
6010
6405
  request: {
6011
6406
  /** V1 error format. */
6012
- '$.xgafv'?: string;
6407
+ '$.xgafv'?: '1' | '2';
6013
6408
  /** OAuth access token. */
6014
6409
  access_token?: string;
6015
6410
  /** Data format for response. */
6016
- alt?: string;
6411
+ alt?: 'json' | 'media' | 'proto';
6017
6412
  /** JSONP */
6018
6413
  callback?: string;
6019
6414
  /** Selector specifying which fields to include in a partial response. */
@@ -6040,11 +6435,11 @@ declare namespace gapi.client {
6040
6435
  /** Activates or deactivates purchase options across one or multiple one-time products. */
6041
6436
  batchUpdateStates(request: {
6042
6437
  /** V1 error format. */
6043
- '$.xgafv'?: string;
6438
+ '$.xgafv'?: '1' | '2';
6044
6439
  /** OAuth access token. */
6045
6440
  access_token?: string;
6046
6441
  /** Data format for response. */
6047
- alt?: string;
6442
+ alt?: 'json' | 'media' | 'proto';
6048
6443
  /** JSONP */
6049
6444
  callback?: string;
6050
6445
  /** Selector specifying which fields to include in a partial response. */
@@ -6071,11 +6466,11 @@ declare namespace gapi.client {
6071
6466
  batchUpdateStates(
6072
6467
  request: {
6073
6468
  /** V1 error format. */
6074
- '$.xgafv'?: string;
6469
+ '$.xgafv'?: '1' | '2';
6075
6470
  /** OAuth access token. */
6076
6471
  access_token?: string;
6077
6472
  /** Data format for response. */
6078
- alt?: string;
6473
+ alt?: 'json' | 'media' | 'proto';
6079
6474
  /** JSONP */
6080
6475
  callback?: string;
6081
6476
  /** Selector specifying which fields to include in a partial response. */
@@ -6105,11 +6500,11 @@ declare namespace gapi.client {
6105
6500
  /** Deletes one or more one-time products. */
6106
6501
  batchDelete(request: {
6107
6502
  /** V1 error format. */
6108
- '$.xgafv'?: string;
6503
+ '$.xgafv'?: '1' | '2';
6109
6504
  /** OAuth access token. */
6110
6505
  access_token?: string;
6111
6506
  /** Data format for response. */
6112
- alt?: string;
6507
+ alt?: 'json' | 'media' | 'proto';
6113
6508
  /** JSONP */
6114
6509
  callback?: string;
6115
6510
  /** Selector specifying which fields to include in a partial response. */
@@ -6134,11 +6529,11 @@ declare namespace gapi.client {
6134
6529
  batchDelete(
6135
6530
  request: {
6136
6531
  /** V1 error format. */
6137
- '$.xgafv'?: string;
6532
+ '$.xgafv'?: '1' | '2';
6138
6533
  /** OAuth access token. */
6139
6534
  access_token?: string;
6140
6535
  /** Data format for response. */
6141
- alt?: string;
6536
+ alt?: 'json' | 'media' | 'proto';
6142
6537
  /** JSONP */
6143
6538
  callback?: string;
6144
6539
  /** Selector specifying which fields to include in a partial response. */
@@ -6163,11 +6558,11 @@ declare namespace gapi.client {
6163
6558
  /** Reads one or more one-time products. */
6164
6559
  batchGet(request?: {
6165
6560
  /** V1 error format. */
6166
- '$.xgafv'?: string;
6561
+ '$.xgafv'?: '1' | '2';
6167
6562
  /** OAuth access token. */
6168
6563
  access_token?: string;
6169
6564
  /** Data format for response. */
6170
- alt?: string;
6565
+ alt?: 'json' | 'media' | 'proto';
6171
6566
  /** JSONP */
6172
6567
  callback?: string;
6173
6568
  /** Selector specifying which fields to include in a partial response. */
@@ -6192,11 +6587,11 @@ declare namespace gapi.client {
6192
6587
  /** Creates or updates one or more one-time products. */
6193
6588
  batchUpdate(request: {
6194
6589
  /** V1 error format. */
6195
- '$.xgafv'?: string;
6590
+ '$.xgafv'?: '1' | '2';
6196
6591
  /** OAuth access token. */
6197
6592
  access_token?: string;
6198
6593
  /** Data format for response. */
6199
- alt?: string;
6594
+ alt?: 'json' | 'media' | 'proto';
6200
6595
  /** JSONP */
6201
6596
  callback?: string;
6202
6597
  /** Selector specifying which fields to include in a partial response. */
@@ -6221,11 +6616,11 @@ declare namespace gapi.client {
6221
6616
  batchUpdate(
6222
6617
  request: {
6223
6618
  /** V1 error format. */
6224
- '$.xgafv'?: string;
6619
+ '$.xgafv'?: '1' | '2';
6225
6620
  /** OAuth access token. */
6226
6621
  access_token?: string;
6227
6622
  /** Data format for response. */
6228
- alt?: string;
6623
+ alt?: 'json' | 'media' | 'proto';
6229
6624
  /** JSONP */
6230
6625
  callback?: string;
6231
6626
  /** Selector specifying which fields to include in a partial response. */
@@ -6250,11 +6645,11 @@ declare namespace gapi.client {
6250
6645
  /** Deletes a one-time product. */
6251
6646
  delete(request?: {
6252
6647
  /** V1 error format. */
6253
- '$.xgafv'?: string;
6648
+ '$.xgafv'?: '1' | '2';
6254
6649
  /** OAuth access token. */
6255
6650
  access_token?: string;
6256
6651
  /** Data format for response. */
6257
- alt?: string;
6652
+ alt?: 'json' | 'media' | 'proto';
6258
6653
  /** JSONP */
6259
6654
  callback?: string;
6260
6655
  /** Selector specifying which fields to include in a partial response. */
@@ -6262,7 +6657,10 @@ declare namespace gapi.client {
6262
6657
  /** 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
6658
  key?: string;
6264
6659
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
6265
- latencyTolerance?: string;
6660
+ latencyTolerance?:
6661
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
6662
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
6663
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6266
6664
  /** OAuth 2.0 token for the current user. */
6267
6665
  oauth_token?: string;
6268
6666
  /** Required. The parent app (package name) of the one-time product to delete. */
@@ -6281,11 +6679,11 @@ declare namespace gapi.client {
6281
6679
  /** Reads a single one-time product. */
6282
6680
  get(request?: {
6283
6681
  /** V1 error format. */
6284
- '$.xgafv'?: string;
6682
+ '$.xgafv'?: '1' | '2';
6285
6683
  /** OAuth access token. */
6286
6684
  access_token?: string;
6287
6685
  /** Data format for response. */
6288
- alt?: string;
6686
+ alt?: 'json' | 'media' | 'proto';
6289
6687
  /** JSONP */
6290
6688
  callback?: string;
6291
6689
  /** Selector specifying which fields to include in a partial response. */
@@ -6310,11 +6708,11 @@ declare namespace gapi.client {
6310
6708
  /** Lists all one-time products under a given app. */
6311
6709
  list(request?: {
6312
6710
  /** V1 error format. */
6313
- '$.xgafv'?: string;
6711
+ '$.xgafv'?: '1' | '2';
6314
6712
  /** OAuth access token. */
6315
6713
  access_token?: string;
6316
6714
  /** Data format for response. */
6317
- alt?: string;
6715
+ alt?: 'json' | 'media' | 'proto';
6318
6716
  /** JSONP */
6319
6717
  callback?: string;
6320
6718
  /** Selector specifying which fields to include in a partial response. */
@@ -6341,13 +6739,13 @@ declare namespace gapi.client {
6341
6739
  /** Creates or updates a one-time product. */
6342
6740
  patch(request: {
6343
6741
  /** V1 error format. */
6344
- '$.xgafv'?: string;
6742
+ '$.xgafv'?: '1' | '2';
6345
6743
  /** OAuth access token. */
6346
6744
  access_token?: string;
6347
6745
  /** 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
6746
  allowMissing?: boolean;
6349
6747
  /** Data format for response. */
6350
- alt?: string;
6748
+ alt?: 'json' | 'media' | 'proto';
6351
6749
  /** JSONP */
6352
6750
  callback?: string;
6353
6751
  /** Selector specifying which fields to include in a partial response. */
@@ -6355,7 +6753,10 @@ declare namespace gapi.client {
6355
6753
  /** 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
6754
  key?: string;
6357
6755
  /** Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive. */
6358
- latencyTolerance?: string;
6756
+ latencyTolerance?:
6757
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
6758
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
6759
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6359
6760
  /** OAuth 2.0 token for the current user. */
6360
6761
  oauth_token?: string;
6361
6762
  /** Required. Immutable. Package name of the parent app. */
@@ -6380,13 +6781,13 @@ declare namespace gapi.client {
6380
6781
  patch(
6381
6782
  request: {
6382
6783
  /** V1 error format. */
6383
- '$.xgafv'?: string;
6784
+ '$.xgafv'?: '1' | '2';
6384
6785
  /** OAuth access token. */
6385
6786
  access_token?: string;
6386
6787
  /** 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
6788
  allowMissing?: boolean;
6388
6789
  /** Data format for response. */
6389
- alt?: string;
6790
+ alt?: 'json' | 'media' | 'proto';
6390
6791
  /** JSONP */
6391
6792
  callback?: string;
6392
6793
  /** Selector specifying which fields to include in a partial response. */
@@ -6394,7 +6795,10 @@ declare namespace gapi.client {
6394
6795
  /** 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
6796
  key?: string;
6396
6797
  /** Optional. The latency tolerance for the propagation of this product upsert. Defaults to latency-sensitive. */
6397
- latencyTolerance?: string;
6798
+ latencyTolerance?:
6799
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
6800
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
6801
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6398
6802
  /** OAuth 2.0 token for the current user. */
6399
6803
  oauth_token?: string;
6400
6804
  /** Required. Immutable. Package name of the parent app. */
@@ -6422,11 +6826,11 @@ declare namespace gapi.client {
6422
6826
  /** Activates a subscription offer. Once activated, subscription offers will be available to new subscribers. */
6423
6827
  activate(request: {
6424
6828
  /** V1 error format. */
6425
- '$.xgafv'?: string;
6829
+ '$.xgafv'?: '1' | '2';
6426
6830
  /** OAuth access token. */
6427
6831
  access_token?: string;
6428
6832
  /** Data format for response. */
6429
- alt?: string;
6833
+ alt?: 'json' | 'media' | 'proto';
6430
6834
  /** Required. The parent base plan (ID) of the offer to activate. */
6431
6835
  basePlanId: string;
6432
6836
  /** JSONP */
@@ -6457,11 +6861,11 @@ declare namespace gapi.client {
6457
6861
  activate(
6458
6862
  request: {
6459
6863
  /** V1 error format. */
6460
- '$.xgafv'?: string;
6864
+ '$.xgafv'?: '1' | '2';
6461
6865
  /** OAuth access token. */
6462
6866
  access_token?: string;
6463
6867
  /** Data format for response. */
6464
- alt?: string;
6868
+ alt?: 'json' | 'media' | 'proto';
6465
6869
  /** Required. The parent base plan (ID) of the offer to activate. */
6466
6870
  basePlanId: string;
6467
6871
  /** JSONP */
@@ -6492,11 +6896,11 @@ declare namespace gapi.client {
6492
6896
  /** Reads one or more subscription offers. */
6493
6897
  batchGet(request: {
6494
6898
  /** V1 error format. */
6495
- '$.xgafv'?: string;
6899
+ '$.xgafv'?: '1' | '2';
6496
6900
  /** OAuth access token. */
6497
6901
  access_token?: string;
6498
6902
  /** Data format for response. */
6499
- alt?: string;
6903
+ alt?: 'json' | 'media' | 'proto';
6500
6904
  /** 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
6905
  basePlanId: string;
6502
6906
  /** JSONP */
@@ -6525,11 +6929,11 @@ declare namespace gapi.client {
6525
6929
  batchGet(
6526
6930
  request: {
6527
6931
  /** V1 error format. */
6528
- '$.xgafv'?: string;
6932
+ '$.xgafv'?: '1' | '2';
6529
6933
  /** OAuth access token. */
6530
6934
  access_token?: string;
6531
6935
  /** Data format for response. */
6532
- alt?: string;
6936
+ alt?: 'json' | 'media' | 'proto';
6533
6937
  /** 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
6938
  basePlanId: string;
6535
6939
  /** JSONP */
@@ -6558,11 +6962,11 @@ declare namespace gapi.client {
6558
6962
  /** 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
6963
  batchUpdate(request: {
6560
6964
  /** V1 error format. */
6561
- '$.xgafv'?: string;
6965
+ '$.xgafv'?: '1' | '2';
6562
6966
  /** OAuth access token. */
6563
6967
  access_token?: string;
6564
6968
  /** Data format for response. */
6565
- alt?: string;
6969
+ alt?: 'json' | 'media' | 'proto';
6566
6970
  /** 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
6971
  basePlanId: string;
6568
6972
  /** JSONP */
@@ -6591,11 +6995,11 @@ declare namespace gapi.client {
6591
6995
  batchUpdate(
6592
6996
  request: {
6593
6997
  /** V1 error format. */
6594
- '$.xgafv'?: string;
6998
+ '$.xgafv'?: '1' | '2';
6595
6999
  /** OAuth access token. */
6596
7000
  access_token?: string;
6597
7001
  /** Data format for response. */
6598
- alt?: string;
7002
+ alt?: 'json' | 'media' | 'proto';
6599
7003
  /** 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
7004
  basePlanId: string;
6601
7005
  /** JSONP */
@@ -6624,11 +7028,11 @@ declare namespace gapi.client {
6624
7028
  /** 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
7029
  batchUpdateStates(request: {
6626
7030
  /** V1 error format. */
6627
- '$.xgafv'?: string;
7031
+ '$.xgafv'?: '1' | '2';
6628
7032
  /** OAuth access token. */
6629
7033
  access_token?: string;
6630
7034
  /** Data format for response. */
6631
- alt?: string;
7035
+ alt?: 'json' | 'media' | 'proto';
6632
7036
  /** 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
7037
  basePlanId: string;
6634
7038
  /** JSONP */
@@ -6657,11 +7061,11 @@ declare namespace gapi.client {
6657
7061
  batchUpdateStates(
6658
7062
  request: {
6659
7063
  /** V1 error format. */
6660
- '$.xgafv'?: string;
7064
+ '$.xgafv'?: '1' | '2';
6661
7065
  /** OAuth access token. */
6662
7066
  access_token?: string;
6663
7067
  /** Data format for response. */
6664
- alt?: string;
7068
+ alt?: 'json' | 'media' | 'proto';
6665
7069
  /** 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
7070
  basePlanId: string;
6667
7071
  /** JSONP */
@@ -6690,11 +7094,11 @@ declare namespace gapi.client {
6690
7094
  /** 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
7095
  create(request: {
6692
7096
  /** V1 error format. */
6693
- '$.xgafv'?: string;
7097
+ '$.xgafv'?: '1' | '2';
6694
7098
  /** OAuth access token. */
6695
7099
  access_token?: string;
6696
7100
  /** Data format for response. */
6697
- alt?: string;
7101
+ alt?: 'json' | 'media' | 'proto';
6698
7102
  /** 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
7103
  basePlanId: string;
6700
7104
  /** JSONP */
@@ -6727,11 +7131,11 @@ declare namespace gapi.client {
6727
7131
  create(
6728
7132
  request: {
6729
7133
  /** V1 error format. */
6730
- '$.xgafv'?: string;
7134
+ '$.xgafv'?: '1' | '2';
6731
7135
  /** OAuth access token. */
6732
7136
  access_token?: string;
6733
7137
  /** Data format for response. */
6734
- alt?: string;
7138
+ alt?: 'json' | 'media' | 'proto';
6735
7139
  /** 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
7140
  basePlanId: string;
6737
7141
  /** JSONP */
@@ -6764,11 +7168,11 @@ declare namespace gapi.client {
6764
7168
  /** Deactivates a subscription offer. Once deactivated, existing subscribers will maintain their subscription, but the offer will become unavailable to new subscribers. */
6765
7169
  deactivate(request: {
6766
7170
  /** V1 error format. */
6767
- '$.xgafv'?: string;
7171
+ '$.xgafv'?: '1' | '2';
6768
7172
  /** OAuth access token. */
6769
7173
  access_token?: string;
6770
7174
  /** Data format for response. */
6771
- alt?: string;
7175
+ alt?: 'json' | 'media' | 'proto';
6772
7176
  /** Required. The parent base plan (ID) of the offer to deactivate. */
6773
7177
  basePlanId: string;
6774
7178
  /** JSONP */
@@ -6799,11 +7203,11 @@ declare namespace gapi.client {
6799
7203
  deactivate(
6800
7204
  request: {
6801
7205
  /** V1 error format. */
6802
- '$.xgafv'?: string;
7206
+ '$.xgafv'?: '1' | '2';
6803
7207
  /** OAuth access token. */
6804
7208
  access_token?: string;
6805
7209
  /** Data format for response. */
6806
- alt?: string;
7210
+ alt?: 'json' | 'media' | 'proto';
6807
7211
  /** Required. The parent base plan (ID) of the offer to deactivate. */
6808
7212
  basePlanId: string;
6809
7213
  /** JSONP */
@@ -6834,11 +7238,11 @@ declare namespace gapi.client {
6834
7238
  /** Deletes a subscription offer. Can only be done for draft offers. This action is irreversible. */
6835
7239
  delete(request?: {
6836
7240
  /** V1 error format. */
6837
- '$.xgafv'?: string;
7241
+ '$.xgafv'?: '1' | '2';
6838
7242
  /** OAuth access token. */
6839
7243
  access_token?: string;
6840
7244
  /** Data format for response. */
6841
- alt?: string;
7245
+ alt?: 'json' | 'media' | 'proto';
6842
7246
  /** Required. The parent base plan (ID) of the offer to delete. */
6843
7247
  basePlanId: string;
6844
7248
  /** JSONP */
@@ -6867,11 +7271,11 @@ declare namespace gapi.client {
6867
7271
  /** Reads a single offer */
6868
7272
  get(request?: {
6869
7273
  /** V1 error format. */
6870
- '$.xgafv'?: string;
7274
+ '$.xgafv'?: '1' | '2';
6871
7275
  /** OAuth access token. */
6872
7276
  access_token?: string;
6873
7277
  /** Data format for response. */
6874
- alt?: string;
7278
+ alt?: 'json' | 'media' | 'proto';
6875
7279
  /** Required. The parent base plan (ID) of the offer to get. */
6876
7280
  basePlanId: string;
6877
7281
  /** JSONP */
@@ -6900,11 +7304,11 @@ declare namespace gapi.client {
6900
7304
  /** Lists all offers under a given subscription. */
6901
7305
  list(request?: {
6902
7306
  /** V1 error format. */
6903
- '$.xgafv'?: string;
7307
+ '$.xgafv'?: '1' | '2';
6904
7308
  /** OAuth access token. */
6905
7309
  access_token?: string;
6906
7310
  /** Data format for response. */
6907
- alt?: string;
7311
+ alt?: 'json' | 'media' | 'proto';
6908
7312
  /** 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
7313
  basePlanId: string;
6910
7314
  /** JSONP */
@@ -6935,13 +7339,13 @@ declare namespace gapi.client {
6935
7339
  /** Updates an existing subscription offer. */
6936
7340
  patch(request: {
6937
7341
  /** V1 error format. */
6938
- '$.xgafv'?: string;
7342
+ '$.xgafv'?: '1' | '2';
6939
7343
  /** OAuth access token. */
6940
7344
  access_token?: string;
6941
7345
  /** 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
7346
  allowMissing?: boolean;
6943
7347
  /** Data format for response. */
6944
- alt?: string;
7348
+ alt?: 'json' | 'media' | 'proto';
6945
7349
  /** Required. Immutable. The ID of the base plan to which this offer is an extension. */
6946
7350
  basePlanId: string;
6947
7351
  /** JSONP */
@@ -6951,7 +7355,10 @@ declare namespace gapi.client {
6951
7355
  /** 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
7356
  key?: string;
6953
7357
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
6954
- latencyTolerance?: string;
7358
+ latencyTolerance?:
7359
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
7360
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
7361
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6955
7362
  /** OAuth 2.0 token for the current user. */
6956
7363
  oauth_token?: string;
6957
7364
  /** Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan. */
@@ -6978,13 +7385,13 @@ declare namespace gapi.client {
6978
7385
  patch(
6979
7386
  request: {
6980
7387
  /** V1 error format. */
6981
- '$.xgafv'?: string;
7388
+ '$.xgafv'?: '1' | '2';
6982
7389
  /** OAuth access token. */
6983
7390
  access_token?: string;
6984
7391
  /** 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
7392
  allowMissing?: boolean;
6986
7393
  /** Data format for response. */
6987
- alt?: string;
7394
+ alt?: 'json' | 'media' | 'proto';
6988
7395
  /** Required. Immutable. The ID of the base plan to which this offer is an extension. */
6989
7396
  basePlanId: string;
6990
7397
  /** JSONP */
@@ -6994,7 +7401,10 @@ declare namespace gapi.client {
6994
7401
  /** 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
7402
  key?: string;
6996
7403
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
6997
- latencyTolerance?: string;
7404
+ latencyTolerance?:
7405
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
7406
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
7407
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
6998
7408
  /** OAuth 2.0 token for the current user. */
6999
7409
  oauth_token?: string;
7000
7410
  /** Required. Immutable. Unique ID of this subscription offer. Must be unique within the base plan. */
@@ -7023,11 +7433,11 @@ declare namespace gapi.client {
7023
7433
  /** Activates a base plan. Once activated, base plans will be available to new subscribers. */
7024
7434
  activate(request: {
7025
7435
  /** V1 error format. */
7026
- '$.xgafv'?: string;
7436
+ '$.xgafv'?: '1' | '2';
7027
7437
  /** OAuth access token. */
7028
7438
  access_token?: string;
7029
7439
  /** Data format for response. */
7030
- alt?: string;
7440
+ alt?: 'json' | 'media' | 'proto';
7031
7441
  /** Required. The unique base plan ID of the base plan to activate. */
7032
7442
  basePlanId: string;
7033
7443
  /** JSONP */
@@ -7056,11 +7466,11 @@ declare namespace gapi.client {
7056
7466
  activate(
7057
7467
  request: {
7058
7468
  /** V1 error format. */
7059
- '$.xgafv'?: string;
7469
+ '$.xgafv'?: '1' | '2';
7060
7470
  /** OAuth access token. */
7061
7471
  access_token?: string;
7062
7472
  /** Data format for response. */
7063
- alt?: string;
7473
+ alt?: 'json' | 'media' | 'proto';
7064
7474
  /** Required. The unique base plan ID of the base plan to activate. */
7065
7475
  basePlanId: string;
7066
7476
  /** JSONP */
@@ -7089,11 +7499,11 @@ declare namespace gapi.client {
7089
7499
  /** 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
7500
  batchMigratePrices(request: {
7091
7501
  /** V1 error format. */
7092
- '$.xgafv'?: string;
7502
+ '$.xgafv'?: '1' | '2';
7093
7503
  /** OAuth access token. */
7094
7504
  access_token?: string;
7095
7505
  /** Data format for response. */
7096
- alt?: string;
7506
+ alt?: 'json' | 'media' | 'proto';
7097
7507
  /** JSONP */
7098
7508
  callback?: string;
7099
7509
  /** Selector specifying which fields to include in a partial response. */
@@ -7120,11 +7530,11 @@ declare namespace gapi.client {
7120
7530
  batchMigratePrices(
7121
7531
  request: {
7122
7532
  /** V1 error format. */
7123
- '$.xgafv'?: string;
7533
+ '$.xgafv'?: '1' | '2';
7124
7534
  /** OAuth access token. */
7125
7535
  access_token?: string;
7126
7536
  /** Data format for response. */
7127
- alt?: string;
7537
+ alt?: 'json' | 'media' | 'proto';
7128
7538
  /** JSONP */
7129
7539
  callback?: string;
7130
7540
  /** Selector specifying which fields to include in a partial response. */
@@ -7151,11 +7561,11 @@ declare namespace gapi.client {
7151
7561
  /** 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
7562
  batchUpdateStates(request: {
7153
7563
  /** V1 error format. */
7154
- '$.xgafv'?: string;
7564
+ '$.xgafv'?: '1' | '2';
7155
7565
  /** OAuth access token. */
7156
7566
  access_token?: string;
7157
7567
  /** Data format for response. */
7158
- alt?: string;
7568
+ alt?: 'json' | 'media' | 'proto';
7159
7569
  /** JSONP */
7160
7570
  callback?: string;
7161
7571
  /** Selector specifying which fields to include in a partial response. */
@@ -7182,11 +7592,11 @@ declare namespace gapi.client {
7182
7592
  batchUpdateStates(
7183
7593
  request: {
7184
7594
  /** V1 error format. */
7185
- '$.xgafv'?: string;
7595
+ '$.xgafv'?: '1' | '2';
7186
7596
  /** OAuth access token. */
7187
7597
  access_token?: string;
7188
7598
  /** Data format for response. */
7189
- alt?: string;
7599
+ alt?: 'json' | 'media' | 'proto';
7190
7600
  /** JSONP */
7191
7601
  callback?: string;
7192
7602
  /** Selector specifying which fields to include in a partial response. */
@@ -7213,11 +7623,11 @@ declare namespace gapi.client {
7213
7623
  /** Deactivates a base plan. Once deactivated, the base plan will become unavailable to new subscribers, but existing subscribers will maintain their subscription */
7214
7624
  deactivate(request: {
7215
7625
  /** V1 error format. */
7216
- '$.xgafv'?: string;
7626
+ '$.xgafv'?: '1' | '2';
7217
7627
  /** OAuth access token. */
7218
7628
  access_token?: string;
7219
7629
  /** Data format for response. */
7220
- alt?: string;
7630
+ alt?: 'json' | 'media' | 'proto';
7221
7631
  /** Required. The unique base plan ID of the base plan to deactivate. */
7222
7632
  basePlanId: string;
7223
7633
  /** JSONP */
@@ -7246,11 +7656,11 @@ declare namespace gapi.client {
7246
7656
  deactivate(
7247
7657
  request: {
7248
7658
  /** V1 error format. */
7249
- '$.xgafv'?: string;
7659
+ '$.xgafv'?: '1' | '2';
7250
7660
  /** OAuth access token. */
7251
7661
  access_token?: string;
7252
7662
  /** Data format for response. */
7253
- alt?: string;
7663
+ alt?: 'json' | 'media' | 'proto';
7254
7664
  /** Required. The unique base plan ID of the base plan to deactivate. */
7255
7665
  basePlanId: string;
7256
7666
  /** JSONP */
@@ -7279,11 +7689,11 @@ declare namespace gapi.client {
7279
7689
  /** Deletes a base plan. Can only be done for draft base plans. This action is irreversible. */
7280
7690
  delete(request?: {
7281
7691
  /** V1 error format. */
7282
- '$.xgafv'?: string;
7692
+ '$.xgafv'?: '1' | '2';
7283
7693
  /** OAuth access token. */
7284
7694
  access_token?: string;
7285
7695
  /** Data format for response. */
7286
- alt?: string;
7696
+ alt?: 'json' | 'media' | 'proto';
7287
7697
  /** Required. The unique offer ID of the base plan to delete. */
7288
7698
  basePlanId: string;
7289
7699
  /** JSONP */
@@ -7310,11 +7720,11 @@ declare namespace gapi.client {
7310
7720
  /** 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
7721
  migratePrices(request: {
7312
7722
  /** V1 error format. */
7313
- '$.xgafv'?: string;
7723
+ '$.xgafv'?: '1' | '2';
7314
7724
  /** OAuth access token. */
7315
7725
  access_token?: string;
7316
7726
  /** Data format for response. */
7317
- alt?: string;
7727
+ alt?: 'json' | 'media' | 'proto';
7318
7728
  /** Required. The unique base plan ID of the base plan to update prices on. */
7319
7729
  basePlanId: string;
7320
7730
  /** JSONP */
@@ -7343,11 +7753,11 @@ declare namespace gapi.client {
7343
7753
  migratePrices(
7344
7754
  request: {
7345
7755
  /** V1 error format. */
7346
- '$.xgafv'?: string;
7756
+ '$.xgafv'?: '1' | '2';
7347
7757
  /** OAuth access token. */
7348
7758
  access_token?: string;
7349
7759
  /** Data format for response. */
7350
- alt?: string;
7760
+ alt?: 'json' | 'media' | 'proto';
7351
7761
  /** Required. The unique base plan ID of the base plan to update prices on. */
7352
7762
  basePlanId: string;
7353
7763
  /** JSONP */
@@ -7379,11 +7789,11 @@ declare namespace gapi.client {
7379
7789
  /** Deprecated: subscription archiving is not supported. */
7380
7790
  archive(request: {
7381
7791
  /** V1 error format. */
7382
- '$.xgafv'?: string;
7792
+ '$.xgafv'?: '1' | '2';
7383
7793
  /** OAuth access token. */
7384
7794
  access_token?: string;
7385
7795
  /** Data format for response. */
7386
- alt?: string;
7796
+ alt?: 'json' | 'media' | 'proto';
7387
7797
  /** JSONP */
7388
7798
  callback?: string;
7389
7799
  /** Selector specifying which fields to include in a partial response. */
@@ -7410,11 +7820,11 @@ declare namespace gapi.client {
7410
7820
  archive(
7411
7821
  request: {
7412
7822
  /** V1 error format. */
7413
- '$.xgafv'?: string;
7823
+ '$.xgafv'?: '1' | '2';
7414
7824
  /** OAuth access token. */
7415
7825
  access_token?: string;
7416
7826
  /** Data format for response. */
7417
- alt?: string;
7827
+ alt?: 'json' | 'media' | 'proto';
7418
7828
  /** JSONP */
7419
7829
  callback?: string;
7420
7830
  /** Selector specifying which fields to include in a partial response. */
@@ -7441,11 +7851,11 @@ declare namespace gapi.client {
7441
7851
  /** Reads one or more subscriptions. */
7442
7852
  batchGet(request?: {
7443
7853
  /** V1 error format. */
7444
- '$.xgafv'?: string;
7854
+ '$.xgafv'?: '1' | '2';
7445
7855
  /** OAuth access token. */
7446
7856
  access_token?: string;
7447
7857
  /** Data format for response. */
7448
- alt?: string;
7858
+ alt?: 'json' | 'media' | 'proto';
7449
7859
  /** JSONP */
7450
7860
  callback?: string;
7451
7861
  /** Selector specifying which fields to include in a partial response. */
@@ -7470,11 +7880,11 @@ declare namespace gapi.client {
7470
7880
  /** 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
7881
  batchUpdate(request: {
7472
7882
  /** V1 error format. */
7473
- '$.xgafv'?: string;
7883
+ '$.xgafv'?: '1' | '2';
7474
7884
  /** OAuth access token. */
7475
7885
  access_token?: string;
7476
7886
  /** Data format for response. */
7477
- alt?: string;
7887
+ alt?: 'json' | 'media' | 'proto';
7478
7888
  /** JSONP */
7479
7889
  callback?: string;
7480
7890
  /** Selector specifying which fields to include in a partial response. */
@@ -7499,11 +7909,11 @@ declare namespace gapi.client {
7499
7909
  batchUpdate(
7500
7910
  request: {
7501
7911
  /** V1 error format. */
7502
- '$.xgafv'?: string;
7912
+ '$.xgafv'?: '1' | '2';
7503
7913
  /** OAuth access token. */
7504
7914
  access_token?: string;
7505
7915
  /** Data format for response. */
7506
- alt?: string;
7916
+ alt?: 'json' | 'media' | 'proto';
7507
7917
  /** JSONP */
7508
7918
  callback?: string;
7509
7919
  /** Selector specifying which fields to include in a partial response. */
@@ -7528,11 +7938,11 @@ declare namespace gapi.client {
7528
7938
  /** Creates a new subscription. Newly added base plans will remain in draft state until activated. */
7529
7939
  create(request: {
7530
7940
  /** V1 error format. */
7531
- '$.xgafv'?: string;
7941
+ '$.xgafv'?: '1' | '2';
7532
7942
  /** OAuth access token. */
7533
7943
  access_token?: string;
7534
7944
  /** Data format for response. */
7535
- alt?: string;
7945
+ alt?: 'json' | 'media' | 'proto';
7536
7946
  /** JSONP */
7537
7947
  callback?: string;
7538
7948
  /** Selector specifying which fields to include in a partial response. */
@@ -7561,11 +7971,11 @@ declare namespace gapi.client {
7561
7971
  create(
7562
7972
  request: {
7563
7973
  /** V1 error format. */
7564
- '$.xgafv'?: string;
7974
+ '$.xgafv'?: '1' | '2';
7565
7975
  /** OAuth access token. */
7566
7976
  access_token?: string;
7567
7977
  /** Data format for response. */
7568
- alt?: string;
7978
+ alt?: 'json' | 'media' | 'proto';
7569
7979
  /** JSONP */
7570
7980
  callback?: string;
7571
7981
  /** Selector specifying which fields to include in a partial response. */
@@ -7594,11 +8004,11 @@ declare namespace gapi.client {
7594
8004
  /** Deletes a subscription. A subscription can only be deleted if it has never had a base plan published. */
7595
8005
  delete(request?: {
7596
8006
  /** V1 error format. */
7597
- '$.xgafv'?: string;
8007
+ '$.xgafv'?: '1' | '2';
7598
8008
  /** OAuth access token. */
7599
8009
  access_token?: string;
7600
8010
  /** Data format for response. */
7601
- alt?: string;
8011
+ alt?: 'json' | 'media' | 'proto';
7602
8012
  /** JSONP */
7603
8013
  callback?: string;
7604
8014
  /** Selector specifying which fields to include in a partial response. */
@@ -7623,11 +8033,11 @@ declare namespace gapi.client {
7623
8033
  /** Reads a single subscription. */
7624
8034
  get(request?: {
7625
8035
  /** V1 error format. */
7626
- '$.xgafv'?: string;
8036
+ '$.xgafv'?: '1' | '2';
7627
8037
  /** OAuth access token. */
7628
8038
  access_token?: string;
7629
8039
  /** Data format for response. */
7630
- alt?: string;
8040
+ alt?: 'json' | 'media' | 'proto';
7631
8041
  /** JSONP */
7632
8042
  callback?: string;
7633
8043
  /** Selector specifying which fields to include in a partial response. */
@@ -7652,11 +8062,11 @@ declare namespace gapi.client {
7652
8062
  /** Lists all subscriptions under a given app. */
7653
8063
  list(request?: {
7654
8064
  /** V1 error format. */
7655
- '$.xgafv'?: string;
8065
+ '$.xgafv'?: '1' | '2';
7656
8066
  /** OAuth access token. */
7657
8067
  access_token?: string;
7658
8068
  /** Data format for response. */
7659
- alt?: string;
8069
+ alt?: 'json' | 'media' | 'proto';
7660
8070
  /** JSONP */
7661
8071
  callback?: string;
7662
8072
  /** Selector specifying which fields to include in a partial response. */
@@ -7685,13 +8095,13 @@ declare namespace gapi.client {
7685
8095
  /** Updates an existing subscription. */
7686
8096
  patch(request: {
7687
8097
  /** V1 error format. */
7688
- '$.xgafv'?: string;
8098
+ '$.xgafv'?: '1' | '2';
7689
8099
  /** OAuth access token. */
7690
8100
  access_token?: string;
7691
8101
  /** 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
8102
  allowMissing?: boolean;
7693
8103
  /** Data format for response. */
7694
- alt?: string;
8104
+ alt?: 'json' | 'media' | 'proto';
7695
8105
  /** JSONP */
7696
8106
  callback?: string;
7697
8107
  /** Selector specifying which fields to include in a partial response. */
@@ -7699,7 +8109,10 @@ declare namespace gapi.client {
7699
8109
  /** 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
8110
  key?: string;
7701
8111
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
7702
- latencyTolerance?: string;
8112
+ latencyTolerance?:
8113
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
8114
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
8115
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
7703
8116
  /** OAuth 2.0 token for the current user. */
7704
8117
  oauth_token?: string;
7705
8118
  /** Immutable. Package name of the parent app. */
@@ -7724,13 +8137,13 @@ declare namespace gapi.client {
7724
8137
  patch(
7725
8138
  request: {
7726
8139
  /** V1 error format. */
7727
- '$.xgafv'?: string;
8140
+ '$.xgafv'?: '1' | '2';
7728
8141
  /** OAuth access token. */
7729
8142
  access_token?: string;
7730
8143
  /** 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
8144
  allowMissing?: boolean;
7732
8145
  /** Data format for response. */
7733
- alt?: string;
8146
+ alt?: 'json' | 'media' | 'proto';
7734
8147
  /** JSONP */
7735
8148
  callback?: string;
7736
8149
  /** Selector specifying which fields to include in a partial response. */
@@ -7738,7 +8151,10 @@ declare namespace gapi.client {
7738
8151
  /** 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
8152
  key?: string;
7740
8153
  /** Optional. The latency tolerance for the propagation of this product update. Defaults to latency-sensitive. */
7741
- latencyTolerance?: string;
8154
+ latencyTolerance?:
8155
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_UNSPECIFIED'
8156
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_SENSITIVE'
8157
+ | 'PRODUCT_UPDATE_LATENCY_TOLERANCE_LATENCY_TOLERANT';
7742
8158
  /** OAuth 2.0 token for the current user. */
7743
8159
  oauth_token?: string;
7744
8160
  /** Immutable. Package name of the parent app. */
@@ -7766,11 +8182,11 @@ declare namespace gapi.client {
7766
8182
  /** 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
8183
  convertRegionPrices(request: {
7768
8184
  /** V1 error format. */
7769
- '$.xgafv'?: string;
8185
+ '$.xgafv'?: '1' | '2';
7770
8186
  /** OAuth access token. */
7771
8187
  access_token?: string;
7772
8188
  /** Data format for response. */
7773
- alt?: string;
8189
+ alt?: 'json' | 'media' | 'proto';
7774
8190
  /** JSONP */
7775
8191
  callback?: string;
7776
8192
  /** Selector specifying which fields to include in a partial response. */
@@ -7795,11 +8211,11 @@ declare namespace gapi.client {
7795
8211
  convertRegionPrices(
7796
8212
  request: {
7797
8213
  /** V1 error format. */
7798
- '$.xgafv'?: string;
8214
+ '$.xgafv'?: '1' | '2';
7799
8215
  /** OAuth access token. */
7800
8216
  access_token?: string;
7801
8217
  /** Data format for response. */
7802
- alt?: string;
8218
+ alt?: 'json' | 'media' | 'proto';
7803
8219
  /** JSONP */
7804
8220
  callback?: string;
7805
8221
  /** Selector specifying which fields to include in a partial response. */
@@ -7828,11 +8244,11 @@ declare namespace gapi.client {
7828
8244
  /** Get order details for a list of orders. */
7829
8245
  batchget(request?: {
7830
8246
  /** V1 error format. */
7831
- '$.xgafv'?: string;
8247
+ '$.xgafv'?: '1' | '2';
7832
8248
  /** OAuth access token. */
7833
8249
  access_token?: string;
7834
8250
  /** Data format for response. */
7835
- alt?: string;
8251
+ alt?: 'json' | 'media' | 'proto';
7836
8252
  /** JSONP */
7837
8253
  callback?: string;
7838
8254
  /** Selector specifying which fields to include in a partial response. */
@@ -7857,11 +8273,11 @@ declare namespace gapi.client {
7857
8273
  /** Get order details for a single order. */
7858
8274
  get(request?: {
7859
8275
  /** V1 error format. */
7860
- '$.xgafv'?: string;
8276
+ '$.xgafv'?: '1' | '2';
7861
8277
  /** OAuth access token. */
7862
8278
  access_token?: string;
7863
8279
  /** Data format for response. */
7864
- alt?: string;
8280
+ alt?: 'json' | 'media' | 'proto';
7865
8281
  /** JSONP */
7866
8282
  callback?: string;
7867
8283
  /** Selector specifying which fields to include in a partial response. */
@@ -7886,11 +8302,11 @@ declare namespace gapi.client {
7886
8302
  /** Refunds a user's subscription or in-app purchase order. Orders older than 3 years cannot be refunded. */
7887
8303
  refund(request?: {
7888
8304
  /** V1 error format. */
7889
- '$.xgafv'?: string;
8305
+ '$.xgafv'?: '1' | '2';
7890
8306
  /** OAuth access token. */
7891
8307
  access_token?: string;
7892
8308
  /** Data format for response. */
7893
- alt?: string;
8309
+ alt?: 'json' | 'media' | 'proto';
7894
8310
  /** JSONP */
7895
8311
  callback?: string;
7896
8312
  /** Selector specifying which fields to include in a partial response. */
@@ -7919,11 +8335,11 @@ declare namespace gapi.client {
7919
8335
  /** Acknowledges a purchase of an inapp item. */
7920
8336
  acknowledge(request: {
7921
8337
  /** V1 error format. */
7922
- '$.xgafv'?: string;
8338
+ '$.xgafv'?: '1' | '2';
7923
8339
  /** OAuth access token. */
7924
8340
  access_token?: string;
7925
8341
  /** Data format for response. */
7926
- alt?: string;
8342
+ alt?: 'json' | 'media' | 'proto';
7927
8343
  /** JSONP */
7928
8344
  callback?: string;
7929
8345
  /** Selector specifying which fields to include in a partial response. */
@@ -7952,11 +8368,11 @@ declare namespace gapi.client {
7952
8368
  acknowledge(
7953
8369
  request: {
7954
8370
  /** V1 error format. */
7955
- '$.xgafv'?: string;
8371
+ '$.xgafv'?: '1' | '2';
7956
8372
  /** OAuth access token. */
7957
8373
  access_token?: string;
7958
8374
  /** Data format for response. */
7959
- alt?: string;
8375
+ alt?: 'json' | 'media' | 'proto';
7960
8376
  /** JSONP */
7961
8377
  callback?: string;
7962
8378
  /** Selector specifying which fields to include in a partial response. */
@@ -7985,11 +8401,11 @@ declare namespace gapi.client {
7985
8401
  /** Consumes a purchase for an inapp item. */
7986
8402
  consume(request?: {
7987
8403
  /** V1 error format. */
7988
- '$.xgafv'?: string;
8404
+ '$.xgafv'?: '1' | '2';
7989
8405
  /** OAuth access token. */
7990
8406
  access_token?: string;
7991
8407
  /** Data format for response. */
7992
- alt?: string;
8408
+ alt?: 'json' | 'media' | 'proto';
7993
8409
  /** JSONP */
7994
8410
  callback?: string;
7995
8411
  /** Selector specifying which fields to include in a partial response. */
@@ -8016,11 +8432,11 @@ declare namespace gapi.client {
8016
8432
  /** Checks the purchase and consumption status of an inapp item. */
8017
8433
  get(request?: {
8018
8434
  /** V1 error format. */
8019
- '$.xgafv'?: string;
8435
+ '$.xgafv'?: '1' | '2';
8020
8436
  /** OAuth access token. */
8021
8437
  access_token?: string;
8022
8438
  /** Data format for response. */
8023
- alt?: string;
8439
+ alt?: 'json' | 'media' | 'proto';
8024
8440
  /** JSONP */
8025
8441
  callback?: string;
8026
8442
  /** Selector specifying which fields to include in a partial response. */
@@ -8049,11 +8465,11 @@ declare namespace gapi.client {
8049
8465
  /** Checks the purchase and consumption status of an inapp item. */
8050
8466
  getproductpurchasev2(request?: {
8051
8467
  /** V1 error format. */
8052
- '$.xgafv'?: string;
8468
+ '$.xgafv'?: '1' | '2';
8053
8469
  /** OAuth access token. */
8054
8470
  access_token?: string;
8055
8471
  /** Data format for response. */
8056
- alt?: string;
8472
+ alt?: 'json' | 'media' | 'proto';
8057
8473
  /** JSONP */
8058
8474
  callback?: string;
8059
8475
  /** Selector specifying which fields to include in a partial response. */
@@ -8080,11 +8496,11 @@ declare namespace gapi.client {
8080
8496
  /** Acknowledges a subscription purchase. */
8081
8497
  acknowledge(request: {
8082
8498
  /** V1 error format. */
8083
- '$.xgafv'?: string;
8499
+ '$.xgafv'?: '1' | '2';
8084
8500
  /** OAuth access token. */
8085
8501
  access_token?: string;
8086
8502
  /** Data format for response. */
8087
- alt?: string;
8503
+ alt?: 'json' | 'media' | 'proto';
8088
8504
  /** JSONP */
8089
8505
  callback?: string;
8090
8506
  /** Selector specifying which fields to include in a partial response. */
@@ -8113,11 +8529,11 @@ declare namespace gapi.client {
8113
8529
  acknowledge(
8114
8530
  request: {
8115
8531
  /** V1 error format. */
8116
- '$.xgafv'?: string;
8532
+ '$.xgafv'?: '1' | '2';
8117
8533
  /** OAuth access token. */
8118
8534
  access_token?: string;
8119
8535
  /** Data format for response. */
8120
- alt?: string;
8536
+ alt?: 'json' | 'media' | 'proto';
8121
8537
  /** JSONP */
8122
8538
  callback?: string;
8123
8539
  /** Selector specifying which fields to include in a partial response. */
@@ -8146,11 +8562,11 @@ declare namespace gapi.client {
8146
8562
  /** 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
8563
  cancel(request?: {
8148
8564
  /** V1 error format. */
8149
- '$.xgafv'?: string;
8565
+ '$.xgafv'?: '1' | '2';
8150
8566
  /** OAuth access token. */
8151
8567
  access_token?: string;
8152
8568
  /** Data format for response. */
8153
- alt?: string;
8569
+ alt?: 'json' | 'media' | 'proto';
8154
8570
  /** JSONP */
8155
8571
  callback?: string;
8156
8572
  /** Selector specifying which fields to include in a partial response. */
@@ -8177,11 +8593,11 @@ declare namespace gapi.client {
8177
8593
  /** Defers a user's subscription purchase until a specified future expiration time. */
8178
8594
  defer(request: {
8179
8595
  /** V1 error format. */
8180
- '$.xgafv'?: string;
8596
+ '$.xgafv'?: '1' | '2';
8181
8597
  /** OAuth access token. */
8182
8598
  access_token?: string;
8183
8599
  /** Data format for response. */
8184
- alt?: string;
8600
+ alt?: 'json' | 'media' | 'proto';
8185
8601
  /** JSONP */
8186
8602
  callback?: string;
8187
8603
  /** Selector specifying which fields to include in a partial response. */
@@ -8210,11 +8626,11 @@ declare namespace gapi.client {
8210
8626
  defer(
8211
8627
  request: {
8212
8628
  /** V1 error format. */
8213
- '$.xgafv'?: string;
8629
+ '$.xgafv'?: '1' | '2';
8214
8630
  /** OAuth access token. */
8215
8631
  access_token?: string;
8216
8632
  /** Data format for response. */
8217
- alt?: string;
8633
+ alt?: 'json' | 'media' | 'proto';
8218
8634
  /** JSONP */
8219
8635
  callback?: string;
8220
8636
  /** Selector specifying which fields to include in a partial response. */
@@ -8243,11 +8659,11 @@ declare namespace gapi.client {
8243
8659
  /** Deprecated: Use purchases.subscriptionsv2.get instead. Checks whether a user's subscription purchase is valid and returns its expiry time. */
8244
8660
  get(request?: {
8245
8661
  /** V1 error format. */
8246
- '$.xgafv'?: string;
8662
+ '$.xgafv'?: '1' | '2';
8247
8663
  /** OAuth access token. */
8248
8664
  access_token?: string;
8249
8665
  /** Data format for response. */
8250
- alt?: string;
8666
+ alt?: 'json' | 'media' | 'proto';
8251
8667
  /** JSONP */
8252
8668
  callback?: string;
8253
8669
  /** Selector specifying which fields to include in a partial response. */
@@ -8274,11 +8690,11 @@ declare namespace gapi.client {
8274
8690
  /** 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
8691
  refund(request?: {
8276
8692
  /** V1 error format. */
8277
- '$.xgafv'?: string;
8693
+ '$.xgafv'?: '1' | '2';
8278
8694
  /** OAuth access token. */
8279
8695
  access_token?: string;
8280
8696
  /** Data format for response. */
8281
- alt?: string;
8697
+ alt?: 'json' | 'media' | 'proto';
8282
8698
  /** JSONP */
8283
8699
  callback?: string;
8284
8700
  /** Selector specifying which fields to include in a partial response. */
@@ -8305,11 +8721,11 @@ declare namespace gapi.client {
8305
8721
  /** 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
8722
  revoke(request?: {
8307
8723
  /** V1 error format. */
8308
- '$.xgafv'?: string;
8724
+ '$.xgafv'?: '1' | '2';
8309
8725
  /** OAuth access token. */
8310
8726
  access_token?: string;
8311
8727
  /** Data format for response. */
8312
- alt?: string;
8728
+ alt?: 'json' | 'media' | 'proto';
8313
8729
  /** JSONP */
8314
8730
  callback?: string;
8315
8731
  /** Selector specifying which fields to include in a partial response. */
@@ -8338,11 +8754,11 @@ declare namespace gapi.client {
8338
8754
  /** Cancel a subscription purchase for the user. */
8339
8755
  cancel(request: {
8340
8756
  /** V1 error format. */
8341
- '$.xgafv'?: string;
8757
+ '$.xgafv'?: '1' | '2';
8342
8758
  /** OAuth access token. */
8343
8759
  access_token?: string;
8344
8760
  /** Data format for response. */
8345
- alt?: string;
8761
+ alt?: 'json' | 'media' | 'proto';
8346
8762
  /** JSONP */
8347
8763
  callback?: string;
8348
8764
  /** Selector specifying which fields to include in a partial response. */
@@ -8369,11 +8785,11 @@ declare namespace gapi.client {
8369
8785
  cancel(
8370
8786
  request: {
8371
8787
  /** V1 error format. */
8372
- '$.xgafv'?: string;
8788
+ '$.xgafv'?: '1' | '2';
8373
8789
  /** OAuth access token. */
8374
8790
  access_token?: string;
8375
8791
  /** Data format for response. */
8376
- alt?: string;
8792
+ alt?: 'json' | 'media' | 'proto';
8377
8793
  /** JSONP */
8378
8794
  callback?: string;
8379
8795
  /** Selector specifying which fields to include in a partial response. */
@@ -8400,11 +8816,11 @@ declare namespace gapi.client {
8400
8816
  /** Defers the renewal of a subscription. */
8401
8817
  defer(request: {
8402
8818
  /** V1 error format. */
8403
- '$.xgafv'?: string;
8819
+ '$.xgafv'?: '1' | '2';
8404
8820
  /** OAuth access token. */
8405
8821
  access_token?: string;
8406
8822
  /** Data format for response. */
8407
- alt?: string;
8823
+ alt?: 'json' | 'media' | 'proto';
8408
8824
  /** JSONP */
8409
8825
  callback?: string;
8410
8826
  /** Selector specifying which fields to include in a partial response. */
@@ -8431,11 +8847,11 @@ declare namespace gapi.client {
8431
8847
  defer(
8432
8848
  request: {
8433
8849
  /** V1 error format. */
8434
- '$.xgafv'?: string;
8850
+ '$.xgafv'?: '1' | '2';
8435
8851
  /** OAuth access token. */
8436
8852
  access_token?: string;
8437
8853
  /** Data format for response. */
8438
- alt?: string;
8854
+ alt?: 'json' | 'media' | 'proto';
8439
8855
  /** JSONP */
8440
8856
  callback?: string;
8441
8857
  /** Selector specifying which fields to include in a partial response. */
@@ -8462,11 +8878,11 @@ declare namespace gapi.client {
8462
8878
  /** Get metadata about a subscription */
8463
8879
  get(request?: {
8464
8880
  /** V1 error format. */
8465
- '$.xgafv'?: string;
8881
+ '$.xgafv'?: '1' | '2';
8466
8882
  /** OAuth access token. */
8467
8883
  access_token?: string;
8468
8884
  /** Data format for response. */
8469
- alt?: string;
8885
+ alt?: 'json' | 'media' | 'proto';
8470
8886
  /** JSONP */
8471
8887
  callback?: string;
8472
8888
  /** Selector specifying which fields to include in a partial response. */
@@ -8491,11 +8907,11 @@ declare namespace gapi.client {
8491
8907
  /** Revoke a subscription purchase for the user. */
8492
8908
  revoke(request: {
8493
8909
  /** V1 error format. */
8494
- '$.xgafv'?: string;
8910
+ '$.xgafv'?: '1' | '2';
8495
8911
  /** OAuth access token. */
8496
8912
  access_token?: string;
8497
8913
  /** Data format for response. */
8498
- alt?: string;
8914
+ alt?: 'json' | 'media' | 'proto';
8499
8915
  /** JSONP */
8500
8916
  callback?: string;
8501
8917
  /** Selector specifying which fields to include in a partial response. */
@@ -8522,11 +8938,11 @@ declare namespace gapi.client {
8522
8938
  revoke(
8523
8939
  request: {
8524
8940
  /** V1 error format. */
8525
- '$.xgafv'?: string;
8941
+ '$.xgafv'?: '1' | '2';
8526
8942
  /** OAuth access token. */
8527
8943
  access_token?: string;
8528
8944
  /** Data format for response. */
8529
- alt?: string;
8945
+ alt?: 'json' | 'media' | 'proto';
8530
8946
  /** JSONP */
8531
8947
  callback?: string;
8532
8948
  /** Selector specifying which fields to include in a partial response. */
@@ -8555,11 +8971,11 @@ declare namespace gapi.client {
8555
8971
  /** Lists the purchases that were canceled, refunded or charged-back. */
8556
8972
  list(request?: {
8557
8973
  /** V1 error format. */
8558
- '$.xgafv'?: string;
8974
+ '$.xgafv'?: '1' | '2';
8559
8975
  /** OAuth access token. */
8560
8976
  access_token?: string;
8561
8977
  /** Data format for response. */
8562
- alt?: string;
8978
+ alt?: 'json' | 'media' | 'proto';
8563
8979
  /** JSONP */
8564
8980
  callback?: string;
8565
8981
  /** 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 +9021,11 @@ declare namespace gapi.client {
8605
9021
  /** Gets a single review. */
8606
9022
  get(request?: {
8607
9023
  /** V1 error format. */
8608
- '$.xgafv'?: string;
9024
+ '$.xgafv'?: '1' | '2';
8609
9025
  /** OAuth access token. */
8610
9026
  access_token?: string;
8611
9027
  /** Data format for response. */
8612
- alt?: string;
9028
+ alt?: 'json' | 'media' | 'proto';
8613
9029
  /** JSONP */
8614
9030
  callback?: string;
8615
9031
  /** Selector specifying which fields to include in a partial response. */
@@ -8636,11 +9052,11 @@ declare namespace gapi.client {
8636
9052
  /** Lists all reviews. */
8637
9053
  list(request?: {
8638
9054
  /** V1 error format. */
8639
- '$.xgafv'?: string;
9055
+ '$.xgafv'?: '1' | '2';
8640
9056
  /** OAuth access token. */
8641
9057
  access_token?: string;
8642
9058
  /** Data format for response. */
8643
- alt?: string;
9059
+ alt?: 'json' | 'media' | 'proto';
8644
9060
  /** JSONP */
8645
9061
  callback?: string;
8646
9062
  /** Selector specifying which fields to include in a partial response. */
@@ -8671,11 +9087,11 @@ declare namespace gapi.client {
8671
9087
  /** Replies to a single review, or updates an existing reply. */
8672
9088
  reply(request: {
8673
9089
  /** V1 error format. */
8674
- '$.xgafv'?: string;
9090
+ '$.xgafv'?: '1' | '2';
8675
9091
  /** OAuth access token. */
8676
9092
  access_token?: string;
8677
9093
  /** Data format for response. */
8678
- alt?: string;
9094
+ alt?: 'json' | 'media' | 'proto';
8679
9095
  /** JSONP */
8680
9096
  callback?: string;
8681
9097
  /** Selector specifying which fields to include in a partial response. */
@@ -8702,11 +9118,11 @@ declare namespace gapi.client {
8702
9118
  reply(
8703
9119
  request: {
8704
9120
  /** V1 error format. */
8705
- '$.xgafv'?: string;
9121
+ '$.xgafv'?: '1' | '2';
8706
9122
  /** OAuth access token. */
8707
9123
  access_token?: string;
8708
9124
  /** Data format for response. */
8709
- alt?: string;
9125
+ alt?: 'json' | 'media' | 'proto';
8710
9126
  /** JSONP */
8711
9127
  callback?: string;
8712
9128
  /** Selector specifying which fields to include in a partial response. */
@@ -8735,11 +9151,11 @@ declare namespace gapi.client {
8735
9151
  /** Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle. */
8736
9152
  create(request: {
8737
9153
  /** V1 error format. */
8738
- '$.xgafv'?: string;
9154
+ '$.xgafv'?: '1' | '2';
8739
9155
  /** OAuth access token. */
8740
9156
  access_token?: string;
8741
9157
  /** Data format for response. */
8742
- alt?: string;
9158
+ alt?: 'json' | 'media' | 'proto';
8743
9159
  /** JSONP */
8744
9160
  callback?: string;
8745
9161
  /** Selector specifying which fields to include in a partial response. */
@@ -8766,11 +9182,11 @@ declare namespace gapi.client {
8766
9182
  create(
8767
9183
  request: {
8768
9184
  /** V1 error format. */
8769
- '$.xgafv'?: string;
9185
+ '$.xgafv'?: '1' | '2';
8770
9186
  /** OAuth access token. */
8771
9187
  access_token?: string;
8772
9188
  /** Data format for response. */
8773
- alt?: string;
9189
+ alt?: 'json' | 'media' | 'proto';
8774
9190
  /** JSONP */
8775
9191
  callback?: string;
8776
9192
  /** Selector specifying which fields to include in a partial response. */
@@ -8797,11 +9213,11 @@ declare namespace gapi.client {
8797
9213
  /** Downloads a previously created system APK which is suitable for inclusion in a system image. */
8798
9214
  download(request?: {
8799
9215
  /** V1 error format. */
8800
- '$.xgafv'?: string;
9216
+ '$.xgafv'?: '1' | '2';
8801
9217
  /** OAuth access token. */
8802
9218
  access_token?: string;
8803
9219
  /** Data format for response. */
8804
- alt?: string;
9220
+ alt?: 'json' | 'media' | 'proto';
8805
9221
  /** JSONP */
8806
9222
  callback?: string;
8807
9223
  /** Selector specifying which fields to include in a partial response. */
@@ -8828,11 +9244,11 @@ declare namespace gapi.client {
8828
9244
  /** Returns a previously created system APK variant. */
8829
9245
  get(request?: {
8830
9246
  /** V1 error format. */
8831
- '$.xgafv'?: string;
9247
+ '$.xgafv'?: '1' | '2';
8832
9248
  /** OAuth access token. */
8833
9249
  access_token?: string;
8834
9250
  /** Data format for response. */
8835
- alt?: string;
9251
+ alt?: 'json' | 'media' | 'proto';
8836
9252
  /** JSONP */
8837
9253
  callback?: string;
8838
9254
  /** Selector specifying which fields to include in a partial response. */
@@ -8859,11 +9275,11 @@ declare namespace gapi.client {
8859
9275
  /** Returns the list of previously created system APK variants. */
8860
9276
  list(request?: {
8861
9277
  /** V1 error format. */
8862
- '$.xgafv'?: string;
9278
+ '$.xgafv'?: '1' | '2';
8863
9279
  /** OAuth access token. */
8864
9280
  access_token?: string;
8865
9281
  /** Data format for response. */
8866
- alt?: string;
9282
+ alt?: 'json' | 'media' | 'proto';
8867
9283
  /** JSONP */
8868
9284
  callback?: string;
8869
9285
  /** Selector specifying which fields to include in a partial response. */
@@ -8893,11 +9309,11 @@ declare namespace gapi.client {
8893
9309
  /** Grant access for a user to the given developer account. */
8894
9310
  create(request: {
8895
9311
  /** V1 error format. */
8896
- '$.xgafv'?: string;
9312
+ '$.xgafv'?: '1' | '2';
8897
9313
  /** OAuth access token. */
8898
9314
  access_token?: string;
8899
9315
  /** Data format for response. */
8900
- alt?: string;
9316
+ alt?: 'json' | 'media' | 'proto';
8901
9317
  /** JSONP */
8902
9318
  callback?: string;
8903
9319
  /** Selector specifying which fields to include in a partial response. */
@@ -8922,11 +9338,11 @@ declare namespace gapi.client {
8922
9338
  create(
8923
9339
  request: {
8924
9340
  /** V1 error format. */
8925
- '$.xgafv'?: string;
9341
+ '$.xgafv'?: '1' | '2';
8926
9342
  /** OAuth access token. */
8927
9343
  access_token?: string;
8928
9344
  /** Data format for response. */
8929
- alt?: string;
9345
+ alt?: 'json' | 'media' | 'proto';
8930
9346
  /** JSONP */
8931
9347
  callback?: string;
8932
9348
  /** Selector specifying which fields to include in a partial response. */
@@ -8951,11 +9367,11 @@ declare namespace gapi.client {
8951
9367
  /** Removes all access for the user to the given developer account. */
8952
9368
  delete(request?: {
8953
9369
  /** V1 error format. */
8954
- '$.xgafv'?: string;
9370
+ '$.xgafv'?: '1' | '2';
8955
9371
  /** OAuth access token. */
8956
9372
  access_token?: string;
8957
9373
  /** Data format for response. */
8958
- alt?: string;
9374
+ alt?: 'json' | 'media' | 'proto';
8959
9375
  /** JSONP */
8960
9376
  callback?: string;
8961
9377
  /** Selector specifying which fields to include in a partial response. */
@@ -8978,11 +9394,11 @@ declare namespace gapi.client {
8978
9394
  /** Lists all users with access to a developer account. */
8979
9395
  list(request?: {
8980
9396
  /** V1 error format. */
8981
- '$.xgafv'?: string;
9397
+ '$.xgafv'?: '1' | '2';
8982
9398
  /** OAuth access token. */
8983
9399
  access_token?: string;
8984
9400
  /** Data format for response. */
8985
- alt?: string;
9401
+ alt?: 'json' | 'media' | 'proto';
8986
9402
  /** JSONP */
8987
9403
  callback?: string;
8988
9404
  /** Selector specifying which fields to include in a partial response. */
@@ -9009,11 +9425,11 @@ declare namespace gapi.client {
9009
9425
  /** Updates access for the user to the developer account. */
9010
9426
  patch(request: {
9011
9427
  /** V1 error format. */
9012
- '$.xgafv'?: string;
9428
+ '$.xgafv'?: '1' | '2';
9013
9429
  /** OAuth access token. */
9014
9430
  access_token?: string;
9015
9431
  /** Data format for response. */
9016
- alt?: string;
9432
+ alt?: 'json' | 'media' | 'proto';
9017
9433
  /** JSONP */
9018
9434
  callback?: string;
9019
9435
  /** Selector specifying which fields to include in a partial response. */
@@ -9040,11 +9456,11 @@ declare namespace gapi.client {
9040
9456
  patch(
9041
9457
  request: {
9042
9458
  /** V1 error format. */
9043
- '$.xgafv'?: string;
9459
+ '$.xgafv'?: '1' | '2';
9044
9460
  /** OAuth access token. */
9045
9461
  access_token?: string;
9046
9462
  /** Data format for response. */
9047
- alt?: string;
9463
+ alt?: 'json' | 'media' | 'proto';
9048
9464
  /** JSONP */
9049
9465
  callback?: string;
9050
9466
  /** Selector specifying which fields to include in a partial response. */