@maxim_mazurok/gapi.client.workstations-v1beta 0.2.20260218 → 0.2.20260604

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 +113 -23
  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: 20260604
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -126,6 +126,8 @@ declare namespace gapi.client {
126
126
  interface GceHyperdiskBalancedHighAvailability {
127
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. */
128
128
  archiveTimeout?: string;
129
+ /** Optional. Maximum size in GB to which this persistent directory can be resized. Defaults to unlimited if not set. */
130
+ maxSizeGb?: number;
129
131
  /** Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
130
132
  reclaimPolicy?: 'RECLAIM_POLICY_UNSPECIFIED' | 'DELETE' | 'RETAIN';
131
133
  /** 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`. */
@@ -196,6 +198,8 @@ declare namespace gapi.client {
196
198
  diskType?: string;
197
199
  /** 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"`. */
198
200
  fsType?: string;
201
+ /** Optional. Maximum size in GB to which this persistent directory can be resized. Defaults to unlimited if not set. */
202
+ maxSizeGb?: number;
199
203
  /** Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
200
204
  reclaimPolicy?: 'RECLAIM_POLICY_UNSPECIFIED' | 'DELETE' | 'RETAIN';
201
205
  /** 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"`. */
@@ -284,6 +288,16 @@ declare namespace gapi.client {
284
288
  /** The requested workstations. */
285
289
  workstations?: Workstation[];
286
290
  }
291
+ interface OAuthToken {
292
+ /** Required. The OAuth token. */
293
+ accessToken?: string;
294
+ /** Optional. The email address encapsulated in the OAuth token. */
295
+ email?: string;
296
+ /** 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. */
297
+ expireTime?: string;
298
+ /** Optional. The scopes encapsulated in the OAuth token. See https://developers.google.com/identity/protocols/oauth2/scopes for more information. */
299
+ scopes?: string;
300
+ }
287
301
  interface Operation {
288
302
  /** 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. */
289
303
  done?: boolean;
@@ -346,6 +360,10 @@ declare namespace gapi.client {
346
360
  /** 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). */
347
361
  serviceAttachmentUri?: string;
348
362
  }
363
+ interface PushCredentialsRequest {
364
+ /** 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 */
365
+ applicationDefaultCredentials?: OAuthToken;
366
+ }
349
367
  interface ReadinessCheck {
350
368
  /** Optional. Path to which the request should be sent. */
351
369
  path?: string;
@@ -379,21 +397,21 @@ declare namespace gapi.client {
379
397
  boostConfig?: string;
380
398
  /** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
381
399
  etag?: string;
382
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
400
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
383
401
  validateOnly?: boolean;
384
402
  }
385
403
  interface Status {
386
404
  /** The status code, which should be an enum value of google.rpc.Code. */
387
405
  code?: number;
388
406
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
389
- details?: Array<{[P in string]: any}>;
407
+ details?: {[P in string]: any}[];
390
408
  /** 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. */
391
409
  message?: string;
392
410
  }
393
411
  interface StopWorkstationRequest {
394
412
  /** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
395
413
  etag?: string;
396
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
414
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
397
415
  validateOnly?: boolean;
398
416
  }
399
417
  interface TestIamPermissionsRequest {
@@ -431,6 +449,8 @@ declare namespace gapi.client {
431
449
  labels?: {[P in string]: string};
432
450
  /** Identifier. Full name of this workstation. */
433
451
  name?: string;
452
+ /** Optional. Directories to persist across workstation sessions. */
453
+ persistentDirectories?: WorkstationPersistentDirectory[];
434
454
  /** Output only. Indicates whether this workstation is currently being updated to match its intended state. */
435
455
  reconciling?: boolean;
436
456
  /** Optional. Output only. Runtime host for the workstation when in STATE_RUNNING. */
@@ -504,6 +524,10 @@ declare namespace gapi.client {
504
524
  uid?: string;
505
525
  /** Output only. Time when this workstation cluster was most recently updated. */
506
526
  updateTime?: string;
527
+ /** 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. */
528
+ workstationAuthorizationUrl?: string;
529
+ /** 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. */
530
+ workstationLaunchUrl?: string;
507
531
  }
508
532
  interface WorkstationConfig {
509
533
  /** 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. */
@@ -526,6 +550,8 @@ declare namespace gapi.client {
526
550
  displayName?: string;
527
551
  /** 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" */
528
552
  enableAuditAgent?: boolean;
553
+ /** 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. */
554
+ enablePushingCredentials?: boolean;
529
555
  /** 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. */
530
556
  encryptionKey?: CustomerEncryptionKey;
531
557
  /** Optional. Ephemeral directories which won't persist across workstation sessions. */
@@ -565,6 +591,12 @@ declare namespace gapi.client {
565
591
  /** Output only. Time when this workstation configuration was most recently updated. */
566
592
  updateTime?: string;
567
593
  }
594
+ interface WorkstationPersistentDirectory {
595
+ /** Optional. The mount path of the persistent directory. */
596
+ mountPath?: string;
597
+ /** Optional. Size of the persistent directory in GB. If specified in an update request, this is the desired size of the directory. */
598
+ sizeGb?: number;
599
+ }
568
600
  interface OperationsResource {
569
601
  /** 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`. */
570
602
  cancel(request: {
@@ -741,7 +773,7 @@ declare namespace gapi.client {
741
773
  upload_protocol?: string;
742
774
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
743
775
  uploadType?: string;
744
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
776
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
745
777
  validateOnly?: boolean;
746
778
  /** Required. ID to use for the workstation. */
747
779
  workstationId?: string;
@@ -774,7 +806,7 @@ declare namespace gapi.client {
774
806
  upload_protocol?: string;
775
807
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
776
808
  uploadType?: string;
777
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
809
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
778
810
  validateOnly?: boolean;
779
811
  /** Required. ID to use for the workstation. */
780
812
  workstationId?: string;
@@ -809,7 +841,7 @@ declare namespace gapi.client {
809
841
  upload_protocol?: string;
810
842
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
811
843
  uploadType?: string;
812
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
844
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
813
845
  validateOnly?: boolean;
814
846
  }): Request<Operation>;
815
847
  /** 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. */
@@ -996,7 +1028,7 @@ declare namespace gapi.client {
996
1028
  '$.xgafv'?: '1' | '2';
997
1029
  /** OAuth access token. */
998
1030
  access_token?: string;
999
- /** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
1031
+ /** Optional. If set and the workstation is not found, a new workstation is created. In this situation, update_mask is ignored. */
1000
1032
  allowMissing?: boolean;
1001
1033
  /** Data format for response. */
1002
1034
  alt?: 'json' | 'media' | 'proto';
@@ -1014,13 +1046,13 @@ declare namespace gapi.client {
1014
1046
  prettyPrint?: boolean;
1015
1047
  /** 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. */
1016
1048
  quotaUser?: string;
1017
- /** Required. Mask specifying which fields in the workstation configuration should be updated. */
1049
+ /** Required. Mask specifying which fields in the workstation should be updated. */
1018
1050
  updateMask?: string;
1019
1051
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1020
1052
  upload_protocol?: string;
1021
1053
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1022
1054
  uploadType?: string;
1023
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1055
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1024
1056
  validateOnly?: boolean;
1025
1057
  /** Request body */
1026
1058
  resource: Workstation;
@@ -1031,7 +1063,7 @@ declare namespace gapi.client {
1031
1063
  '$.xgafv'?: '1' | '2';
1032
1064
  /** OAuth access token. */
1033
1065
  access_token?: string;
1034
- /** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
1066
+ /** Optional. If set and the workstation is not found, a new workstation is created. In this situation, update_mask is ignored. */
1035
1067
  allowMissing?: boolean;
1036
1068
  /** Data format for response. */
1037
1069
  alt?: 'json' | 'media' | 'proto';
@@ -1049,17 +1081,75 @@ declare namespace gapi.client {
1049
1081
  prettyPrint?: boolean;
1050
1082
  /** 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. */
1051
1083
  quotaUser?: string;
1052
- /** Required. Mask specifying which fields in the workstation configuration should be updated. */
1084
+ /** Required. Mask specifying which fields in the workstation should be updated. */
1053
1085
  updateMask?: string;
1054
1086
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1055
1087
  upload_protocol?: string;
1056
1088
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1057
1089
  uploadType?: string;
1058
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1090
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1059
1091
  validateOnly?: boolean;
1060
1092
  },
1061
1093
  body: Workstation,
1062
1094
  ): Request<Operation>;
1095
+ /** 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. */
1096
+ pushCredentials(request: {
1097
+ /** V1 error format. */
1098
+ '$.xgafv'?: '1' | '2';
1099
+ /** OAuth access token. */
1100
+ access_token?: string;
1101
+ /** Data format for response. */
1102
+ alt?: 'json' | 'media' | 'proto';
1103
+ /** JSONP */
1104
+ callback?: string;
1105
+ /** Selector specifying which fields to include in a partial response. */
1106
+ fields?: string;
1107
+ /** 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. */
1108
+ key?: string;
1109
+ /** OAuth 2.0 token for the current user. */
1110
+ oauth_token?: string;
1111
+ /** Returns response with indentations and line breaks. */
1112
+ prettyPrint?: boolean;
1113
+ /** 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. */
1114
+ quotaUser?: string;
1115
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1116
+ upload_protocol?: string;
1117
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1118
+ uploadType?: string;
1119
+ /** Required. Name of the workstation for which the credentials should be pushed. */
1120
+ workstation: string;
1121
+ /** Request body */
1122
+ resource: PushCredentialsRequest;
1123
+ }): Request<Operation>;
1124
+ pushCredentials(
1125
+ request: {
1126
+ /** V1 error format. */
1127
+ '$.xgafv'?: '1' | '2';
1128
+ /** OAuth access token. */
1129
+ access_token?: string;
1130
+ /** Data format for response. */
1131
+ alt?: 'json' | 'media' | 'proto';
1132
+ /** JSONP */
1133
+ callback?: string;
1134
+ /** Selector specifying which fields to include in a partial response. */
1135
+ fields?: string;
1136
+ /** 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. */
1137
+ key?: string;
1138
+ /** OAuth 2.0 token for the current user. */
1139
+ oauth_token?: string;
1140
+ /** Returns response with indentations and line breaks. */
1141
+ prettyPrint?: boolean;
1142
+ /** 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. */
1143
+ quotaUser?: string;
1144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1145
+ upload_protocol?: string;
1146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1147
+ uploadType?: string;
1148
+ /** Required. Name of the workstation for which the credentials should be pushed. */
1149
+ workstation: string;
1150
+ },
1151
+ body: PushCredentialsRequest,
1152
+ ): Request<Operation>;
1063
1153
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1064
1154
  setIamPolicy(
1065
1155
  request: {
@@ -1264,7 +1354,7 @@ declare namespace gapi.client {
1264
1354
  upload_protocol?: string;
1265
1355
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1266
1356
  uploadType?: string;
1267
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1357
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1268
1358
  validateOnly?: boolean;
1269
1359
  /** Required. ID to use for the workstation configuration. */
1270
1360
  workstationConfigId?: string;
@@ -1297,7 +1387,7 @@ declare namespace gapi.client {
1297
1387
  upload_protocol?: string;
1298
1388
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1299
1389
  uploadType?: string;
1300
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1390
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1301
1391
  validateOnly?: boolean;
1302
1392
  /** Required. ID to use for the workstation configuration. */
1303
1393
  workstationConfigId?: string;
@@ -1334,7 +1424,7 @@ declare namespace gapi.client {
1334
1424
  upload_protocol?: string;
1335
1425
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1336
1426
  uploadType?: string;
1337
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1427
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1338
1428
  validateOnly?: boolean;
1339
1429
  }): Request<Operation>;
1340
1430
  /** Returns the requested workstation configuration. */
@@ -1487,7 +1577,7 @@ declare namespace gapi.client {
1487
1577
  upload_protocol?: string;
1488
1578
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1489
1579
  uploadType?: string;
1490
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1580
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1491
1581
  validateOnly?: boolean;
1492
1582
  /** Request body */
1493
1583
  resource: WorkstationConfig;
@@ -1522,7 +1612,7 @@ declare namespace gapi.client {
1522
1612
  upload_protocol?: string;
1523
1613
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1524
1614
  uploadType?: string;
1525
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1615
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1526
1616
  validateOnly?: boolean;
1527
1617
  },
1528
1618
  body: WorkstationConfig,
@@ -1616,7 +1706,7 @@ declare namespace gapi.client {
1616
1706
  upload_protocol?: string;
1617
1707
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1618
1708
  uploadType?: string;
1619
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1709
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1620
1710
  validateOnly?: boolean;
1621
1711
  /** Required. ID to use for the workstation cluster. */
1622
1712
  workstationClusterId?: string;
@@ -1649,7 +1739,7 @@ declare namespace gapi.client {
1649
1739
  upload_protocol?: string;
1650
1740
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1651
1741
  uploadType?: string;
1652
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1742
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1653
1743
  validateOnly?: boolean;
1654
1744
  /** Required. ID to use for the workstation cluster. */
1655
1745
  workstationClusterId?: string;
@@ -1686,7 +1776,7 @@ declare namespace gapi.client {
1686
1776
  upload_protocol?: string;
1687
1777
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1688
1778
  uploadType?: string;
1689
- /** Optional. If set, validate the request and preview the review, but do not apply it. */
1779
+ /** Optional. If set, validate the request and preview the result, but do not apply it. */
1690
1780
  validateOnly?: boolean;
1691
1781
  }): Request<Operation>;
1692
1782
  /** Returns the requested workstation cluster. */
@@ -1779,7 +1869,7 @@ declare namespace gapi.client {
1779
1869
  upload_protocol?: string;
1780
1870
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1781
1871
  uploadType?: string;
1782
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1872
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1783
1873
  validateOnly?: boolean;
1784
1874
  /** Request body */
1785
1875
  resource: WorkstationCluster;
@@ -1814,7 +1904,7 @@ declare namespace gapi.client {
1814
1904
  upload_protocol?: string;
1815
1905
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1816
1906
  uploadType?: string;
1817
- /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1907
+ /** Optional. If set, validate the request and preview the result, but do not actually apply it. */
1818
1908
  validateOnly?: boolean;
1819
1909
  },
1820
1910
  body: WorkstationCluster,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workstations-v1beta",
3
- "version": "0.2.20260218",
3
+ "version": "0.2.20260604",
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: