@maxim_mazurok/gapi.client.workstations-v1beta 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.
- package/index.d.ts +21 -17
- package/package.json +1 -1
- 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=v1beta
|
|
12
|
-
// Revision:
|
|
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 v1beta */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://workstations.googleapis.com/$discovery/rest?version=v1beta'
|
|
19
|
+
urlOrObject: 'https://workstations.googleapis.com/$discovery/rest?version=v1beta',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'workstations', version: 'v1beta'): Promise<void>;
|
|
@@ -24,7 +24,7 @@ declare namespace gapi.client {
|
|
|
24
24
|
function load(
|
|
25
25
|
name: 'workstations',
|
|
26
26
|
version: 'v1beta',
|
|
27
|
-
callback: () => any
|
|
27
|
+
callback: () => any,
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace workstations {
|
|
@@ -365,8 +365,12 @@ declare namespace gapi.client {
|
|
|
365
365
|
annotations?: {[P in string]: string};
|
|
366
366
|
/** Output only. List of available boost configuration IDs that this workstation can be boosted up to. */
|
|
367
367
|
boostConfigs?: WorkstationBoostConfig[];
|
|
368
|
+
/** Output only. Status conditions describing the workstation's current state. */
|
|
369
|
+
conditions?: Status[];
|
|
368
370
|
/** Output only. Time when this workstation was created. */
|
|
369
371
|
createTime?: string;
|
|
372
|
+
/** Output only. Whether this workstation is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions. */
|
|
373
|
+
degraded?: boolean;
|
|
370
374
|
/** Output only. Time when this workstation was soft-deleted. */
|
|
371
375
|
deleteTime?: string;
|
|
372
376
|
/** Optional. Human-readable name for this workstation. */
|
|
@@ -565,7 +569,7 @@ declare namespace gapi.client {
|
|
|
565
569
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
566
570
|
uploadType?: string;
|
|
567
571
|
},
|
|
568
|
-
body: CancelOperationRequest
|
|
572
|
+
body: CancelOperationRequest,
|
|
569
573
|
): Request<{}>;
|
|
570
574
|
/** 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`. */
|
|
571
575
|
delete(request?: {
|
|
@@ -720,7 +724,7 @@ declare namespace gapi.client {
|
|
|
720
724
|
/** Required. ID to use for the workstation. */
|
|
721
725
|
workstationId?: string;
|
|
722
726
|
},
|
|
723
|
-
body: Workstation
|
|
727
|
+
body: Workstation,
|
|
724
728
|
): Request<Operation>;
|
|
725
729
|
/** Deletes the specified workstation. */
|
|
726
730
|
delete(request?: {
|
|
@@ -809,7 +813,7 @@ declare namespace gapi.client {
|
|
|
809
813
|
/** Required. Name of the workstation for which the access token should be generated. */
|
|
810
814
|
workstation: string;
|
|
811
815
|
},
|
|
812
|
-
body: GenerateAccessTokenRequest
|
|
816
|
+
body: GenerateAccessTokenRequest,
|
|
813
817
|
): Request<GenerateAccessTokenResponse>;
|
|
814
818
|
/** Returns the requested workstation. */
|
|
815
819
|
get(request?: {
|
|
@@ -997,7 +1001,7 @@ declare namespace gapi.client {
|
|
|
997
1001
|
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
998
1002
|
validateOnly?: boolean;
|
|
999
1003
|
},
|
|
1000
|
-
body: Workstation
|
|
1004
|
+
body: Workstation,
|
|
1001
1005
|
): Request<Operation>;
|
|
1002
1006
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1003
1007
|
setIamPolicy(
|
|
@@ -1027,7 +1031,7 @@ declare namespace gapi.client {
|
|
|
1027
1031
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1028
1032
|
uploadType?: string;
|
|
1029
1033
|
},
|
|
1030
|
-
body: SetIamPolicyRequest
|
|
1034
|
+
body: SetIamPolicyRequest,
|
|
1031
1035
|
): Request<Policy>;
|
|
1032
1036
|
/** Starts running a workstation so that users can connect to it. */
|
|
1033
1037
|
start(request: {
|
|
@@ -1085,7 +1089,7 @@ declare namespace gapi.client {
|
|
|
1085
1089
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1086
1090
|
uploadType?: string;
|
|
1087
1091
|
},
|
|
1088
|
-
body: StartWorkstationRequest
|
|
1092
|
+
body: StartWorkstationRequest,
|
|
1089
1093
|
): Request<Operation>;
|
|
1090
1094
|
/** Stops running a workstation, reducing costs. */
|
|
1091
1095
|
stop(request: {
|
|
@@ -1143,7 +1147,7 @@ declare namespace gapi.client {
|
|
|
1143
1147
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1144
1148
|
uploadType?: string;
|
|
1145
1149
|
},
|
|
1146
|
-
body: StopWorkstationRequest
|
|
1150
|
+
body: StopWorkstationRequest,
|
|
1147
1151
|
): Request<Operation>;
|
|
1148
1152
|
/** 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. */
|
|
1149
1153
|
testIamPermissions(
|
|
@@ -1173,7 +1177,7 @@ declare namespace gapi.client {
|
|
|
1173
1177
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1174
1178
|
uploadType?: string;
|
|
1175
1179
|
},
|
|
1176
|
-
body: TestIamPermissionsRequest
|
|
1180
|
+
body: TestIamPermissionsRequest,
|
|
1177
1181
|
): Request<TestIamPermissionsResponse>;
|
|
1178
1182
|
}
|
|
1179
1183
|
interface WorkstationConfigsResource {
|
|
@@ -1241,7 +1245,7 @@ declare namespace gapi.client {
|
|
|
1241
1245
|
/** Required. ID to use for the workstation configuration. */
|
|
1242
1246
|
workstationConfigId?: string;
|
|
1243
1247
|
},
|
|
1244
|
-
body: WorkstationConfig
|
|
1248
|
+
body: WorkstationConfig,
|
|
1245
1249
|
): Request<Operation>;
|
|
1246
1250
|
/** Deletes the specified workstation configuration. */
|
|
1247
1251
|
delete(request?: {
|
|
@@ -1462,7 +1466,7 @@ declare namespace gapi.client {
|
|
|
1462
1466
|
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1463
1467
|
validateOnly?: boolean;
|
|
1464
1468
|
},
|
|
1465
|
-
body: WorkstationConfig
|
|
1469
|
+
body: WorkstationConfig,
|
|
1466
1470
|
): Request<Operation>;
|
|
1467
1471
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1468
1472
|
setIamPolicy(
|
|
@@ -1492,7 +1496,7 @@ declare namespace gapi.client {
|
|
|
1492
1496
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1493
1497
|
uploadType?: string;
|
|
1494
1498
|
},
|
|
1495
|
-
body: SetIamPolicyRequest
|
|
1499
|
+
body: SetIamPolicyRequest,
|
|
1496
1500
|
): Request<Policy>;
|
|
1497
1501
|
/** 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. */
|
|
1498
1502
|
testIamPermissions(
|
|
@@ -1522,7 +1526,7 @@ declare namespace gapi.client {
|
|
|
1522
1526
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1523
1527
|
uploadType?: string;
|
|
1524
1528
|
},
|
|
1525
|
-
body: TestIamPermissionsRequest
|
|
1529
|
+
body: TestIamPermissionsRequest,
|
|
1526
1530
|
): Request<TestIamPermissionsResponse>;
|
|
1527
1531
|
workstations: WorkstationsResource;
|
|
1528
1532
|
}
|
|
@@ -1591,7 +1595,7 @@ declare namespace gapi.client {
|
|
|
1591
1595
|
/** Required. ID to use for the workstation cluster. */
|
|
1592
1596
|
workstationClusterId?: string;
|
|
1593
1597
|
},
|
|
1594
|
-
body: WorkstationCluster
|
|
1598
|
+
body: WorkstationCluster,
|
|
1595
1599
|
): Request<Operation>;
|
|
1596
1600
|
/** Deletes the specified workstation cluster. */
|
|
1597
1601
|
delete(request?: {
|
|
@@ -1752,7 +1756,7 @@ declare namespace gapi.client {
|
|
|
1752
1756
|
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1753
1757
|
validateOnly?: boolean;
|
|
1754
1758
|
},
|
|
1755
|
-
body: WorkstationCluster
|
|
1759
|
+
body: WorkstationCluster,
|
|
1756
1760
|
): Request<Operation>;
|
|
1757
1761
|
workstationConfigs: WorkstationConfigsResource;
|
|
1758
1762
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED