@maxim_mazurok/gapi.client.workstations-v1 0.0.20250113 → 0.0.20250122

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 +16 -16
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://workstations.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250113
12
+ // Revision: 20250122
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Workstations API v1 */
18
18
  function load(
19
- urlOrObject: 'https://workstations.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://workstations.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'workstations', version: 'v1'): Promise<void>;
@@ -553,7 +553,7 @@ declare namespace gapi.client {
553
553
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
554
554
  uploadType?: string;
555
555
  },
556
- body: CancelOperationRequest
556
+ body: CancelOperationRequest,
557
557
  ): Request<{}>;
558
558
  /** 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`. */
559
559
  delete(request?: {
@@ -708,7 +708,7 @@ declare namespace gapi.client {
708
708
  /** Required. ID to use for the workstation. */
709
709
  workstationId?: string;
710
710
  },
711
- body: Workstation
711
+ body: Workstation,
712
712
  ): Request<Operation>;
713
713
  /** Deletes the specified workstation. */
714
714
  delete(request?: {
@@ -797,7 +797,7 @@ declare namespace gapi.client {
797
797
  /** Required. Name of the workstation for which the access token should be generated. */
798
798
  workstation: string;
799
799
  },
800
- body: GenerateAccessTokenRequest
800
+ body: GenerateAccessTokenRequest,
801
801
  ): Request<GenerateAccessTokenResponse>;
802
802
  /** Returns the requested workstation. */
803
803
  get(request?: {
@@ -985,7 +985,7 @@ declare namespace gapi.client {
985
985
  /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
986
986
  validateOnly?: boolean;
987
987
  },
988
- body: Workstation
988
+ body: Workstation,
989
989
  ): Request<Operation>;
990
990
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
991
991
  setIamPolicy(
@@ -1015,7 +1015,7 @@ declare namespace gapi.client {
1015
1015
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1016
1016
  uploadType?: string;
1017
1017
  },
1018
- body: SetIamPolicyRequest
1018
+ body: SetIamPolicyRequest,
1019
1019
  ): Request<Policy>;
1020
1020
  /** Starts running a workstation so that users can connect to it. */
1021
1021
  start(request: {
@@ -1073,7 +1073,7 @@ declare namespace gapi.client {
1073
1073
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1074
1074
  uploadType?: string;
1075
1075
  },
1076
- body: StartWorkstationRequest
1076
+ body: StartWorkstationRequest,
1077
1077
  ): Request<Operation>;
1078
1078
  /** Stops running a workstation, reducing costs. */
1079
1079
  stop(request: {
@@ -1131,7 +1131,7 @@ declare namespace gapi.client {
1131
1131
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1132
1132
  uploadType?: string;
1133
1133
  },
1134
- body: StopWorkstationRequest
1134
+ body: StopWorkstationRequest,
1135
1135
  ): Request<Operation>;
1136
1136
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
1137
1137
  testIamPermissions(
@@ -1161,7 +1161,7 @@ declare namespace gapi.client {
1161
1161
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1162
1162
  uploadType?: string;
1163
1163
  },
1164
- body: TestIamPermissionsRequest
1164
+ body: TestIamPermissionsRequest,
1165
1165
  ): Request<TestIamPermissionsResponse>;
1166
1166
  }
1167
1167
  interface WorkstationConfigsResource {
@@ -1229,7 +1229,7 @@ declare namespace gapi.client {
1229
1229
  /** Required. ID to use for the workstation configuration. */
1230
1230
  workstationConfigId?: string;
1231
1231
  },
1232
- body: WorkstationConfig
1232
+ body: WorkstationConfig,
1233
1233
  ): Request<Operation>;
1234
1234
  /** Deletes the specified workstation configuration. */
1235
1235
  delete(request?: {
@@ -1450,7 +1450,7 @@ declare namespace gapi.client {
1450
1450
  /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1451
1451
  validateOnly?: boolean;
1452
1452
  },
1453
- body: WorkstationConfig
1453
+ body: WorkstationConfig,
1454
1454
  ): Request<Operation>;
1455
1455
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
1456
1456
  setIamPolicy(
@@ -1480,7 +1480,7 @@ declare namespace gapi.client {
1480
1480
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1481
1481
  uploadType?: string;
1482
1482
  },
1483
- body: SetIamPolicyRequest
1483
+ body: SetIamPolicyRequest,
1484
1484
  ): Request<Policy>;
1485
1485
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
1486
1486
  testIamPermissions(
@@ -1510,7 +1510,7 @@ declare namespace gapi.client {
1510
1510
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1511
1511
  uploadType?: string;
1512
1512
  },
1513
- body: TestIamPermissionsRequest
1513
+ body: TestIamPermissionsRequest,
1514
1514
  ): Request<TestIamPermissionsResponse>;
1515
1515
  workstations: WorkstationsResource;
1516
1516
  }
@@ -1579,7 +1579,7 @@ declare namespace gapi.client {
1579
1579
  /** Required. ID to use for the workstation cluster. */
1580
1580
  workstationClusterId?: string;
1581
1581
  },
1582
- body: WorkstationCluster
1582
+ body: WorkstationCluster,
1583
1583
  ): Request<Operation>;
1584
1584
  /** Deletes the specified workstation cluster. */
1585
1585
  delete(request?: {
@@ -1740,7 +1740,7 @@ declare namespace gapi.client {
1740
1740
  /** Optional. If set, validate the request and preview the review, but do not actually apply it. */
1741
1741
  validateOnly?: boolean;
1742
1742
  },
1743
- body: WorkstationCluster
1743
+ body: WorkstationCluster,
1744
1744
  ): Request<Operation>;
1745
1745
  workstationConfigs: WorkstationConfigsResource;
1746
1746
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.workstations-v1",
3
- "version": "0.0.20250113",
3
+ "version": "0.0.20250122",
4
4
  "description": "TypeScript typings for Cloud Workstations API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.workstations
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68