@maxim_mazurok/gapi.client.workstations-v1beta 0.0.20221214
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 +1722 -0
- package/package.json +20 -0
- package/readme.md +68 -0
- package/tests.ts +526 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1722 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Cloud Workstations API v1beta 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/workstations
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
|
|
8
|
+
// IMPORTANT
|
|
9
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
|
+
// Generated from: https://workstations.googleapis.com/$discovery/rest?version=v1beta
|
|
12
|
+
// Revision: 20221214
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load Cloud Workstations API v1beta */
|
|
18
|
+
function load(urlOrObject: "https://workstations.googleapis.com/$discovery/rest?version=v1beta"): Promise<void>;
|
|
19
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
20
|
+
function load(name: "workstations", version: "v1beta"): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: "workstations", version: "v1beta", callback: () => any): void;
|
|
23
|
+
|
|
24
|
+
namespace workstations {
|
|
25
|
+
interface AuditConfig {
|
|
26
|
+
/** The configuration for logging of each type of permission. */
|
|
27
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
28
|
+
/**
|
|
29
|
+
* Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all
|
|
30
|
+
* services.
|
|
31
|
+
*/
|
|
32
|
+
service?: string;
|
|
33
|
+
}
|
|
34
|
+
interface AuditLogConfig {
|
|
35
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
36
|
+
exemptedMembers?: string[];
|
|
37
|
+
/** The log type that this config enables. */
|
|
38
|
+
logType?: string;
|
|
39
|
+
}
|
|
40
|
+
interface Binding {
|
|
41
|
+
/**
|
|
42
|
+
* 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`,
|
|
43
|
+
* 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
|
|
44
|
+
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
45
|
+
*/
|
|
46
|
+
condition?: Expr;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
49
|
+
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
50
|
+
* account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific
|
|
51
|
+
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
52
|
+
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
53
|
+
* account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
|
|
54
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
55
|
+
* identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to
|
|
56
|
+
* `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing
|
|
57
|
+
* a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value
|
|
58
|
+
* reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique
|
|
59
|
+
* identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to
|
|
60
|
+
* `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For
|
|
61
|
+
* example, `google.com` or `example.com`.
|
|
62
|
+
*/
|
|
63
|
+
members?: string[];
|
|
64
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
65
|
+
role?: string;
|
|
66
|
+
}
|
|
67
|
+
// tslint:disable-next-line:no-empty-interface
|
|
68
|
+
interface CancelOperationRequest {
|
|
69
|
+
}
|
|
70
|
+
interface Container {
|
|
71
|
+
/** Arguments passed to the entrypoint. */
|
|
72
|
+
args?: string[];
|
|
73
|
+
/** If set, overrides the default ENTRYPOINT specified by the image. */
|
|
74
|
+
command?: string[];
|
|
75
|
+
/** Environment variables passed to the container. */
|
|
76
|
+
env?: { [P in string]: string };
|
|
77
|
+
/** Docker image defining the container. This image must be accessible by the config's service account. */
|
|
78
|
+
image?: string;
|
|
79
|
+
/** If set, overrides the USER specified in the image with the given uid. */
|
|
80
|
+
runAsUser?: number;
|
|
81
|
+
/** If set, overrides the default DIR specified by the image. */
|
|
82
|
+
workingDir?: string;
|
|
83
|
+
}
|
|
84
|
+
// tslint:disable-next-line:no-empty-interface
|
|
85
|
+
interface Empty {
|
|
86
|
+
}
|
|
87
|
+
interface Expr {
|
|
88
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
89
|
+
description?: string;
|
|
90
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
91
|
+
expression?: string;
|
|
92
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
93
|
+
location?: string;
|
|
94
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
95
|
+
title?: string;
|
|
96
|
+
}
|
|
97
|
+
interface GceConfidentialInstanceConfig {
|
|
98
|
+
/** Whether the instance has confidential compute enabled. */
|
|
99
|
+
enableConfidentialCompute?: boolean;
|
|
100
|
+
}
|
|
101
|
+
interface GceInstance {
|
|
102
|
+
/** Size of the boot disk in GB. */
|
|
103
|
+
bootDiskSizeGb?: number;
|
|
104
|
+
/** A set of Compute Engine Confidential VM instance options. */
|
|
105
|
+
confidentialInstanceConfig?: GceConfidentialInstanceConfig;
|
|
106
|
+
/** Whether instances have no public IP address. */
|
|
107
|
+
disablePublicIpAddresses?: boolean;
|
|
108
|
+
/** The name of a Compute Engine machine type. */
|
|
109
|
+
machineType?: string;
|
|
110
|
+
/** Number of instances to pool for faster workstation starup. */
|
|
111
|
+
poolSize?: number;
|
|
112
|
+
/**
|
|
113
|
+
* Email address of the service account that will be used on VM instances used to support this config. This service account must have permission to pull the specified container image.
|
|
114
|
+
* If not set, VMs will run without a service account, in which case the image must be publicly accessible.
|
|
115
|
+
*/
|
|
116
|
+
serviceAccount?: string;
|
|
117
|
+
/** A set of Compute Engine Shielded instance options. */
|
|
118
|
+
shieldedInstanceConfig?: GceShieldedInstanceConfig;
|
|
119
|
+
/** Network tags to add to the Compute Engine machines backing the Workstations. */
|
|
120
|
+
tags?: string[];
|
|
121
|
+
}
|
|
122
|
+
interface GceRegionalPersistentDisk {
|
|
123
|
+
/** Type of the disk to use. */
|
|
124
|
+
diskType?: string;
|
|
125
|
+
/** 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. */
|
|
126
|
+
fsType?: string;
|
|
127
|
+
/** What should happen to the disk after the workstation is deleted. Defaults to DELETE. */
|
|
128
|
+
reclaimPolicy?: string;
|
|
129
|
+
/** Size of the disk in GB. Must be empty if source_snapshot is set. */
|
|
130
|
+
sizeGb?: number;
|
|
131
|
+
}
|
|
132
|
+
interface GceShieldedInstanceConfig {
|
|
133
|
+
/** Whether the instance has integrity monitoring enabled. */
|
|
134
|
+
enableIntegrityMonitoring?: boolean;
|
|
135
|
+
/** Whether the instance has Secure Boot enabled. */
|
|
136
|
+
enableSecureBoot?: boolean;
|
|
137
|
+
/** Whether the instance has the vTPM enabled. */
|
|
138
|
+
enableVtpm?: boolean;
|
|
139
|
+
}
|
|
140
|
+
interface GenerateAccessTokenRequest {
|
|
141
|
+
/**
|
|
142
|
+
* Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default
|
|
143
|
+
* value of 1 hour in the future.
|
|
144
|
+
*/
|
|
145
|
+
expireTime?: string;
|
|
146
|
+
/** Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour. */
|
|
147
|
+
ttl?: string;
|
|
148
|
+
}
|
|
149
|
+
interface GenerateAccessTokenResponse {
|
|
150
|
+
/**
|
|
151
|
+
* The generated bearer access token. To use this token, include it in an Authorization header of an HTTP request sent to the associated workstation's hostname, e.g. "Authorization:
|
|
152
|
+
* Bearer ".
|
|
153
|
+
*/
|
|
154
|
+
accessToken?: string;
|
|
155
|
+
/** Time at which the generated token will expire. */
|
|
156
|
+
expireTime?: string;
|
|
157
|
+
}
|
|
158
|
+
interface Host {
|
|
159
|
+
/** Specifies a Compute Engine instance as the host. */
|
|
160
|
+
gceInstance?: GceInstance;
|
|
161
|
+
}
|
|
162
|
+
interface ListOperationsResponse {
|
|
163
|
+
/** The standard List next-page token. */
|
|
164
|
+
nextPageToken?: string;
|
|
165
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
166
|
+
operations?: Operation[];
|
|
167
|
+
}
|
|
168
|
+
interface ListUsableWorkstationConfigsResponse {
|
|
169
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
170
|
+
nextPageToken?: string;
|
|
171
|
+
/** Unreachable resources. */
|
|
172
|
+
unreachable?: string[];
|
|
173
|
+
/** The requested configs. */
|
|
174
|
+
workstationConfigs?: WorkstationConfig[];
|
|
175
|
+
}
|
|
176
|
+
interface ListUsableWorkstationsResponse {
|
|
177
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
178
|
+
nextPageToken?: string;
|
|
179
|
+
/** Unreachable resources. */
|
|
180
|
+
unreachable?: string[];
|
|
181
|
+
/** The requested workstations. */
|
|
182
|
+
workstations?: Workstation[];
|
|
183
|
+
}
|
|
184
|
+
interface ListWorkstationClustersResponse {
|
|
185
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
186
|
+
nextPageToken?: string;
|
|
187
|
+
/** Unreachable resources. */
|
|
188
|
+
unreachable?: string[];
|
|
189
|
+
/** The requested clusters. */
|
|
190
|
+
workstationClusters?: WorkstationCluster[];
|
|
191
|
+
}
|
|
192
|
+
interface ListWorkstationConfigsResponse {
|
|
193
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
194
|
+
nextPageToken?: string;
|
|
195
|
+
/** Unreachable resources. */
|
|
196
|
+
unreachable?: string[];
|
|
197
|
+
/** The requested configs. */
|
|
198
|
+
workstationConfigs?: WorkstationConfig[];
|
|
199
|
+
}
|
|
200
|
+
interface ListWorkstationsResponse {
|
|
201
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
202
|
+
nextPageToken?: string;
|
|
203
|
+
/** Unreachable resources. */
|
|
204
|
+
unreachable?: string[];
|
|
205
|
+
/** The requested workstations. */
|
|
206
|
+
workstations?: Workstation[];
|
|
207
|
+
}
|
|
208
|
+
interface Operation {
|
|
209
|
+
/** 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. */
|
|
210
|
+
done?: boolean;
|
|
211
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
212
|
+
error?: Status;
|
|
213
|
+
/**
|
|
214
|
+
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
215
|
+
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
216
|
+
*/
|
|
217
|
+
metadata?: { [P in string]: any };
|
|
218
|
+
/**
|
|
219
|
+
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
220
|
+
* with `operations/{unique_id}`.
|
|
221
|
+
*/
|
|
222
|
+
name?: string;
|
|
223
|
+
/**
|
|
224
|
+
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
225
|
+
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
226
|
+
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
227
|
+
*/
|
|
228
|
+
response?: { [P in string]: any };
|
|
229
|
+
}
|
|
230
|
+
interface OperationMetadata {
|
|
231
|
+
/** Output only. API version used to start the operation. */
|
|
232
|
+
apiVersion?: string;
|
|
233
|
+
/**
|
|
234
|
+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a
|
|
235
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
236
|
+
*/
|
|
237
|
+
cancelRequested?: boolean;
|
|
238
|
+
/** Output only. The time the operation was created. */
|
|
239
|
+
createTime?: string;
|
|
240
|
+
/** Output only. The time the operation finished running. */
|
|
241
|
+
endTime?: string;
|
|
242
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
243
|
+
statusDetail?: string;
|
|
244
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
245
|
+
target?: string;
|
|
246
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
247
|
+
verb?: string;
|
|
248
|
+
}
|
|
249
|
+
interface PersistentDirectory {
|
|
250
|
+
/** A PersistentDirectory backed by a Compute Engine persistent disk. */
|
|
251
|
+
gcePd?: GceRegionalPersistentDisk;
|
|
252
|
+
/** Location of this directory in the running workstation. */
|
|
253
|
+
mountPath?: string;
|
|
254
|
+
}
|
|
255
|
+
interface Policy {
|
|
256
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
257
|
+
auditConfigs?: AuditConfig[];
|
|
258
|
+
/**
|
|
259
|
+
* Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
|
|
260
|
+
* must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
|
|
261
|
+
* principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
|
|
262
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
263
|
+
*/
|
|
264
|
+
bindings?: Binding[];
|
|
265
|
+
/**
|
|
266
|
+
* `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
|
|
267
|
+
* use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
|
|
268
|
+
* are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM
|
|
269
|
+
* Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
270
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
271
|
+
*/
|
|
272
|
+
etag?: string;
|
|
273
|
+
/**
|
|
274
|
+
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
|
|
275
|
+
* must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
|
|
276
|
+
* policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use
|
|
277
|
+
* IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
278
|
+
* policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
|
|
279
|
+
* the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
280
|
+
*/
|
|
281
|
+
version?: number;
|
|
282
|
+
}
|
|
283
|
+
interface PrivateClusterConfig {
|
|
284
|
+
/**
|
|
285
|
+
* Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the cluster, create a new DNS zone
|
|
286
|
+
* mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
|
|
287
|
+
*/
|
|
288
|
+
clusterHostname?: string;
|
|
289
|
+
/** Whether Workstations endpoint is private. */
|
|
290
|
+
enablePrivateEndpoint?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the cluster, configure
|
|
293
|
+
* access to the managed service using (Private Service Connect)[https://cloud.google.com/vpc/docs/configure-private-service-connect-services].
|
|
294
|
+
*/
|
|
295
|
+
serviceAttachmentUri?: string;
|
|
296
|
+
}
|
|
297
|
+
interface SetIamPolicyRequest {
|
|
298
|
+
/**
|
|
299
|
+
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
|
|
300
|
+
* services (such as Projects) might reject them.
|
|
301
|
+
*/
|
|
302
|
+
policy?: Policy;
|
|
303
|
+
/**
|
|
304
|
+
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:
|
|
305
|
+
* `paths: "bindings, etag"`
|
|
306
|
+
*/
|
|
307
|
+
updateMask?: string;
|
|
308
|
+
}
|
|
309
|
+
interface StartWorkstationRequest {
|
|
310
|
+
/** If set, the request will be rejected if the latest version of the workstation on the server does not have this etag. */
|
|
311
|
+
etag?: string;
|
|
312
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
313
|
+
validateOnly?: boolean;
|
|
314
|
+
}
|
|
315
|
+
interface Status {
|
|
316
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
317
|
+
code?: number;
|
|
318
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
319
|
+
details?: Array<{ [P in string]: any }>;
|
|
320
|
+
/**
|
|
321
|
+
* 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
|
|
322
|
+
* client.
|
|
323
|
+
*/
|
|
324
|
+
message?: string;
|
|
325
|
+
}
|
|
326
|
+
interface StopWorkstationRequest {
|
|
327
|
+
/** If set, the request will be rejected if the latest version of the workstation on the server does not have this etag. */
|
|
328
|
+
etag?: string;
|
|
329
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
330
|
+
validateOnly?: boolean;
|
|
331
|
+
}
|
|
332
|
+
interface TestIamPermissionsRequest {
|
|
333
|
+
/**
|
|
334
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
335
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
336
|
+
*/
|
|
337
|
+
permissions?: string[];
|
|
338
|
+
}
|
|
339
|
+
interface TestIamPermissionsResponse {
|
|
340
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
341
|
+
permissions?: string[];
|
|
342
|
+
}
|
|
343
|
+
interface Workstation {
|
|
344
|
+
/** Client-specified annotations. */
|
|
345
|
+
annotations?: { [P in string]: string };
|
|
346
|
+
/** Output only. Time when this resource was created. */
|
|
347
|
+
createTime?: string;
|
|
348
|
+
/** Output only. Time when this resource was soft-deleted. */
|
|
349
|
+
deleteTime?: string;
|
|
350
|
+
/** Human-readable name for this resource. */
|
|
351
|
+
displayName?: string;
|
|
352
|
+
/** Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
|
|
353
|
+
etag?: string;
|
|
354
|
+
/**
|
|
355
|
+
* Output only. Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To
|
|
356
|
+
* send traffic to a different port, clients may prefix the host with the destination port in the format "{port}-{host}".
|
|
357
|
+
*/
|
|
358
|
+
host?: string;
|
|
359
|
+
/** Full name of this resource. */
|
|
360
|
+
name?: string;
|
|
361
|
+
/** Output only. Indicates whether this resource is currently being updated to match its intended state. */
|
|
362
|
+
reconciling?: boolean;
|
|
363
|
+
/** Output only. Current state of the workstation. */
|
|
364
|
+
state?: string;
|
|
365
|
+
/** Output only. A system-assigned unique identified for this resource. */
|
|
366
|
+
uid?: string;
|
|
367
|
+
/** Output only. Time when this resource was most recently updated. */
|
|
368
|
+
updateTime?: string;
|
|
369
|
+
}
|
|
370
|
+
interface WorkstationCluster {
|
|
371
|
+
/** Client-specified annotations. */
|
|
372
|
+
annotations?: { [P in string]: string };
|
|
373
|
+
/** Output only. Status conditions describing the current resource state. */
|
|
374
|
+
conditions?: Status[];
|
|
375
|
+
/** Output only. Time when this resource was created. */
|
|
376
|
+
createTime?: string;
|
|
377
|
+
/** Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field. */
|
|
378
|
+
degraded?: boolean;
|
|
379
|
+
/** Output only. Time when this resource was soft-deleted. */
|
|
380
|
+
deleteTime?: string;
|
|
381
|
+
/** Human-readable name for this resource. */
|
|
382
|
+
displayName?: string;
|
|
383
|
+
/** Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
|
|
384
|
+
etag?: string;
|
|
385
|
+
/** Full name of this resource. */
|
|
386
|
+
name?: string;
|
|
387
|
+
/** Name of the Compute Engine network in which instances associated with this cluster will be created. */
|
|
388
|
+
network?: string;
|
|
389
|
+
/** Configuration for private cluster. */
|
|
390
|
+
privateClusterConfig?: PrivateClusterConfig;
|
|
391
|
+
/** Output only. Indicates whether this resource is currently being updated to match its intended state. */
|
|
392
|
+
reconciling?: boolean;
|
|
393
|
+
/** Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster. */
|
|
394
|
+
subnetwork?: string;
|
|
395
|
+
/** Output only. A system-assigned unique identified for this resource. */
|
|
396
|
+
uid?: string;
|
|
397
|
+
/** Output only. Time when this resource was most recently updated. */
|
|
398
|
+
updateTime?: string;
|
|
399
|
+
}
|
|
400
|
+
interface WorkstationConfig {
|
|
401
|
+
/** Client-specified annotations. */
|
|
402
|
+
annotations?: { [P in string]: string };
|
|
403
|
+
/** Output only. Status conditions describing the current resource state. */
|
|
404
|
+
conditions?: Status[];
|
|
405
|
+
/** Container that will be run for each workstation using this configuration when that workstation is started. */
|
|
406
|
+
container?: Container;
|
|
407
|
+
/** Output only. Time when this resource was created. */
|
|
408
|
+
createTime?: string;
|
|
409
|
+
/** Output only. Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the `conditions` field. */
|
|
410
|
+
degraded?: boolean;
|
|
411
|
+
/** Output only. Time when this resource was soft-deleted. */
|
|
412
|
+
deleteTime?: string;
|
|
413
|
+
/** Human-readable name for this resource. */
|
|
414
|
+
displayName?: string;
|
|
415
|
+
/** Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. */
|
|
416
|
+
etag?: string;
|
|
417
|
+
/** Runtime host for the workstation. */
|
|
418
|
+
host?: Host;
|
|
419
|
+
/**
|
|
420
|
+
* How long to wait before automatically stopping an instance that hasn't received any user traffic. A value of 0 indicates that this instance should never time out due to idleness.
|
|
421
|
+
* Defaults to 20 minutes.
|
|
422
|
+
*/
|
|
423
|
+
idleTimeout?: string;
|
|
424
|
+
/** Full name of this resource. */
|
|
425
|
+
name?: string;
|
|
426
|
+
/** Directories to persist across workstation sessions. */
|
|
427
|
+
persistentDirectories?: PersistentDirectory[];
|
|
428
|
+
/** Output only. Indicates whether this resource is currently being updated to match its intended state. */
|
|
429
|
+
reconciling?: boolean;
|
|
430
|
+
/**
|
|
431
|
+
* How long to wait before automatically stopping a workstation after it started. A value of 0 indicates that workstations using this config should never time out. Must be greater than
|
|
432
|
+
* 0 and less than 24 hours if encryption_key is set. Defaults to 12 hours.
|
|
433
|
+
*/
|
|
434
|
+
runningTimeout?: string;
|
|
435
|
+
/** Output only. A system-assigned unique identified for this resource. */
|
|
436
|
+
uid?: string;
|
|
437
|
+
/** Output only. Time when this resource was most recently updated. */
|
|
438
|
+
updateTime?: string;
|
|
439
|
+
}
|
|
440
|
+
interface OperationsResource {
|
|
441
|
+
/**
|
|
442
|
+
* 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
|
|
443
|
+
* 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
|
|
444
|
+
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
445
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
446
|
+
*/
|
|
447
|
+
cancel(request: {
|
|
448
|
+
/** V1 error format. */
|
|
449
|
+
"$.xgafv"?: string;
|
|
450
|
+
/** OAuth access token. */
|
|
451
|
+
access_token?: string;
|
|
452
|
+
/** Data format for response. */
|
|
453
|
+
alt?: string;
|
|
454
|
+
/** JSONP */
|
|
455
|
+
callback?: string;
|
|
456
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
457
|
+
fields?: string;
|
|
458
|
+
/** 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. */
|
|
459
|
+
key?: string;
|
|
460
|
+
/** The name of the operation resource to be cancelled. */
|
|
461
|
+
name: string;
|
|
462
|
+
/** OAuth 2.0 token for the current user. */
|
|
463
|
+
oauth_token?: string;
|
|
464
|
+
/** Returns response with indentations and line breaks. */
|
|
465
|
+
prettyPrint?: boolean;
|
|
466
|
+
/** 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. */
|
|
467
|
+
quotaUser?: string;
|
|
468
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
469
|
+
upload_protocol?: string;
|
|
470
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
471
|
+
uploadType?: string;
|
|
472
|
+
/** Request body */
|
|
473
|
+
resource: CancelOperationRequest;
|
|
474
|
+
}): Request<{}>;
|
|
475
|
+
cancel(request: {
|
|
476
|
+
/** V1 error format. */
|
|
477
|
+
"$.xgafv"?: string;
|
|
478
|
+
/** OAuth access token. */
|
|
479
|
+
access_token?: string;
|
|
480
|
+
/** Data format for response. */
|
|
481
|
+
alt?: string;
|
|
482
|
+
/** JSONP */
|
|
483
|
+
callback?: string;
|
|
484
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
485
|
+
fields?: string;
|
|
486
|
+
/** 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. */
|
|
487
|
+
key?: string;
|
|
488
|
+
/** The name of the operation resource to be cancelled. */
|
|
489
|
+
name: string;
|
|
490
|
+
/** OAuth 2.0 token for the current user. */
|
|
491
|
+
oauth_token?: string;
|
|
492
|
+
/** Returns response with indentations and line breaks. */
|
|
493
|
+
prettyPrint?: boolean;
|
|
494
|
+
/** 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. */
|
|
495
|
+
quotaUser?: string;
|
|
496
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
497
|
+
upload_protocol?: string;
|
|
498
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
499
|
+
uploadType?: string;
|
|
500
|
+
},
|
|
501
|
+
body: CancelOperationRequest): Request<{}>;
|
|
502
|
+
/**
|
|
503
|
+
* 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
|
|
504
|
+
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
505
|
+
*/
|
|
506
|
+
delete(request?: {
|
|
507
|
+
/** V1 error format. */
|
|
508
|
+
"$.xgafv"?: string;
|
|
509
|
+
/** OAuth access token. */
|
|
510
|
+
access_token?: string;
|
|
511
|
+
/** Data format for response. */
|
|
512
|
+
alt?: string;
|
|
513
|
+
/** JSONP */
|
|
514
|
+
callback?: string;
|
|
515
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
516
|
+
fields?: string;
|
|
517
|
+
/** 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. */
|
|
518
|
+
key?: string;
|
|
519
|
+
/** The name of the operation resource to be deleted. */
|
|
520
|
+
name: string;
|
|
521
|
+
/** OAuth 2.0 token for the current user. */
|
|
522
|
+
oauth_token?: string;
|
|
523
|
+
/** Returns response with indentations and line breaks. */
|
|
524
|
+
prettyPrint?: boolean;
|
|
525
|
+
/** 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. */
|
|
526
|
+
quotaUser?: string;
|
|
527
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
528
|
+
upload_protocol?: string;
|
|
529
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
530
|
+
uploadType?: string;
|
|
531
|
+
}): Request<{}>;
|
|
532
|
+
/** 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. */
|
|
533
|
+
get(request?: {
|
|
534
|
+
/** V1 error format. */
|
|
535
|
+
"$.xgafv"?: string;
|
|
536
|
+
/** OAuth access token. */
|
|
537
|
+
access_token?: string;
|
|
538
|
+
/** Data format for response. */
|
|
539
|
+
alt?: string;
|
|
540
|
+
/** JSONP */
|
|
541
|
+
callback?: string;
|
|
542
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
543
|
+
fields?: string;
|
|
544
|
+
/** 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. */
|
|
545
|
+
key?: string;
|
|
546
|
+
/** The name of the operation resource. */
|
|
547
|
+
name: string;
|
|
548
|
+
/** OAuth 2.0 token for the current user. */
|
|
549
|
+
oauth_token?: string;
|
|
550
|
+
/** Returns response with indentations and line breaks. */
|
|
551
|
+
prettyPrint?: boolean;
|
|
552
|
+
/** 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. */
|
|
553
|
+
quotaUser?: string;
|
|
554
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
555
|
+
upload_protocol?: string;
|
|
556
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
557
|
+
uploadType?: string;
|
|
558
|
+
}): Request<Operation>;
|
|
559
|
+
/**
|
|
560
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
|
|
561
|
+
* to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as
|
|
562
|
+
* `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
563
|
+
* ensure the name binding is the parent resource, without the operations collection id.
|
|
564
|
+
*/
|
|
565
|
+
list(request?: {
|
|
566
|
+
/** V1 error format. */
|
|
567
|
+
"$.xgafv"?: string;
|
|
568
|
+
/** OAuth access token. */
|
|
569
|
+
access_token?: string;
|
|
570
|
+
/** Data format for response. */
|
|
571
|
+
alt?: string;
|
|
572
|
+
/** JSONP */
|
|
573
|
+
callback?: string;
|
|
574
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
575
|
+
fields?: string;
|
|
576
|
+
/** The standard list filter. */
|
|
577
|
+
filter?: string;
|
|
578
|
+
/** 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. */
|
|
579
|
+
key?: string;
|
|
580
|
+
/** The name of the operation's parent resource. */
|
|
581
|
+
name: string;
|
|
582
|
+
/** OAuth 2.0 token for the current user. */
|
|
583
|
+
oauth_token?: string;
|
|
584
|
+
/** The standard list page size. */
|
|
585
|
+
pageSize?: number;
|
|
586
|
+
/** The standard list page token. */
|
|
587
|
+
pageToken?: string;
|
|
588
|
+
/** Returns response with indentations and line breaks. */
|
|
589
|
+
prettyPrint?: boolean;
|
|
590
|
+
/** 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. */
|
|
591
|
+
quotaUser?: string;
|
|
592
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
593
|
+
upload_protocol?: string;
|
|
594
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
595
|
+
uploadType?: string;
|
|
596
|
+
}): Request<ListOperationsResponse>;
|
|
597
|
+
}
|
|
598
|
+
interface WorkstationsResource {
|
|
599
|
+
/** Creates a new workstation. */
|
|
600
|
+
create(request: {
|
|
601
|
+
/** V1 error format. */
|
|
602
|
+
"$.xgafv"?: string;
|
|
603
|
+
/** OAuth access token. */
|
|
604
|
+
access_token?: string;
|
|
605
|
+
/** Data format for response. */
|
|
606
|
+
alt?: string;
|
|
607
|
+
/** JSONP */
|
|
608
|
+
callback?: string;
|
|
609
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
610
|
+
fields?: string;
|
|
611
|
+
/** 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. */
|
|
612
|
+
key?: string;
|
|
613
|
+
/** OAuth 2.0 token for the current user. */
|
|
614
|
+
oauth_token?: string;
|
|
615
|
+
/** Required. Parent resource name. */
|
|
616
|
+
parent: string;
|
|
617
|
+
/** Returns response with indentations and line breaks. */
|
|
618
|
+
prettyPrint?: boolean;
|
|
619
|
+
/** 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. */
|
|
620
|
+
quotaUser?: string;
|
|
621
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
622
|
+
upload_protocol?: string;
|
|
623
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
624
|
+
uploadType?: string;
|
|
625
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
626
|
+
validateOnly?: boolean;
|
|
627
|
+
/** Required. ID to use for the workstation. */
|
|
628
|
+
workstationId?: string;
|
|
629
|
+
/** Request body */
|
|
630
|
+
resource: Workstation;
|
|
631
|
+
}): Request<Operation>;
|
|
632
|
+
create(request: {
|
|
633
|
+
/** V1 error format. */
|
|
634
|
+
"$.xgafv"?: string;
|
|
635
|
+
/** OAuth access token. */
|
|
636
|
+
access_token?: string;
|
|
637
|
+
/** Data format for response. */
|
|
638
|
+
alt?: string;
|
|
639
|
+
/** JSONP */
|
|
640
|
+
callback?: string;
|
|
641
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
642
|
+
fields?: string;
|
|
643
|
+
/** 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. */
|
|
644
|
+
key?: string;
|
|
645
|
+
/** OAuth 2.0 token for the current user. */
|
|
646
|
+
oauth_token?: string;
|
|
647
|
+
/** Required. Parent resource name. */
|
|
648
|
+
parent: string;
|
|
649
|
+
/** Returns response with indentations and line breaks. */
|
|
650
|
+
prettyPrint?: boolean;
|
|
651
|
+
/** 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. */
|
|
652
|
+
quotaUser?: string;
|
|
653
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
654
|
+
upload_protocol?: string;
|
|
655
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
656
|
+
uploadType?: string;
|
|
657
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
658
|
+
validateOnly?: boolean;
|
|
659
|
+
/** Required. ID to use for the workstation. */
|
|
660
|
+
workstationId?: string;
|
|
661
|
+
},
|
|
662
|
+
body: Workstation): Request<Operation>;
|
|
663
|
+
/** Deletes the specified workstation. */
|
|
664
|
+
delete(request?: {
|
|
665
|
+
/** V1 error format. */
|
|
666
|
+
"$.xgafv"?: string;
|
|
667
|
+
/** OAuth access token. */
|
|
668
|
+
access_token?: string;
|
|
669
|
+
/** Data format for response. */
|
|
670
|
+
alt?: string;
|
|
671
|
+
/** JSONP */
|
|
672
|
+
callback?: string;
|
|
673
|
+
/** If set, the request will be rejected if the latest version of the workstation on the server does not have this etag. */
|
|
674
|
+
etag?: string;
|
|
675
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
676
|
+
fields?: string;
|
|
677
|
+
/** 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. */
|
|
678
|
+
key?: string;
|
|
679
|
+
/** Required. Name of the workstation to delete. */
|
|
680
|
+
name: string;
|
|
681
|
+
/** OAuth 2.0 token for the current user. */
|
|
682
|
+
oauth_token?: string;
|
|
683
|
+
/** Returns response with indentations and line breaks. */
|
|
684
|
+
prettyPrint?: boolean;
|
|
685
|
+
/** 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. */
|
|
686
|
+
quotaUser?: string;
|
|
687
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
688
|
+
upload_protocol?: string;
|
|
689
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
690
|
+
uploadType?: string;
|
|
691
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
692
|
+
validateOnly?: boolean;
|
|
693
|
+
}): Request<Operation>;
|
|
694
|
+
/** Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. */
|
|
695
|
+
generateAccessToken(request: {
|
|
696
|
+
/** V1 error format. */
|
|
697
|
+
"$.xgafv"?: string;
|
|
698
|
+
/** OAuth access token. */
|
|
699
|
+
access_token?: string;
|
|
700
|
+
/** Data format for response. */
|
|
701
|
+
alt?: string;
|
|
702
|
+
/** JSONP */
|
|
703
|
+
callback?: string;
|
|
704
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
705
|
+
fields?: string;
|
|
706
|
+
/** 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. */
|
|
707
|
+
key?: string;
|
|
708
|
+
/** OAuth 2.0 token for the current user. */
|
|
709
|
+
oauth_token?: string;
|
|
710
|
+
/** Returns response with indentations and line breaks. */
|
|
711
|
+
prettyPrint?: boolean;
|
|
712
|
+
/** 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. */
|
|
713
|
+
quotaUser?: string;
|
|
714
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
715
|
+
upload_protocol?: string;
|
|
716
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
717
|
+
uploadType?: string;
|
|
718
|
+
/** Required. Name of the workstation for which the access token should be generated. */
|
|
719
|
+
workstation: string;
|
|
720
|
+
/** Request body */
|
|
721
|
+
resource: GenerateAccessTokenRequest;
|
|
722
|
+
}): Request<GenerateAccessTokenResponse>;
|
|
723
|
+
generateAccessToken(request: {
|
|
724
|
+
/** V1 error format. */
|
|
725
|
+
"$.xgafv"?: string;
|
|
726
|
+
/** OAuth access token. */
|
|
727
|
+
access_token?: string;
|
|
728
|
+
/** Data format for response. */
|
|
729
|
+
alt?: string;
|
|
730
|
+
/** JSONP */
|
|
731
|
+
callback?: string;
|
|
732
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
733
|
+
fields?: string;
|
|
734
|
+
/** 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. */
|
|
735
|
+
key?: string;
|
|
736
|
+
/** OAuth 2.0 token for the current user. */
|
|
737
|
+
oauth_token?: string;
|
|
738
|
+
/** Returns response with indentations and line breaks. */
|
|
739
|
+
prettyPrint?: boolean;
|
|
740
|
+
/** 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. */
|
|
741
|
+
quotaUser?: string;
|
|
742
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
743
|
+
upload_protocol?: string;
|
|
744
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
745
|
+
uploadType?: string;
|
|
746
|
+
/** Required. Name of the workstation for which the access token should be generated. */
|
|
747
|
+
workstation: string;
|
|
748
|
+
},
|
|
749
|
+
body: GenerateAccessTokenRequest): Request<GenerateAccessTokenResponse>;
|
|
750
|
+
/** Returns the requested workstation. */
|
|
751
|
+
get(request?: {
|
|
752
|
+
/** V1 error format. */
|
|
753
|
+
"$.xgafv"?: string;
|
|
754
|
+
/** OAuth access token. */
|
|
755
|
+
access_token?: string;
|
|
756
|
+
/** Data format for response. */
|
|
757
|
+
alt?: string;
|
|
758
|
+
/** JSONP */
|
|
759
|
+
callback?: string;
|
|
760
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
761
|
+
fields?: string;
|
|
762
|
+
/** 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. */
|
|
763
|
+
key?: string;
|
|
764
|
+
/** Required. Name of the requested resource. */
|
|
765
|
+
name: string;
|
|
766
|
+
/** OAuth 2.0 token for the current user. */
|
|
767
|
+
oauth_token?: string;
|
|
768
|
+
/** Returns response with indentations and line breaks. */
|
|
769
|
+
prettyPrint?: boolean;
|
|
770
|
+
/** 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. */
|
|
771
|
+
quotaUser?: string;
|
|
772
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
773
|
+
upload_protocol?: string;
|
|
774
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
775
|
+
uploadType?: string;
|
|
776
|
+
}): Request<Workstation>;
|
|
777
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
778
|
+
getIamPolicy(request?: {
|
|
779
|
+
/** V1 error format. */
|
|
780
|
+
"$.xgafv"?: string;
|
|
781
|
+
/** OAuth access token. */
|
|
782
|
+
access_token?: string;
|
|
783
|
+
/** Data format for response. */
|
|
784
|
+
alt?: string;
|
|
785
|
+
/** JSONP */
|
|
786
|
+
callback?: string;
|
|
787
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
788
|
+
fields?: string;
|
|
789
|
+
/** 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. */
|
|
790
|
+
key?: string;
|
|
791
|
+
/** OAuth 2.0 token for the current user. */
|
|
792
|
+
oauth_token?: string;
|
|
793
|
+
/**
|
|
794
|
+
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
795
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
796
|
+
* in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
|
|
797
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
798
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
799
|
+
*/
|
|
800
|
+
"options.requestedPolicyVersion"?: number;
|
|
801
|
+
/** Returns response with indentations and line breaks. */
|
|
802
|
+
prettyPrint?: boolean;
|
|
803
|
+
/** 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. */
|
|
804
|
+
quotaUser?: string;
|
|
805
|
+
/**
|
|
806
|
+
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
807
|
+
* field.
|
|
808
|
+
*/
|
|
809
|
+
resource: string;
|
|
810
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
811
|
+
upload_protocol?: string;
|
|
812
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
813
|
+
uploadType?: string;
|
|
814
|
+
}): Request<Policy>;
|
|
815
|
+
/** Returns all Workstations using the specified config. */
|
|
816
|
+
list(request?: {
|
|
817
|
+
/** V1 error format. */
|
|
818
|
+
"$.xgafv"?: string;
|
|
819
|
+
/** OAuth access token. */
|
|
820
|
+
access_token?: string;
|
|
821
|
+
/** Data format for response. */
|
|
822
|
+
alt?: string;
|
|
823
|
+
/** JSONP */
|
|
824
|
+
callback?: string;
|
|
825
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
826
|
+
fields?: string;
|
|
827
|
+
/** 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. */
|
|
828
|
+
key?: string;
|
|
829
|
+
/** OAuth 2.0 token for the current user. */
|
|
830
|
+
oauth_token?: string;
|
|
831
|
+
/** Maximum number of items to return. */
|
|
832
|
+
pageSize?: number;
|
|
833
|
+
/** next_page_token value returned from a previous List request, if any. */
|
|
834
|
+
pageToken?: string;
|
|
835
|
+
/** Required. Parent resource name. */
|
|
836
|
+
parent: string;
|
|
837
|
+
/** Returns response with indentations and line breaks. */
|
|
838
|
+
prettyPrint?: boolean;
|
|
839
|
+
/** 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. */
|
|
840
|
+
quotaUser?: string;
|
|
841
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
842
|
+
upload_protocol?: string;
|
|
843
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
844
|
+
uploadType?: string;
|
|
845
|
+
}): Request<ListWorkstationsResponse>;
|
|
846
|
+
/** Returns all Workstations using the specified config on which the caller has the "workstations.workstations.use" permission. */
|
|
847
|
+
listUsable(request?: {
|
|
848
|
+
/** V1 error format. */
|
|
849
|
+
"$.xgafv"?: string;
|
|
850
|
+
/** OAuth access token. */
|
|
851
|
+
access_token?: string;
|
|
852
|
+
/** Data format for response. */
|
|
853
|
+
alt?: string;
|
|
854
|
+
/** JSONP */
|
|
855
|
+
callback?: string;
|
|
856
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
857
|
+
fields?: string;
|
|
858
|
+
/** 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. */
|
|
859
|
+
key?: string;
|
|
860
|
+
/** OAuth 2.0 token for the current user. */
|
|
861
|
+
oauth_token?: string;
|
|
862
|
+
/** Maximum number of items to return. */
|
|
863
|
+
pageSize?: number;
|
|
864
|
+
/** next_page_token value returned from a previous List request, if any. */
|
|
865
|
+
pageToken?: string;
|
|
866
|
+
/** Required. Parent resource name. */
|
|
867
|
+
parent: string;
|
|
868
|
+
/** Returns response with indentations and line breaks. */
|
|
869
|
+
prettyPrint?: boolean;
|
|
870
|
+
/** 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. */
|
|
871
|
+
quotaUser?: string;
|
|
872
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
873
|
+
upload_protocol?: string;
|
|
874
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
875
|
+
uploadType?: string;
|
|
876
|
+
}): Request<ListUsableWorkstationsResponse>;
|
|
877
|
+
/** Updates an existing workstation. */
|
|
878
|
+
patch(request: {
|
|
879
|
+
/** V1 error format. */
|
|
880
|
+
"$.xgafv"?: string;
|
|
881
|
+
/** OAuth access token. */
|
|
882
|
+
access_token?: string;
|
|
883
|
+
/** If set, and the config is not found, a new config will be created. In this situation, update_mask is ignored. */
|
|
884
|
+
allowMissing?: boolean;
|
|
885
|
+
/** Data format for response. */
|
|
886
|
+
alt?: string;
|
|
887
|
+
/** JSONP */
|
|
888
|
+
callback?: string;
|
|
889
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
890
|
+
fields?: string;
|
|
891
|
+
/** 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. */
|
|
892
|
+
key?: string;
|
|
893
|
+
/** Full name of this resource. */
|
|
894
|
+
name: string;
|
|
895
|
+
/** OAuth 2.0 token for the current user. */
|
|
896
|
+
oauth_token?: string;
|
|
897
|
+
/** Returns response with indentations and line breaks. */
|
|
898
|
+
prettyPrint?: boolean;
|
|
899
|
+
/** 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. */
|
|
900
|
+
quotaUser?: string;
|
|
901
|
+
/** Required. Mask specifying which fields in the config should be updated. */
|
|
902
|
+
updateMask?: string;
|
|
903
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
904
|
+
upload_protocol?: string;
|
|
905
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
906
|
+
uploadType?: string;
|
|
907
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
908
|
+
validateOnly?: boolean;
|
|
909
|
+
/** Request body */
|
|
910
|
+
resource: Workstation;
|
|
911
|
+
}): Request<Operation>;
|
|
912
|
+
patch(request: {
|
|
913
|
+
/** V1 error format. */
|
|
914
|
+
"$.xgafv"?: string;
|
|
915
|
+
/** OAuth access token. */
|
|
916
|
+
access_token?: string;
|
|
917
|
+
/** If set, and the config is not found, a new config will be created. In this situation, update_mask is ignored. */
|
|
918
|
+
allowMissing?: boolean;
|
|
919
|
+
/** Data format for response. */
|
|
920
|
+
alt?: string;
|
|
921
|
+
/** JSONP */
|
|
922
|
+
callback?: string;
|
|
923
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
924
|
+
fields?: string;
|
|
925
|
+
/** 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. */
|
|
926
|
+
key?: string;
|
|
927
|
+
/** Full name of this resource. */
|
|
928
|
+
name: string;
|
|
929
|
+
/** OAuth 2.0 token for the current user. */
|
|
930
|
+
oauth_token?: string;
|
|
931
|
+
/** Returns response with indentations and line breaks. */
|
|
932
|
+
prettyPrint?: boolean;
|
|
933
|
+
/** 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. */
|
|
934
|
+
quotaUser?: string;
|
|
935
|
+
/** Required. Mask specifying which fields in the config should be updated. */
|
|
936
|
+
updateMask?: string;
|
|
937
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
938
|
+
upload_protocol?: string;
|
|
939
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
940
|
+
uploadType?: string;
|
|
941
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
942
|
+
validateOnly?: boolean;
|
|
943
|
+
},
|
|
944
|
+
body: Workstation): Request<Operation>;
|
|
945
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
946
|
+
setIamPolicy(request: {
|
|
947
|
+
/** V1 error format. */
|
|
948
|
+
"$.xgafv"?: string;
|
|
949
|
+
/** OAuth access token. */
|
|
950
|
+
access_token?: string;
|
|
951
|
+
/** Data format for response. */
|
|
952
|
+
alt?: string;
|
|
953
|
+
/** JSONP */
|
|
954
|
+
callback?: string;
|
|
955
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
956
|
+
fields?: string;
|
|
957
|
+
/** 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. */
|
|
958
|
+
key?: string;
|
|
959
|
+
/** OAuth 2.0 token for the current user. */
|
|
960
|
+
oauth_token?: string;
|
|
961
|
+
/** Returns response with indentations and line breaks. */
|
|
962
|
+
prettyPrint?: boolean;
|
|
963
|
+
/** 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. */
|
|
964
|
+
quotaUser?: string;
|
|
965
|
+
/**
|
|
966
|
+
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
967
|
+
* field.
|
|
968
|
+
*/
|
|
969
|
+
resource: string;
|
|
970
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
971
|
+
upload_protocol?: string;
|
|
972
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
973
|
+
uploadType?: string;
|
|
974
|
+
},
|
|
975
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
976
|
+
/** Starts running a workstation so that users can connect to it. */
|
|
977
|
+
start(request: {
|
|
978
|
+
/** V1 error format. */
|
|
979
|
+
"$.xgafv"?: string;
|
|
980
|
+
/** OAuth access token. */
|
|
981
|
+
access_token?: string;
|
|
982
|
+
/** Data format for response. */
|
|
983
|
+
alt?: string;
|
|
984
|
+
/** JSONP */
|
|
985
|
+
callback?: string;
|
|
986
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
987
|
+
fields?: string;
|
|
988
|
+
/** 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. */
|
|
989
|
+
key?: string;
|
|
990
|
+
/** Required. Name of the workstation to start. */
|
|
991
|
+
name: string;
|
|
992
|
+
/** OAuth 2.0 token for the current user. */
|
|
993
|
+
oauth_token?: string;
|
|
994
|
+
/** Returns response with indentations and line breaks. */
|
|
995
|
+
prettyPrint?: boolean;
|
|
996
|
+
/** 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. */
|
|
997
|
+
quotaUser?: string;
|
|
998
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
999
|
+
upload_protocol?: string;
|
|
1000
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1001
|
+
uploadType?: string;
|
|
1002
|
+
/** Request body */
|
|
1003
|
+
resource: StartWorkstationRequest;
|
|
1004
|
+
}): Request<Operation>;
|
|
1005
|
+
start(request: {
|
|
1006
|
+
/** V1 error format. */
|
|
1007
|
+
"$.xgafv"?: string;
|
|
1008
|
+
/** OAuth access token. */
|
|
1009
|
+
access_token?: string;
|
|
1010
|
+
/** Data format for response. */
|
|
1011
|
+
alt?: string;
|
|
1012
|
+
/** JSONP */
|
|
1013
|
+
callback?: string;
|
|
1014
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1015
|
+
fields?: string;
|
|
1016
|
+
/** 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. */
|
|
1017
|
+
key?: string;
|
|
1018
|
+
/** Required. Name of the workstation to start. */
|
|
1019
|
+
name: string;
|
|
1020
|
+
/** OAuth 2.0 token for the current user. */
|
|
1021
|
+
oauth_token?: string;
|
|
1022
|
+
/** Returns response with indentations and line breaks. */
|
|
1023
|
+
prettyPrint?: boolean;
|
|
1024
|
+
/** 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. */
|
|
1025
|
+
quotaUser?: string;
|
|
1026
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1027
|
+
upload_protocol?: string;
|
|
1028
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1029
|
+
uploadType?: string;
|
|
1030
|
+
},
|
|
1031
|
+
body: StartWorkstationRequest): Request<Operation>;
|
|
1032
|
+
/** Stops running a workstation, reducing costs. */
|
|
1033
|
+
stop(request: {
|
|
1034
|
+
/** V1 error format. */
|
|
1035
|
+
"$.xgafv"?: string;
|
|
1036
|
+
/** OAuth access token. */
|
|
1037
|
+
access_token?: string;
|
|
1038
|
+
/** Data format for response. */
|
|
1039
|
+
alt?: string;
|
|
1040
|
+
/** JSONP */
|
|
1041
|
+
callback?: string;
|
|
1042
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1043
|
+
fields?: string;
|
|
1044
|
+
/** 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. */
|
|
1045
|
+
key?: string;
|
|
1046
|
+
/** Required. Name of the workstation to stop. */
|
|
1047
|
+
name: string;
|
|
1048
|
+
/** OAuth 2.0 token for the current user. */
|
|
1049
|
+
oauth_token?: string;
|
|
1050
|
+
/** Returns response with indentations and line breaks. */
|
|
1051
|
+
prettyPrint?: boolean;
|
|
1052
|
+
/** 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. */
|
|
1053
|
+
quotaUser?: string;
|
|
1054
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1055
|
+
upload_protocol?: string;
|
|
1056
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1057
|
+
uploadType?: string;
|
|
1058
|
+
/** Request body */
|
|
1059
|
+
resource: StopWorkstationRequest;
|
|
1060
|
+
}): Request<Operation>;
|
|
1061
|
+
stop(request: {
|
|
1062
|
+
/** V1 error format. */
|
|
1063
|
+
"$.xgafv"?: string;
|
|
1064
|
+
/** OAuth access token. */
|
|
1065
|
+
access_token?: string;
|
|
1066
|
+
/** Data format for response. */
|
|
1067
|
+
alt?: string;
|
|
1068
|
+
/** JSONP */
|
|
1069
|
+
callback?: string;
|
|
1070
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1071
|
+
fields?: string;
|
|
1072
|
+
/** 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. */
|
|
1073
|
+
key?: string;
|
|
1074
|
+
/** Required. Name of the workstation to stop. */
|
|
1075
|
+
name: string;
|
|
1076
|
+
/** OAuth 2.0 token for the current user. */
|
|
1077
|
+
oauth_token?: string;
|
|
1078
|
+
/** Returns response with indentations and line breaks. */
|
|
1079
|
+
prettyPrint?: boolean;
|
|
1080
|
+
/** 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. */
|
|
1081
|
+
quotaUser?: string;
|
|
1082
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1083
|
+
upload_protocol?: string;
|
|
1084
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1085
|
+
uploadType?: string;
|
|
1086
|
+
},
|
|
1087
|
+
body: StopWorkstationRequest): Request<Operation>;
|
|
1088
|
+
/**
|
|
1089
|
+
* 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
|
|
1090
|
+
* 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.
|
|
1091
|
+
*/
|
|
1092
|
+
testIamPermissions(request: {
|
|
1093
|
+
/** V1 error format. */
|
|
1094
|
+
"$.xgafv"?: string;
|
|
1095
|
+
/** OAuth access token. */
|
|
1096
|
+
access_token?: string;
|
|
1097
|
+
/** Data format for response. */
|
|
1098
|
+
alt?: string;
|
|
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
|
+
/**
|
|
1112
|
+
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
|
|
1113
|
+
* this field.
|
|
1114
|
+
*/
|
|
1115
|
+
resource: string;
|
|
1116
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1117
|
+
upload_protocol?: string;
|
|
1118
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1119
|
+
uploadType?: string;
|
|
1120
|
+
},
|
|
1121
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1122
|
+
}
|
|
1123
|
+
interface WorkstationConfigsResource {
|
|
1124
|
+
/** Creates a new workstation configuration. */
|
|
1125
|
+
create(request: {
|
|
1126
|
+
/** V1 error format. */
|
|
1127
|
+
"$.xgafv"?: string;
|
|
1128
|
+
/** OAuth access token. */
|
|
1129
|
+
access_token?: string;
|
|
1130
|
+
/** Data format for response. */
|
|
1131
|
+
alt?: string;
|
|
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
|
+
/** Required. Parent resource name. */
|
|
1141
|
+
parent: string;
|
|
1142
|
+
/** Returns response with indentations and line breaks. */
|
|
1143
|
+
prettyPrint?: boolean;
|
|
1144
|
+
/** 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. */
|
|
1145
|
+
quotaUser?: string;
|
|
1146
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1147
|
+
upload_protocol?: string;
|
|
1148
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1149
|
+
uploadType?: string;
|
|
1150
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1151
|
+
validateOnly?: boolean;
|
|
1152
|
+
/** Required. ID to use for the config. */
|
|
1153
|
+
workstationConfigId?: string;
|
|
1154
|
+
/** Request body */
|
|
1155
|
+
resource: WorkstationConfig;
|
|
1156
|
+
}): Request<Operation>;
|
|
1157
|
+
create(request: {
|
|
1158
|
+
/** V1 error format. */
|
|
1159
|
+
"$.xgafv"?: string;
|
|
1160
|
+
/** OAuth access token. */
|
|
1161
|
+
access_token?: string;
|
|
1162
|
+
/** Data format for response. */
|
|
1163
|
+
alt?: string;
|
|
1164
|
+
/** JSONP */
|
|
1165
|
+
callback?: string;
|
|
1166
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1167
|
+
fields?: string;
|
|
1168
|
+
/** 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. */
|
|
1169
|
+
key?: string;
|
|
1170
|
+
/** OAuth 2.0 token for the current user. */
|
|
1171
|
+
oauth_token?: string;
|
|
1172
|
+
/** Required. Parent resource name. */
|
|
1173
|
+
parent: string;
|
|
1174
|
+
/** Returns response with indentations and line breaks. */
|
|
1175
|
+
prettyPrint?: boolean;
|
|
1176
|
+
/** 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. */
|
|
1177
|
+
quotaUser?: string;
|
|
1178
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1179
|
+
upload_protocol?: string;
|
|
1180
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1181
|
+
uploadType?: string;
|
|
1182
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1183
|
+
validateOnly?: boolean;
|
|
1184
|
+
/** Required. ID to use for the config. */
|
|
1185
|
+
workstationConfigId?: string;
|
|
1186
|
+
},
|
|
1187
|
+
body: WorkstationConfig): Request<Operation>;
|
|
1188
|
+
/** Deletes the specified workstation configuration. */
|
|
1189
|
+
delete(request?: {
|
|
1190
|
+
/** V1 error format. */
|
|
1191
|
+
"$.xgafv"?: string;
|
|
1192
|
+
/** OAuth access token. */
|
|
1193
|
+
access_token?: string;
|
|
1194
|
+
/** Data format for response. */
|
|
1195
|
+
alt?: string;
|
|
1196
|
+
/** JSONP */
|
|
1197
|
+
callback?: string;
|
|
1198
|
+
/** If set, the request will be rejected if the latest version of the config on the server does not have this etag. */
|
|
1199
|
+
etag?: string;
|
|
1200
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1201
|
+
fields?: string;
|
|
1202
|
+
/** If set, any Workstations in the config will also be deleted. Otherwise, the request will work only if the config has no workstations. */
|
|
1203
|
+
force?: boolean;
|
|
1204
|
+
/** 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. */
|
|
1205
|
+
key?: string;
|
|
1206
|
+
/** Required. Name of the config to delete. */
|
|
1207
|
+
name: string;
|
|
1208
|
+
/** OAuth 2.0 token for the current user. */
|
|
1209
|
+
oauth_token?: string;
|
|
1210
|
+
/** Returns response with indentations and line breaks. */
|
|
1211
|
+
prettyPrint?: boolean;
|
|
1212
|
+
/** 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. */
|
|
1213
|
+
quotaUser?: string;
|
|
1214
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1215
|
+
upload_protocol?: string;
|
|
1216
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1217
|
+
uploadType?: string;
|
|
1218
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1219
|
+
validateOnly?: boolean;
|
|
1220
|
+
}): Request<Operation>;
|
|
1221
|
+
/** Returns the requested workstation configuration. */
|
|
1222
|
+
get(request?: {
|
|
1223
|
+
/** V1 error format. */
|
|
1224
|
+
"$.xgafv"?: string;
|
|
1225
|
+
/** OAuth access token. */
|
|
1226
|
+
access_token?: string;
|
|
1227
|
+
/** Data format for response. */
|
|
1228
|
+
alt?: string;
|
|
1229
|
+
/** JSONP */
|
|
1230
|
+
callback?: string;
|
|
1231
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1232
|
+
fields?: string;
|
|
1233
|
+
/** 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. */
|
|
1234
|
+
key?: string;
|
|
1235
|
+
/** Required. Name of the requested resource. */
|
|
1236
|
+
name: string;
|
|
1237
|
+
/** OAuth 2.0 token for the current user. */
|
|
1238
|
+
oauth_token?: string;
|
|
1239
|
+
/** Returns response with indentations and line breaks. */
|
|
1240
|
+
prettyPrint?: boolean;
|
|
1241
|
+
/** 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. */
|
|
1242
|
+
quotaUser?: string;
|
|
1243
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1244
|
+
upload_protocol?: string;
|
|
1245
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1246
|
+
uploadType?: string;
|
|
1247
|
+
}): Request<WorkstationConfig>;
|
|
1248
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1249
|
+
getIamPolicy(request?: {
|
|
1250
|
+
/** V1 error format. */
|
|
1251
|
+
"$.xgafv"?: string;
|
|
1252
|
+
/** OAuth access token. */
|
|
1253
|
+
access_token?: string;
|
|
1254
|
+
/** Data format for response. */
|
|
1255
|
+
alt?: string;
|
|
1256
|
+
/** JSONP */
|
|
1257
|
+
callback?: string;
|
|
1258
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1259
|
+
fields?: string;
|
|
1260
|
+
/** 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. */
|
|
1261
|
+
key?: string;
|
|
1262
|
+
/** OAuth 2.0 token for the current user. */
|
|
1263
|
+
oauth_token?: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
1266
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
1267
|
+
* in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
|
|
1268
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1269
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1270
|
+
*/
|
|
1271
|
+
"options.requestedPolicyVersion"?: number;
|
|
1272
|
+
/** Returns response with indentations and line breaks. */
|
|
1273
|
+
prettyPrint?: boolean;
|
|
1274
|
+
/** 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. */
|
|
1275
|
+
quotaUser?: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
1278
|
+
* field.
|
|
1279
|
+
*/
|
|
1280
|
+
resource: string;
|
|
1281
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1282
|
+
upload_protocol?: string;
|
|
1283
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1284
|
+
uploadType?: string;
|
|
1285
|
+
}): Request<Policy>;
|
|
1286
|
+
/** Returns all workstation configurations in the specified cluster. */
|
|
1287
|
+
list(request?: {
|
|
1288
|
+
/** V1 error format. */
|
|
1289
|
+
"$.xgafv"?: string;
|
|
1290
|
+
/** OAuth access token. */
|
|
1291
|
+
access_token?: string;
|
|
1292
|
+
/** Data format for response. */
|
|
1293
|
+
alt?: string;
|
|
1294
|
+
/** JSONP */
|
|
1295
|
+
callback?: string;
|
|
1296
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1297
|
+
fields?: string;
|
|
1298
|
+
/** 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. */
|
|
1299
|
+
key?: string;
|
|
1300
|
+
/** OAuth 2.0 token for the current user. */
|
|
1301
|
+
oauth_token?: string;
|
|
1302
|
+
/** Maximum number of items to return. */
|
|
1303
|
+
pageSize?: number;
|
|
1304
|
+
/** next_page_token value returned from a previous List request, if any. */
|
|
1305
|
+
pageToken?: string;
|
|
1306
|
+
/** Required. Parent resource name. */
|
|
1307
|
+
parent: string;
|
|
1308
|
+
/** Returns response with indentations and line breaks. */
|
|
1309
|
+
prettyPrint?: boolean;
|
|
1310
|
+
/** 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. */
|
|
1311
|
+
quotaUser?: string;
|
|
1312
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1313
|
+
upload_protocol?: string;
|
|
1314
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1315
|
+
uploadType?: string;
|
|
1316
|
+
}): Request<ListWorkstationConfigsResponse>;
|
|
1317
|
+
/** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */
|
|
1318
|
+
listUsable(request?: {
|
|
1319
|
+
/** V1 error format. */
|
|
1320
|
+
"$.xgafv"?: string;
|
|
1321
|
+
/** OAuth access token. */
|
|
1322
|
+
access_token?: string;
|
|
1323
|
+
/** Data format for response. */
|
|
1324
|
+
alt?: string;
|
|
1325
|
+
/** JSONP */
|
|
1326
|
+
callback?: string;
|
|
1327
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1328
|
+
fields?: string;
|
|
1329
|
+
/** 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. */
|
|
1330
|
+
key?: string;
|
|
1331
|
+
/** OAuth 2.0 token for the current user. */
|
|
1332
|
+
oauth_token?: string;
|
|
1333
|
+
/** Maximum number of items to return. */
|
|
1334
|
+
pageSize?: number;
|
|
1335
|
+
/** next_page_token value returned from a previous List request, if any. */
|
|
1336
|
+
pageToken?: string;
|
|
1337
|
+
/** Required. Parent resource name. */
|
|
1338
|
+
parent: string;
|
|
1339
|
+
/** Returns response with indentations and line breaks. */
|
|
1340
|
+
prettyPrint?: boolean;
|
|
1341
|
+
/** 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. */
|
|
1342
|
+
quotaUser?: string;
|
|
1343
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1344
|
+
upload_protocol?: string;
|
|
1345
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1346
|
+
uploadType?: string;
|
|
1347
|
+
}): Request<ListUsableWorkstationConfigsResponse>;
|
|
1348
|
+
/** Updates an existing workstation configuration. */
|
|
1349
|
+
patch(request: {
|
|
1350
|
+
/** V1 error format. */
|
|
1351
|
+
"$.xgafv"?: string;
|
|
1352
|
+
/** OAuth access token. */
|
|
1353
|
+
access_token?: string;
|
|
1354
|
+
/** If set, and the config is not found, a new config will be created. In this situation, update_mask is ignored. */
|
|
1355
|
+
allowMissing?: boolean;
|
|
1356
|
+
/** Data format for response. */
|
|
1357
|
+
alt?: string;
|
|
1358
|
+
/** JSONP */
|
|
1359
|
+
callback?: string;
|
|
1360
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1361
|
+
fields?: string;
|
|
1362
|
+
/** 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. */
|
|
1363
|
+
key?: string;
|
|
1364
|
+
/** Full name of this resource. */
|
|
1365
|
+
name: string;
|
|
1366
|
+
/** OAuth 2.0 token for the current user. */
|
|
1367
|
+
oauth_token?: string;
|
|
1368
|
+
/** Returns response with indentations and line breaks. */
|
|
1369
|
+
prettyPrint?: boolean;
|
|
1370
|
+
/** 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. */
|
|
1371
|
+
quotaUser?: string;
|
|
1372
|
+
/** Required. Mask specifying which fields in the config should be updated. */
|
|
1373
|
+
updateMask?: string;
|
|
1374
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1375
|
+
upload_protocol?: string;
|
|
1376
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1377
|
+
uploadType?: string;
|
|
1378
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1379
|
+
validateOnly?: boolean;
|
|
1380
|
+
/** Request body */
|
|
1381
|
+
resource: WorkstationConfig;
|
|
1382
|
+
}): Request<Operation>;
|
|
1383
|
+
patch(request: {
|
|
1384
|
+
/** V1 error format. */
|
|
1385
|
+
"$.xgafv"?: string;
|
|
1386
|
+
/** OAuth access token. */
|
|
1387
|
+
access_token?: string;
|
|
1388
|
+
/** If set, and the config is not found, a new config will be created. In this situation, update_mask is ignored. */
|
|
1389
|
+
allowMissing?: boolean;
|
|
1390
|
+
/** Data format for response. */
|
|
1391
|
+
alt?: string;
|
|
1392
|
+
/** JSONP */
|
|
1393
|
+
callback?: string;
|
|
1394
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1395
|
+
fields?: string;
|
|
1396
|
+
/** 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. */
|
|
1397
|
+
key?: string;
|
|
1398
|
+
/** Full name of this resource. */
|
|
1399
|
+
name: string;
|
|
1400
|
+
/** OAuth 2.0 token for the current user. */
|
|
1401
|
+
oauth_token?: string;
|
|
1402
|
+
/** Returns response with indentations and line breaks. */
|
|
1403
|
+
prettyPrint?: boolean;
|
|
1404
|
+
/** 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. */
|
|
1405
|
+
quotaUser?: string;
|
|
1406
|
+
/** Required. Mask specifying which fields in the config should be updated. */
|
|
1407
|
+
updateMask?: string;
|
|
1408
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1409
|
+
upload_protocol?: string;
|
|
1410
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1411
|
+
uploadType?: string;
|
|
1412
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1413
|
+
validateOnly?: boolean;
|
|
1414
|
+
},
|
|
1415
|
+
body: WorkstationConfig): Request<Operation>;
|
|
1416
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1417
|
+
setIamPolicy(request: {
|
|
1418
|
+
/** V1 error format. */
|
|
1419
|
+
"$.xgafv"?: string;
|
|
1420
|
+
/** OAuth access token. */
|
|
1421
|
+
access_token?: string;
|
|
1422
|
+
/** Data format for response. */
|
|
1423
|
+
alt?: string;
|
|
1424
|
+
/** JSONP */
|
|
1425
|
+
callback?: string;
|
|
1426
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1427
|
+
fields?: string;
|
|
1428
|
+
/** 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. */
|
|
1429
|
+
key?: string;
|
|
1430
|
+
/** OAuth 2.0 token for the current user. */
|
|
1431
|
+
oauth_token?: string;
|
|
1432
|
+
/** Returns response with indentations and line breaks. */
|
|
1433
|
+
prettyPrint?: boolean;
|
|
1434
|
+
/** 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. */
|
|
1435
|
+
quotaUser?: string;
|
|
1436
|
+
/**
|
|
1437
|
+
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
1438
|
+
* field.
|
|
1439
|
+
*/
|
|
1440
|
+
resource: string;
|
|
1441
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1442
|
+
upload_protocol?: string;
|
|
1443
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1444
|
+
uploadType?: string;
|
|
1445
|
+
},
|
|
1446
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1447
|
+
/**
|
|
1448
|
+
* 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
|
|
1449
|
+
* 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.
|
|
1450
|
+
*/
|
|
1451
|
+
testIamPermissions(request: {
|
|
1452
|
+
/** V1 error format. */
|
|
1453
|
+
"$.xgafv"?: string;
|
|
1454
|
+
/** OAuth access token. */
|
|
1455
|
+
access_token?: string;
|
|
1456
|
+
/** Data format for response. */
|
|
1457
|
+
alt?: string;
|
|
1458
|
+
/** JSONP */
|
|
1459
|
+
callback?: string;
|
|
1460
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1461
|
+
fields?: string;
|
|
1462
|
+
/** 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. */
|
|
1463
|
+
key?: string;
|
|
1464
|
+
/** OAuth 2.0 token for the current user. */
|
|
1465
|
+
oauth_token?: string;
|
|
1466
|
+
/** Returns response with indentations and line breaks. */
|
|
1467
|
+
prettyPrint?: boolean;
|
|
1468
|
+
/** 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. */
|
|
1469
|
+
quotaUser?: string;
|
|
1470
|
+
/**
|
|
1471
|
+
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
|
|
1472
|
+
* this field.
|
|
1473
|
+
*/
|
|
1474
|
+
resource: string;
|
|
1475
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1476
|
+
upload_protocol?: string;
|
|
1477
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1478
|
+
uploadType?: string;
|
|
1479
|
+
},
|
|
1480
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1481
|
+
workstations: WorkstationsResource;
|
|
1482
|
+
}
|
|
1483
|
+
interface WorkstationClustersResource {
|
|
1484
|
+
/** Creates a new workstation cluster. */
|
|
1485
|
+
create(request: {
|
|
1486
|
+
/** V1 error format. */
|
|
1487
|
+
"$.xgafv"?: string;
|
|
1488
|
+
/** OAuth access token. */
|
|
1489
|
+
access_token?: string;
|
|
1490
|
+
/** Data format for response. */
|
|
1491
|
+
alt?: string;
|
|
1492
|
+
/** JSONP */
|
|
1493
|
+
callback?: string;
|
|
1494
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1495
|
+
fields?: string;
|
|
1496
|
+
/** 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. */
|
|
1497
|
+
key?: string;
|
|
1498
|
+
/** OAuth 2.0 token for the current user. */
|
|
1499
|
+
oauth_token?: string;
|
|
1500
|
+
/** Required. Parent resource name. */
|
|
1501
|
+
parent: string;
|
|
1502
|
+
/** Returns response with indentations and line breaks. */
|
|
1503
|
+
prettyPrint?: boolean;
|
|
1504
|
+
/** 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. */
|
|
1505
|
+
quotaUser?: string;
|
|
1506
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1507
|
+
upload_protocol?: string;
|
|
1508
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1509
|
+
uploadType?: string;
|
|
1510
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1511
|
+
validateOnly?: boolean;
|
|
1512
|
+
/** Required. ID to use for the cluster. */
|
|
1513
|
+
workstationClusterId?: string;
|
|
1514
|
+
/** Request body */
|
|
1515
|
+
resource: WorkstationCluster;
|
|
1516
|
+
}): Request<Operation>;
|
|
1517
|
+
create(request: {
|
|
1518
|
+
/** V1 error format. */
|
|
1519
|
+
"$.xgafv"?: string;
|
|
1520
|
+
/** OAuth access token. */
|
|
1521
|
+
access_token?: string;
|
|
1522
|
+
/** Data format for response. */
|
|
1523
|
+
alt?: string;
|
|
1524
|
+
/** JSONP */
|
|
1525
|
+
callback?: string;
|
|
1526
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1527
|
+
fields?: string;
|
|
1528
|
+
/** 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. */
|
|
1529
|
+
key?: string;
|
|
1530
|
+
/** OAuth 2.0 token for the current user. */
|
|
1531
|
+
oauth_token?: string;
|
|
1532
|
+
/** Required. Parent resource name. */
|
|
1533
|
+
parent: string;
|
|
1534
|
+
/** Returns response with indentations and line breaks. */
|
|
1535
|
+
prettyPrint?: boolean;
|
|
1536
|
+
/** 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. */
|
|
1537
|
+
quotaUser?: string;
|
|
1538
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1539
|
+
upload_protocol?: string;
|
|
1540
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1541
|
+
uploadType?: string;
|
|
1542
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1543
|
+
validateOnly?: boolean;
|
|
1544
|
+
/** Required. ID to use for the cluster. */
|
|
1545
|
+
workstationClusterId?: string;
|
|
1546
|
+
},
|
|
1547
|
+
body: WorkstationCluster): Request<Operation>;
|
|
1548
|
+
/** Deletes the specified workstation cluster. */
|
|
1549
|
+
delete(request?: {
|
|
1550
|
+
/** V1 error format. */
|
|
1551
|
+
"$.xgafv"?: string;
|
|
1552
|
+
/** OAuth access token. */
|
|
1553
|
+
access_token?: string;
|
|
1554
|
+
/** Data format for response. */
|
|
1555
|
+
alt?: string;
|
|
1556
|
+
/** JSONP */
|
|
1557
|
+
callback?: string;
|
|
1558
|
+
/** If set, the request will be rejected if the latest version of the cluster on the server does not have this etag. */
|
|
1559
|
+
etag?: string;
|
|
1560
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1561
|
+
fields?: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* If set, any workstation configurations and workstations in the cluster will also be deleted. Otherwise, the request will work only if the cluster has no configurations or
|
|
1564
|
+
* workstations.
|
|
1565
|
+
*/
|
|
1566
|
+
force?: boolean;
|
|
1567
|
+
/** 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. */
|
|
1568
|
+
key?: string;
|
|
1569
|
+
/** Required. Name of the cluster to delete. */
|
|
1570
|
+
name: string;
|
|
1571
|
+
/** OAuth 2.0 token for the current user. */
|
|
1572
|
+
oauth_token?: string;
|
|
1573
|
+
/** Returns response with indentations and line breaks. */
|
|
1574
|
+
prettyPrint?: boolean;
|
|
1575
|
+
/** 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. */
|
|
1576
|
+
quotaUser?: string;
|
|
1577
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1578
|
+
upload_protocol?: string;
|
|
1579
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1580
|
+
uploadType?: string;
|
|
1581
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1582
|
+
validateOnly?: boolean;
|
|
1583
|
+
}): Request<Operation>;
|
|
1584
|
+
/** Returns the requested workstation cluster. */
|
|
1585
|
+
get(request?: {
|
|
1586
|
+
/** V1 error format. */
|
|
1587
|
+
"$.xgafv"?: string;
|
|
1588
|
+
/** OAuth access token. */
|
|
1589
|
+
access_token?: string;
|
|
1590
|
+
/** Data format for response. */
|
|
1591
|
+
alt?: string;
|
|
1592
|
+
/** JSONP */
|
|
1593
|
+
callback?: string;
|
|
1594
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1595
|
+
fields?: string;
|
|
1596
|
+
/** 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. */
|
|
1597
|
+
key?: string;
|
|
1598
|
+
/** Required. Name of the requested resource. */
|
|
1599
|
+
name: string;
|
|
1600
|
+
/** OAuth 2.0 token for the current user. */
|
|
1601
|
+
oauth_token?: string;
|
|
1602
|
+
/** Returns response with indentations and line breaks. */
|
|
1603
|
+
prettyPrint?: boolean;
|
|
1604
|
+
/** 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. */
|
|
1605
|
+
quotaUser?: string;
|
|
1606
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1607
|
+
upload_protocol?: string;
|
|
1608
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1609
|
+
uploadType?: string;
|
|
1610
|
+
}): Request<WorkstationCluster>;
|
|
1611
|
+
/** Returns all workstation clusters in the specified location. */
|
|
1612
|
+
list(request?: {
|
|
1613
|
+
/** V1 error format. */
|
|
1614
|
+
"$.xgafv"?: string;
|
|
1615
|
+
/** OAuth access token. */
|
|
1616
|
+
access_token?: string;
|
|
1617
|
+
/** Data format for response. */
|
|
1618
|
+
alt?: string;
|
|
1619
|
+
/** JSONP */
|
|
1620
|
+
callback?: string;
|
|
1621
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1622
|
+
fields?: string;
|
|
1623
|
+
/** 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. */
|
|
1624
|
+
key?: string;
|
|
1625
|
+
/** OAuth 2.0 token for the current user. */
|
|
1626
|
+
oauth_token?: string;
|
|
1627
|
+
/** Maximum number of items to return. */
|
|
1628
|
+
pageSize?: number;
|
|
1629
|
+
/** next_page_token value returned from a previous List request, if any. */
|
|
1630
|
+
pageToken?: string;
|
|
1631
|
+
/** Required. Parent resource name. */
|
|
1632
|
+
parent: string;
|
|
1633
|
+
/** Returns response with indentations and line breaks. */
|
|
1634
|
+
prettyPrint?: boolean;
|
|
1635
|
+
/** 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. */
|
|
1636
|
+
quotaUser?: string;
|
|
1637
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1638
|
+
upload_protocol?: string;
|
|
1639
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1640
|
+
uploadType?: string;
|
|
1641
|
+
}): Request<ListWorkstationClustersResponse>;
|
|
1642
|
+
/** Updates an existing workstation cluster. */
|
|
1643
|
+
patch(request: {
|
|
1644
|
+
/** V1 error format. */
|
|
1645
|
+
"$.xgafv"?: string;
|
|
1646
|
+
/** OAuth access token. */
|
|
1647
|
+
access_token?: string;
|
|
1648
|
+
/** If set, and the cluster is not found, a new cluster will be created. In this situation, update_mask is ignored. */
|
|
1649
|
+
allowMissing?: boolean;
|
|
1650
|
+
/** Data format for response. */
|
|
1651
|
+
alt?: string;
|
|
1652
|
+
/** JSONP */
|
|
1653
|
+
callback?: string;
|
|
1654
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1655
|
+
fields?: string;
|
|
1656
|
+
/** 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. */
|
|
1657
|
+
key?: string;
|
|
1658
|
+
/** Full name of this resource. */
|
|
1659
|
+
name: string;
|
|
1660
|
+
/** OAuth 2.0 token for the current user. */
|
|
1661
|
+
oauth_token?: string;
|
|
1662
|
+
/** Returns response with indentations and line breaks. */
|
|
1663
|
+
prettyPrint?: boolean;
|
|
1664
|
+
/** 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. */
|
|
1665
|
+
quotaUser?: string;
|
|
1666
|
+
/** Required. Mask specifying which fields in the cluster should be updated. */
|
|
1667
|
+
updateMask?: string;
|
|
1668
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1669
|
+
upload_protocol?: string;
|
|
1670
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1671
|
+
uploadType?: string;
|
|
1672
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1673
|
+
validateOnly?: boolean;
|
|
1674
|
+
/** Request body */
|
|
1675
|
+
resource: WorkstationCluster;
|
|
1676
|
+
}): Request<Operation>;
|
|
1677
|
+
patch(request: {
|
|
1678
|
+
/** V1 error format. */
|
|
1679
|
+
"$.xgafv"?: string;
|
|
1680
|
+
/** OAuth access token. */
|
|
1681
|
+
access_token?: string;
|
|
1682
|
+
/** If set, and the cluster is not found, a new cluster will be created. In this situation, update_mask is ignored. */
|
|
1683
|
+
allowMissing?: boolean;
|
|
1684
|
+
/** Data format for response. */
|
|
1685
|
+
alt?: string;
|
|
1686
|
+
/** JSONP */
|
|
1687
|
+
callback?: string;
|
|
1688
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1689
|
+
fields?: string;
|
|
1690
|
+
/** 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. */
|
|
1691
|
+
key?: string;
|
|
1692
|
+
/** Full name of this resource. */
|
|
1693
|
+
name: string;
|
|
1694
|
+
/** OAuth 2.0 token for the current user. */
|
|
1695
|
+
oauth_token?: string;
|
|
1696
|
+
/** Returns response with indentations and line breaks. */
|
|
1697
|
+
prettyPrint?: boolean;
|
|
1698
|
+
/** 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. */
|
|
1699
|
+
quotaUser?: string;
|
|
1700
|
+
/** Required. Mask specifying which fields in the cluster should be updated. */
|
|
1701
|
+
updateMask?: string;
|
|
1702
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1703
|
+
upload_protocol?: string;
|
|
1704
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1705
|
+
uploadType?: string;
|
|
1706
|
+
/** If set, validate the request and preview the review, but do not actually apply it. */
|
|
1707
|
+
validateOnly?: boolean;
|
|
1708
|
+
},
|
|
1709
|
+
body: WorkstationCluster): Request<Operation>;
|
|
1710
|
+
workstationConfigs: WorkstationConfigsResource;
|
|
1711
|
+
}
|
|
1712
|
+
interface LocationsResource {
|
|
1713
|
+
operations: OperationsResource;
|
|
1714
|
+
workstationClusters: WorkstationClustersResource;
|
|
1715
|
+
}
|
|
1716
|
+
interface ProjectsResource {
|
|
1717
|
+
locations: LocationsResource;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
const projects: ProjectsResource;
|
|
1721
|
+
}
|
|
1722
|
+
}
|