@maxim_mazurok/gapi.client.iam-v1 0.0.20221110 → 0.0.20230105
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.
- package/index.d.ts +128 -64
- package/package.json +1 -1
- package/tests.ts +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://iam.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230105
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -143,9 +143,8 @@ declare namespace gapi.client {
|
|
|
143
143
|
/** google.iam.v1.Binding.condition object to be linted. */
|
|
144
144
|
condition?: Expr;
|
|
145
145
|
/**
|
|
146
|
-
* The full resource name of the policy this lint request is about. The name follows the Google Cloud
|
|
147
|
-
* will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read
|
|
148
|
-
* policy for lint has to be provided in the same request object.
|
|
146
|
+
* The full resource name of the policy this lint request is about. The name follows the Google Cloud format for full resource names. For example, a Cloud project with ID `my-project`
|
|
147
|
+
* will be named `//cloudresourcemanager.googleapis.com/projects/my-project`. The resource name is not used to read a policy from IAM. Only the data in the request object is linted.
|
|
149
148
|
*/
|
|
150
149
|
fullResourceName?: string;
|
|
151
150
|
}
|
|
@@ -382,8 +381,8 @@ declare namespace gapi.client {
|
|
|
382
381
|
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
383
382
|
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
384
383
|
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response messages
|
|
385
|
-
* to contain misleading error codes. For example, if you try to
|
|
386
|
-
* HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
384
|
+
* to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains
|
|
385
|
+
* an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
387
386
|
*/
|
|
388
387
|
name?: string;
|
|
389
388
|
/** Output only. The OAuth 2.0 client ID for the service account. */
|
|
@@ -2262,8 +2261,11 @@ declare namespace gapi.client {
|
|
|
2262
2261
|
/** 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. */
|
|
2263
2262
|
key?: string;
|
|
2264
2263
|
/**
|
|
2265
|
-
* Required. The resource name of the service account
|
|
2266
|
-
*
|
|
2264
|
+
* Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2265
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2266
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2267
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2268
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2267
2269
|
*/
|
|
2268
2270
|
name: string;
|
|
2269
2271
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2293,8 +2295,11 @@ declare namespace gapi.client {
|
|
|
2293
2295
|
/** 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. */
|
|
2294
2296
|
key?: string;
|
|
2295
2297
|
/**
|
|
2296
|
-
* Required. The resource name of the service account
|
|
2297
|
-
*
|
|
2298
|
+
* Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2299
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2300
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2301
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2302
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2298
2303
|
*/
|
|
2299
2304
|
name: string;
|
|
2300
2305
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2324,8 +2329,11 @@ declare namespace gapi.client {
|
|
|
2324
2329
|
/** 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. */
|
|
2325
2330
|
key?: string;
|
|
2326
2331
|
/**
|
|
2327
|
-
* Required. The resource name of the service account key
|
|
2328
|
-
* `PROJECT_ID`
|
|
2332
|
+
* Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` *
|
|
2333
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2334
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character,
|
|
2335
|
+
* because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key
|
|
2336
|
+
* `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2329
2337
|
*/
|
|
2330
2338
|
name: string;
|
|
2331
2339
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2354,8 +2362,11 @@ declare namespace gapi.client {
|
|
|
2354
2362
|
/** 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. */
|
|
2355
2363
|
key?: string;
|
|
2356
2364
|
/**
|
|
2357
|
-
* Required. The resource name of the service account key
|
|
2358
|
-
* `PROJECT_ID`
|
|
2365
|
+
* Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` *
|
|
2366
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2367
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character,
|
|
2368
|
+
* because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key
|
|
2369
|
+
* `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2359
2370
|
*/
|
|
2360
2371
|
name: string;
|
|
2361
2372
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2385,8 +2396,11 @@ declare namespace gapi.client {
|
|
|
2385
2396
|
/** 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. */
|
|
2386
2397
|
key?: string;
|
|
2387
2398
|
/**
|
|
2388
|
-
* Required. The resource name of the service account key
|
|
2389
|
-
* `PROJECT_ID`
|
|
2399
|
+
* Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` *
|
|
2400
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2401
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character,
|
|
2402
|
+
* because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key
|
|
2403
|
+
* `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2390
2404
|
*/
|
|
2391
2405
|
name: string;
|
|
2392
2406
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2416,8 +2430,11 @@ declare namespace gapi.client {
|
|
|
2416
2430
|
/** 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. */
|
|
2417
2431
|
key?: string;
|
|
2418
2432
|
/**
|
|
2419
|
-
* Required. The resource name of the service account key
|
|
2420
|
-
* `PROJECT_ID`
|
|
2433
|
+
* Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` *
|
|
2434
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2435
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character,
|
|
2436
|
+
* because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key
|
|
2437
|
+
* `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2421
2438
|
*/
|
|
2422
2439
|
name: string;
|
|
2423
2440
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2447,8 +2464,11 @@ declare namespace gapi.client {
|
|
|
2447
2464
|
/** 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. */
|
|
2448
2465
|
key?: string;
|
|
2449
2466
|
/**
|
|
2450
|
-
* Required. The resource name of the service account key
|
|
2451
|
-
* `PROJECT_ID`
|
|
2467
|
+
* Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` *
|
|
2468
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2469
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character,
|
|
2470
|
+
* because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key
|
|
2471
|
+
* `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2452
2472
|
*/
|
|
2453
2473
|
name: string;
|
|
2454
2474
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2478,8 +2498,11 @@ declare namespace gapi.client {
|
|
|
2478
2498
|
/** 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. */
|
|
2479
2499
|
key?: string;
|
|
2480
2500
|
/**
|
|
2481
|
-
* Required. The resource name of the service account key
|
|
2482
|
-
* `PROJECT_ID`
|
|
2501
|
+
* Required. The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` *
|
|
2502
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2503
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}/keys/{KEY_ID}` * `projects/-/serviceAccounts/{UNIQUE_ID}/keys/{KEY_ID}` When possible, avoid using the `-` wildcard character,
|
|
2504
|
+
* because it can cause response messages to contain misleading error codes. For example, if you try to access the service account key
|
|
2505
|
+
* `projects/-/serviceAccounts/fake@example.com/keys/fake-key`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2483
2506
|
*/
|
|
2484
2507
|
name: string;
|
|
2485
2508
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2512,8 +2535,11 @@ declare namespace gapi.client {
|
|
|
2512
2535
|
/** Filters the types of keys the user wants to include in the list response. Duplicate key types are not allowed. If no key type is provided, all keys are returned. */
|
|
2513
2536
|
keyTypes?: string | string[];
|
|
2514
2537
|
/**
|
|
2515
|
-
* Required. The resource name of the service account
|
|
2516
|
-
*
|
|
2538
|
+
* Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2539
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2540
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2541
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2542
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2517
2543
|
*/
|
|
2518
2544
|
name: string;
|
|
2519
2545
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2545,8 +2571,11 @@ declare namespace gapi.client {
|
|
|
2545
2571
|
/** 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. */
|
|
2546
2572
|
key?: string;
|
|
2547
2573
|
/**
|
|
2548
|
-
* The resource name of the service account
|
|
2549
|
-
*
|
|
2574
|
+
* The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2575
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2576
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2577
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2578
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2550
2579
|
*/
|
|
2551
2580
|
name: string;
|
|
2552
2581
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2576,8 +2605,11 @@ declare namespace gapi.client {
|
|
|
2576
2605
|
/** 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. */
|
|
2577
2606
|
key?: string;
|
|
2578
2607
|
/**
|
|
2579
|
-
* The resource name of the service account
|
|
2580
|
-
*
|
|
2608
|
+
* The resource name of the service account key. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2609
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2610
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2611
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2612
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2581
2613
|
*/
|
|
2582
2614
|
name: string;
|
|
2583
2615
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2671,8 +2703,11 @@ declare namespace gapi.client {
|
|
|
2671
2703
|
/** 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. */
|
|
2672
2704
|
key?: string;
|
|
2673
2705
|
/**
|
|
2674
|
-
* Required. The resource name of the service account
|
|
2675
|
-
*
|
|
2706
|
+
* Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2707
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2708
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2709
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2710
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2676
2711
|
*/
|
|
2677
2712
|
name: string;
|
|
2678
2713
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2707,8 +2742,11 @@ declare namespace gapi.client {
|
|
|
2707
2742
|
/** 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. */
|
|
2708
2743
|
key?: string;
|
|
2709
2744
|
/**
|
|
2710
|
-
* The resource name of the service account
|
|
2711
|
-
*
|
|
2745
|
+
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2746
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2747
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2748
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2749
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2712
2750
|
*/
|
|
2713
2751
|
name: string;
|
|
2714
2752
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2738,8 +2776,11 @@ declare namespace gapi.client {
|
|
|
2738
2776
|
/** 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. */
|
|
2739
2777
|
key?: string;
|
|
2740
2778
|
/**
|
|
2741
|
-
* The resource name of the service account
|
|
2742
|
-
*
|
|
2779
|
+
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2780
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2781
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2782
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2783
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2743
2784
|
*/
|
|
2744
2785
|
name: string;
|
|
2745
2786
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2772,8 +2813,11 @@ declare namespace gapi.client {
|
|
|
2772
2813
|
/** 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. */
|
|
2773
2814
|
key?: string;
|
|
2774
2815
|
/**
|
|
2775
|
-
* The resource name of the service account
|
|
2776
|
-
*
|
|
2816
|
+
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2817
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2818
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2819
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2820
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2777
2821
|
*/
|
|
2778
2822
|
name: string;
|
|
2779
2823
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2803,8 +2847,11 @@ declare namespace gapi.client {
|
|
|
2803
2847
|
/** 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. */
|
|
2804
2848
|
key?: string;
|
|
2805
2849
|
/**
|
|
2806
|
-
* The resource name of the service account
|
|
2807
|
-
*
|
|
2850
|
+
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2851
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2852
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2853
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2854
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2808
2855
|
*/
|
|
2809
2856
|
name: string;
|
|
2810
2857
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2834,8 +2881,11 @@ declare namespace gapi.client {
|
|
|
2834
2881
|
/** 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. */
|
|
2835
2882
|
key?: string;
|
|
2836
2883
|
/**
|
|
2837
|
-
* Required. The resource name of the service account
|
|
2838
|
-
*
|
|
2884
|
+
* Required. The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2885
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2886
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2887
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2888
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2839
2889
|
*/
|
|
2840
2890
|
name: string;
|
|
2841
2891
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2944,8 +2994,8 @@ declare namespace gapi.client {
|
|
|
2944
2994
|
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2945
2995
|
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2946
2996
|
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2947
|
-
* messages to contain misleading error codes. For example, if you try to
|
|
2948
|
-
* contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2997
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
2998
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2949
2999
|
*/
|
|
2950
3000
|
name: string;
|
|
2951
3001
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -2978,8 +3028,8 @@ declare namespace gapi.client {
|
|
|
2978
3028
|
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
2979
3029
|
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
2980
3030
|
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
2981
|
-
* messages to contain misleading error codes. For example, if you try to
|
|
2982
|
-
* contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3031
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
3032
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
2983
3033
|
*/
|
|
2984
3034
|
name: string;
|
|
2985
3035
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -3051,9 +3101,11 @@ declare namespace gapi.client {
|
|
|
3051
3101
|
/** 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. */
|
|
3052
3102
|
key?: string;
|
|
3053
3103
|
/**
|
|
3054
|
-
* Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account
|
|
3055
|
-
* following
|
|
3056
|
-
*
|
|
3104
|
+
* Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account. Use one
|
|
3105
|
+
* of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-`
|
|
3106
|
+
* wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-`
|
|
3107
|
+
* wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account
|
|
3108
|
+
* `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3057
3109
|
*/
|
|
3058
3110
|
name: string;
|
|
3059
3111
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -3083,9 +3135,11 @@ declare namespace gapi.client {
|
|
|
3083
3135
|
/** 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. */
|
|
3084
3136
|
key?: string;
|
|
3085
3137
|
/**
|
|
3086
|
-
* Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account
|
|
3087
|
-
* following
|
|
3088
|
-
*
|
|
3138
|
+
* Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account. Use one
|
|
3139
|
+
* of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-`
|
|
3140
|
+
* wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-`
|
|
3141
|
+
* wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account
|
|
3142
|
+
* `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3089
3143
|
*/
|
|
3090
3144
|
name: string;
|
|
3091
3145
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -3119,9 +3173,11 @@ declare namespace gapi.client {
|
|
|
3119
3173
|
/** 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. */
|
|
3120
3174
|
key?: string;
|
|
3121
3175
|
/**
|
|
3122
|
-
* Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account
|
|
3123
|
-
* following
|
|
3124
|
-
*
|
|
3176
|
+
* Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account. Use one
|
|
3177
|
+
* of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-`
|
|
3178
|
+
* wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-`
|
|
3179
|
+
* wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account
|
|
3180
|
+
* `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3125
3181
|
*/
|
|
3126
3182
|
name: string;
|
|
3127
3183
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -3151,9 +3207,11 @@ declare namespace gapi.client {
|
|
|
3151
3207
|
/** 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. */
|
|
3152
3208
|
key?: string;
|
|
3153
3209
|
/**
|
|
3154
|
-
* Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account
|
|
3155
|
-
* following
|
|
3156
|
-
*
|
|
3210
|
+
* Required. Deprecated. [Migrate to Service Account Credentials API](https://cloud.google.com/iam/help/credentials/migrate-api). The resource name of the service account. Use one
|
|
3211
|
+
* of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` * `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-`
|
|
3212
|
+
* wildcard character instead of the project ID: * `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-`
|
|
3213
|
+
* wildcard character, because it can cause response messages to contain misleading error codes. For example, if you try to access the service account
|
|
3214
|
+
* `projects/-/serviceAccounts/fake@example.com`, which does not exist, the response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3157
3215
|
*/
|
|
3158
3216
|
name: string;
|
|
3159
3217
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -3217,8 +3275,11 @@ declare namespace gapi.client {
|
|
|
3217
3275
|
/** 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. */
|
|
3218
3276
|
key?: string;
|
|
3219
3277
|
/**
|
|
3220
|
-
* The resource name of the service account
|
|
3221
|
-
*
|
|
3278
|
+
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
3279
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
3280
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
3281
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
3282
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3222
3283
|
*/
|
|
3223
3284
|
name: string;
|
|
3224
3285
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -3248,8 +3309,11 @@ declare namespace gapi.client {
|
|
|
3248
3309
|
/** 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. */
|
|
3249
3310
|
key?: string;
|
|
3250
3311
|
/**
|
|
3251
|
-
* The resource name of the service account
|
|
3252
|
-
*
|
|
3312
|
+
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
3313
|
+
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
3314
|
+
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
3315
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
3316
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3253
3317
|
*/
|
|
3254
3318
|
name: string;
|
|
3255
3319
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -3282,8 +3346,8 @@ declare namespace gapi.client {
|
|
|
3282
3346
|
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
3283
3347
|
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
3284
3348
|
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
3285
|
-
* messages to contain misleading error codes. For example, if you try to
|
|
3286
|
-
* contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3349
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
3350
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3287
3351
|
*/
|
|
3288
3352
|
name: string;
|
|
3289
3353
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -3316,8 +3380,8 @@ declare namespace gapi.client {
|
|
|
3316
3380
|
* The resource name of the service account. Use one of the following formats: * `projects/{PROJECT_ID}/serviceAccounts/{EMAIL_ADDRESS}` *
|
|
3317
3381
|
* `projects/{PROJECT_ID}/serviceAccounts/{UNIQUE_ID}` As an alternative, you can use the `-` wildcard character instead of the project ID: *
|
|
3318
3382
|
* `projects/-/serviceAccounts/{EMAIL_ADDRESS}` * `projects/-/serviceAccounts/{UNIQUE_ID}` When possible, avoid using the `-` wildcard character, because it can cause response
|
|
3319
|
-
* messages to contain misleading error codes. For example, if you try to
|
|
3320
|
-
* contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3383
|
+
* messages to contain misleading error codes. For example, if you try to access the service account `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
3384
|
+
* response contains an HTTP `403 Forbidden` error instead of a `404 Not Found` error.
|
|
3321
3385
|
*/
|
|
3322
3386
|
name: string;
|
|
3323
3387
|
/** OAuth 2.0 token for the current user. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230105
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|