@maxim_mazurok/gapi.client.biglake-v1 0.1.20260310 → 0.1.20260605

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +69 -65
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://biglake.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260310
12
+ // Revision: 20260605
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -34,7 +34,11 @@ declare namespace gapi.client {
34
34
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
35
35
  exemptedMembers?: string[];
36
36
  /** The log type that this config enables. */
37
- logType?: string;
37
+ logType?:
38
+ | 'LOG_TYPE_UNSPECIFIED'
39
+ | 'ADMIN_READ'
40
+ | 'DATA_WRITE'
41
+ | 'DATA_READ';
38
42
  }
39
43
  interface Binding {
40
44
  /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
@@ -68,7 +72,7 @@ declare namespace gapi.client {
68
72
  /** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} */
69
73
  name?: string;
70
74
  /** The database type. */
71
- type?: string;
75
+ type?: 'TYPE_UNSPECIFIED' | 'HIVE';
72
76
  /** Output only. The last modification time of the database. */
73
77
  updateTime?: string;
74
78
  }
@@ -162,7 +166,7 @@ declare namespace gapi.client {
162
166
  /** Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} */
163
167
  name?: string;
164
168
  /** The table type. */
165
- type?: string;
169
+ type?: 'TYPE_UNSPECIFIED' | 'HIVE';
166
170
  /** Output only. The last modification time of the table. */
167
171
  updateTime?: string;
168
172
  }
@@ -178,11 +182,11 @@ declare namespace gapi.client {
178
182
  /** Gets the IAM policy for the specified Catalog. */
179
183
  getIamPolicy(request?: {
180
184
  /** V1 error format. */
181
- '$.xgafv'?: string;
185
+ '$.xgafv'?: '1' | '2';
182
186
  /** OAuth access token. */
183
187
  access_token?: string;
184
188
  /** Data format for response. */
185
- alt?: string;
189
+ alt?: 'json' | 'media' | 'proto';
186
190
  /** JSONP */
187
191
  callback?: string;
188
192
  /** Selector specifying which fields to include in a partial response. */
@@ -208,11 +212,11 @@ declare namespace gapi.client {
208
212
  setIamPolicy(
209
213
  request: {
210
214
  /** V1 error format. */
211
- '$.xgafv'?: string;
215
+ '$.xgafv'?: '1' | '2';
212
216
  /** OAuth access token. */
213
217
  access_token?: string;
214
218
  /** Data format for response. */
215
- alt?: string;
219
+ alt?: 'json' | 'media' | 'proto';
216
220
  /** JSONP */
217
221
  callback?: string;
218
222
  /** Selector specifying which fields to include in a partial response. */
@@ -238,11 +242,11 @@ declare namespace gapi.client {
238
242
  testIamPermissions(
239
243
  request: {
240
244
  /** V1 error format. */
241
- '$.xgafv'?: string;
245
+ '$.xgafv'?: '1' | '2';
242
246
  /** OAuth access token. */
243
247
  access_token?: string;
244
248
  /** Data format for response. */
245
- alt?: string;
249
+ alt?: 'json' | 'media' | 'proto';
246
250
  /** JSONP */
247
251
  callback?: string;
248
252
  /** Selector specifying which fields to include in a partial response. */
@@ -269,11 +273,11 @@ declare namespace gapi.client {
269
273
  /** Gets the IAM policy for the specified Catalog. */
270
274
  getIamPolicy(request?: {
271
275
  /** V1 error format. */
272
- '$.xgafv'?: string;
276
+ '$.xgafv'?: '1' | '2';
273
277
  /** OAuth access token. */
274
278
  access_token?: string;
275
279
  /** Data format for response. */
276
- alt?: string;
280
+ alt?: 'json' | 'media' | 'proto';
277
281
  /** JSONP */
278
282
  callback?: string;
279
283
  /** Selector specifying which fields to include in a partial response. */
@@ -299,11 +303,11 @@ declare namespace gapi.client {
299
303
  setIamPolicy(
300
304
  request: {
301
305
  /** V1 error format. */
302
- '$.xgafv'?: string;
306
+ '$.xgafv'?: '1' | '2';
303
307
  /** OAuth access token. */
304
308
  access_token?: string;
305
309
  /** Data format for response. */
306
- alt?: string;
310
+ alt?: 'json' | 'media' | 'proto';
307
311
  /** JSONP */
308
312
  callback?: string;
309
313
  /** Selector specifying which fields to include in a partial response. */
@@ -329,11 +333,11 @@ declare namespace gapi.client {
329
333
  testIamPermissions(
330
334
  request: {
331
335
  /** V1 error format. */
332
- '$.xgafv'?: string;
336
+ '$.xgafv'?: '1' | '2';
333
337
  /** OAuth access token. */
334
338
  access_token?: string;
335
339
  /** Data format for response. */
336
- alt?: string;
340
+ alt?: 'json' | 'media' | 'proto';
337
341
  /** JSONP */
338
342
  callback?: string;
339
343
  /** Selector specifying which fields to include in a partial response. */
@@ -361,11 +365,11 @@ declare namespace gapi.client {
361
365
  /** Gets the IAM policy for the specified Catalog. */
362
366
  getIamPolicy(request?: {
363
367
  /** V1 error format. */
364
- '$.xgafv'?: string;
368
+ '$.xgafv'?: '1' | '2';
365
369
  /** OAuth access token. */
366
370
  access_token?: string;
367
371
  /** Data format for response. */
368
- alt?: string;
372
+ alt?: 'json' | 'media' | 'proto';
369
373
  /** JSONP */
370
374
  callback?: string;
371
375
  /** Selector specifying which fields to include in a partial response. */
@@ -391,11 +395,11 @@ declare namespace gapi.client {
391
395
  setIamPolicy(
392
396
  request: {
393
397
  /** V1 error format. */
394
- '$.xgafv'?: string;
398
+ '$.xgafv'?: '1' | '2';
395
399
  /** OAuth access token. */
396
400
  access_token?: string;
397
401
  /** Data format for response. */
398
- alt?: string;
402
+ alt?: 'json' | 'media' | 'proto';
399
403
  /** JSONP */
400
404
  callback?: string;
401
405
  /** Selector specifying which fields to include in a partial response. */
@@ -421,11 +425,11 @@ declare namespace gapi.client {
421
425
  testIamPermissions(
422
426
  request: {
423
427
  /** V1 error format. */
424
- '$.xgafv'?: string;
428
+ '$.xgafv'?: '1' | '2';
425
429
  /** OAuth access token. */
426
430
  access_token?: string;
427
431
  /** Data format for response. */
428
- alt?: string;
432
+ alt?: 'json' | 'media' | 'proto';
429
433
  /** JSONP */
430
434
  callback?: string;
431
435
  /** Selector specifying which fields to include in a partial response. */
@@ -453,11 +457,11 @@ declare namespace gapi.client {
453
457
  /** Creates a new table. */
454
458
  create(request: {
455
459
  /** V1 error format. */
456
- '$.xgafv'?: string;
460
+ '$.xgafv'?: '1' | '2';
457
461
  /** OAuth access token. */
458
462
  access_token?: string;
459
463
  /** Data format for response. */
460
- alt?: string;
464
+ alt?: 'json' | 'media' | 'proto';
461
465
  /** JSONP */
462
466
  callback?: string;
463
467
  /** Selector specifying which fields to include in a partial response. */
@@ -484,11 +488,11 @@ declare namespace gapi.client {
484
488
  create(
485
489
  request: {
486
490
  /** V1 error format. */
487
- '$.xgafv'?: string;
491
+ '$.xgafv'?: '1' | '2';
488
492
  /** OAuth access token. */
489
493
  access_token?: string;
490
494
  /** Data format for response. */
491
- alt?: string;
495
+ alt?: 'json' | 'media' | 'proto';
492
496
  /** JSONP */
493
497
  callback?: string;
494
498
  /** Selector specifying which fields to include in a partial response. */
@@ -515,11 +519,11 @@ declare namespace gapi.client {
515
519
  /** Deletes an existing table specified by the table ID. */
516
520
  delete(request?: {
517
521
  /** V1 error format. */
518
- '$.xgafv'?: string;
522
+ '$.xgafv'?: '1' | '2';
519
523
  /** OAuth access token. */
520
524
  access_token?: string;
521
525
  /** Data format for response. */
522
- alt?: string;
526
+ alt?: 'json' | 'media' | 'proto';
523
527
  /** JSONP */
524
528
  callback?: string;
525
529
  /** Selector specifying which fields to include in a partial response. */
@@ -542,11 +546,11 @@ declare namespace gapi.client {
542
546
  /** Gets the table specified by the resource name. */
543
547
  get(request?: {
544
548
  /** V1 error format. */
545
- '$.xgafv'?: string;
549
+ '$.xgafv'?: '1' | '2';
546
550
  /** OAuth access token. */
547
551
  access_token?: string;
548
552
  /** Data format for response. */
549
- alt?: string;
553
+ alt?: 'json' | 'media' | 'proto';
550
554
  /** JSONP */
551
555
  callback?: string;
552
556
  /** Selector specifying which fields to include in a partial response. */
@@ -569,11 +573,11 @@ declare namespace gapi.client {
569
573
  /** List all tables in a specified database. */
570
574
  list(request?: {
571
575
  /** V1 error format. */
572
- '$.xgafv'?: string;
576
+ '$.xgafv'?: '1' | '2';
573
577
  /** OAuth access token. */
574
578
  access_token?: string;
575
579
  /** Data format for response. */
576
- alt?: string;
580
+ alt?: 'json' | 'media' | 'proto';
577
581
  /** JSONP */
578
582
  callback?: string;
579
583
  /** Selector specifying which fields to include in a partial response. */
@@ -597,16 +601,16 @@ declare namespace gapi.client {
597
601
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
598
602
  uploadType?: string;
599
603
  /** The view for the returned tables. */
600
- view?: string;
604
+ view?: 'TABLE_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL';
601
605
  }): Request<ListTablesResponse>;
602
606
  /** Updates an existing table specified by the table ID. */
603
607
  patch(request: {
604
608
  /** V1 error format. */
605
- '$.xgafv'?: string;
609
+ '$.xgafv'?: '1' | '2';
606
610
  /** OAuth access token. */
607
611
  access_token?: string;
608
612
  /** Data format for response. */
609
- alt?: string;
613
+ alt?: 'json' | 'media' | 'proto';
610
614
  /** JSONP */
611
615
  callback?: string;
612
616
  /** Selector specifying which fields to include in a partial response. */
@@ -633,11 +637,11 @@ declare namespace gapi.client {
633
637
  patch(
634
638
  request: {
635
639
  /** V1 error format. */
636
- '$.xgafv'?: string;
640
+ '$.xgafv'?: '1' | '2';
637
641
  /** OAuth access token. */
638
642
  access_token?: string;
639
643
  /** Data format for response. */
640
- alt?: string;
644
+ alt?: 'json' | 'media' | 'proto';
641
645
  /** JSONP */
642
646
  callback?: string;
643
647
  /** Selector specifying which fields to include in a partial response. */
@@ -664,11 +668,11 @@ declare namespace gapi.client {
664
668
  /** Renames an existing table specified by the table ID. */
665
669
  rename(request: {
666
670
  /** V1 error format. */
667
- '$.xgafv'?: string;
671
+ '$.xgafv'?: '1' | '2';
668
672
  /** OAuth access token. */
669
673
  access_token?: string;
670
674
  /** Data format for response. */
671
- alt?: string;
675
+ alt?: 'json' | 'media' | 'proto';
672
676
  /** JSONP */
673
677
  callback?: string;
674
678
  /** Selector specifying which fields to include in a partial response. */
@@ -693,11 +697,11 @@ declare namespace gapi.client {
693
697
  rename(
694
698
  request: {
695
699
  /** V1 error format. */
696
- '$.xgafv'?: string;
700
+ '$.xgafv'?: '1' | '2';
697
701
  /** OAuth access token. */
698
702
  access_token?: string;
699
703
  /** Data format for response. */
700
- alt?: string;
704
+ alt?: 'json' | 'media' | 'proto';
701
705
  /** JSONP */
702
706
  callback?: string;
703
707
  /** Selector specifying which fields to include in a partial response. */
@@ -724,11 +728,11 @@ declare namespace gapi.client {
724
728
  /** Creates a new database. */
725
729
  create(request: {
726
730
  /** V1 error format. */
727
- '$.xgafv'?: string;
731
+ '$.xgafv'?: '1' | '2';
728
732
  /** OAuth access token. */
729
733
  access_token?: string;
730
734
  /** Data format for response. */
731
- alt?: string;
735
+ alt?: 'json' | 'media' | 'proto';
732
736
  /** JSONP */
733
737
  callback?: string;
734
738
  /** Required. The ID to use for the database, which will become the final component of the database's resource name. */
@@ -755,11 +759,11 @@ declare namespace gapi.client {
755
759
  create(
756
760
  request: {
757
761
  /** V1 error format. */
758
- '$.xgafv'?: string;
762
+ '$.xgafv'?: '1' | '2';
759
763
  /** OAuth access token. */
760
764
  access_token?: string;
761
765
  /** Data format for response. */
762
- alt?: string;
766
+ alt?: 'json' | 'media' | 'proto';
763
767
  /** JSONP */
764
768
  callback?: string;
765
769
  /** Required. The ID to use for the database, which will become the final component of the database's resource name. */
@@ -786,11 +790,11 @@ declare namespace gapi.client {
786
790
  /** Deletes an existing database specified by the database ID. */
787
791
  delete(request?: {
788
792
  /** V1 error format. */
789
- '$.xgafv'?: string;
793
+ '$.xgafv'?: '1' | '2';
790
794
  /** OAuth access token. */
791
795
  access_token?: string;
792
796
  /** Data format for response. */
793
- alt?: string;
797
+ alt?: 'json' | 'media' | 'proto';
794
798
  /** JSONP */
795
799
  callback?: string;
796
800
  /** Selector specifying which fields to include in a partial response. */
@@ -813,11 +817,11 @@ declare namespace gapi.client {
813
817
  /** Gets the database specified by the resource name. */
814
818
  get(request?: {
815
819
  /** V1 error format. */
816
- '$.xgafv'?: string;
820
+ '$.xgafv'?: '1' | '2';
817
821
  /** OAuth access token. */
818
822
  access_token?: string;
819
823
  /** Data format for response. */
820
- alt?: string;
824
+ alt?: 'json' | 'media' | 'proto';
821
825
  /** JSONP */
822
826
  callback?: string;
823
827
  /** Selector specifying which fields to include in a partial response. */
@@ -840,11 +844,11 @@ declare namespace gapi.client {
840
844
  /** List all databases in a specified catalog. */
841
845
  list(request?: {
842
846
  /** V1 error format. */
843
- '$.xgafv'?: string;
847
+ '$.xgafv'?: '1' | '2';
844
848
  /** OAuth access token. */
845
849
  access_token?: string;
846
850
  /** Data format for response. */
847
- alt?: string;
851
+ alt?: 'json' | 'media' | 'proto';
848
852
  /** JSONP */
849
853
  callback?: string;
850
854
  /** Selector specifying which fields to include in a partial response. */
@@ -871,11 +875,11 @@ declare namespace gapi.client {
871
875
  /** Updates an existing database specified by the database ID. */
872
876
  patch(request: {
873
877
  /** V1 error format. */
874
- '$.xgafv'?: string;
878
+ '$.xgafv'?: '1' | '2';
875
879
  /** OAuth access token. */
876
880
  access_token?: string;
877
881
  /** Data format for response. */
878
- alt?: string;
882
+ alt?: 'json' | 'media' | 'proto';
879
883
  /** JSONP */
880
884
  callback?: string;
881
885
  /** Selector specifying which fields to include in a partial response. */
@@ -902,11 +906,11 @@ declare namespace gapi.client {
902
906
  patch(
903
907
  request: {
904
908
  /** V1 error format. */
905
- '$.xgafv'?: string;
909
+ '$.xgafv'?: '1' | '2';
906
910
  /** OAuth access token. */
907
911
  access_token?: string;
908
912
  /** Data format for response. */
909
- alt?: string;
913
+ alt?: 'json' | 'media' | 'proto';
910
914
  /** JSONP */
911
915
  callback?: string;
912
916
  /** Selector specifying which fields to include in a partial response. */
@@ -936,11 +940,11 @@ declare namespace gapi.client {
936
940
  /** Creates a new catalog. */
937
941
  create(request: {
938
942
  /** V1 error format. */
939
- '$.xgafv'?: string;
943
+ '$.xgafv'?: '1' | '2';
940
944
  /** OAuth access token. */
941
945
  access_token?: string;
942
946
  /** Data format for response. */
943
- alt?: string;
947
+ alt?: 'json' | 'media' | 'proto';
944
948
  /** JSONP */
945
949
  callback?: string;
946
950
  /** Required. The ID to use for the catalog, which will become the final component of the catalog's resource name. */
@@ -967,11 +971,11 @@ declare namespace gapi.client {
967
971
  create(
968
972
  request: {
969
973
  /** V1 error format. */
970
- '$.xgafv'?: string;
974
+ '$.xgafv'?: '1' | '2';
971
975
  /** OAuth access token. */
972
976
  access_token?: string;
973
977
  /** Data format for response. */
974
- alt?: string;
978
+ alt?: 'json' | 'media' | 'proto';
975
979
  /** JSONP */
976
980
  callback?: string;
977
981
  /** Required. The ID to use for the catalog, which will become the final component of the catalog's resource name. */
@@ -998,11 +1002,11 @@ declare namespace gapi.client {
998
1002
  /** Deletes an existing catalog specified by the catalog ID. */
999
1003
  delete(request?: {
1000
1004
  /** V1 error format. */
1001
- '$.xgafv'?: string;
1005
+ '$.xgafv'?: '1' | '2';
1002
1006
  /** OAuth access token. */
1003
1007
  access_token?: string;
1004
1008
  /** Data format for response. */
1005
- alt?: string;
1009
+ alt?: 'json' | 'media' | 'proto';
1006
1010
  /** JSONP */
1007
1011
  callback?: string;
1008
1012
  /** Selector specifying which fields to include in a partial response. */
@@ -1025,11 +1029,11 @@ declare namespace gapi.client {
1025
1029
  /** Gets the catalog specified by the resource name. */
1026
1030
  get(request?: {
1027
1031
  /** V1 error format. */
1028
- '$.xgafv'?: string;
1032
+ '$.xgafv'?: '1' | '2';
1029
1033
  /** OAuth access token. */
1030
1034
  access_token?: string;
1031
1035
  /** Data format for response. */
1032
- alt?: string;
1036
+ alt?: 'json' | 'media' | 'proto';
1033
1037
  /** JSONP */
1034
1038
  callback?: string;
1035
1039
  /** Selector specifying which fields to include in a partial response. */
@@ -1052,11 +1056,11 @@ declare namespace gapi.client {
1052
1056
  /** List all catalogs in a specified project. */
1053
1057
  list(request?: {
1054
1058
  /** V1 error format. */
1055
- '$.xgafv'?: string;
1059
+ '$.xgafv'?: '1' | '2';
1056
1060
  /** OAuth access token. */
1057
1061
  access_token?: string;
1058
1062
  /** Data format for response. */
1059
- alt?: string;
1063
+ alt?: 'json' | 'media' | 'proto';
1060
1064
  /** JSONP */
1061
1065
  callback?: string;
1062
1066
  /** Selector specifying which fields to include in a partial response. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.biglake-v1",
3
- "version": "0.1.20260310",
3
+ "version": "0.1.20260605",
4
4
  "description": "TypeScript typings for BigLake API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,18 @@ Install typings for BigLake API:
11
11
  npm install @types/gapi.client.biglake-v1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": ["gapi", "gapi.auth2", "gapi.client", "gapi.client.biglake-v1"]
22
+ }
23
+ }
24
+ ```
25
+
14
26
  ## Usage
15
27
 
16
28
  You need to initialize Google API client in your code: