@maxim_mazurok/gapi.client.workstations-v1beta 0.1.20260218 → 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 -85
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -44,7 +44,11 @@ declare namespace gapi.client {
44
44
  /** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
45
45
  exemptedMembers?: string[];
46
46
  /** The log type that this config enables. */
47
- logType?: string;
47
+ logType?:
48
+ | 'LOG_TYPE_UNSPECIFIED'
49
+ | 'ADMIN_READ'
50
+ | 'DATA_WRITE'
51
+ | 'DATA_READ';
48
52
  }
49
53
  interface Binding {
50
54
  /** 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). */
@@ -123,7 +127,7 @@ declare namespace gapi.client {
123
127
  /** 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. */
124
128
  archiveTimeout?: string;
125
129
  /** Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
126
- reclaimPolicy?: string;
130
+ reclaimPolicy?: 'RECLAIM_POLICY_UNSPECIFIED' | 'DELETE' | 'RETAIN';
127
131
  /** 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`. */
128
132
  sizeGb?: number;
129
133
  /** 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. */
@@ -193,7 +197,7 @@ declare namespace gapi.client {
193
197
  /** 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"`. */
194
198
  fsType?: string;
195
199
  /** Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
196
- reclaimPolicy?: string;
200
+ reclaimPolicy?: 'RECLAIM_POLICY_UNSPECIFIED' | 'DELETE' | 'RETAIN';
197
201
  /** 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"`. */
198
202
  sizeGb?: number;
199
203
  /** 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. */
@@ -350,7 +354,11 @@ declare namespace gapi.client {
350
354
  }
351
355
  interface ReservationAffinity {
352
356
  /** Optional. Corresponds to the type of reservation consumption. */
353
- consumeReservationType?: string;
357
+ consumeReservationType?:
358
+ | 'TYPE_UNSPECIFIED'
359
+ | 'NO_RESERVATION'
360
+ | 'ANY_RESERVATION'
361
+ | 'SPECIFIC_RESERVATION';
354
362
  /** Optional. Corresponds to the label key of reservation resource. */
355
363
  key?: string;
356
364
  /** Optional. Corresponds to the label values of reservation resources. Valid values are either the name of a reservation in the same project or "projects/{project}/reservations/{reservation}" to target a shared reservation in the same zone but in a different project. */
@@ -436,7 +444,12 @@ declare namespace gapi.client {
436
444
  /** Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state. */
437
445
  startTime?: string;
438
446
  /** Output only. Current state of the workstation. */
439
- state?: string;
447
+ state?:
448
+ | 'STATE_UNSPECIFIED'
449
+ | 'STATE_STARTING'
450
+ | 'STATE_RUNNING'
451
+ | 'STATE_STOPPING'
452
+ | 'STATE_STOPPED';
440
453
  /** Output only. A system-assigned unique identifier for this workstation. */
441
454
  uid?: string;
442
455
  /** Output only. Time when this workstation was most recently updated. */
@@ -556,11 +569,11 @@ declare namespace gapi.client {
556
569
  /** 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`. */
557
570
  cancel(request: {
558
571
  /** V1 error format. */
559
- '$.xgafv'?: string;
572
+ '$.xgafv'?: '1' | '2';
560
573
  /** OAuth access token. */
561
574
  access_token?: string;
562
575
  /** Data format for response. */
563
- alt?: string;
576
+ alt?: 'json' | 'media' | 'proto';
564
577
  /** JSONP */
565
578
  callback?: string;
566
579
  /** Selector specifying which fields to include in a partial response. */
@@ -585,11 +598,11 @@ declare namespace gapi.client {
585
598
  cancel(
586
599
  request: {
587
600
  /** V1 error format. */
588
- '$.xgafv'?: string;
601
+ '$.xgafv'?: '1' | '2';
589
602
  /** OAuth access token. */
590
603
  access_token?: string;
591
604
  /** Data format for response. */
592
- alt?: string;
605
+ alt?: 'json' | 'media' | 'proto';
593
606
  /** JSONP */
594
607
  callback?: string;
595
608
  /** Selector specifying which fields to include in a partial response. */
@@ -614,11 +627,11 @@ declare namespace gapi.client {
614
627
  /** 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`. */
615
628
  delete(request?: {
616
629
  /** V1 error format. */
617
- '$.xgafv'?: string;
630
+ '$.xgafv'?: '1' | '2';
618
631
  /** OAuth access token. */
619
632
  access_token?: string;
620
633
  /** Data format for response. */
621
- alt?: string;
634
+ alt?: 'json' | 'media' | 'proto';
622
635
  /** JSONP */
623
636
  callback?: string;
624
637
  /** Selector specifying which fields to include in a partial response. */
@@ -641,11 +654,11 @@ declare namespace gapi.client {
641
654
  /** 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. */
642
655
  get(request?: {
643
656
  /** V1 error format. */
644
- '$.xgafv'?: string;
657
+ '$.xgafv'?: '1' | '2';
645
658
  /** OAuth access token. */
646
659
  access_token?: string;
647
660
  /** Data format for response. */
648
- alt?: string;
661
+ alt?: 'json' | 'media' | 'proto';
649
662
  /** JSONP */
650
663
  callback?: string;
651
664
  /** Selector specifying which fields to include in a partial response. */
@@ -668,11 +681,11 @@ declare namespace gapi.client {
668
681
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
669
682
  list(request?: {
670
683
  /** V1 error format. */
671
- '$.xgafv'?: string;
684
+ '$.xgafv'?: '1' | '2';
672
685
  /** OAuth access token. */
673
686
  access_token?: string;
674
687
  /** Data format for response. */
675
- alt?: string;
688
+ alt?: 'json' | 'media' | 'proto';
676
689
  /** JSONP */
677
690
  callback?: string;
678
691
  /** Selector specifying which fields to include in a partial response. */
@@ -705,11 +718,11 @@ declare namespace gapi.client {
705
718
  /** Creates a new workstation. */
706
719
  create(request: {
707
720
  /** V1 error format. */
708
- '$.xgafv'?: string;
721
+ '$.xgafv'?: '1' | '2';
709
722
  /** OAuth access token. */
710
723
  access_token?: string;
711
724
  /** Data format for response. */
712
- alt?: string;
725
+ alt?: 'json' | 'media' | 'proto';
713
726
  /** JSONP */
714
727
  callback?: string;
715
728
  /** Selector specifying which fields to include in a partial response. */
@@ -738,11 +751,11 @@ declare namespace gapi.client {
738
751
  create(
739
752
  request: {
740
753
  /** V1 error format. */
741
- '$.xgafv'?: string;
754
+ '$.xgafv'?: '1' | '2';
742
755
  /** OAuth access token. */
743
756
  access_token?: string;
744
757
  /** Data format for response. */
745
- alt?: string;
758
+ alt?: 'json' | 'media' | 'proto';
746
759
  /** JSONP */
747
760
  callback?: string;
748
761
  /** Selector specifying which fields to include in a partial response. */
@@ -771,11 +784,11 @@ declare namespace gapi.client {
771
784
  /** Deletes the specified workstation. */
772
785
  delete(request?: {
773
786
  /** V1 error format. */
774
- '$.xgafv'?: string;
787
+ '$.xgafv'?: '1' | '2';
775
788
  /** OAuth access token. */
776
789
  access_token?: string;
777
790
  /** Data format for response. */
778
- alt?: string;
791
+ alt?: 'json' | 'media' | 'proto';
779
792
  /** JSONP */
780
793
  callback?: string;
781
794
  /** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
@@ -802,11 +815,11 @@ declare namespace gapi.client {
802
815
  /** 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. */
803
816
  generateAccessToken(request: {
804
817
  /** V1 error format. */
805
- '$.xgafv'?: string;
818
+ '$.xgafv'?: '1' | '2';
806
819
  /** OAuth access token. */
807
820
  access_token?: string;
808
821
  /** Data format for response. */
809
- alt?: string;
822
+ alt?: 'json' | 'media' | 'proto';
810
823
  /** JSONP */
811
824
  callback?: string;
812
825
  /** Selector specifying which fields to include in a partial response. */
@@ -831,11 +844,11 @@ declare namespace gapi.client {
831
844
  generateAccessToken(
832
845
  request: {
833
846
  /** V1 error format. */
834
- '$.xgafv'?: string;
847
+ '$.xgafv'?: '1' | '2';
835
848
  /** OAuth access token. */
836
849
  access_token?: string;
837
850
  /** Data format for response. */
838
- alt?: string;
851
+ alt?: 'json' | 'media' | 'proto';
839
852
  /** JSONP */
840
853
  callback?: string;
841
854
  /** Selector specifying which fields to include in a partial response. */
@@ -860,11 +873,11 @@ declare namespace gapi.client {
860
873
  /** Returns the requested workstation. */
861
874
  get(request?: {
862
875
  /** V1 error format. */
863
- '$.xgafv'?: string;
876
+ '$.xgafv'?: '1' | '2';
864
877
  /** OAuth access token. */
865
878
  access_token?: string;
866
879
  /** Data format for response. */
867
- alt?: string;
880
+ alt?: 'json' | 'media' | 'proto';
868
881
  /** JSONP */
869
882
  callback?: string;
870
883
  /** Selector specifying which fields to include in a partial response. */
@@ -887,11 +900,11 @@ declare namespace gapi.client {
887
900
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
888
901
  getIamPolicy(request?: {
889
902
  /** V1 error format. */
890
- '$.xgafv'?: string;
903
+ '$.xgafv'?: '1' | '2';
891
904
  /** OAuth access token. */
892
905
  access_token?: string;
893
906
  /** Data format for response. */
894
- alt?: string;
907
+ alt?: 'json' | 'media' | 'proto';
895
908
  /** JSONP */
896
909
  callback?: string;
897
910
  /** Selector specifying which fields to include in a partial response. */
@@ -916,11 +929,11 @@ declare namespace gapi.client {
916
929
  /** Returns all Workstations using the specified workstation configuration. */
917
930
  list(request?: {
918
931
  /** V1 error format. */
919
- '$.xgafv'?: string;
932
+ '$.xgafv'?: '1' | '2';
920
933
  /** OAuth access token. */
921
934
  access_token?: string;
922
935
  /** Data format for response. */
923
- alt?: string;
936
+ alt?: 'json' | 'media' | 'proto';
924
937
  /** JSONP */
925
938
  callback?: string;
926
939
  /** Selector specifying which fields to include in a partial response. */
@@ -949,11 +962,11 @@ declare namespace gapi.client {
949
962
  /** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */
950
963
  listUsable(request?: {
951
964
  /** V1 error format. */
952
- '$.xgafv'?: string;
965
+ '$.xgafv'?: '1' | '2';
953
966
  /** OAuth access token. */
954
967
  access_token?: string;
955
968
  /** Data format for response. */
956
- alt?: string;
969
+ alt?: 'json' | 'media' | 'proto';
957
970
  /** JSONP */
958
971
  callback?: string;
959
972
  /** Selector specifying which fields to include in a partial response. */
@@ -980,13 +993,13 @@ declare namespace gapi.client {
980
993
  /** Updates an existing workstation. */
981
994
  patch(request: {
982
995
  /** V1 error format. */
983
- '$.xgafv'?: string;
996
+ '$.xgafv'?: '1' | '2';
984
997
  /** OAuth access token. */
985
998
  access_token?: string;
986
999
  /** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
987
1000
  allowMissing?: boolean;
988
1001
  /** Data format for response. */
989
- alt?: string;
1002
+ alt?: 'json' | 'media' | 'proto';
990
1003
  /** JSONP */
991
1004
  callback?: string;
992
1005
  /** Selector specifying which fields to include in a partial response. */
@@ -1015,13 +1028,13 @@ declare namespace gapi.client {
1015
1028
  patch(
1016
1029
  request: {
1017
1030
  /** V1 error format. */
1018
- '$.xgafv'?: string;
1031
+ '$.xgafv'?: '1' | '2';
1019
1032
  /** OAuth access token. */
1020
1033
  access_token?: string;
1021
1034
  /** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
1022
1035
  allowMissing?: boolean;
1023
1036
  /** Data format for response. */
1024
- alt?: string;
1037
+ alt?: 'json' | 'media' | 'proto';
1025
1038
  /** JSONP */
1026
1039
  callback?: string;
1027
1040
  /** Selector specifying which fields to include in a partial response. */
@@ -1051,11 +1064,11 @@ declare namespace gapi.client {
1051
1064
  setIamPolicy(
1052
1065
  request: {
1053
1066
  /** V1 error format. */
1054
- '$.xgafv'?: string;
1067
+ '$.xgafv'?: '1' | '2';
1055
1068
  /** OAuth access token. */
1056
1069
  access_token?: string;
1057
1070
  /** Data format for response. */
1058
- alt?: string;
1071
+ alt?: 'json' | 'media' | 'proto';
1059
1072
  /** JSONP */
1060
1073
  callback?: string;
1061
1074
  /** Selector specifying which fields to include in a partial response. */
@@ -1080,11 +1093,11 @@ declare namespace gapi.client {
1080
1093
  /** Starts running a workstation so that users can connect to it. */
1081
1094
  start(request: {
1082
1095
  /** V1 error format. */
1083
- '$.xgafv'?: string;
1096
+ '$.xgafv'?: '1' | '2';
1084
1097
  /** OAuth access token. */
1085
1098
  access_token?: string;
1086
1099
  /** Data format for response. */
1087
- alt?: string;
1100
+ alt?: 'json' | 'media' | 'proto';
1088
1101
  /** JSONP */
1089
1102
  callback?: string;
1090
1103
  /** Selector specifying which fields to include in a partial response. */
@@ -1109,11 +1122,11 @@ declare namespace gapi.client {
1109
1122
  start(
1110
1123
  request: {
1111
1124
  /** V1 error format. */
1112
- '$.xgafv'?: string;
1125
+ '$.xgafv'?: '1' | '2';
1113
1126
  /** OAuth access token. */
1114
1127
  access_token?: string;
1115
1128
  /** Data format for response. */
1116
- alt?: string;
1129
+ alt?: 'json' | 'media' | 'proto';
1117
1130
  /** JSONP */
1118
1131
  callback?: string;
1119
1132
  /** Selector specifying which fields to include in a partial response. */
@@ -1138,11 +1151,11 @@ declare namespace gapi.client {
1138
1151
  /** Stops running a workstation, reducing costs. */
1139
1152
  stop(request: {
1140
1153
  /** V1 error format. */
1141
- '$.xgafv'?: string;
1154
+ '$.xgafv'?: '1' | '2';
1142
1155
  /** OAuth access token. */
1143
1156
  access_token?: string;
1144
1157
  /** Data format for response. */
1145
- alt?: string;
1158
+ alt?: 'json' | 'media' | 'proto';
1146
1159
  /** JSONP */
1147
1160
  callback?: string;
1148
1161
  /** Selector specifying which fields to include in a partial response. */
@@ -1167,11 +1180,11 @@ declare namespace gapi.client {
1167
1180
  stop(
1168
1181
  request: {
1169
1182
  /** V1 error format. */
1170
- '$.xgafv'?: string;
1183
+ '$.xgafv'?: '1' | '2';
1171
1184
  /** OAuth access token. */
1172
1185
  access_token?: string;
1173
1186
  /** Data format for response. */
1174
- alt?: string;
1187
+ alt?: 'json' | 'media' | 'proto';
1175
1188
  /** JSONP */
1176
1189
  callback?: string;
1177
1190
  /** Selector specifying which fields to include in a partial response. */
@@ -1197,11 +1210,11 @@ declare namespace gapi.client {
1197
1210
  testIamPermissions(
1198
1211
  request: {
1199
1212
  /** V1 error format. */
1200
- '$.xgafv'?: string;
1213
+ '$.xgafv'?: '1' | '2';
1201
1214
  /** OAuth access token. */
1202
1215
  access_token?: string;
1203
1216
  /** Data format for response. */
1204
- alt?: string;
1217
+ alt?: 'json' | 'media' | 'proto';
1205
1218
  /** JSONP */
1206
1219
  callback?: string;
1207
1220
  /** Selector specifying which fields to include in a partial response. */
@@ -1228,11 +1241,11 @@ declare namespace gapi.client {
1228
1241
  /** Creates a new workstation configuration. */
1229
1242
  create(request: {
1230
1243
  /** V1 error format. */
1231
- '$.xgafv'?: string;
1244
+ '$.xgafv'?: '1' | '2';
1232
1245
  /** OAuth access token. */
1233
1246
  access_token?: string;
1234
1247
  /** Data format for response. */
1235
- alt?: string;
1248
+ alt?: 'json' | 'media' | 'proto';
1236
1249
  /** JSONP */
1237
1250
  callback?: string;
1238
1251
  /** Selector specifying which fields to include in a partial response. */
@@ -1261,11 +1274,11 @@ declare namespace gapi.client {
1261
1274
  create(
1262
1275
  request: {
1263
1276
  /** V1 error format. */
1264
- '$.xgafv'?: string;
1277
+ '$.xgafv'?: '1' | '2';
1265
1278
  /** OAuth access token. */
1266
1279
  access_token?: string;
1267
1280
  /** Data format for response. */
1268
- alt?: string;
1281
+ alt?: 'json' | 'media' | 'proto';
1269
1282
  /** JSONP */
1270
1283
  callback?: string;
1271
1284
  /** Selector specifying which fields to include in a partial response. */
@@ -1294,11 +1307,11 @@ declare namespace gapi.client {
1294
1307
  /** Deletes the specified workstation configuration. */
1295
1308
  delete(request?: {
1296
1309
  /** V1 error format. */
1297
- '$.xgafv'?: string;
1310
+ '$.xgafv'?: '1' | '2';
1298
1311
  /** OAuth access token. */
1299
1312
  access_token?: string;
1300
1313
  /** Data format for response. */
1301
- alt?: string;
1314
+ alt?: 'json' | 'media' | 'proto';
1302
1315
  /** JSONP */
1303
1316
  callback?: string;
1304
1317
  /** Optional. If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag. */
@@ -1327,11 +1340,11 @@ declare namespace gapi.client {
1327
1340
  /** Returns the requested workstation configuration. */
1328
1341
  get(request?: {
1329
1342
  /** V1 error format. */
1330
- '$.xgafv'?: string;
1343
+ '$.xgafv'?: '1' | '2';
1331
1344
  /** OAuth access token. */
1332
1345
  access_token?: string;
1333
1346
  /** Data format for response. */
1334
- alt?: string;
1347
+ alt?: 'json' | 'media' | 'proto';
1335
1348
  /** JSONP */
1336
1349
  callback?: string;
1337
1350
  /** Selector specifying which fields to include in a partial response. */
@@ -1354,11 +1367,11 @@ declare namespace gapi.client {
1354
1367
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1355
1368
  getIamPolicy(request?: {
1356
1369
  /** V1 error format. */
1357
- '$.xgafv'?: string;
1370
+ '$.xgafv'?: '1' | '2';
1358
1371
  /** OAuth access token. */
1359
1372
  access_token?: string;
1360
1373
  /** Data format for response. */
1361
- alt?: string;
1374
+ alt?: 'json' | 'media' | 'proto';
1362
1375
  /** JSONP */
1363
1376
  callback?: string;
1364
1377
  /** Selector specifying which fields to include in a partial response. */
@@ -1383,11 +1396,11 @@ declare namespace gapi.client {
1383
1396
  /** Returns all workstation configurations in the specified cluster. */
1384
1397
  list(request?: {
1385
1398
  /** V1 error format. */
1386
- '$.xgafv'?: string;
1399
+ '$.xgafv'?: '1' | '2';
1387
1400
  /** OAuth access token. */
1388
1401
  access_token?: string;
1389
1402
  /** Data format for response. */
1390
- alt?: string;
1403
+ alt?: 'json' | 'media' | 'proto';
1391
1404
  /** JSONP */
1392
1405
  callback?: string;
1393
1406
  /** Selector specifying which fields to include in a partial response. */
@@ -1416,11 +1429,11 @@ declare namespace gapi.client {
1416
1429
  /** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */
1417
1430
  listUsable(request?: {
1418
1431
  /** V1 error format. */
1419
- '$.xgafv'?: string;
1432
+ '$.xgafv'?: '1' | '2';
1420
1433
  /** OAuth access token. */
1421
1434
  access_token?: string;
1422
1435
  /** Data format for response. */
1423
- alt?: string;
1436
+ alt?: 'json' | 'media' | 'proto';
1424
1437
  /** JSONP */
1425
1438
  callback?: string;
1426
1439
  /** Selector specifying which fields to include in a partial response. */
@@ -1447,13 +1460,13 @@ declare namespace gapi.client {
1447
1460
  /** Updates an existing workstation configuration. */
1448
1461
  patch(request: {
1449
1462
  /** V1 error format. */
1450
- '$.xgafv'?: string;
1463
+ '$.xgafv'?: '1' | '2';
1451
1464
  /** OAuth access token. */
1452
1465
  access_token?: string;
1453
1466
  /** Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
1454
1467
  allowMissing?: boolean;
1455
1468
  /** Data format for response. */
1456
- alt?: string;
1469
+ alt?: 'json' | 'media' | 'proto';
1457
1470
  /** JSONP */
1458
1471
  callback?: string;
1459
1472
  /** Selector specifying which fields to include in a partial response. */
@@ -1482,13 +1495,13 @@ declare namespace gapi.client {
1482
1495
  patch(
1483
1496
  request: {
1484
1497
  /** V1 error format. */
1485
- '$.xgafv'?: string;
1498
+ '$.xgafv'?: '1' | '2';
1486
1499
  /** OAuth access token. */
1487
1500
  access_token?: string;
1488
1501
  /** Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
1489
1502
  allowMissing?: boolean;
1490
1503
  /** Data format for response. */
1491
- alt?: string;
1504
+ alt?: 'json' | 'media' | 'proto';
1492
1505
  /** JSONP */
1493
1506
  callback?: string;
1494
1507
  /** Selector specifying which fields to include in a partial response. */
@@ -1518,11 +1531,11 @@ declare namespace gapi.client {
1518
1531
  setIamPolicy(
1519
1532
  request: {
1520
1533
  /** V1 error format. */
1521
- '$.xgafv'?: string;
1534
+ '$.xgafv'?: '1' | '2';
1522
1535
  /** OAuth access token. */
1523
1536
  access_token?: string;
1524
1537
  /** Data format for response. */
1525
- alt?: string;
1538
+ alt?: 'json' | 'media' | 'proto';
1526
1539
  /** JSONP */
1527
1540
  callback?: string;
1528
1541
  /** Selector specifying which fields to include in a partial response. */
@@ -1548,11 +1561,11 @@ declare namespace gapi.client {
1548
1561
  testIamPermissions(
1549
1562
  request: {
1550
1563
  /** V1 error format. */
1551
- '$.xgafv'?: string;
1564
+ '$.xgafv'?: '1' | '2';
1552
1565
  /** OAuth access token. */
1553
1566
  access_token?: string;
1554
1567
  /** Data format for response. */
1555
- alt?: string;
1568
+ alt?: 'json' | 'media' | 'proto';
1556
1569
  /** JSONP */
1557
1570
  callback?: string;
1558
1571
  /** Selector specifying which fields to include in a partial response. */
@@ -1580,11 +1593,11 @@ declare namespace gapi.client {
1580
1593
  /** Creates a new workstation cluster. */
1581
1594
  create(request: {
1582
1595
  /** V1 error format. */
1583
- '$.xgafv'?: string;
1596
+ '$.xgafv'?: '1' | '2';
1584
1597
  /** OAuth access token. */
1585
1598
  access_token?: string;
1586
1599
  /** Data format for response. */
1587
- alt?: string;
1600
+ alt?: 'json' | 'media' | 'proto';
1588
1601
  /** JSONP */
1589
1602
  callback?: string;
1590
1603
  /** Selector specifying which fields to include in a partial response. */
@@ -1613,11 +1626,11 @@ declare namespace gapi.client {
1613
1626
  create(
1614
1627
  request: {
1615
1628
  /** V1 error format. */
1616
- '$.xgafv'?: string;
1629
+ '$.xgafv'?: '1' | '2';
1617
1630
  /** OAuth access token. */
1618
1631
  access_token?: string;
1619
1632
  /** Data format for response. */
1620
- alt?: string;
1633
+ alt?: 'json' | 'media' | 'proto';
1621
1634
  /** JSONP */
1622
1635
  callback?: string;
1623
1636
  /** Selector specifying which fields to include in a partial response. */
@@ -1646,11 +1659,11 @@ declare namespace gapi.client {
1646
1659
  /** Deletes the specified workstation cluster. */
1647
1660
  delete(request?: {
1648
1661
  /** V1 error format. */
1649
- '$.xgafv'?: string;
1662
+ '$.xgafv'?: '1' | '2';
1650
1663
  /** OAuth access token. */
1651
1664
  access_token?: string;
1652
1665
  /** Data format for response. */
1653
- alt?: string;
1666
+ alt?: 'json' | 'media' | 'proto';
1654
1667
  /** JSONP */
1655
1668
  callback?: string;
1656
1669
  /** Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag. */
@@ -1679,11 +1692,11 @@ declare namespace gapi.client {
1679
1692
  /** Returns the requested workstation cluster. */
1680
1693
  get(request?: {
1681
1694
  /** V1 error format. */
1682
- '$.xgafv'?: string;
1695
+ '$.xgafv'?: '1' | '2';
1683
1696
  /** OAuth access token. */
1684
1697
  access_token?: string;
1685
1698
  /** Data format for response. */
1686
- alt?: string;
1699
+ alt?: 'json' | 'media' | 'proto';
1687
1700
  /** JSONP */
1688
1701
  callback?: string;
1689
1702
  /** Selector specifying which fields to include in a partial response. */
@@ -1706,11 +1719,11 @@ declare namespace gapi.client {
1706
1719
  /** Returns all workstation clusters in the specified location. */
1707
1720
  list(request?: {
1708
1721
  /** V1 error format. */
1709
- '$.xgafv'?: string;
1722
+ '$.xgafv'?: '1' | '2';
1710
1723
  /** OAuth access token. */
1711
1724
  access_token?: string;
1712
1725
  /** Data format for response. */
1713
- alt?: string;
1726
+ alt?: 'json' | 'media' | 'proto';
1714
1727
  /** JSONP */
1715
1728
  callback?: string;
1716
1729
  /** Selector specifying which fields to include in a partial response. */
@@ -1739,13 +1752,13 @@ declare namespace gapi.client {
1739
1752
  /** Updates an existing workstation cluster. */
1740
1753
  patch(request: {
1741
1754
  /** V1 error format. */
1742
- '$.xgafv'?: string;
1755
+ '$.xgafv'?: '1' | '2';
1743
1756
  /** OAuth access token. */
1744
1757
  access_token?: string;
1745
1758
  /** Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
1746
1759
  allowMissing?: boolean;
1747
1760
  /** Data format for response. */
1748
- alt?: string;
1761
+ alt?: 'json' | 'media' | 'proto';
1749
1762
  /** JSONP */
1750
1763
  callback?: string;
1751
1764
  /** Selector specifying which fields to include in a partial response. */
@@ -1774,13 +1787,13 @@ declare namespace gapi.client {
1774
1787
  patch(
1775
1788
  request: {
1776
1789
  /** V1 error format. */
1777
- '$.xgafv'?: string;
1790
+ '$.xgafv'?: '1' | '2';
1778
1791
  /** OAuth access token. */
1779
1792
  access_token?: string;
1780
1793
  /** Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
1781
1794
  allowMissing?: boolean;
1782
1795
  /** Data format for response. */
1783
- alt?: string;
1796
+ alt?: 'json' | 'media' | 'proto';
1784
1797
  /** JSONP */
1785
1798
  callback?: string;
1786
1799
  /** 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.workstations-v1beta",
3
- "version": "0.1.20260218",
3
+ "version": "0.2.20260218",
4
4
  "description": "TypeScript typings for Cloud Workstations API v1beta",
5
5
  "repository": {
6
6
  "type": "git",