@maxim_mazurok/gapi.client.workstations-v1beta 0.1.20260218 → 0.2.20260526

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 +207 -108
  2. package/package.json +1 -1
  3. package/readme.md +17 -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://workstations.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20260218
12
+ // Revision: 20260526
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -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. */
@@ -280,6 +284,16 @@ declare namespace gapi.client {
280
284
  /** The requested workstations. */
281
285
  workstations?: Workstation[];
282
286
  }
287
+ interface OAuthToken {
288
+ /** Required. The OAuth token. */
289
+ accessToken?: string;
290
+ /** Optional. The email address encapsulated in the OAuth token. */
291
+ email?: string;
292
+ /** Optional. The time the OAuth access token will expire. This should be the time the access token was generated plus the expires_in offset returned from the Access Token Response. */
293
+ expireTime?: string;
294
+ /** Optional. The scopes encapsulated in the OAuth token. See https://developers.google.com/identity/protocols/oauth2/scopes for more information. */
295
+ scopes?: string;
296
+ }
283
297
  interface Operation {
284
298
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
285
299
  done?: boolean;
@@ -342,6 +356,10 @@ declare namespace gapi.client {
342
356
  /** Output only. Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the workstation cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services). */
343
357
  serviceAttachmentUri?: string;
344
358
  }
359
+ interface PushCredentialsRequest {
360
+ /** Optional. Credentials used by Cloud Client Libraries, Google API Client Libraries, and other tooling within the user conainer: https://cloud.google.com/docs/authentication/application-default-credentials */
361
+ applicationDefaultCredentials?: OAuthToken;
362
+ }
345
363
  interface ReadinessCheck {
346
364
  /** Optional. Path to which the request should be sent. */
347
365
  path?: string;
@@ -350,7 +368,11 @@ declare namespace gapi.client {
350
368
  }
351
369
  interface ReservationAffinity {
352
370
  /** Optional. Corresponds to the type of reservation consumption. */
353
- consumeReservationType?: string;
371
+ consumeReservationType?:
372
+ | 'TYPE_UNSPECIFIED'
373
+ | 'NO_RESERVATION'
374
+ | 'ANY_RESERVATION'
375
+ | 'SPECIFIC_RESERVATION';
354
376
  /** Optional. Corresponds to the label key of reservation resource. */
355
377
  key?: string;
356
378
  /** 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. */
@@ -371,21 +393,21 @@ declare namespace gapi.client {
371
393
  boostConfig?: string;
372
394
  /** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
373
395
  etag?: string;
374
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
396
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
375
397
  validateOnly?: boolean;
376
398
  }
377
399
  interface Status {
378
400
  /** The status code, which should be an enum value of google.rpc.Code. */
379
401
  code?: number;
380
402
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
381
- details?: Array<{[P in string]: any}>;
403
+ details?: {[P in string]: any}[];
382
404
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
383
405
  message?: string;
384
406
  }
385
407
  interface StopWorkstationRequest {
386
408
  /** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
387
409
  etag?: string;
388
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
410
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
389
411
  validateOnly?: boolean;
390
412
  }
391
413
  interface TestIamPermissionsRequest {
@@ -423,6 +445,8 @@ declare namespace gapi.client {
423
445
  labels?: {[P in string]: string};
424
446
  /** Identifier. Full name of this workstation. */
425
447
  name?: string;
448
+ /** Optional. Directories to persist across workstation sessions. */
449
+ persistentDirectories?: WorkstationPersistentDirectory[];
426
450
  /** Output only. Indicates whether this workstation is currently being updated to match its intended state. */
427
451
  reconciling?: boolean;
428
452
  /** Optional. Output only. Runtime host for the workstation when in STATE_RUNNING. */
@@ -436,7 +460,12 @@ declare namespace gapi.client {
436
460
  /** Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state. */
437
461
  startTime?: string;
438
462
  /** Output only. Current state of the workstation. */
439
- state?: string;
463
+ state?:
464
+ | 'STATE_UNSPECIFIED'
465
+ | 'STATE_STARTING'
466
+ | 'STATE_RUNNING'
467
+ | 'STATE_STOPPING'
468
+ | 'STATE_STOPPED';
440
469
  /** Output only. A system-assigned unique identifier for this workstation. */
441
470
  uid?: string;
442
471
  /** Output only. Time when this workstation was most recently updated. */
@@ -491,6 +520,10 @@ declare namespace gapi.client {
491
520
  uid?: string;
492
521
  /** Output only. Time when this workstation cluster was most recently updated. */
493
522
  updateTime?: string;
523
+ /** Optional. Specifies the redirect URL for unauthorized requests received by workstation VMs in this cluster. Redirects to this endpoint will send a base64 encoded `state` query param containing the target workstation name and original request hostname. The endpoint is responsible for retrieving a token using `GenerateAccessToken` and redirecting back to the original hostname with the token. */
524
+ workstationAuthorizationUrl?: string;
525
+ /** Optional. Specifies the launch URL for workstations in this cluster. Requests sent to unstarted workstations will be redirected to this URL. Requests redirected to the launch endpoint will be sent with a `workstation` and `project` query parameter containing the full workstation resource name and project ID, respectively. The launch endpoint is responsible for starting the workstation, polling it until it reaches `STATE_RUNNING`, and then issuing a redirect to the workstation's host URL. */
526
+ workstationLaunchUrl?: string;
494
527
  }
495
528
  interface WorkstationConfig {
496
529
  /** Optional. A list of PortRanges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535. */
@@ -513,6 +546,8 @@ declare namespace gapi.client {
513
546
  displayName?: string;
514
547
  /** Optional. Whether to enable Linux `auditd` logging on the workstation. When enabled, a service_account must also be specified that has `roles/logging.logWriter` and `roles/monitoring.metricWriter` on the project. Operating system audit logging is distinct from [Cloud Audit Logs](https://cloud.google.com/workstations/docs/audit-logging) and [Container output logging](https://cloud.google.com/workstations/docs/container-output-logging#overview). Operating system audit logs are available in the [Cloud Logging](https://cloud.google.com/logging/docs) console by querying: resource.type="gce_instance" log_name:"/logs/linux-auditd" */
515
548
  enableAuditAgent?: boolean;
549
+ /** Optional. Enables pushing user provided credentials to Workstations by calling workstations.pushCredentials. If application_default_credentials are supplied to pushCredentials, the provided token is returned when tools and applications running in the user container make a request for Default Application Credentials. Please note that any credentials supplied are made available to all users with access to the workstation. */
550
+ enablePushingCredentials?: boolean;
516
551
  /** Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk might be lost. If the encryption key is revoked, the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created. */
517
552
  encryptionKey?: CustomerEncryptionKey;
518
553
  /** Optional. Ephemeral directories which won't persist across workstation sessions. */
@@ -552,15 +587,21 @@ declare namespace gapi.client {
552
587
  /** Output only. Time when this workstation configuration was most recently updated. */
553
588
  updateTime?: string;
554
589
  }
590
+ interface WorkstationPersistentDirectory {
591
+ /** Optional. The mount path of the persistent directory. */
592
+ mountPath?: string;
593
+ /** Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory. */
594
+ sizeGb?: number;
595
+ }
555
596
  interface OperationsResource {
556
597
  /** 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
598
  cancel(request: {
558
599
  /** V1 error format. */
559
- '$.xgafv'?: string;
600
+ '$.xgafv'?: '1' | '2';
560
601
  /** OAuth access token. */
561
602
  access_token?: string;
562
603
  /** Data format for response. */
563
- alt?: string;
604
+ alt?: 'json' | 'media' | 'proto';
564
605
  /** JSONP */
565
606
  callback?: string;
566
607
  /** Selector specifying which fields to include in a partial response. */
@@ -585,11 +626,11 @@ declare namespace gapi.client {
585
626
  cancel(
586
627
  request: {
587
628
  /** V1 error format. */
588
- '$.xgafv'?: string;
629
+ '$.xgafv'?: '1' | '2';
589
630
  /** OAuth access token. */
590
631
  access_token?: string;
591
632
  /** Data format for response. */
592
- alt?: string;
633
+ alt?: 'json' | 'media' | 'proto';
593
634
  /** JSONP */
594
635
  callback?: string;
595
636
  /** Selector specifying which fields to include in a partial response. */
@@ -614,11 +655,11 @@ declare namespace gapi.client {
614
655
  /** 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
656
  delete(request?: {
616
657
  /** V1 error format. */
617
- '$.xgafv'?: string;
658
+ '$.xgafv'?: '1' | '2';
618
659
  /** OAuth access token. */
619
660
  access_token?: string;
620
661
  /** Data format for response. */
621
- alt?: string;
662
+ alt?: 'json' | 'media' | 'proto';
622
663
  /** JSONP */
623
664
  callback?: string;
624
665
  /** Selector specifying which fields to include in a partial response. */
@@ -641,11 +682,11 @@ declare namespace gapi.client {
641
682
  /** 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
683
  get(request?: {
643
684
  /** V1 error format. */
644
- '$.xgafv'?: string;
685
+ '$.xgafv'?: '1' | '2';
645
686
  /** OAuth access token. */
646
687
  access_token?: string;
647
688
  /** Data format for response. */
648
- alt?: string;
689
+ alt?: 'json' | 'media' | 'proto';
649
690
  /** JSONP */
650
691
  callback?: string;
651
692
  /** Selector specifying which fields to include in a partial response. */
@@ -668,11 +709,11 @@ declare namespace gapi.client {
668
709
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
669
710
  list(request?: {
670
711
  /** V1 error format. */
671
- '$.xgafv'?: string;
712
+ '$.xgafv'?: '1' | '2';
672
713
  /** OAuth access token. */
673
714
  access_token?: string;
674
715
  /** Data format for response. */
675
- alt?: string;
716
+ alt?: 'json' | 'media' | 'proto';
676
717
  /** JSONP */
677
718
  callback?: string;
678
719
  /** Selector specifying which fields to include in a partial response. */
@@ -705,11 +746,11 @@ declare namespace gapi.client {
705
746
  /** Creates a new workstation. */
706
747
  create(request: {
707
748
  /** V1 error format. */
708
- '$.xgafv'?: string;
749
+ '$.xgafv'?: '1' | '2';
709
750
  /** OAuth access token. */
710
751
  access_token?: string;
711
752
  /** Data format for response. */
712
- alt?: string;
753
+ alt?: 'json' | 'media' | 'proto';
713
754
  /** JSONP */
714
755
  callback?: string;
715
756
  /** Selector specifying which fields to include in a partial response. */
@@ -728,7 +769,7 @@ declare namespace gapi.client {
728
769
  upload_protocol?: string;
729
770
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
730
771
  uploadType?: string;
731
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
772
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
732
773
  validateOnly?: boolean;
733
774
  /** Required. ID to use for the workstation. */
734
775
  workstationId?: string;
@@ -738,11 +779,11 @@ declare namespace gapi.client {
738
779
  create(
739
780
  request: {
740
781
  /** V1 error format. */
741
- '$.xgafv'?: string;
782
+ '$.xgafv'?: '1' | '2';
742
783
  /** OAuth access token. */
743
784
  access_token?: string;
744
785
  /** Data format for response. */
745
- alt?: string;
786
+ alt?: 'json' | 'media' | 'proto';
746
787
  /** JSONP */
747
788
  callback?: string;
748
789
  /** Selector specifying which fields to include in a partial response. */
@@ -761,7 +802,7 @@ declare namespace gapi.client {
761
802
  upload_protocol?: string;
762
803
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
763
804
  uploadType?: string;
764
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
805
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
765
806
  validateOnly?: boolean;
766
807
  /** Required. ID to use for the workstation. */
767
808
  workstationId?: string;
@@ -771,11 +812,11 @@ declare namespace gapi.client {
771
812
  /** Deletes the specified workstation. */
772
813
  delete(request?: {
773
814
  /** V1 error format. */
774
- '$.xgafv'?: string;
815
+ '$.xgafv'?: '1' | '2';
775
816
  /** OAuth access token. */
776
817
  access_token?: string;
777
818
  /** Data format for response. */
778
- alt?: string;
819
+ alt?: 'json' | 'media' | 'proto';
779
820
  /** JSONP */
780
821
  callback?: string;
781
822
  /** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
@@ -796,17 +837,17 @@ declare namespace gapi.client {
796
837
  upload_protocol?: string;
797
838
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
798
839
  uploadType?: string;
799
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
840
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
800
841
  validateOnly?: boolean;
801
842
  }): Request<Operation>;
802
843
  /** 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
844
  generateAccessToken(request: {
804
845
  /** V1 error format. */
805
- '$.xgafv'?: string;
846
+ '$.xgafv'?: '1' | '2';
806
847
  /** OAuth access token. */
807
848
  access_token?: string;
808
849
  /** Data format for response. */
809
- alt?: string;
850
+ alt?: 'json' | 'media' | 'proto';
810
851
  /** JSONP */
811
852
  callback?: string;
812
853
  /** Selector specifying which fields to include in a partial response. */
@@ -831,11 +872,11 @@ declare namespace gapi.client {
831
872
  generateAccessToken(
832
873
  request: {
833
874
  /** V1 error format. */
834
- '$.xgafv'?: string;
875
+ '$.xgafv'?: '1' | '2';
835
876
  /** OAuth access token. */
836
877
  access_token?: string;
837
878
  /** Data format for response. */
838
- alt?: string;
879
+ alt?: 'json' | 'media' | 'proto';
839
880
  /** JSONP */
840
881
  callback?: string;
841
882
  /** Selector specifying which fields to include in a partial response. */
@@ -860,11 +901,11 @@ declare namespace gapi.client {
860
901
  /** Returns the requested workstation. */
861
902
  get(request?: {
862
903
  /** V1 error format. */
863
- '$.xgafv'?: string;
904
+ '$.xgafv'?: '1' | '2';
864
905
  /** OAuth access token. */
865
906
  access_token?: string;
866
907
  /** Data format for response. */
867
- alt?: string;
908
+ alt?: 'json' | 'media' | 'proto';
868
909
  /** JSONP */
869
910
  callback?: string;
870
911
  /** Selector specifying which fields to include in a partial response. */
@@ -887,11 +928,11 @@ declare namespace gapi.client {
887
928
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
888
929
  getIamPolicy(request?: {
889
930
  /** V1 error format. */
890
- '$.xgafv'?: string;
931
+ '$.xgafv'?: '1' | '2';
891
932
  /** OAuth access token. */
892
933
  access_token?: string;
893
934
  /** Data format for response. */
894
- alt?: string;
935
+ alt?: 'json' | 'media' | 'proto';
895
936
  /** JSONP */
896
937
  callback?: string;
897
938
  /** Selector specifying which fields to include in a partial response. */
@@ -916,11 +957,11 @@ declare namespace gapi.client {
916
957
  /** Returns all Workstations using the specified workstation configuration. */
917
958
  list(request?: {
918
959
  /** V1 error format. */
919
- '$.xgafv'?: string;
960
+ '$.xgafv'?: '1' | '2';
920
961
  /** OAuth access token. */
921
962
  access_token?: string;
922
963
  /** Data format for response. */
923
- alt?: string;
964
+ alt?: 'json' | 'media' | 'proto';
924
965
  /** JSONP */
925
966
  callback?: string;
926
967
  /** Selector specifying which fields to include in a partial response. */
@@ -949,11 +990,11 @@ declare namespace gapi.client {
949
990
  /** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */
950
991
  listUsable(request?: {
951
992
  /** V1 error format. */
952
- '$.xgafv'?: string;
993
+ '$.xgafv'?: '1' | '2';
953
994
  /** OAuth access token. */
954
995
  access_token?: string;
955
996
  /** Data format for response. */
956
- alt?: string;
997
+ alt?: 'json' | 'media' | 'proto';
957
998
  /** JSONP */
958
999
  callback?: string;
959
1000
  /** Selector specifying which fields to include in a partial response. */
@@ -980,13 +1021,13 @@ declare namespace gapi.client {
980
1021
  /** Updates an existing workstation. */
981
1022
  patch(request: {
982
1023
  /** V1 error format. */
983
- '$.xgafv'?: string;
1024
+ '$.xgafv'?: '1' | '2';
984
1025
  /** OAuth access token. */
985
1026
  access_token?: string;
986
- /** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
1027
+ /** Optional. If set and the workstation is not found, a new workstation is created. In this situation, update_mask is ignored. */
987
1028
  allowMissing?: boolean;
988
1029
  /** Data format for response. */
989
- alt?: string;
1030
+ alt?: 'json' | 'media' | 'proto';
990
1031
  /** JSONP */
991
1032
  callback?: string;
992
1033
  /** Selector specifying which fields to include in a partial response. */
@@ -1001,13 +1042,13 @@ declare namespace gapi.client {
1001
1042
  prettyPrint?: boolean;
1002
1043
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1003
1044
  quotaUser?: string;
1004
- /** Required. Mask specifying which fields in the workstation configuration should be updated. */
1045
+ /** Required. Mask specifying which fields in the workstation should be updated. */
1005
1046
  updateMask?: string;
1006
1047
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1007
1048
  upload_protocol?: string;
1008
1049
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1009
1050
  uploadType?: string;
1010
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1051
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1011
1052
  validateOnly?: boolean;
1012
1053
  /** Request body */
1013
1054
  resource: Workstation;
@@ -1015,13 +1056,13 @@ declare namespace gapi.client {
1015
1056
  patch(
1016
1057
  request: {
1017
1058
  /** V1 error format. */
1018
- '$.xgafv'?: string;
1059
+ '$.xgafv'?: '1' | '2';
1019
1060
  /** OAuth access token. */
1020
1061
  access_token?: string;
1021
- /** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
1062
+ /** Optional. If set and the workstation is not found, a new workstation is created. In this situation, update_mask is ignored. */
1022
1063
  allowMissing?: boolean;
1023
1064
  /** Data format for response. */
1024
- alt?: string;
1065
+ alt?: 'json' | 'media' | 'proto';
1025
1066
  /** JSONP */
1026
1067
  callback?: string;
1027
1068
  /** Selector specifying which fields to include in a partial response. */
@@ -1036,26 +1077,84 @@ declare namespace gapi.client {
1036
1077
  prettyPrint?: boolean;
1037
1078
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1038
1079
  quotaUser?: string;
1039
- /** Required. Mask specifying which fields in the workstation configuration should be updated. */
1080
+ /** Required. Mask specifying which fields in the workstation should be updated. */
1040
1081
  updateMask?: string;
1041
1082
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1042
1083
  upload_protocol?: string;
1043
1084
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
1085
  uploadType?: string;
1045
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1086
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1046
1087
  validateOnly?: boolean;
1047
1088
  },
1048
1089
  body: Workstation,
1049
1090
  ): Request<Operation>;
1091
+ /** Pushes credentials to a running workstation on behalf of a user. Once complete, supported credential types (application_default_credentials) are made available to processes running in the user container. */
1092
+ pushCredentials(request: {
1093
+ /** V1 error format. */
1094
+ '$.xgafv'?: '1' | '2';
1095
+ /** OAuth access token. */
1096
+ access_token?: string;
1097
+ /** Data format for response. */
1098
+ alt?: 'json' | 'media' | 'proto';
1099
+ /** JSONP */
1100
+ callback?: string;
1101
+ /** Selector specifying which fields to include in a partial response. */
1102
+ fields?: string;
1103
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1104
+ key?: string;
1105
+ /** OAuth 2.0 token for the current user. */
1106
+ oauth_token?: string;
1107
+ /** Returns response with indentations and line breaks. */
1108
+ prettyPrint?: boolean;
1109
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1110
+ quotaUser?: string;
1111
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1112
+ upload_protocol?: string;
1113
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1114
+ uploadType?: string;
1115
+ /** Required. Name of the workstation for which the credentials should be pushed. */
1116
+ workstation: string;
1117
+ /** Request body */
1118
+ resource: PushCredentialsRequest;
1119
+ }): Request<Operation>;
1120
+ pushCredentials(
1121
+ request: {
1122
+ /** V1 error format. */
1123
+ '$.xgafv'?: '1' | '2';
1124
+ /** OAuth access token. */
1125
+ access_token?: string;
1126
+ /** Data format for response. */
1127
+ alt?: 'json' | 'media' | 'proto';
1128
+ /** JSONP */
1129
+ callback?: string;
1130
+ /** Selector specifying which fields to include in a partial response. */
1131
+ fields?: string;
1132
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1133
+ key?: string;
1134
+ /** OAuth 2.0 token for the current user. */
1135
+ oauth_token?: string;
1136
+ /** Returns response with indentations and line breaks. */
1137
+ prettyPrint?: boolean;
1138
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1139
+ quotaUser?: string;
1140
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1141
+ upload_protocol?: string;
1142
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1143
+ uploadType?: string;
1144
+ /** Required. Name of the workstation for which the credentials should be pushed. */
1145
+ workstation: string;
1146
+ },
1147
+ body: PushCredentialsRequest,
1148
+ ): Request<Operation>;
1050
1149
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1051
1150
  setIamPolicy(
1052
1151
  request: {
1053
1152
  /** V1 error format. */
1054
- '$.xgafv'?: string;
1153
+ '$.xgafv'?: '1' | '2';
1055
1154
  /** OAuth access token. */
1056
1155
  access_token?: string;
1057
1156
  /** Data format for response. */
1058
- alt?: string;
1157
+ alt?: 'json' | 'media' | 'proto';
1059
1158
  /** JSONP */
1060
1159
  callback?: string;
1061
1160
  /** Selector specifying which fields to include in a partial response. */
@@ -1080,11 +1179,11 @@ declare namespace gapi.client {
1080
1179
  /** Starts running a workstation so that users can connect to it. */
1081
1180
  start(request: {
1082
1181
  /** V1 error format. */
1083
- '$.xgafv'?: string;
1182
+ '$.xgafv'?: '1' | '2';
1084
1183
  /** OAuth access token. */
1085
1184
  access_token?: string;
1086
1185
  /** Data format for response. */
1087
- alt?: string;
1186
+ alt?: 'json' | 'media' | 'proto';
1088
1187
  /** JSONP */
1089
1188
  callback?: string;
1090
1189
  /** Selector specifying which fields to include in a partial response. */
@@ -1109,11 +1208,11 @@ declare namespace gapi.client {
1109
1208
  start(
1110
1209
  request: {
1111
1210
  /** V1 error format. */
1112
- '$.xgafv'?: string;
1211
+ '$.xgafv'?: '1' | '2';
1113
1212
  /** OAuth access token. */
1114
1213
  access_token?: string;
1115
1214
  /** Data format for response. */
1116
- alt?: string;
1215
+ alt?: 'json' | 'media' | 'proto';
1117
1216
  /** JSONP */
1118
1217
  callback?: string;
1119
1218
  /** Selector specifying which fields to include in a partial response. */
@@ -1138,11 +1237,11 @@ declare namespace gapi.client {
1138
1237
  /** Stops running a workstation, reducing costs. */
1139
1238
  stop(request: {
1140
1239
  /** V1 error format. */
1141
- '$.xgafv'?: string;
1240
+ '$.xgafv'?: '1' | '2';
1142
1241
  /** OAuth access token. */
1143
1242
  access_token?: string;
1144
1243
  /** Data format for response. */
1145
- alt?: string;
1244
+ alt?: 'json' | 'media' | 'proto';
1146
1245
  /** JSONP */
1147
1246
  callback?: string;
1148
1247
  /** Selector specifying which fields to include in a partial response. */
@@ -1167,11 +1266,11 @@ declare namespace gapi.client {
1167
1266
  stop(
1168
1267
  request: {
1169
1268
  /** V1 error format. */
1170
- '$.xgafv'?: string;
1269
+ '$.xgafv'?: '1' | '2';
1171
1270
  /** OAuth access token. */
1172
1271
  access_token?: string;
1173
1272
  /** Data format for response. */
1174
- alt?: string;
1273
+ alt?: 'json' | 'media' | 'proto';
1175
1274
  /** JSONP */
1176
1275
  callback?: string;
1177
1276
  /** Selector specifying which fields to include in a partial response. */
@@ -1197,11 +1296,11 @@ declare namespace gapi.client {
1197
1296
  testIamPermissions(
1198
1297
  request: {
1199
1298
  /** V1 error format. */
1200
- '$.xgafv'?: string;
1299
+ '$.xgafv'?: '1' | '2';
1201
1300
  /** OAuth access token. */
1202
1301
  access_token?: string;
1203
1302
  /** Data format for response. */
1204
- alt?: string;
1303
+ alt?: 'json' | 'media' | 'proto';
1205
1304
  /** JSONP */
1206
1305
  callback?: string;
1207
1306
  /** Selector specifying which fields to include in a partial response. */
@@ -1228,11 +1327,11 @@ declare namespace gapi.client {
1228
1327
  /** Creates a new workstation configuration. */
1229
1328
  create(request: {
1230
1329
  /** V1 error format. */
1231
- '$.xgafv'?: string;
1330
+ '$.xgafv'?: '1' | '2';
1232
1331
  /** OAuth access token. */
1233
1332
  access_token?: string;
1234
1333
  /** Data format for response. */
1235
- alt?: string;
1334
+ alt?: 'json' | 'media' | 'proto';
1236
1335
  /** JSONP */
1237
1336
  callback?: string;
1238
1337
  /** Selector specifying which fields to include in a partial response. */
@@ -1251,7 +1350,7 @@ declare namespace gapi.client {
1251
1350
  upload_protocol?: string;
1252
1351
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1253
1352
  uploadType?: string;
1254
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1353
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1255
1354
  validateOnly?: boolean;
1256
1355
  /** Required. ID to use for the workstation configuration. */
1257
1356
  workstationConfigId?: string;
@@ -1261,11 +1360,11 @@ declare namespace gapi.client {
1261
1360
  create(
1262
1361
  request: {
1263
1362
  /** V1 error format. */
1264
- '$.xgafv'?: string;
1363
+ '$.xgafv'?: '1' | '2';
1265
1364
  /** OAuth access token. */
1266
1365
  access_token?: string;
1267
1366
  /** Data format for response. */
1268
- alt?: string;
1367
+ alt?: 'json' | 'media' | 'proto';
1269
1368
  /** JSONP */
1270
1369
  callback?: string;
1271
1370
  /** Selector specifying which fields to include in a partial response. */
@@ -1284,7 +1383,7 @@ declare namespace gapi.client {
1284
1383
  upload_protocol?: string;
1285
1384
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1286
1385
  uploadType?: string;
1287
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1386
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1288
1387
  validateOnly?: boolean;
1289
1388
  /** Required. ID to use for the workstation configuration. */
1290
1389
  workstationConfigId?: string;
@@ -1294,11 +1393,11 @@ declare namespace gapi.client {
1294
1393
  /** Deletes the specified workstation configuration. */
1295
1394
  delete(request?: {
1296
1395
  /** V1 error format. */
1297
- '$.xgafv'?: string;
1396
+ '$.xgafv'?: '1' | '2';
1298
1397
  /** OAuth access token. */
1299
1398
  access_token?: string;
1300
1399
  /** Data format for response. */
1301
- alt?: string;
1400
+ alt?: 'json' | 'media' | 'proto';
1302
1401
  /** JSONP */
1303
1402
  callback?: string;
1304
1403
  /** Optional. If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag. */
@@ -1321,17 +1420,17 @@ declare namespace gapi.client {
1321
1420
  upload_protocol?: string;
1322
1421
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1323
1422
  uploadType?: string;
1324
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1423
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1325
1424
  validateOnly?: boolean;
1326
1425
  }): Request<Operation>;
1327
1426
  /** Returns the requested workstation configuration. */
1328
1427
  get(request?: {
1329
1428
  /** V1 error format. */
1330
- '$.xgafv'?: string;
1429
+ '$.xgafv'?: '1' | '2';
1331
1430
  /** OAuth access token. */
1332
1431
  access_token?: string;
1333
1432
  /** Data format for response. */
1334
- alt?: string;
1433
+ alt?: 'json' | 'media' | 'proto';
1335
1434
  /** JSONP */
1336
1435
  callback?: string;
1337
1436
  /** Selector specifying which fields to include in a partial response. */
@@ -1354,11 +1453,11 @@ declare namespace gapi.client {
1354
1453
  /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
1355
1454
  getIamPolicy(request?: {
1356
1455
  /** V1 error format. */
1357
- '$.xgafv'?: string;
1456
+ '$.xgafv'?: '1' | '2';
1358
1457
  /** OAuth access token. */
1359
1458
  access_token?: string;
1360
1459
  /** Data format for response. */
1361
- alt?: string;
1460
+ alt?: 'json' | 'media' | 'proto';
1362
1461
  /** JSONP */
1363
1462
  callback?: string;
1364
1463
  /** Selector specifying which fields to include in a partial response. */
@@ -1383,11 +1482,11 @@ declare namespace gapi.client {
1383
1482
  /** Returns all workstation configurations in the specified cluster. */
1384
1483
  list(request?: {
1385
1484
  /** V1 error format. */
1386
- '$.xgafv'?: string;
1485
+ '$.xgafv'?: '1' | '2';
1387
1486
  /** OAuth access token. */
1388
1487
  access_token?: string;
1389
1488
  /** Data format for response. */
1390
- alt?: string;
1489
+ alt?: 'json' | 'media' | 'proto';
1391
1490
  /** JSONP */
1392
1491
  callback?: string;
1393
1492
  /** Selector specifying which fields to include in a partial response. */
@@ -1416,11 +1515,11 @@ declare namespace gapi.client {
1416
1515
  /** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */
1417
1516
  listUsable(request?: {
1418
1517
  /** V1 error format. */
1419
- '$.xgafv'?: string;
1518
+ '$.xgafv'?: '1' | '2';
1420
1519
  /** OAuth access token. */
1421
1520
  access_token?: string;
1422
1521
  /** Data format for response. */
1423
- alt?: string;
1522
+ alt?: 'json' | 'media' | 'proto';
1424
1523
  /** JSONP */
1425
1524
  callback?: string;
1426
1525
  /** Selector specifying which fields to include in a partial response. */
@@ -1447,13 +1546,13 @@ declare namespace gapi.client {
1447
1546
  /** Updates an existing workstation configuration. */
1448
1547
  patch(request: {
1449
1548
  /** V1 error format. */
1450
- '$.xgafv'?: string;
1549
+ '$.xgafv'?: '1' | '2';
1451
1550
  /** OAuth access token. */
1452
1551
  access_token?: string;
1453
1552
  /** 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
1553
  allowMissing?: boolean;
1455
1554
  /** Data format for response. */
1456
- alt?: string;
1555
+ alt?: 'json' | 'media' | 'proto';
1457
1556
  /** JSONP */
1458
1557
  callback?: string;
1459
1558
  /** Selector specifying which fields to include in a partial response. */
@@ -1474,7 +1573,7 @@ declare namespace gapi.client {
1474
1573
  upload_protocol?: string;
1475
1574
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1476
1575
  uploadType?: string;
1477
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1576
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1478
1577
  validateOnly?: boolean;
1479
1578
  /** Request body */
1480
1579
  resource: WorkstationConfig;
@@ -1482,13 +1581,13 @@ declare namespace gapi.client {
1482
1581
  patch(
1483
1582
  request: {
1484
1583
  /** V1 error format. */
1485
- '$.xgafv'?: string;
1584
+ '$.xgafv'?: '1' | '2';
1486
1585
  /** OAuth access token. */
1487
1586
  access_token?: string;
1488
1587
  /** 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
1588
  allowMissing?: boolean;
1490
1589
  /** Data format for response. */
1491
- alt?: string;
1590
+ alt?: 'json' | 'media' | 'proto';
1492
1591
  /** JSONP */
1493
1592
  callback?: string;
1494
1593
  /** Selector specifying which fields to include in a partial response. */
@@ -1509,7 +1608,7 @@ declare namespace gapi.client {
1509
1608
  upload_protocol?: string;
1510
1609
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1511
1610
  uploadType?: string;
1512
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1611
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1513
1612
  validateOnly?: boolean;
1514
1613
  },
1515
1614
  body: WorkstationConfig,
@@ -1518,11 +1617,11 @@ declare namespace gapi.client {
1518
1617
  setIamPolicy(
1519
1618
  request: {
1520
1619
  /** V1 error format. */
1521
- '$.xgafv'?: string;
1620
+ '$.xgafv'?: '1' | '2';
1522
1621
  /** OAuth access token. */
1523
1622
  access_token?: string;
1524
1623
  /** Data format for response. */
1525
- alt?: string;
1624
+ alt?: 'json' | 'media' | 'proto';
1526
1625
  /** JSONP */
1527
1626
  callback?: string;
1528
1627
  /** Selector specifying which fields to include in a partial response. */
@@ -1548,11 +1647,11 @@ declare namespace gapi.client {
1548
1647
  testIamPermissions(
1549
1648
  request: {
1550
1649
  /** V1 error format. */
1551
- '$.xgafv'?: string;
1650
+ '$.xgafv'?: '1' | '2';
1552
1651
  /** OAuth access token. */
1553
1652
  access_token?: string;
1554
1653
  /** Data format for response. */
1555
- alt?: string;
1654
+ alt?: 'json' | 'media' | 'proto';
1556
1655
  /** JSONP */
1557
1656
  callback?: string;
1558
1657
  /** Selector specifying which fields to include in a partial response. */
@@ -1580,11 +1679,11 @@ declare namespace gapi.client {
1580
1679
  /** Creates a new workstation cluster. */
1581
1680
  create(request: {
1582
1681
  /** V1 error format. */
1583
- '$.xgafv'?: string;
1682
+ '$.xgafv'?: '1' | '2';
1584
1683
  /** OAuth access token. */
1585
1684
  access_token?: string;
1586
1685
  /** Data format for response. */
1587
- alt?: string;
1686
+ alt?: 'json' | 'media' | 'proto';
1588
1687
  /** JSONP */
1589
1688
  callback?: string;
1590
1689
  /** Selector specifying which fields to include in a partial response. */
@@ -1603,7 +1702,7 @@ declare namespace gapi.client {
1603
1702
  upload_protocol?: string;
1604
1703
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1605
1704
  uploadType?: string;
1606
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1705
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1607
1706
  validateOnly?: boolean;
1608
1707
  /** Required. ID to use for the workstation cluster. */
1609
1708
  workstationClusterId?: string;
@@ -1613,11 +1712,11 @@ declare namespace gapi.client {
1613
1712
  create(
1614
1713
  request: {
1615
1714
  /** V1 error format. */
1616
- '$.xgafv'?: string;
1715
+ '$.xgafv'?: '1' | '2';
1617
1716
  /** OAuth access token. */
1618
1717
  access_token?: string;
1619
1718
  /** Data format for response. */
1620
- alt?: string;
1719
+ alt?: 'json' | 'media' | 'proto';
1621
1720
  /** JSONP */
1622
1721
  callback?: string;
1623
1722
  /** Selector specifying which fields to include in a partial response. */
@@ -1636,7 +1735,7 @@ declare namespace gapi.client {
1636
1735
  upload_protocol?: string;
1637
1736
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1638
1737
  uploadType?: string;
1639
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1738
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1640
1739
  validateOnly?: boolean;
1641
1740
  /** Required. ID to use for the workstation cluster. */
1642
1741
  workstationClusterId?: string;
@@ -1646,11 +1745,11 @@ declare namespace gapi.client {
1646
1745
  /** Deletes the specified workstation cluster. */
1647
1746
  delete(request?: {
1648
1747
  /** V1 error format. */
1649
- '$.xgafv'?: string;
1748
+ '$.xgafv'?: '1' | '2';
1650
1749
  /** OAuth access token. */
1651
1750
  access_token?: string;
1652
1751
  /** Data format for response. */
1653
- alt?: string;
1752
+ alt?: 'json' | 'media' | 'proto';
1654
1753
  /** JSONP */
1655
1754
  callback?: string;
1656
1755
  /** Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag. */
@@ -1673,17 +1772,17 @@ declare namespace gapi.client {
1673
1772
  upload_protocol?: string;
1674
1773
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1675
1774
  uploadType?: string;
1676
- /** Optional. If set, validate the request and preview the review, but do not apply it. */
1775
+ /** Optional. If set, validate the request and preview the result, but do not apply it. */
1677
1776
  validateOnly?: boolean;
1678
1777
  }): Request<Operation>;
1679
1778
  /** Returns the requested workstation cluster. */
1680
1779
  get(request?: {
1681
1780
  /** V1 error format. */
1682
- '$.xgafv'?: string;
1781
+ '$.xgafv'?: '1' | '2';
1683
1782
  /** OAuth access token. */
1684
1783
  access_token?: string;
1685
1784
  /** Data format for response. */
1686
- alt?: string;
1785
+ alt?: 'json' | 'media' | 'proto';
1687
1786
  /** JSONP */
1688
1787
  callback?: string;
1689
1788
  /** Selector specifying which fields to include in a partial response. */
@@ -1706,11 +1805,11 @@ declare namespace gapi.client {
1706
1805
  /** Returns all workstation clusters in the specified location. */
1707
1806
  list(request?: {
1708
1807
  /** V1 error format. */
1709
- '$.xgafv'?: string;
1808
+ '$.xgafv'?: '1' | '2';
1710
1809
  /** OAuth access token. */
1711
1810
  access_token?: string;
1712
1811
  /** Data format for response. */
1713
- alt?: string;
1812
+ alt?: 'json' | 'media' | 'proto';
1714
1813
  /** JSONP */
1715
1814
  callback?: string;
1716
1815
  /** Selector specifying which fields to include in a partial response. */
@@ -1739,13 +1838,13 @@ declare namespace gapi.client {
1739
1838
  /** Updates an existing workstation cluster. */
1740
1839
  patch(request: {
1741
1840
  /** V1 error format. */
1742
- '$.xgafv'?: string;
1841
+ '$.xgafv'?: '1' | '2';
1743
1842
  /** OAuth access token. */
1744
1843
  access_token?: string;
1745
1844
  /** 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
1845
  allowMissing?: boolean;
1747
1846
  /** Data format for response. */
1748
- alt?: string;
1847
+ alt?: 'json' | 'media' | 'proto';
1749
1848
  /** JSONP */
1750
1849
  callback?: string;
1751
1850
  /** Selector specifying which fields to include in a partial response. */
@@ -1766,7 +1865,7 @@ declare namespace gapi.client {
1766
1865
  upload_protocol?: string;
1767
1866
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1768
1867
  uploadType?: string;
1769
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1868
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1770
1869
  validateOnly?: boolean;
1771
1870
  /** Request body */
1772
1871
  resource: WorkstationCluster;
@@ -1774,13 +1873,13 @@ declare namespace gapi.client {
1774
1873
  patch(
1775
1874
  request: {
1776
1875
  /** V1 error format. */
1777
- '$.xgafv'?: string;
1876
+ '$.xgafv'?: '1' | '2';
1778
1877
  /** OAuth access token. */
1779
1878
  access_token?: string;
1780
1879
  /** 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
1880
  allowMissing?: boolean;
1782
1881
  /** Data format for response. */
1783
- alt?: string;
1882
+ alt?: 'json' | 'media' | 'proto';
1784
1883
  /** JSONP */
1785
1884
  callback?: string;
1786
1885
  /** Selector specifying which fields to include in a partial response. */
@@ -1801,7 +1900,7 @@ declare namespace gapi.client {
1801
1900
  upload_protocol?: string;
1802
1901
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1803
1902
  uploadType?: string;
1804
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1903
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1805
1904
  validateOnly?: boolean;
1806
1905
  },
1807
1906
  body: WorkstationCluster,
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.20260526",
4
4
  "description": "TypeScript typings for Cloud Workstations API v1beta",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,23 @@ Install typings for Cloud Workstations API:
11
11
  npm install @types/gapi.client.workstations-v1beta --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": [
22
+ "gapi",
23
+ "gapi.auth2",
24
+ "gapi.client",
25
+ "gapi.client.workstations-v1beta"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
14
31
  ## Usage
15
32
 
16
33
  You need to initialize Google API client in your code: