@maxim_mazurok/gapi.client.datastream-v1alpha1 0.1.20260302 → 0.2.20260315

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 +116 -90
  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://datastream.googleapis.com/$discovery/rest?version=v1alpha1
12
- // Revision: 20260302
12
+ // Revision: 20260315
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -43,9 +43,17 @@ declare namespace gapi.client {
43
43
  /** Output only. Backfill job's start time. */
44
44
  lastStartTime?: string;
45
45
  /** Backfill job state. */
46
- state?: string;
46
+ state?:
47
+ | 'STATE_UNSPECIFIED'
48
+ | 'NOT_STARTED'
49
+ | 'PENDING'
50
+ | 'ACTIVE'
51
+ | 'STOPPED'
52
+ | 'FAILED'
53
+ | 'COMPLETED'
54
+ | 'UNSUPPORTED';
47
55
  /** Backfill job's triggering reason. */
48
- trigger?: string;
56
+ trigger?: 'TRIGGER_UNSPECIFIED' | 'AUTOMATIC' | 'MANUAL';
49
57
  }
50
58
  interface BackfillNoneStrategy {}
51
59
  interface BadRequest {
@@ -174,7 +182,7 @@ declare namespace gapi.client {
174
182
  /** The maximum file size to be saved in the bucket. */
175
183
  fileRotationMb?: number;
176
184
  /** File format that data should be written in. Deprecated field (b/169501737) - use file_format instead. */
177
- gcsFileFormat?: string;
185
+ gcsFileFormat?: 'GCS_FILE_FORMAT_UNSPECIFIED' | 'AVRO';
178
186
  /** JSON file format configuration. */
179
187
  jsonFileFormat?: JsonFileFormat;
180
188
  /** Path inside the Cloud Storage bucket to write data to. */
@@ -192,9 +200,12 @@ declare namespace gapi.client {
192
200
  }
193
201
  interface JsonFileFormat {
194
202
  /** Compression of the loaded JSON file. */
195
- compression?: string;
203
+ compression?: 'JSON_COMPRESSION_UNSPECIFIED' | 'NO_COMPRESSION' | 'GZIP';
196
204
  /** The schema file format along JSON data files. */
197
- schemaFileFormat?: string;
205
+ schemaFileFormat?:
206
+ | 'SCHEMA_FILE_FORMAT_UNSPECIFIED'
207
+ | 'NO_SCHEMA_FILE'
208
+ | 'AVRO_SCHEMA_FILE';
198
209
  }
199
210
  interface Link {
200
211
  /** Describes what the link offers. */
@@ -461,7 +472,13 @@ declare namespace gapi.client {
461
472
  /** Output only. The resource's name. */
462
473
  name?: string;
463
474
  /** Output only. The state of the Private Connection. */
464
- state?: string;
475
+ state?:
476
+ | 'STATE_UNSPECIFIED'
477
+ | 'CREATING'
478
+ | 'CREATED'
479
+ | 'FAILED'
480
+ | 'DELETING'
481
+ | 'FAILED_TO_DELETE';
465
482
  /** Output only. The update time of the resource. */
466
483
  updateTime?: string;
467
484
  /** VPC Peering Config */
@@ -581,7 +598,16 @@ declare namespace gapi.client {
581
598
  /** Required. Source connection profile configuration. */
582
599
  sourceConfig?: SourceConfig;
583
600
  /** The state of the stream. */
584
- state?: string;
601
+ state?:
602
+ | 'STATE_UNSPECIFIED'
603
+ | 'CREATED'
604
+ | 'RUNNING'
605
+ | 'PAUSED'
606
+ | 'MAINTENANCE'
607
+ | 'FAILED'
608
+ | 'FAILED_PERMANENTLY'
609
+ | 'STARTING'
610
+ | 'DRAINING';
585
611
  /** Output only. The last update time of the stream. */
586
612
  updateTime?: string;
587
613
  }
@@ -609,13 +635,13 @@ declare namespace gapi.client {
609
635
  /** Messages reflecting the validation results. */
610
636
  message?: ValidationMessage[];
611
637
  /** Validation execution status. */
612
- status?: string;
638
+ status?: 'STATUS_UNSPECIFIED' | 'NOT_EXECUTED' | 'FAILED' | 'PASSED';
613
639
  }
614
640
  interface ValidationMessage {
615
641
  /** A custom code identifying this specific message. */
616
642
  code?: string;
617
643
  /** Message severity level (warning or error). */
618
- level?: string;
644
+ level?: 'LEVEL_UNSPECIFIED' | 'WARNING' | 'ERROR';
619
645
  /** The result of the validation. */
620
646
  message?: string;
621
647
  /** Additional metadata related to the result. */
@@ -635,11 +661,11 @@ declare namespace gapi.client {
635
661
  /** Use this method to create a connection profile in a project and location. */
636
662
  create(request: {
637
663
  /** V1 error format. */
638
- '$.xgafv'?: string;
664
+ '$.xgafv'?: '1' | '2';
639
665
  /** OAuth access token. */
640
666
  access_token?: string;
641
667
  /** Data format for response. */
642
- alt?: string;
668
+ alt?: 'json' | 'media' | 'proto';
643
669
  /** JSONP */
644
670
  callback?: string;
645
671
  /** Required. The connection profile identifier. */
@@ -668,11 +694,11 @@ declare namespace gapi.client {
668
694
  create(
669
695
  request: {
670
696
  /** V1 error format. */
671
- '$.xgafv'?: string;
697
+ '$.xgafv'?: '1' | '2';
672
698
  /** OAuth access token. */
673
699
  access_token?: string;
674
700
  /** Data format for response. */
675
- alt?: string;
701
+ alt?: 'json' | 'media' | 'proto';
676
702
  /** JSONP */
677
703
  callback?: string;
678
704
  /** Required. The connection profile identifier. */
@@ -701,11 +727,11 @@ declare namespace gapi.client {
701
727
  /** Use this method to delete a connection profile.. */
702
728
  delete(request?: {
703
729
  /** V1 error format. */
704
- '$.xgafv'?: string;
730
+ '$.xgafv'?: '1' | '2';
705
731
  /** OAuth access token. */
706
732
  access_token?: string;
707
733
  /** Data format for response. */
708
- alt?: string;
734
+ alt?: 'json' | 'media' | 'proto';
709
735
  /** JSONP */
710
736
  callback?: string;
711
737
  /** Selector specifying which fields to include in a partial response. */
@@ -730,11 +756,11 @@ declare namespace gapi.client {
730
756
  /** Use this method to discover a connection profile. The discover API call exposes the data objects and metadata belonging to the profile. Typically, a request returns children data objects under a parent data object that's optionally supplied in the request. */
731
757
  discover(request: {
732
758
  /** V1 error format. */
733
- '$.xgafv'?: string;
759
+ '$.xgafv'?: '1' | '2';
734
760
  /** OAuth access token. */
735
761
  access_token?: string;
736
762
  /** Data format for response. */
737
- alt?: string;
763
+ alt?: 'json' | 'media' | 'proto';
738
764
  /** JSONP */
739
765
  callback?: string;
740
766
  /** Selector specifying which fields to include in a partial response. */
@@ -759,11 +785,11 @@ declare namespace gapi.client {
759
785
  discover(
760
786
  request: {
761
787
  /** V1 error format. */
762
- '$.xgafv'?: string;
788
+ '$.xgafv'?: '1' | '2';
763
789
  /** OAuth access token. */
764
790
  access_token?: string;
765
791
  /** Data format for response. */
766
- alt?: string;
792
+ alt?: 'json' | 'media' | 'proto';
767
793
  /** JSONP */
768
794
  callback?: string;
769
795
  /** Selector specifying which fields to include in a partial response. */
@@ -788,11 +814,11 @@ declare namespace gapi.client {
788
814
  /** Use this method to get details about a connection profile. */
789
815
  get(request?: {
790
816
  /** V1 error format. */
791
- '$.xgafv'?: string;
817
+ '$.xgafv'?: '1' | '2';
792
818
  /** OAuth access token. */
793
819
  access_token?: string;
794
820
  /** Data format for response. */
795
- alt?: string;
821
+ alt?: 'json' | 'media' | 'proto';
796
822
  /** JSONP */
797
823
  callback?: string;
798
824
  /** Selector specifying which fields to include in a partial response. */
@@ -815,11 +841,11 @@ declare namespace gapi.client {
815
841
  /** Use this method to list connection profiles created in a project and location. */
816
842
  list(request?: {
817
843
  /** V1 error format. */
818
- '$.xgafv'?: string;
844
+ '$.xgafv'?: '1' | '2';
819
845
  /** OAuth access token. */
820
846
  access_token?: string;
821
847
  /** Data format for response. */
822
- alt?: string;
848
+ alt?: 'json' | 'media' | 'proto';
823
849
  /** JSONP */
824
850
  callback?: string;
825
851
  /** Selector specifying which fields to include in a partial response. */
@@ -850,11 +876,11 @@ declare namespace gapi.client {
850
876
  /** Use this method to update the parameters of a connection profile. */
851
877
  patch(request: {
852
878
  /** V1 error format. */
853
- '$.xgafv'?: string;
879
+ '$.xgafv'?: '1' | '2';
854
880
  /** OAuth access token. */
855
881
  access_token?: string;
856
882
  /** Data format for response. */
857
- alt?: string;
883
+ alt?: 'json' | 'media' | 'proto';
858
884
  /** JSONP */
859
885
  callback?: string;
860
886
  /** Selector specifying which fields to include in a partial response. */
@@ -885,11 +911,11 @@ declare namespace gapi.client {
885
911
  patch(
886
912
  request: {
887
913
  /** V1 error format. */
888
- '$.xgafv'?: string;
914
+ '$.xgafv'?: '1' | '2';
889
915
  /** OAuth access token. */
890
916
  access_token?: string;
891
917
  /** Data format for response. */
892
- alt?: string;
918
+ alt?: 'json' | 'media' | 'proto';
893
919
  /** JSONP */
894
920
  callback?: string;
895
921
  /** Selector specifying which fields to include in a partial response. */
@@ -922,11 +948,11 @@ declare namespace gapi.client {
922
948
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
923
949
  cancel(request: {
924
950
  /** V1 error format. */
925
- '$.xgafv'?: string;
951
+ '$.xgafv'?: '1' | '2';
926
952
  /** OAuth access token. */
927
953
  access_token?: string;
928
954
  /** Data format for response. */
929
- alt?: string;
955
+ alt?: 'json' | 'media' | 'proto';
930
956
  /** JSONP */
931
957
  callback?: string;
932
958
  /** Selector specifying which fields to include in a partial response. */
@@ -951,11 +977,11 @@ declare namespace gapi.client {
951
977
  cancel(
952
978
  request: {
953
979
  /** V1 error format. */
954
- '$.xgafv'?: string;
980
+ '$.xgafv'?: '1' | '2';
955
981
  /** OAuth access token. */
956
982
  access_token?: string;
957
983
  /** Data format for response. */
958
- alt?: string;
984
+ alt?: 'json' | 'media' | 'proto';
959
985
  /** JSONP */
960
986
  callback?: string;
961
987
  /** Selector specifying which fields to include in a partial response. */
@@ -980,11 +1006,11 @@ declare namespace gapi.client {
980
1006
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
981
1007
  delete(request?: {
982
1008
  /** V1 error format. */
983
- '$.xgafv'?: string;
1009
+ '$.xgafv'?: '1' | '2';
984
1010
  /** OAuth access token. */
985
1011
  access_token?: string;
986
1012
  /** Data format for response. */
987
- alt?: string;
1013
+ alt?: 'json' | 'media' | 'proto';
988
1014
  /** JSONP */
989
1015
  callback?: string;
990
1016
  /** Selector specifying which fields to include in a partial response. */
@@ -1007,11 +1033,11 @@ declare namespace gapi.client {
1007
1033
  /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1008
1034
  get(request?: {
1009
1035
  /** V1 error format. */
1010
- '$.xgafv'?: string;
1036
+ '$.xgafv'?: '1' | '2';
1011
1037
  /** OAuth access token. */
1012
1038
  access_token?: string;
1013
1039
  /** Data format for response. */
1014
- alt?: string;
1040
+ alt?: 'json' | 'media' | 'proto';
1015
1041
  /** JSONP */
1016
1042
  callback?: string;
1017
1043
  /** Selector specifying which fields to include in a partial response. */
@@ -1034,11 +1060,11 @@ declare namespace gapi.client {
1034
1060
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1035
1061
  list(request?: {
1036
1062
  /** V1 error format. */
1037
- '$.xgafv'?: string;
1063
+ '$.xgafv'?: '1' | '2';
1038
1064
  /** OAuth access token. */
1039
1065
  access_token?: string;
1040
1066
  /** Data format for response. */
1041
- alt?: string;
1067
+ alt?: 'json' | 'media' | 'proto';
1042
1068
  /** JSONP */
1043
1069
  callback?: string;
1044
1070
  /** Selector specifying which fields to include in a partial response. */
@@ -1071,11 +1097,11 @@ declare namespace gapi.client {
1071
1097
  /** Use this method to create a route for a private connectivity in a project and location. */
1072
1098
  create(request: {
1073
1099
  /** V1 error format. */
1074
- '$.xgafv'?: string;
1100
+ '$.xgafv'?: '1' | '2';
1075
1101
  /** OAuth access token. */
1076
1102
  access_token?: string;
1077
1103
  /** Data format for response. */
1078
- alt?: string;
1104
+ alt?: 'json' | 'media' | 'proto';
1079
1105
  /** JSONP */
1080
1106
  callback?: string;
1081
1107
  /** Selector specifying which fields to include in a partial response. */
@@ -1104,11 +1130,11 @@ declare namespace gapi.client {
1104
1130
  create(
1105
1131
  request: {
1106
1132
  /** V1 error format. */
1107
- '$.xgafv'?: string;
1133
+ '$.xgafv'?: '1' | '2';
1108
1134
  /** OAuth access token. */
1109
1135
  access_token?: string;
1110
1136
  /** Data format for response. */
1111
- alt?: string;
1137
+ alt?: 'json' | 'media' | 'proto';
1112
1138
  /** JSONP */
1113
1139
  callback?: string;
1114
1140
  /** Selector specifying which fields to include in a partial response. */
@@ -1137,11 +1163,11 @@ declare namespace gapi.client {
1137
1163
  /** Use this method to delete a route. */
1138
1164
  delete(request?: {
1139
1165
  /** V1 error format. */
1140
- '$.xgafv'?: string;
1166
+ '$.xgafv'?: '1' | '2';
1141
1167
  /** OAuth access token. */
1142
1168
  access_token?: string;
1143
1169
  /** Data format for response. */
1144
- alt?: string;
1170
+ alt?: 'json' | 'media' | 'proto';
1145
1171
  /** JSONP */
1146
1172
  callback?: string;
1147
1173
  /** Selector specifying which fields to include in a partial response. */
@@ -1166,11 +1192,11 @@ declare namespace gapi.client {
1166
1192
  /** Use this method to get details about a route. */
1167
1193
  get(request?: {
1168
1194
  /** V1 error format. */
1169
- '$.xgafv'?: string;
1195
+ '$.xgafv'?: '1' | '2';
1170
1196
  /** OAuth access token. */
1171
1197
  access_token?: string;
1172
1198
  /** Data format for response. */
1173
- alt?: string;
1199
+ alt?: 'json' | 'media' | 'proto';
1174
1200
  /** JSONP */
1175
1201
  callback?: string;
1176
1202
  /** Selector specifying which fields to include in a partial response. */
@@ -1193,11 +1219,11 @@ declare namespace gapi.client {
1193
1219
  /** Use this method to list routes created for a private connectivity in a project and location. */
1194
1220
  list(request?: {
1195
1221
  /** V1 error format. */
1196
- '$.xgafv'?: string;
1222
+ '$.xgafv'?: '1' | '2';
1197
1223
  /** OAuth access token. */
1198
1224
  access_token?: string;
1199
1225
  /** Data format for response. */
1200
- alt?: string;
1226
+ alt?: 'json' | 'media' | 'proto';
1201
1227
  /** JSONP */
1202
1228
  callback?: string;
1203
1229
  /** Selector specifying which fields to include in a partial response. */
@@ -1230,11 +1256,11 @@ declare namespace gapi.client {
1230
1256
  /** Use this method to create a private connectivity configuration. */
1231
1257
  create(request: {
1232
1258
  /** V1 error format. */
1233
- '$.xgafv'?: string;
1259
+ '$.xgafv'?: '1' | '2';
1234
1260
  /** OAuth access token. */
1235
1261
  access_token?: string;
1236
1262
  /** Data format for response. */
1237
- alt?: string;
1263
+ alt?: 'json' | 'media' | 'proto';
1238
1264
  /** JSONP */
1239
1265
  callback?: string;
1240
1266
  /** Selector specifying which fields to include in a partial response. */
@@ -1263,11 +1289,11 @@ declare namespace gapi.client {
1263
1289
  create(
1264
1290
  request: {
1265
1291
  /** V1 error format. */
1266
- '$.xgafv'?: string;
1292
+ '$.xgafv'?: '1' | '2';
1267
1293
  /** OAuth access token. */
1268
1294
  access_token?: string;
1269
1295
  /** Data format for response. */
1270
- alt?: string;
1296
+ alt?: 'json' | 'media' | 'proto';
1271
1297
  /** JSONP */
1272
1298
  callback?: string;
1273
1299
  /** Selector specifying which fields to include in a partial response. */
@@ -1296,11 +1322,11 @@ declare namespace gapi.client {
1296
1322
  /** Use this method to delete a private connectivity configuration. */
1297
1323
  delete(request?: {
1298
1324
  /** V1 error format. */
1299
- '$.xgafv'?: string;
1325
+ '$.xgafv'?: '1' | '2';
1300
1326
  /** OAuth access token. */
1301
1327
  access_token?: string;
1302
1328
  /** Data format for response. */
1303
- alt?: string;
1329
+ alt?: 'json' | 'media' | 'proto';
1304
1330
  /** JSONP */
1305
1331
  callback?: string;
1306
1332
  /** Selector specifying which fields to include in a partial response. */
@@ -1327,11 +1353,11 @@ declare namespace gapi.client {
1327
1353
  /** Use this method to get details about a private connectivity configuration. */
1328
1354
  get(request?: {
1329
1355
  /** V1 error format. */
1330
- '$.xgafv'?: string;
1356
+ '$.xgafv'?: '1' | '2';
1331
1357
  /** OAuth access token. */
1332
1358
  access_token?: string;
1333
1359
  /** Data format for response. */
1334
- alt?: string;
1360
+ alt?: 'json' | 'media' | 'proto';
1335
1361
  /** JSONP */
1336
1362
  callback?: string;
1337
1363
  /** Selector specifying which fields to include in a partial response. */
@@ -1354,11 +1380,11 @@ declare namespace gapi.client {
1354
1380
  /** Use this method to list private connectivity configurations in a project and location. */
1355
1381
  list(request?: {
1356
1382
  /** V1 error format. */
1357
- '$.xgafv'?: string;
1383
+ '$.xgafv'?: '1' | '2';
1358
1384
  /** OAuth access token. */
1359
1385
  access_token?: string;
1360
1386
  /** Data format for response. */
1361
- alt?: string;
1387
+ alt?: 'json' | 'media' | 'proto';
1362
1388
  /** JSONP */
1363
1389
  callback?: string;
1364
1390
  /** Selector specifying which fields to include in a partial response. */
@@ -1392,11 +1418,11 @@ declare namespace gapi.client {
1392
1418
  /** Use this method to get details about a stream object. */
1393
1419
  get(request?: {
1394
1420
  /** V1 error format. */
1395
- '$.xgafv'?: string;
1421
+ '$.xgafv'?: '1' | '2';
1396
1422
  /** OAuth access token. */
1397
1423
  access_token?: string;
1398
1424
  /** Data format for response. */
1399
- alt?: string;
1425
+ alt?: 'json' | 'media' | 'proto';
1400
1426
  /** JSONP */
1401
1427
  callback?: string;
1402
1428
  /** Selector specifying which fields to include in a partial response. */
@@ -1419,11 +1445,11 @@ declare namespace gapi.client {
1419
1445
  /** Use this method to list the objects of a specific stream. */
1420
1446
  list(request?: {
1421
1447
  /** V1 error format. */
1422
- '$.xgafv'?: string;
1448
+ '$.xgafv'?: '1' | '2';
1423
1449
  /** OAuth access token. */
1424
1450
  access_token?: string;
1425
1451
  /** Data format for response. */
1426
- alt?: string;
1452
+ alt?: 'json' | 'media' | 'proto';
1427
1453
  /** JSONP */
1428
1454
  callback?: string;
1429
1455
  /** Selector specifying which fields to include in a partial response. */
@@ -1450,11 +1476,11 @@ declare namespace gapi.client {
1450
1476
  /** Starts backfill job for the specified stream object. */
1451
1477
  startBackfillJob(request?: {
1452
1478
  /** V1 error format. */
1453
- '$.xgafv'?: string;
1479
+ '$.xgafv'?: '1' | '2';
1454
1480
  /** OAuth access token. */
1455
1481
  access_token?: string;
1456
1482
  /** Data format for response. */
1457
- alt?: string;
1483
+ alt?: 'json' | 'media' | 'proto';
1458
1484
  /** JSONP */
1459
1485
  callback?: string;
1460
1486
  /** Selector specifying which fields to include in a partial response. */
@@ -1477,11 +1503,11 @@ declare namespace gapi.client {
1477
1503
  /** Stops the backfill job for the specified stream object. */
1478
1504
  stopBackfillJob(request?: {
1479
1505
  /** V1 error format. */
1480
- '$.xgafv'?: string;
1506
+ '$.xgafv'?: '1' | '2';
1481
1507
  /** OAuth access token. */
1482
1508
  access_token?: string;
1483
1509
  /** Data format for response. */
1484
- alt?: string;
1510
+ alt?: 'json' | 'media' | 'proto';
1485
1511
  /** JSONP */
1486
1512
  callback?: string;
1487
1513
  /** Selector specifying which fields to include in a partial response. */
@@ -1506,11 +1532,11 @@ declare namespace gapi.client {
1506
1532
  /** Use this method to create a stream. */
1507
1533
  create(request: {
1508
1534
  /** V1 error format. */
1509
- '$.xgafv'?: string;
1535
+ '$.xgafv'?: '1' | '2';
1510
1536
  /** OAuth access token. */
1511
1537
  access_token?: string;
1512
1538
  /** Data format for response. */
1513
- alt?: string;
1539
+ alt?: 'json' | 'media' | 'proto';
1514
1540
  /** JSONP */
1515
1541
  callback?: string;
1516
1542
  /** Selector specifying which fields to include in a partial response. */
@@ -1543,11 +1569,11 @@ declare namespace gapi.client {
1543
1569
  create(
1544
1570
  request: {
1545
1571
  /** V1 error format. */
1546
- '$.xgafv'?: string;
1572
+ '$.xgafv'?: '1' | '2';
1547
1573
  /** OAuth access token. */
1548
1574
  access_token?: string;
1549
1575
  /** Data format for response. */
1550
- alt?: string;
1576
+ alt?: 'json' | 'media' | 'proto';
1551
1577
  /** JSONP */
1552
1578
  callback?: string;
1553
1579
  /** Selector specifying which fields to include in a partial response. */
@@ -1580,11 +1606,11 @@ declare namespace gapi.client {
1580
1606
  /** Use this method to delete a stream. */
1581
1607
  delete(request?: {
1582
1608
  /** V1 error format. */
1583
- '$.xgafv'?: string;
1609
+ '$.xgafv'?: '1' | '2';
1584
1610
  /** OAuth access token. */
1585
1611
  access_token?: string;
1586
1612
  /** Data format for response. */
1587
- alt?: string;
1613
+ alt?: 'json' | 'media' | 'proto';
1588
1614
  /** JSONP */
1589
1615
  callback?: string;
1590
1616
  /** Selector specifying which fields to include in a partial response. */
@@ -1609,11 +1635,11 @@ declare namespace gapi.client {
1609
1635
  /** Use this method to fetch any errors associated with a stream. */
1610
1636
  fetchErrors(request: {
1611
1637
  /** V1 error format. */
1612
- '$.xgafv'?: string;
1638
+ '$.xgafv'?: '1' | '2';
1613
1639
  /** OAuth access token. */
1614
1640
  access_token?: string;
1615
1641
  /** Data format for response. */
1616
- alt?: string;
1642
+ alt?: 'json' | 'media' | 'proto';
1617
1643
  /** JSONP */
1618
1644
  callback?: string;
1619
1645
  /** Selector specifying which fields to include in a partial response. */
@@ -1638,11 +1664,11 @@ declare namespace gapi.client {
1638
1664
  fetchErrors(
1639
1665
  request: {
1640
1666
  /** V1 error format. */
1641
- '$.xgafv'?: string;
1667
+ '$.xgafv'?: '1' | '2';
1642
1668
  /** OAuth access token. */
1643
1669
  access_token?: string;
1644
1670
  /** Data format for response. */
1645
- alt?: string;
1671
+ alt?: 'json' | 'media' | 'proto';
1646
1672
  /** JSONP */
1647
1673
  callback?: string;
1648
1674
  /** Selector specifying which fields to include in a partial response. */
@@ -1667,11 +1693,11 @@ declare namespace gapi.client {
1667
1693
  /** Use this method to get details about a stream. */
1668
1694
  get(request?: {
1669
1695
  /** V1 error format. */
1670
- '$.xgafv'?: string;
1696
+ '$.xgafv'?: '1' | '2';
1671
1697
  /** OAuth access token. */
1672
1698
  access_token?: string;
1673
1699
  /** Data format for response. */
1674
- alt?: string;
1700
+ alt?: 'json' | 'media' | 'proto';
1675
1701
  /** JSONP */
1676
1702
  callback?: string;
1677
1703
  /** Selector specifying which fields to include in a partial response. */
@@ -1694,11 +1720,11 @@ declare namespace gapi.client {
1694
1720
  /** Use this method to list streams in a project and location. */
1695
1721
  list(request?: {
1696
1722
  /** V1 error format. */
1697
- '$.xgafv'?: string;
1723
+ '$.xgafv'?: '1' | '2';
1698
1724
  /** OAuth access token. */
1699
1725
  access_token?: string;
1700
1726
  /** Data format for response. */
1701
- alt?: string;
1727
+ alt?: 'json' | 'media' | 'proto';
1702
1728
  /** JSONP */
1703
1729
  callback?: string;
1704
1730
  /** Selector specifying which fields to include in a partial response. */
@@ -1729,11 +1755,11 @@ declare namespace gapi.client {
1729
1755
  /** Use this method to update the configuration of a stream. */
1730
1756
  patch(request: {
1731
1757
  /** V1 error format. */
1732
- '$.xgafv'?: string;
1758
+ '$.xgafv'?: '1' | '2';
1733
1759
  /** OAuth access token. */
1734
1760
  access_token?: string;
1735
1761
  /** Data format for response. */
1736
- alt?: string;
1762
+ alt?: 'json' | 'media' | 'proto';
1737
1763
  /** JSONP */
1738
1764
  callback?: string;
1739
1765
  /** Selector specifying which fields to include in a partial response. */
@@ -1766,11 +1792,11 @@ declare namespace gapi.client {
1766
1792
  patch(
1767
1793
  request: {
1768
1794
  /** V1 error format. */
1769
- '$.xgafv'?: string;
1795
+ '$.xgafv'?: '1' | '2';
1770
1796
  /** OAuth access token. */
1771
1797
  access_token?: string;
1772
1798
  /** Data format for response. */
1773
- alt?: string;
1799
+ alt?: 'json' | 'media' | 'proto';
1774
1800
  /** JSONP */
1775
1801
  callback?: string;
1776
1802
  /** Selector specifying which fields to include in a partial response. */
@@ -1806,11 +1832,11 @@ declare namespace gapi.client {
1806
1832
  /** The FetchStaticIps API call exposes the static IP addresses used by Datastream. */
1807
1833
  fetchStaticIps(request?: {
1808
1834
  /** V1 error format. */
1809
- '$.xgafv'?: string;
1835
+ '$.xgafv'?: '1' | '2';
1810
1836
  /** OAuth access token. */
1811
1837
  access_token?: string;
1812
1838
  /** Data format for response. */
1813
- alt?: string;
1839
+ alt?: 'json' | 'media' | 'proto';
1814
1840
  /** JSONP */
1815
1841
  callback?: string;
1816
1842
  /** Selector specifying which fields to include in a partial response. */
@@ -1837,11 +1863,11 @@ declare namespace gapi.client {
1837
1863
  /** Gets information about a location. */
1838
1864
  get(request?: {
1839
1865
  /** V1 error format. */
1840
- '$.xgafv'?: string;
1866
+ '$.xgafv'?: '1' | '2';
1841
1867
  /** OAuth access token. */
1842
1868
  access_token?: string;
1843
1869
  /** Data format for response. */
1844
- alt?: string;
1870
+ alt?: 'json' | 'media' | 'proto';
1845
1871
  /** JSONP */
1846
1872
  callback?: string;
1847
1873
  /** Selector specifying which fields to include in a partial response. */
@@ -1864,11 +1890,11 @@ declare namespace gapi.client {
1864
1890
  /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
1865
1891
  list(request?: {
1866
1892
  /** V1 error format. */
1867
- '$.xgafv'?: string;
1893
+ '$.xgafv'?: '1' | '2';
1868
1894
  /** OAuth access token. */
1869
1895
  access_token?: string;
1870
1896
  /** Data format for response. */
1871
- alt?: string;
1897
+ alt?: 'json' | 'media' | 'proto';
1872
1898
  /** JSONP */
1873
1899
  callback?: string;
1874
1900
  /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datastream-v1alpha1",
3
- "version": "0.1.20260302",
3
+ "version": "0.2.20260315",
4
4
  "description": "TypeScript typings for Datastream API v1alpha1",
5
5
  "repository": {
6
6
  "type": "git",