@maxim_mazurok/gapi.client.workstations-v1 0.1.20260130 → 0.2.20260218

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 +98 -89
  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://workstations.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260130
12
+ // Revision: 20260218
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -40,7 +40,11 @@ declare namespace gapi.client {
40
40
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
41
41
  exemptedMembers?: string[];
42
42
  /** The log type that this config enables. */
43
- logType?: string;
43
+ logType?:
44
+ | 'LOG_TYPE_UNSPECIFIED'
45
+ | 'ADMIN_READ'
46
+ | 'DATA_WRITE'
47
+ | 'DATA_READ';
44
48
  }
45
49
  interface Binding {
46
50
  /** 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). */
@@ -117,7 +121,7 @@ declare namespace gapi.client {
117
121
  /** Optional. Number of seconds to wait after initially creating or subsequently shutting down the workstation before converting its disk into a snapshot. This generally saves costs at the expense of greater startup time on next workstation start, as the service will need to create a disk from the archival snapshot. A value of `"0s"` indicates that the disk will never be archived. */
118
122
  archiveTimeout?: string;
119
123
  /** Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
120
- reclaimPolicy?: string;
124
+ reclaimPolicy?: 'RECLAIM_POLICY_UNSPECIFIED' | 'DELETE' | 'RETAIN';
121
125
  /** Optional. The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. */
122
126
  sizeGb?: number;
123
127
  /** Optional. Name of the snapshot to use as the source for the disk. If set, size_gb must be empty. Must be formatted as ext4 file system with no partitions. */
@@ -183,7 +187,7 @@ declare namespace gapi.client {
183
187
  /** Optional. Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if source_snapshot is set. Defaults to `"ext4"`. */
184
188
  fsType?: string;
185
189
  /** Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
186
- reclaimPolicy?: string;
190
+ reclaimPolicy?: 'RECLAIM_POLICY_UNSPECIFIED' | 'DELETE' | 'RETAIN';
187
191
  /** Optional. The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the disk_type must be `"pd-balanced"` or `"pd-ssd"`. */
188
192
  sizeGb?: number;
189
193
  /** Optional. Name of the snapshot to use as the source for the disk. If set, size_gb and fs_type must be empty. Must be formatted as ext4 file system with no partitions. */
@@ -420,7 +424,12 @@ declare namespace gapi.client {
420
424
  /** Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state. */
421
425
  startTime?: string;
422
426
  /** Output only. Current state of the workstation. */
423
- state?: string;
427
+ state?:
428
+ | 'STATE_UNSPECIFIED'
429
+ | 'STATE_STARTING'
430
+ | 'STATE_RUNNING'
431
+ | 'STATE_STOPPING'
432
+ | 'STATE_STOPPED';
424
433
  /** Output only. A system-assigned unique identifier for this workstation. */
425
434
  uid?: string;
426
435
  /** Output only. Time when this workstation was most recently updated. */
@@ -524,11 +533,11 @@ declare namespace gapi.client {
524
533
  /** 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`. */
525
534
  cancel(request: {
526
535
  /** V1 error format. */
527
- '$.xgafv'?: string;
536
+ '$.xgafv'?: '1' | '2';
528
537
  /** OAuth access token. */
529
538
  access_token?: string;
530
539
  /** Data format for response. */
531
- alt?: string;
540
+ alt?: 'json' | 'media' | 'proto';
532
541
  /** JSONP */
533
542
  callback?: string;
534
543
  /** Selector specifying which fields to include in a partial response. */
@@ -553,11 +562,11 @@ declare namespace gapi.client {
553
562
  cancel(
554
563
  request: {
555
564
  /** V1 error format. */
556
- '$.xgafv'?: string;
565
+ '$.xgafv'?: '1' | '2';
557
566
  /** OAuth access token. */
558
567
  access_token?: string;
559
568
  /** Data format for response. */
560
- alt?: string;
569
+ alt?: 'json' | 'media' | 'proto';
561
570
  /** JSONP */
562
571
  callback?: string;
563
572
  /** Selector specifying which fields to include in a partial response. */
@@ -582,11 +591,11 @@ declare namespace gapi.client {
582
591
  /** 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`. */
583
592
  delete(request?: {
584
593
  /** V1 error format. */
585
- '$.xgafv'?: string;
594
+ '$.xgafv'?: '1' | '2';
586
595
  /** OAuth access token. */
587
596
  access_token?: string;
588
597
  /** Data format for response. */
589
- alt?: string;
598
+ alt?: 'json' | 'media' | 'proto';
590
599
  /** JSONP */
591
600
  callback?: string;
592
601
  /** Selector specifying which fields to include in a partial response. */
@@ -609,11 +618,11 @@ declare namespace gapi.client {
609
618
  /** 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. */
610
619
  get(request?: {
611
620
  /** V1 error format. */
612
- '$.xgafv'?: string;
621
+ '$.xgafv'?: '1' | '2';
613
622
  /** OAuth access token. */
614
623
  access_token?: string;
615
624
  /** Data format for response. */
616
- alt?: string;
625
+ alt?: 'json' | 'media' | 'proto';
617
626
  /** JSONP */
618
627
  callback?: string;
619
628
  /** Selector specifying which fields to include in a partial response. */
@@ -636,11 +645,11 @@ declare namespace gapi.client {
636
645
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
637
646
  list(request?: {
638
647
  /** V1 error format. */
639
- '$.xgafv'?: string;
648
+ '$.xgafv'?: '1' | '2';
640
649
  /** OAuth access token. */
641
650
  access_token?: string;
642
651
  /** Data format for response. */
643
- alt?: string;
652
+ alt?: 'json' | 'media' | 'proto';
644
653
  /** JSONP */
645
654
  callback?: string;
646
655
  /** Selector specifying which fields to include in a partial response. */
@@ -673,11 +682,11 @@ declare namespace gapi.client {
673
682
  /** Creates a new workstation. */
674
683
  create(request: {
675
684
  /** V1 error format. */
676
- '$.xgafv'?: string;
685
+ '$.xgafv'?: '1' | '2';
677
686
  /** OAuth access token. */
678
687
  access_token?: string;
679
688
  /** Data format for response. */
680
- alt?: string;
689
+ alt?: 'json' | 'media' | 'proto';
681
690
  /** JSONP */
682
691
  callback?: string;
683
692
  /** Selector specifying which fields to include in a partial response. */
@@ -706,11 +715,11 @@ declare namespace gapi.client {
706
715
  create(
707
716
  request: {
708
717
  /** V1 error format. */
709
- '$.xgafv'?: string;
718
+ '$.xgafv'?: '1' | '2';
710
719
  /** OAuth access token. */
711
720
  access_token?: string;
712
721
  /** Data format for response. */
713
- alt?: string;
722
+ alt?: 'json' | 'media' | 'proto';
714
723
  /** JSONP */
715
724
  callback?: string;
716
725
  /** Selector specifying which fields to include in a partial response. */
@@ -739,11 +748,11 @@ declare namespace gapi.client {
739
748
  /** Deletes the specified workstation. */
740
749
  delete(request?: {
741
750
  /** V1 error format. */
742
- '$.xgafv'?: string;
751
+ '$.xgafv'?: '1' | '2';
743
752
  /** OAuth access token. */
744
753
  access_token?: string;
745
754
  /** Data format for response. */
746
- alt?: string;
755
+ alt?: 'json' | 'media' | 'proto';
747
756
  /** JSONP */
748
757
  callback?: string;
749
758
  /** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
@@ -770,11 +779,11 @@ declare namespace gapi.client {
770
779
  /** Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token. */
771
780
  generateAccessToken(request: {
772
781
  /** V1 error format. */
773
- '$.xgafv'?: string;
782
+ '$.xgafv'?: '1' | '2';
774
783
  /** OAuth access token. */
775
784
  access_token?: string;
776
785
  /** Data format for response. */
777
- alt?: string;
786
+ alt?: 'json' | 'media' | 'proto';
778
787
  /** JSONP */
779
788
  callback?: string;
780
789
  /** Selector specifying which fields to include in a partial response. */
@@ -799,11 +808,11 @@ declare namespace gapi.client {
799
808
  generateAccessToken(
800
809
  request: {
801
810
  /** V1 error format. */
802
- '$.xgafv'?: string;
811
+ '$.xgafv'?: '1' | '2';
803
812
  /** OAuth access token. */
804
813
  access_token?: string;
805
814
  /** Data format for response. */
806
- alt?: string;
815
+ alt?: 'json' | 'media' | 'proto';
807
816
  /** JSONP */
808
817
  callback?: string;
809
818
  /** Selector specifying which fields to include in a partial response. */
@@ -828,11 +837,11 @@ declare namespace gapi.client {
828
837
  /** Returns the requested workstation. */
829
838
  get(request?: {
830
839
  /** V1 error format. */
831
- '$.xgafv'?: string;
840
+ '$.xgafv'?: '1' | '2';
832
841
  /** OAuth access token. */
833
842
  access_token?: string;
834
843
  /** Data format for response. */
835
- alt?: string;
844
+ alt?: 'json' | 'media' | 'proto';
836
845
  /** JSONP */
837
846
  callback?: string;
838
847
  /** Selector specifying which fields to include in a partial response. */
@@ -855,11 +864,11 @@ declare namespace gapi.client {
855
864
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
856
865
  getIamPolicy(request?: {
857
866
  /** V1 error format. */
858
- '$.xgafv'?: string;
867
+ '$.xgafv'?: '1' | '2';
859
868
  /** OAuth access token. */
860
869
  access_token?: string;
861
870
  /** Data format for response. */
862
- alt?: string;
871
+ alt?: 'json' | 'media' | 'proto';
863
872
  /** JSONP */
864
873
  callback?: string;
865
874
  /** Selector specifying which fields to include in a partial response. */
@@ -884,11 +893,11 @@ declare namespace gapi.client {
884
893
  /** Returns all Workstations using the specified workstation configuration. */
885
894
  list(request?: {
886
895
  /** V1 error format. */
887
- '$.xgafv'?: string;
896
+ '$.xgafv'?: '1' | '2';
888
897
  /** OAuth access token. */
889
898
  access_token?: string;
890
899
  /** Data format for response. */
891
- alt?: string;
900
+ alt?: 'json' | 'media' | 'proto';
892
901
  /** JSONP */
893
902
  callback?: string;
894
903
  /** Selector specifying which fields to include in a partial response. */
@@ -917,11 +926,11 @@ declare namespace gapi.client {
917
926
  /** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */
918
927
  listUsable(request?: {
919
928
  /** V1 error format. */
920
- '$.xgafv'?: string;
929
+ '$.xgafv'?: '1' | '2';
921
930
  /** OAuth access token. */
922
931
  access_token?: string;
923
932
  /** Data format for response. */
924
- alt?: string;
933
+ alt?: 'json' | 'media' | 'proto';
925
934
  /** JSONP */
926
935
  callback?: string;
927
936
  /** Selector specifying which fields to include in a partial response. */
@@ -948,13 +957,13 @@ declare namespace gapi.client {
948
957
  /** Updates an existing workstation. */
949
958
  patch(request: {
950
959
  /** V1 error format. */
951
- '$.xgafv'?: string;
960
+ '$.xgafv'?: '1' | '2';
952
961
  /** OAuth access token. */
953
962
  access_token?: string;
954
963
  /** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
955
964
  allowMissing?: boolean;
956
965
  /** Data format for response. */
957
- alt?: string;
966
+ alt?: 'json' | 'media' | 'proto';
958
967
  /** JSONP */
959
968
  callback?: string;
960
969
  /** Selector specifying which fields to include in a partial response. */
@@ -983,13 +992,13 @@ declare namespace gapi.client {
983
992
  patch(
984
993
  request: {
985
994
  /** V1 error format. */
986
- '$.xgafv'?: string;
995
+ '$.xgafv'?: '1' | '2';
987
996
  /** OAuth access token. */
988
997
  access_token?: string;
989
998
  /** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
990
999
  allowMissing?: boolean;
991
1000
  /** Data format for response. */
992
- alt?: string;
1001
+ alt?: 'json' | 'media' | 'proto';
993
1002
  /** JSONP */
994
1003
  callback?: string;
995
1004
  /** Selector specifying which fields to include in a partial response. */
@@ -1019,11 +1028,11 @@ declare namespace gapi.client {
1019
1028
  setIamPolicy(
1020
1029
  request: {
1021
1030
  /** V1 error format. */
1022
- '$.xgafv'?: string;
1031
+ '$.xgafv'?: '1' | '2';
1023
1032
  /** OAuth access token. */
1024
1033
  access_token?: string;
1025
1034
  /** Data format for response. */
1026
- alt?: string;
1035
+ alt?: 'json' | 'media' | 'proto';
1027
1036
  /** JSONP */
1028
1037
  callback?: string;
1029
1038
  /** Selector specifying which fields to include in a partial response. */
@@ -1048,11 +1057,11 @@ declare namespace gapi.client {
1048
1057
  /** Starts running a workstation so that users can connect to it. */
1049
1058
  start(request: {
1050
1059
  /** V1 error format. */
1051
- '$.xgafv'?: string;
1060
+ '$.xgafv'?: '1' | '2';
1052
1061
  /** OAuth access token. */
1053
1062
  access_token?: string;
1054
1063
  /** Data format for response. */
1055
- alt?: string;
1064
+ alt?: 'json' | 'media' | 'proto';
1056
1065
  /** JSONP */
1057
1066
  callback?: string;
1058
1067
  /** Selector specifying which fields to include in a partial response. */
@@ -1077,11 +1086,11 @@ declare namespace gapi.client {
1077
1086
  start(
1078
1087
  request: {
1079
1088
  /** V1 error format. */
1080
- '$.xgafv'?: string;
1089
+ '$.xgafv'?: '1' | '2';
1081
1090
  /** OAuth access token. */
1082
1091
  access_token?: string;
1083
1092
  /** Data format for response. */
1084
- alt?: string;
1093
+ alt?: 'json' | 'media' | 'proto';
1085
1094
  /** JSONP */
1086
1095
  callback?: string;
1087
1096
  /** Selector specifying which fields to include in a partial response. */
@@ -1106,11 +1115,11 @@ declare namespace gapi.client {
1106
1115
  /** Stops running a workstation, reducing costs. */
1107
1116
  stop(request: {
1108
1117
  /** V1 error format. */
1109
- '$.xgafv'?: string;
1118
+ '$.xgafv'?: '1' | '2';
1110
1119
  /** OAuth access token. */
1111
1120
  access_token?: string;
1112
1121
  /** Data format for response. */
1113
- alt?: string;
1122
+ alt?: 'json' | 'media' | 'proto';
1114
1123
  /** JSONP */
1115
1124
  callback?: string;
1116
1125
  /** Selector specifying which fields to include in a partial response. */
@@ -1135,11 +1144,11 @@ declare namespace gapi.client {
1135
1144
  stop(
1136
1145
  request: {
1137
1146
  /** V1 error format. */
1138
- '$.xgafv'?: string;
1147
+ '$.xgafv'?: '1' | '2';
1139
1148
  /** OAuth access token. */
1140
1149
  access_token?: string;
1141
1150
  /** Data format for response. */
1142
- alt?: string;
1151
+ alt?: 'json' | 'media' | 'proto';
1143
1152
  /** JSONP */
1144
1153
  callback?: string;
1145
1154
  /** Selector specifying which fields to include in a partial response. */
@@ -1165,11 +1174,11 @@ declare namespace gapi.client {
1165
1174
  testIamPermissions(
1166
1175
  request: {
1167
1176
  /** V1 error format. */
1168
- '$.xgafv'?: string;
1177
+ '$.xgafv'?: '1' | '2';
1169
1178
  /** OAuth access token. */
1170
1179
  access_token?: string;
1171
1180
  /** Data format for response. */
1172
- alt?: string;
1181
+ alt?: 'json' | 'media' | 'proto';
1173
1182
  /** JSONP */
1174
1183
  callback?: string;
1175
1184
  /** Selector specifying which fields to include in a partial response. */
@@ -1196,11 +1205,11 @@ declare namespace gapi.client {
1196
1205
  /** Creates a new workstation configuration. */
1197
1206
  create(request: {
1198
1207
  /** V1 error format. */
1199
- '$.xgafv'?: string;
1208
+ '$.xgafv'?: '1' | '2';
1200
1209
  /** OAuth access token. */
1201
1210
  access_token?: string;
1202
1211
  /** Data format for response. */
1203
- alt?: string;
1212
+ alt?: 'json' | 'media' | 'proto';
1204
1213
  /** JSONP */
1205
1214
  callback?: string;
1206
1215
  /** Selector specifying which fields to include in a partial response. */
@@ -1229,11 +1238,11 @@ declare namespace gapi.client {
1229
1238
  create(
1230
1239
  request: {
1231
1240
  /** V1 error format. */
1232
- '$.xgafv'?: string;
1241
+ '$.xgafv'?: '1' | '2';
1233
1242
  /** OAuth access token. */
1234
1243
  access_token?: string;
1235
1244
  /** Data format for response. */
1236
- alt?: string;
1245
+ alt?: 'json' | 'media' | 'proto';
1237
1246
  /** JSONP */
1238
1247
  callback?: string;
1239
1248
  /** Selector specifying which fields to include in a partial response. */
@@ -1262,11 +1271,11 @@ declare namespace gapi.client {
1262
1271
  /** Deletes the specified workstation configuration. */
1263
1272
  delete(request?: {
1264
1273
  /** V1 error format. */
1265
- '$.xgafv'?: string;
1274
+ '$.xgafv'?: '1' | '2';
1266
1275
  /** OAuth access token. */
1267
1276
  access_token?: string;
1268
1277
  /** Data format for response. */
1269
- alt?: string;
1278
+ alt?: 'json' | 'media' | 'proto';
1270
1279
  /** JSONP */
1271
1280
  callback?: string;
1272
1281
  /** Optional. If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag. */
@@ -1295,11 +1304,11 @@ declare namespace gapi.client {
1295
1304
  /** Returns the requested workstation configuration. */
1296
1305
  get(request?: {
1297
1306
  /** V1 error format. */
1298
- '$.xgafv'?: string;
1307
+ '$.xgafv'?: '1' | '2';
1299
1308
  /** OAuth access token. */
1300
1309
  access_token?: string;
1301
1310
  /** Data format for response. */
1302
- alt?: string;
1311
+ alt?: 'json' | 'media' | 'proto';
1303
1312
  /** JSONP */
1304
1313
  callback?: string;
1305
1314
  /** Selector specifying which fields to include in a partial response. */
@@ -1322,11 +1331,11 @@ declare namespace gapi.client {
1322
1331
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1323
1332
  getIamPolicy(request?: {
1324
1333
  /** V1 error format. */
1325
- '$.xgafv'?: string;
1334
+ '$.xgafv'?: '1' | '2';
1326
1335
  /** OAuth access token. */
1327
1336
  access_token?: string;
1328
1337
  /** Data format for response. */
1329
- alt?: string;
1338
+ alt?: 'json' | 'media' | 'proto';
1330
1339
  /** JSONP */
1331
1340
  callback?: string;
1332
1341
  /** Selector specifying which fields to include in a partial response. */
@@ -1351,11 +1360,11 @@ declare namespace gapi.client {
1351
1360
  /** Returns all workstation configurations in the specified cluster. */
1352
1361
  list(request?: {
1353
1362
  /** V1 error format. */
1354
- '$.xgafv'?: string;
1363
+ '$.xgafv'?: '1' | '2';
1355
1364
  /** OAuth access token. */
1356
1365
  access_token?: string;
1357
1366
  /** Data format for response. */
1358
- alt?: string;
1367
+ alt?: 'json' | 'media' | 'proto';
1359
1368
  /** JSONP */
1360
1369
  callback?: string;
1361
1370
  /** Selector specifying which fields to include in a partial response. */
@@ -1384,11 +1393,11 @@ declare namespace gapi.client {
1384
1393
  /** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */
1385
1394
  listUsable(request?: {
1386
1395
  /** V1 error format. */
1387
- '$.xgafv'?: string;
1396
+ '$.xgafv'?: '1' | '2';
1388
1397
  /** OAuth access token. */
1389
1398
  access_token?: string;
1390
1399
  /** Data format for response. */
1391
- alt?: string;
1400
+ alt?: 'json' | 'media' | 'proto';
1392
1401
  /** JSONP */
1393
1402
  callback?: string;
1394
1403
  /** Selector specifying which fields to include in a partial response. */
@@ -1415,13 +1424,13 @@ declare namespace gapi.client {
1415
1424
  /** Updates an existing workstation configuration. */
1416
1425
  patch(request: {
1417
1426
  /** V1 error format. */
1418
- '$.xgafv'?: string;
1427
+ '$.xgafv'?: '1' | '2';
1419
1428
  /** OAuth access token. */
1420
1429
  access_token?: string;
1421
1430
  /** Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
1422
1431
  allowMissing?: boolean;
1423
1432
  /** Data format for response. */
1424
- alt?: string;
1433
+ alt?: 'json' | 'media' | 'proto';
1425
1434
  /** JSONP */
1426
1435
  callback?: string;
1427
1436
  /** Selector specifying which fields to include in a partial response. */
@@ -1450,13 +1459,13 @@ declare namespace gapi.client {
1450
1459
  patch(
1451
1460
  request: {
1452
1461
  /** V1 error format. */
1453
- '$.xgafv'?: string;
1462
+ '$.xgafv'?: '1' | '2';
1454
1463
  /** OAuth access token. */
1455
1464
  access_token?: string;
1456
1465
  /** Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
1457
1466
  allowMissing?: boolean;
1458
1467
  /** Data format for response. */
1459
- alt?: string;
1468
+ alt?: 'json' | 'media' | 'proto';
1460
1469
  /** JSONP */
1461
1470
  callback?: string;
1462
1471
  /** Selector specifying which fields to include in a partial response. */
@@ -1486,11 +1495,11 @@ declare namespace gapi.client {
1486
1495
  setIamPolicy(
1487
1496
  request: {
1488
1497
  /** V1 error format. */
1489
- '$.xgafv'?: string;
1498
+ '$.xgafv'?: '1' | '2';
1490
1499
  /** OAuth access token. */
1491
1500
  access_token?: string;
1492
1501
  /** Data format for response. */
1493
- alt?: string;
1502
+ alt?: 'json' | 'media' | 'proto';
1494
1503
  /** JSONP */
1495
1504
  callback?: string;
1496
1505
  /** Selector specifying which fields to include in a partial response. */
@@ -1516,11 +1525,11 @@ declare namespace gapi.client {
1516
1525
  testIamPermissions(
1517
1526
  request: {
1518
1527
  /** V1 error format. */
1519
- '$.xgafv'?: string;
1528
+ '$.xgafv'?: '1' | '2';
1520
1529
  /** OAuth access token. */
1521
1530
  access_token?: string;
1522
1531
  /** Data format for response. */
1523
- alt?: string;
1532
+ alt?: 'json' | 'media' | 'proto';
1524
1533
  /** JSONP */
1525
1534
  callback?: string;
1526
1535
  /** Selector specifying which fields to include in a partial response. */
@@ -1548,11 +1557,11 @@ declare namespace gapi.client {
1548
1557
  /** Creates a new workstation cluster. */
1549
1558
  create(request: {
1550
1559
  /** V1 error format. */
1551
- '$.xgafv'?: string;
1560
+ '$.xgafv'?: '1' | '2';
1552
1561
  /** OAuth access token. */
1553
1562
  access_token?: string;
1554
1563
  /** Data format for response. */
1555
- alt?: string;
1564
+ alt?: 'json' | 'media' | 'proto';
1556
1565
  /** JSONP */
1557
1566
  callback?: string;
1558
1567
  /** Selector specifying which fields to include in a partial response. */
@@ -1581,11 +1590,11 @@ declare namespace gapi.client {
1581
1590
  create(
1582
1591
  request: {
1583
1592
  /** V1 error format. */
1584
- '$.xgafv'?: string;
1593
+ '$.xgafv'?: '1' | '2';
1585
1594
  /** OAuth access token. */
1586
1595
  access_token?: string;
1587
1596
  /** Data format for response. */
1588
- alt?: string;
1597
+ alt?: 'json' | 'media' | 'proto';
1589
1598
  /** JSONP */
1590
1599
  callback?: string;
1591
1600
  /** Selector specifying which fields to include in a partial response. */
@@ -1614,11 +1623,11 @@ declare namespace gapi.client {
1614
1623
  /** Deletes the specified workstation cluster. */
1615
1624
  delete(request?: {
1616
1625
  /** V1 error format. */
1617
- '$.xgafv'?: string;
1626
+ '$.xgafv'?: '1' | '2';
1618
1627
  /** OAuth access token. */
1619
1628
  access_token?: string;
1620
1629
  /** Data format for response. */
1621
- alt?: string;
1630
+ alt?: 'json' | 'media' | 'proto';
1622
1631
  /** JSONP */
1623
1632
  callback?: string;
1624
1633
  /** Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag. */
@@ -1647,11 +1656,11 @@ declare namespace gapi.client {
1647
1656
  /** Returns the requested workstation cluster. */
1648
1657
  get(request?: {
1649
1658
  /** V1 error format. */
1650
- '$.xgafv'?: string;
1659
+ '$.xgafv'?: '1' | '2';
1651
1660
  /** OAuth access token. */
1652
1661
  access_token?: string;
1653
1662
  /** Data format for response. */
1654
- alt?: string;
1663
+ alt?: 'json' | 'media' | 'proto';
1655
1664
  /** JSONP */
1656
1665
  callback?: string;
1657
1666
  /** Selector specifying which fields to include in a partial response. */
@@ -1674,11 +1683,11 @@ declare namespace gapi.client {
1674
1683
  /** Returns all workstation clusters in the specified location. */
1675
1684
  list(request?: {
1676
1685
  /** V1 error format. */
1677
- '$.xgafv'?: string;
1686
+ '$.xgafv'?: '1' | '2';
1678
1687
  /** OAuth access token. */
1679
1688
  access_token?: string;
1680
1689
  /** Data format for response. */
1681
- alt?: string;
1690
+ alt?: 'json' | 'media' | 'proto';
1682
1691
  /** JSONP */
1683
1692
  callback?: string;
1684
1693
  /** Selector specifying which fields to include in a partial response. */
@@ -1707,13 +1716,13 @@ declare namespace gapi.client {
1707
1716
  /** Updates an existing workstation cluster. */
1708
1717
  patch(request: {
1709
1718
  /** V1 error format. */
1710
- '$.xgafv'?: string;
1719
+ '$.xgafv'?: '1' | '2';
1711
1720
  /** OAuth access token. */
1712
1721
  access_token?: string;
1713
1722
  /** Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
1714
1723
  allowMissing?: boolean;
1715
1724
  /** Data format for response. */
1716
- alt?: string;
1725
+ alt?: 'json' | 'media' | 'proto';
1717
1726
  /** JSONP */
1718
1727
  callback?: string;
1719
1728
  /** Selector specifying which fields to include in a partial response. */
@@ -1742,13 +1751,13 @@ declare namespace gapi.client {
1742
1751
  patch(
1743
1752
  request: {
1744
1753
  /** V1 error format. */
1745
- '$.xgafv'?: string;
1754
+ '$.xgafv'?: '1' | '2';
1746
1755
  /** OAuth access token. */
1747
1756
  access_token?: string;
1748
1757
  /** Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
1749
1758
  allowMissing?: boolean;
1750
1759
  /** Data format for response. */
1751
- alt?: string;
1760
+ alt?: 'json' | 'media' | 'proto';
1752
1761
  /** JSONP */
1753
1762
  callback?: string;
1754
1763
  /** Selector specifying which fields to include in a partial response. */
@@ -1780,11 +1789,11 @@ declare namespace gapi.client {
1780
1789
  /** Gets information about a location. */
1781
1790
  get(request?: {
1782
1791
  /** V1 error format. */
1783
- '$.xgafv'?: string;
1792
+ '$.xgafv'?: '1' | '2';
1784
1793
  /** OAuth access token. */
1785
1794
  access_token?: string;
1786
1795
  /** Data format for response. */
1787
- alt?: string;
1796
+ alt?: 'json' | 'media' | 'proto';
1788
1797
  /** JSONP */
1789
1798
  callback?: string;
1790
1799
  /** Selector specifying which fields to include in a partial response. */
@@ -1807,11 +1816,11 @@ declare namespace gapi.client {
1807
1816
  /** 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. */
1808
1817
  list(request?: {
1809
1818
  /** V1 error format. */
1810
- '$.xgafv'?: string;
1819
+ '$.xgafv'?: '1' | '2';
1811
1820
  /** OAuth access token. */
1812
1821
  access_token?: string;
1813
1822
  /** Data format for response. */
1814
- alt?: string;
1823
+ alt?: 'json' | 'media' | 'proto';
1815
1824
  /** JSONP */
1816
1825
  callback?: string;
1817
1826
  /** 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.workstations-v1",
3
- "version": "0.1.20260130",
3
+ "version": "0.2.20260218",
4
4
  "description": "TypeScript typings for Cloud Workstations API v1",
5
5
  "repository": {
6
6
  "type": "git",