@maxim_mazurok/gapi.client.workstations-v1 0.0.20230802
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 +2626 -0
- package/package.json +20 -0
- package/readme.md +68 -0
- package/tests.ts +584 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,2626 @@
|
|
|
1
|
+
/* Type definitions for non-npm package Cloud Workstations API v1 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=v1
|
|
12
|
+
// Revision: 20230802
|
|
13
|
+
|
|
14
|
+
/// <reference types="gapi.client" />
|
|
15
|
+
|
|
16
|
+
declare namespace gapi.client {
|
|
17
|
+
/** Load Cloud Workstations API v1 */
|
|
18
|
+
function load(urlOrObject: "https://workstations.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
19
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
20
|
+
function load(name: "workstations", version: "v1"): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: "workstations", version: "v1", callback: () => any): void;
|
|
23
|
+
|
|
24
|
+
namespace workstations {
|
|
25
|
+
interface AuditConfig {
|
|
26
|
+
/** The configuration for logging of each type of permission. */
|
|
27
|
+
auditLogConfigs?:
|
|
28
|
+
AuditLogConfig[];
|
|
29
|
+
/**
|
|
30
|
+
* 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
|
|
31
|
+
* services.
|
|
32
|
+
*/
|
|
33
|
+
service?:
|
|
34
|
+
string;
|
|
35
|
+
}
|
|
36
|
+
interface AuditLogConfig {
|
|
37
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
38
|
+
exemptedMembers?:
|
|
39
|
+
string[];
|
|
40
|
+
/** The log type that this config enables. */
|
|
41
|
+
logType?:
|
|
42
|
+
string;
|
|
43
|
+
}
|
|
44
|
+
interface Binding {
|
|
45
|
+
/**
|
|
46
|
+
* 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`,
|
|
47
|
+
* 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
|
|
48
|
+
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
49
|
+
*/
|
|
50
|
+
condition?:
|
|
51
|
+
Expr;
|
|
52
|
+
/**
|
|
53
|
+
* 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
|
|
54
|
+
* 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
|
|
55
|
+
* account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific
|
|
56
|
+
* Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example,
|
|
57
|
+
* `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service
|
|
58
|
+
* 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]`. *
|
|
59
|
+
* `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the
|
|
60
|
+
* users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has
|
|
61
|
+
* been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains
|
|
62
|
+
* the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently
|
|
63
|
+
* deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and
|
|
64
|
+
* the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that
|
|
65
|
+
* has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
|
|
66
|
+
* retains the role in the binding.
|
|
67
|
+
*/
|
|
68
|
+
members?:
|
|
69
|
+
string[];
|
|
70
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
71
|
+
role?:
|
|
72
|
+
string;
|
|
73
|
+
}
|
|
74
|
+
// tslint:disable-next-line:no-empty-interface
|
|
75
|
+
interface CancelOperationRequest {
|
|
76
|
+
}
|
|
77
|
+
interface Container {
|
|
78
|
+
/** Optional. Arguments passed to the entrypoint. */
|
|
79
|
+
args?:
|
|
80
|
+
string[];
|
|
81
|
+
/** Optional. If set, overrides the default ENTRYPOINT specified by the image. */
|
|
82
|
+
command?:
|
|
83
|
+
string[];
|
|
84
|
+
/** Optional. Environment variables passed to the container's entrypoint. */
|
|
85
|
+
env?:
|
|
86
|
+
{ [P in string]: string };
|
|
87
|
+
/**
|
|
88
|
+
* Optional. A Docker container image that defines a custom environment. Cloud Workstations provides a number of [preconfigured
|
|
89
|
+
* images](https://cloud.google.com/workstations/docs/preconfigured-base-images), but you can create your own [custom container
|
|
90
|
+
* images](https://cloud.google.com/workstations/docs/custom-container-images). If using a private image, the `host.gceInstance.serviceAccount` field must be specified in the
|
|
91
|
+
* workstation configuration and must have permission to pull the specified image. Otherwise, the image must be publicly accessible.
|
|
92
|
+
*/
|
|
93
|
+
image?:
|
|
94
|
+
string;
|
|
95
|
+
/** Optional. If set, overrides the USER specified in the image with the given uid. */
|
|
96
|
+
runAsUser?:
|
|
97
|
+
number;
|
|
98
|
+
/** Optional. If set, overrides the default DIR specified by the image. */
|
|
99
|
+
workingDir?:
|
|
100
|
+
string;
|
|
101
|
+
}
|
|
102
|
+
interface CustomerEncryptionKey {
|
|
103
|
+
/**
|
|
104
|
+
* Immutable. The name of the Google Cloud KMS encryption key. For example, `"projects/PROJECT_ID/locations/REGION/keyRings/KEY_RING/cryptoKeys/KEY_NAME"`. The key must be in the same
|
|
105
|
+
* region as the workstation configuration.
|
|
106
|
+
*/
|
|
107
|
+
kmsKey?:
|
|
108
|
+
string;
|
|
109
|
+
/**
|
|
110
|
+
* Immutable. The service account to use with the specified KMS key. We recommend that you use a separate service account and follow KMS best practices. For more information, see
|
|
111
|
+
* [Separation of duties](https://cloud.google.com/kms/docs/separation-of-duties) and `gcloud kms keys add-iam-policy-binding`
|
|
112
|
+
* [`--member`](https://cloud.google.com/sdk/gcloud/reference/kms/keys/add-iam-policy-binding#--member).
|
|
113
|
+
*/
|
|
114
|
+
kmsKeyServiceAccount?:
|
|
115
|
+
string;
|
|
116
|
+
}
|
|
117
|
+
interface Expr {
|
|
118
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
119
|
+
description?:
|
|
120
|
+
string;
|
|
121
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
122
|
+
expression?:
|
|
123
|
+
string;
|
|
124
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
125
|
+
location?:
|
|
126
|
+
string;
|
|
127
|
+
/** 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. */
|
|
128
|
+
title?:
|
|
129
|
+
string;
|
|
130
|
+
}
|
|
131
|
+
interface GceConfidentialInstanceConfig {
|
|
132
|
+
/** Optional. Whether the instance has confidential compute enabled. */
|
|
133
|
+
enableConfidentialCompute?:
|
|
134
|
+
boolean;
|
|
135
|
+
}
|
|
136
|
+
interface GceInstance {
|
|
137
|
+
/** Optional. The size of the boot disk for the VM in gigabytes (GB). The minimum boot disk size is `30` GB. Defaults to `50` GB. */
|
|
138
|
+
bootDiskSizeGb?:
|
|
139
|
+
number;
|
|
140
|
+
/** Optional. A set of Compute Engine Confidential VM instance options. */
|
|
141
|
+
confidentialInstanceConfig?:
|
|
142
|
+
GceConfidentialInstanceConfig;
|
|
143
|
+
/**
|
|
144
|
+
* Optional. When set to true, disables public IP addresses for VMs. If you disable public IP addresses, you must set up Private Google Access or Cloud NAT on your network. If you use
|
|
145
|
+
* Private Google Access and you use `private.googleapis.com` or `restricted.googleapis.com` for Container Registry and Artifact Registry, make sure that you set up DNS records for
|
|
146
|
+
* domains `*.gcr.io` and `*.pkg.dev`. Defaults to false (VMs have public IP addresses).
|
|
147
|
+
*/
|
|
148
|
+
disablePublicIpAddresses?:
|
|
149
|
+
boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Optional. Whether to enable nested virtualization on Cloud Workstations VMs created under this workstation configuration. Nested virtualization lets you run virtual machine (VM)
|
|
152
|
+
* instances inside your workstation. Before enabling nested virtualization, consider the following important considerations. Cloud Workstations instances are subject to the [same
|
|
153
|
+
* restrictions as Compute Engine instances](https://cloud.google.com/compute/docs/instances/nested-virtualization/overview#restrictions): * **Organization policy**: projects, folders,
|
|
154
|
+
* or organizations may be restricted from creating nested VMs if the **Disable VM nested virtualization** constraint is enforced in the organization policy. For more information, see
|
|
155
|
+
* the Compute Engine section, [Checking whether nested virtualization is
|
|
156
|
+
* allowed](https://cloud.google.com/compute/docs/instances/nested-virtualization/managing-constraint#checking_whether_nested_virtualization_is_allowed). * **Performance**: nested VMs
|
|
157
|
+
* might experience a 10% or greater decrease in performance for workloads that are CPU-bound and possibly greater than a 10% decrease for workloads that are input/output bound. *
|
|
158
|
+
* **Machine Type**: nested virtualization can only be enabled on workstation configurations that specify a machine_type in the N1 or N2 machine series. * **GPUs**: nested
|
|
159
|
+
* virtualization may not be enabled on workstation configurations with accelerators. * **Operating System**: Because [Container-Optimized
|
|
160
|
+
* OS](https://cloud.google.com/compute/docs/images/os-details#container-optimized_os_cos) does not support nested virtualization, when nested virtualization is enabled, the underlying
|
|
161
|
+
* Compute Engine VM instances boot from an [Ubuntu LTS](https://cloud.google.com/compute/docs/images/os-details#ubuntu_lts) image.
|
|
162
|
+
*/
|
|
163
|
+
enableNestedVirtualization?:
|
|
164
|
+
boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Optional. The type of machine to use for VM instances—for example, `"e2-standard-4"`. For more information about machine types that Cloud Workstations supports, see the list of
|
|
167
|
+
* [available machine types](https://cloud.google.com/workstations/docs/available-machine-types).
|
|
168
|
+
*/
|
|
169
|
+
machineType?:
|
|
170
|
+
string;
|
|
171
|
+
/** Output only. Number of instances currently available in the pool for faster workstation startup. */
|
|
172
|
+
pooledInstances?:
|
|
173
|
+
number;
|
|
174
|
+
/** Optional. The number of VMs that the system should keep idle so that new workstations can be started quickly for new users. Defaults to `0` in the API. */
|
|
175
|
+
poolSize?:
|
|
176
|
+
number;
|
|
177
|
+
/**
|
|
178
|
+
* Optional. The email address of the service account for Cloud Workstations VMs created with this configuration. When specified, be sure that the service account has
|
|
179
|
+
* `logginglogEntries.create` permission on the project so it can write logs out to Cloud Logging. If using a custom container image, the service account must have permissions to pull
|
|
180
|
+
* the specified image. If you as the administrator want to be able to `ssh` into the underlying VM, you need to set this value to a service account for which you have the
|
|
181
|
+
* `iam.serviceAccounts.actAs` permission. Conversely, if you don't want anyone to be able to `ssh` into the underlying VM, use a service account where no one has that permission. If
|
|
182
|
+
* not set, VMs run with a service account provided by the Cloud Workstations service, and the image must be publicly accessible.
|
|
183
|
+
*/
|
|
184
|
+
serviceAccount?:
|
|
185
|
+
string;
|
|
186
|
+
/** Optional. A set of Compute Engine Shielded instance options. */
|
|
187
|
+
shieldedInstanceConfig?:
|
|
188
|
+
GceShieldedInstanceConfig;
|
|
189
|
+
/**
|
|
190
|
+
* Optional. Network tags to add to the Compute Engine VMs backing the workstations. This option applies [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) to
|
|
191
|
+
* VMs created with this configuration. These network tags enable the creation of [firewall rules](https://cloud.google.com/workstations/docs/configure-firewall-rules).
|
|
192
|
+
*/
|
|
193
|
+
tags?:
|
|
194
|
+
string[];
|
|
195
|
+
}
|
|
196
|
+
interface GceRegionalPersistentDisk {
|
|
197
|
+
/** Optional. The [type of the persistent disk](https://cloud.google.com/compute/docs/disks#disk-types) for the home directory. Defaults to `"pd-standard"`. */
|
|
198
|
+
diskType?:
|
|
199
|
+
string;
|
|
200
|
+
/**
|
|
201
|
+
* Optional. Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if source_snapshot is set. Defaults to
|
|
202
|
+
* `"ext4"`.
|
|
203
|
+
*/
|
|
204
|
+
fsType?:
|
|
205
|
+
string;
|
|
206
|
+
/** Optional. Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. */
|
|
207
|
+
reclaimPolicy?:
|
|
208
|
+
string;
|
|
209
|
+
/**
|
|
210
|
+
* Optional. The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if source_snapshot is set. Valid values are `10`, `50`,
|
|
211
|
+
* `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the disk_type must be `"pd-balanced"` or `"pd-ssd"`.
|
|
212
|
+
*/
|
|
213
|
+
sizeGb?:
|
|
214
|
+
number;
|
|
215
|
+
/** Optional. Name of the snapshot to use as the source for the disk. If set, size_gb and fs_type must be empty. */
|
|
216
|
+
sourceSnapshot?:
|
|
217
|
+
string;
|
|
218
|
+
}
|
|
219
|
+
interface GceShieldedInstanceConfig {
|
|
220
|
+
/** Optional. Whether the instance has integrity monitoring enabled. */
|
|
221
|
+
enableIntegrityMonitoring?:
|
|
222
|
+
boolean;
|
|
223
|
+
/** Optional. Whether the instance has Secure Boot enabled. */
|
|
224
|
+
enableSecureBoot?:
|
|
225
|
+
boolean;
|
|
226
|
+
/** Optional. Whether the instance has the vTPM enabled. */
|
|
227
|
+
enableVtpm?:
|
|
228
|
+
boolean;
|
|
229
|
+
}
|
|
230
|
+
interface GenerateAccessTokenRequest {
|
|
231
|
+
/**
|
|
232
|
+
* 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
|
|
233
|
+
* value of 1 hour in the future.
|
|
234
|
+
*/
|
|
235
|
+
expireTime?:
|
|
236
|
+
string;
|
|
237
|
+
/** 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. */
|
|
238
|
+
ttl?:
|
|
239
|
+
string;
|
|
240
|
+
}
|
|
241
|
+
interface GenerateAccessTokenResponse {
|
|
242
|
+
/**
|
|
243
|
+
* 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—for example,
|
|
244
|
+
* `Authorization: Bearer `.
|
|
245
|
+
*/
|
|
246
|
+
accessToken?:
|
|
247
|
+
string;
|
|
248
|
+
/** Time at which the generated token will expire. */
|
|
249
|
+
expireTime?:
|
|
250
|
+
string;
|
|
251
|
+
}
|
|
252
|
+
// tslint:disable-next-line:no-empty-interface
|
|
253
|
+
interface GoogleProtobufEmpty {
|
|
254
|
+
}
|
|
255
|
+
interface Host {
|
|
256
|
+
/** Specifies a Compute Engine instance as the host. */
|
|
257
|
+
gceInstance?:
|
|
258
|
+
GceInstance;
|
|
259
|
+
}
|
|
260
|
+
interface ListLocationsResponse {
|
|
261
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
262
|
+
locations?:
|
|
263
|
+
Location[];
|
|
264
|
+
/** The standard List next-page token. */
|
|
265
|
+
nextPageToken?:
|
|
266
|
+
string;
|
|
267
|
+
}
|
|
268
|
+
interface ListOperationsResponse {
|
|
269
|
+
/** The standard List next-page token. */
|
|
270
|
+
nextPageToken?:
|
|
271
|
+
string;
|
|
272
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
273
|
+
operations?:
|
|
274
|
+
Operation[];
|
|
275
|
+
}
|
|
276
|
+
interface ListUsableWorkstationConfigsResponse {
|
|
277
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
278
|
+
nextPageToken?:
|
|
279
|
+
string;
|
|
280
|
+
/** Unreachable resources. */
|
|
281
|
+
unreachable?:
|
|
282
|
+
string[];
|
|
283
|
+
/** The requested configs. */
|
|
284
|
+
workstationConfigs?:
|
|
285
|
+
WorkstationConfig[];
|
|
286
|
+
}
|
|
287
|
+
interface ListUsableWorkstationsResponse {
|
|
288
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
289
|
+
nextPageToken?:
|
|
290
|
+
string;
|
|
291
|
+
/** Unreachable resources. */
|
|
292
|
+
unreachable?:
|
|
293
|
+
string[];
|
|
294
|
+
/** The requested workstations. */
|
|
295
|
+
workstations?:
|
|
296
|
+
Workstation[];
|
|
297
|
+
}
|
|
298
|
+
interface ListWorkstationClustersResponse {
|
|
299
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
300
|
+
nextPageToken?:
|
|
301
|
+
string;
|
|
302
|
+
/** Unreachable resources. */
|
|
303
|
+
unreachable?:
|
|
304
|
+
string[];
|
|
305
|
+
/** The requested workstation clusters. */
|
|
306
|
+
workstationClusters?:
|
|
307
|
+
WorkstationCluster[];
|
|
308
|
+
}
|
|
309
|
+
interface ListWorkstationConfigsResponse {
|
|
310
|
+
/** Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
311
|
+
nextPageToken?:
|
|
312
|
+
string;
|
|
313
|
+
/** Unreachable resources. */
|
|
314
|
+
unreachable?:
|
|
315
|
+
string[];
|
|
316
|
+
/** The requested configs. */
|
|
317
|
+
workstationConfigs?:
|
|
318
|
+
WorkstationConfig[];
|
|
319
|
+
}
|
|
320
|
+
interface ListWorkstationsResponse {
|
|
321
|
+
/** Optional. Token to retrieve the next page of results, or empty if there are no more results in the list. */
|
|
322
|
+
nextPageToken?:
|
|
323
|
+
string;
|
|
324
|
+
/** Optional. Unreachable resources. */
|
|
325
|
+
unreachable?:
|
|
326
|
+
string[];
|
|
327
|
+
/** The requested workstations. */
|
|
328
|
+
workstations?:
|
|
329
|
+
Workstation[];
|
|
330
|
+
}
|
|
331
|
+
interface Location {
|
|
332
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
333
|
+
displayName?:
|
|
334
|
+
string;
|
|
335
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
336
|
+
labels?:
|
|
337
|
+
{ [P in string]: string };
|
|
338
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
339
|
+
locationId?:
|
|
340
|
+
string;
|
|
341
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
342
|
+
metadata?:
|
|
343
|
+
{ [P in string]: any };
|
|
344
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
345
|
+
name?:
|
|
346
|
+
string;
|
|
347
|
+
}
|
|
348
|
+
interface Operation {
|
|
349
|
+
/** 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. */
|
|
350
|
+
done?:
|
|
351
|
+
boolean;
|
|
352
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
353
|
+
error?:
|
|
354
|
+
Status;
|
|
355
|
+
/**
|
|
356
|
+
* 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
|
|
357
|
+
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
358
|
+
*/
|
|
359
|
+
metadata?:
|
|
360
|
+
{ [P in string]: any };
|
|
361
|
+
/**
|
|
362
|
+
* 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
|
|
363
|
+
* with `operations/{unique_id}`.
|
|
364
|
+
*/
|
|
365
|
+
name?:
|
|
366
|
+
string;
|
|
367
|
+
/**
|
|
368
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
369
|
+
* 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 original
|
|
370
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
371
|
+
*/
|
|
372
|
+
response?:
|
|
373
|
+
{ [P in string]: any };
|
|
374
|
+
}
|
|
375
|
+
interface OperationMetadata {
|
|
376
|
+
/** Output only. API version used to start the operation. */
|
|
377
|
+
apiVersion?:
|
|
378
|
+
string;
|
|
379
|
+
/** Output only. Time that the operation was created. */
|
|
380
|
+
createTime?:
|
|
381
|
+
string;
|
|
382
|
+
/** Output only. Time that the operation finished running. */
|
|
383
|
+
endTime?:
|
|
384
|
+
string;
|
|
385
|
+
/** Output only. Identifies whether the user has requested cancellation of the operation. */
|
|
386
|
+
requestedCancellation?:
|
|
387
|
+
boolean;
|
|
388
|
+
/** Output only. Human-readable status of the operation, if any. */
|
|
389
|
+
statusMessage?:
|
|
390
|
+
string;
|
|
391
|
+
/** Output only. Server-defined resource path for the target of the operation. */
|
|
392
|
+
target?:
|
|
393
|
+
string;
|
|
394
|
+
/** Output only. Name of the verb executed by the operation. */
|
|
395
|
+
verb?:
|
|
396
|
+
string;
|
|
397
|
+
}
|
|
398
|
+
interface PersistentDirectory {
|
|
399
|
+
/** A PersistentDirectory backed by a Compute Engine persistent disk. */
|
|
400
|
+
gcePd?:
|
|
401
|
+
GceRegionalPersistentDisk;
|
|
402
|
+
/** Optional. Location of this directory in the running workstation. */
|
|
403
|
+
mountPath?:
|
|
404
|
+
string;
|
|
405
|
+
}
|
|
406
|
+
interface Policy {
|
|
407
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
408
|
+
auditConfigs?:
|
|
409
|
+
AuditConfig[];
|
|
410
|
+
/**
|
|
411
|
+
* 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`
|
|
412
|
+
* 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
|
|
413
|
+
* 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
|
|
414
|
+
* 1,450 principals to the `bindings` in the `Policy`.
|
|
415
|
+
*/
|
|
416
|
+
bindings?:
|
|
417
|
+
Binding[];
|
|
418
|
+
/**
|
|
419
|
+
* `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
|
|
420
|
+
* 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
|
|
421
|
+
* 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
|
|
422
|
+
* 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`
|
|
423
|
+
* policy, and all of the conditions in the version `3` policy are lost.
|
|
424
|
+
*/
|
|
425
|
+
etag?:
|
|
426
|
+
string;
|
|
427
|
+
/**
|
|
428
|
+
* 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
|
|
429
|
+
* 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
|
|
430
|
+
* 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
|
|
431
|
+
* 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`
|
|
432
|
+
* 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
|
|
433
|
+
* 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).
|
|
434
|
+
*/
|
|
435
|
+
version?:
|
|
436
|
+
number;
|
|
437
|
+
}
|
|
438
|
+
interface PrivateClusterConfig {
|
|
439
|
+
/**
|
|
440
|
+
* Optional. Additional projects that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if
|
|
441
|
+
* different) are allowed.
|
|
442
|
+
*/
|
|
443
|
+
allowedProjects?:
|
|
444
|
+
string[];
|
|
445
|
+
/**
|
|
446
|
+
* Output only. Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the workstation cluster, create a
|
|
447
|
+
* new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
|
|
448
|
+
*/
|
|
449
|
+
clusterHostname?:
|
|
450
|
+
string;
|
|
451
|
+
/** Immutable. Whether Workstations endpoint is private. */
|
|
452
|
+
enablePrivateEndpoint?:
|
|
453
|
+
boolean;
|
|
454
|
+
/**
|
|
455
|
+
* Output only. Service attachment URI for the workstation cluster. The service attachemnt is created when private endpoint is enabled. To access workstations in the workstation
|
|
456
|
+
* cluster, configure access to the managed service using [Private Service Connect](https://cloud.google.com/vpc/docs/configure-private-service-connect-services).
|
|
457
|
+
*/
|
|
458
|
+
serviceAttachmentUri?:
|
|
459
|
+
string;
|
|
460
|
+
}
|
|
461
|
+
interface ReadinessCheck {
|
|
462
|
+
/** Optional. Path to which the request should be sent. */
|
|
463
|
+
path?:
|
|
464
|
+
string;
|
|
465
|
+
/** Optional. Port to which the request should be sent. */
|
|
466
|
+
port?:
|
|
467
|
+
number;
|
|
468
|
+
}
|
|
469
|
+
interface SetIamPolicyRequest {
|
|
470
|
+
/**
|
|
471
|
+
* 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
|
|
472
|
+
* services (such as Projects) might reject them.
|
|
473
|
+
*/
|
|
474
|
+
policy?:
|
|
475
|
+
Policy;
|
|
476
|
+
/**
|
|
477
|
+
* 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:
|
|
478
|
+
* `paths: "bindings, etag"`
|
|
479
|
+
*/
|
|
480
|
+
updateMask?:
|
|
481
|
+
string;
|
|
482
|
+
}
|
|
483
|
+
interface StartWorkstationRequest {
|
|
484
|
+
/** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
485
|
+
etag?:
|
|
486
|
+
string;
|
|
487
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
488
|
+
validateOnly?:
|
|
489
|
+
boolean;
|
|
490
|
+
}
|
|
491
|
+
interface Status {
|
|
492
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
493
|
+
code?:
|
|
494
|
+
number;
|
|
495
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
496
|
+
details?:
|
|
497
|
+
Array<{ [P in string]: any }>;
|
|
498
|
+
/**
|
|
499
|
+
* 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
|
|
500
|
+
* client.
|
|
501
|
+
*/
|
|
502
|
+
message?:
|
|
503
|
+
string;
|
|
504
|
+
}
|
|
505
|
+
interface StopWorkstationRequest {
|
|
506
|
+
/** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
507
|
+
etag?:
|
|
508
|
+
string;
|
|
509
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
510
|
+
validateOnly?:
|
|
511
|
+
boolean;
|
|
512
|
+
}
|
|
513
|
+
interface TestIamPermissionsRequest {
|
|
514
|
+
/**
|
|
515
|
+
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
516
|
+
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
517
|
+
*/
|
|
518
|
+
permissions?:
|
|
519
|
+
string[];
|
|
520
|
+
}
|
|
521
|
+
interface TestIamPermissionsResponse {
|
|
522
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
523
|
+
permissions?:
|
|
524
|
+
string[];
|
|
525
|
+
}
|
|
526
|
+
interface Workstation {
|
|
527
|
+
/** Optional. Client-specified annotations. */
|
|
528
|
+
annotations?:
|
|
529
|
+
{ [P in string]: string };
|
|
530
|
+
/** Output only. Time when this workstation was created. */
|
|
531
|
+
createTime?:
|
|
532
|
+
string;
|
|
533
|
+
/** Output only. Time when this workstation was soft-deleted. */
|
|
534
|
+
deleteTime?:
|
|
535
|
+
string;
|
|
536
|
+
/** Optional. Human-readable name for this workstation. */
|
|
537
|
+
displayName?:
|
|
538
|
+
string;
|
|
539
|
+
/** Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding. */
|
|
540
|
+
etag?:
|
|
541
|
+
string;
|
|
542
|
+
/**
|
|
543
|
+
* 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
|
|
544
|
+
* send traffic to a different port, clients may prefix the host with the destination port in the format `{port}-{host}`.
|
|
545
|
+
*/
|
|
546
|
+
host?:
|
|
547
|
+
string;
|
|
548
|
+
/**
|
|
549
|
+
* Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation and that are also propagated to the underlying Compute Engine
|
|
550
|
+
* resources.
|
|
551
|
+
*/
|
|
552
|
+
labels?:
|
|
553
|
+
{ [P in string]: string };
|
|
554
|
+
/** Full name of this workstation. */
|
|
555
|
+
name?:
|
|
556
|
+
string;
|
|
557
|
+
/** Output only. Indicates whether this workstation is currently being updated to match its intended state. */
|
|
558
|
+
reconciling?:
|
|
559
|
+
boolean;
|
|
560
|
+
/** Output only. Current state of the workstation. */
|
|
561
|
+
state?:
|
|
562
|
+
string;
|
|
563
|
+
/** Output only. A system-assigned unique identifier for this workstation. */
|
|
564
|
+
uid?:
|
|
565
|
+
string;
|
|
566
|
+
/** Output only. Time when this workstation was most recently updated. */
|
|
567
|
+
updateTime?:
|
|
568
|
+
string;
|
|
569
|
+
}
|
|
570
|
+
interface WorkstationCluster {
|
|
571
|
+
/** Optional. Client-specified annotations. */
|
|
572
|
+
annotations?:
|
|
573
|
+
{ [P in string]: string };
|
|
574
|
+
/** Output only. Status conditions describing the workstation cluster's current state. */
|
|
575
|
+
conditions?:
|
|
576
|
+
Status[];
|
|
577
|
+
/**
|
|
578
|
+
* Output only. The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that
|
|
579
|
+
* your firewall rules allow egress from the workstation VMs to this address.
|
|
580
|
+
*/
|
|
581
|
+
controlPlaneIp?:
|
|
582
|
+
string;
|
|
583
|
+
/** Output only. Time when this workstation cluster was created. */
|
|
584
|
+
createTime?:
|
|
585
|
+
string;
|
|
586
|
+
/** Output only. Whether this workstation cluster is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in conditions. */
|
|
587
|
+
degraded?:
|
|
588
|
+
boolean;
|
|
589
|
+
/** Output only. Time when this workstation cluster was soft-deleted. */
|
|
590
|
+
deleteTime?:
|
|
591
|
+
string;
|
|
592
|
+
/** Optional. Human-readable name for this workstation cluster. */
|
|
593
|
+
displayName?:
|
|
594
|
+
string;
|
|
595
|
+
/** Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding. */
|
|
596
|
+
etag?:
|
|
597
|
+
string;
|
|
598
|
+
/**
|
|
599
|
+
* Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation cluster and that are also propagated to the underlying Compute
|
|
600
|
+
* Engine resources.
|
|
601
|
+
*/
|
|
602
|
+
labels?:
|
|
603
|
+
{ [P in string]: string };
|
|
604
|
+
/** Full name of this workstation cluster. */
|
|
605
|
+
name?:
|
|
606
|
+
string;
|
|
607
|
+
/** Immutable. Name of the Compute Engine network in which instances associated with this workstation cluster will be created. */
|
|
608
|
+
network?:
|
|
609
|
+
string;
|
|
610
|
+
/** Optional. Configuration for private workstation cluster. */
|
|
611
|
+
privateClusterConfig?:
|
|
612
|
+
PrivateClusterConfig;
|
|
613
|
+
/** Output only. Indicates whether this workstation cluster is currently being updated to match its intended state. */
|
|
614
|
+
reconciling?:
|
|
615
|
+
boolean;
|
|
616
|
+
/**
|
|
617
|
+
* Immutable. Name of the Compute Engine subnetwork in which instances associated with this workstation cluster will be created. Must be part of the subnetwork specified for this
|
|
618
|
+
* workstation cluster.
|
|
619
|
+
*/
|
|
620
|
+
subnetwork?:
|
|
621
|
+
string;
|
|
622
|
+
/** Output only. A system-assigned unique identifier for this workstation cluster. */
|
|
623
|
+
uid?:
|
|
624
|
+
string;
|
|
625
|
+
/** Output only. Time when this workstation cluster was most recently updated. */
|
|
626
|
+
updateTime?:
|
|
627
|
+
string;
|
|
628
|
+
}
|
|
629
|
+
interface WorkstationConfig {
|
|
630
|
+
/** Optional. Client-specified annotations. */
|
|
631
|
+
annotations?:
|
|
632
|
+
{ [P in string]: string };
|
|
633
|
+
/** Output only. Status conditions describing the current resource state. */
|
|
634
|
+
conditions?:
|
|
635
|
+
Status[];
|
|
636
|
+
/** Optional. Container that runs upon startup for each workstation using this workstation configuration. */
|
|
637
|
+
container?:
|
|
638
|
+
Container;
|
|
639
|
+
/** Output only. Time when this workstation configuration was created. */
|
|
640
|
+
createTime?:
|
|
641
|
+
string;
|
|
642
|
+
/** Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the conditions field. */
|
|
643
|
+
degraded?:
|
|
644
|
+
boolean;
|
|
645
|
+
/** Output only. Time when this workstation configuration was soft-deleted. */
|
|
646
|
+
deleteTime?:
|
|
647
|
+
string;
|
|
648
|
+
/** Optional. Human-readable name for this workstation configuration. */
|
|
649
|
+
displayName?:
|
|
650
|
+
string;
|
|
651
|
+
/**
|
|
652
|
+
* Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key (CMEK). If specified, the boot disk of the Compute Engine instance and the
|
|
653
|
+
* persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect
|
|
654
|
+
* disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version
|
|
655
|
+
* of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk might be lost. If the encryption key is revoked,
|
|
656
|
+
* the workstation session automatically stops within 7 hours. Immutable after the workstation configuration is created.
|
|
657
|
+
*/
|
|
658
|
+
encryptionKey?:
|
|
659
|
+
CustomerEncryptionKey;
|
|
660
|
+
/** Optional. Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding. */
|
|
661
|
+
etag?:
|
|
662
|
+
string;
|
|
663
|
+
/** Optional. Runtime host for the workstation. */
|
|
664
|
+
host?:
|
|
665
|
+
Host;
|
|
666
|
+
/**
|
|
667
|
+
* Optional. Number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of `"0s"` indicates that Cloud Workstations VMs created
|
|
668
|
+
* with this configuration should never time out due to idleness. Provide [duration](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#duration) terminated
|
|
669
|
+
* by `s` for seconds—for example, `"7200s"` (2 hours). The default is `"1200s"` (20 minutes).
|
|
670
|
+
*/
|
|
671
|
+
idleTimeout?:
|
|
672
|
+
string;
|
|
673
|
+
/**
|
|
674
|
+
* Optional. [Labels](https://cloud.google.com/workstations/docs/label-resources) that are applied to the workstation configuration and that are also propagated to the underlying
|
|
675
|
+
* Compute Engine resources.
|
|
676
|
+
*/
|
|
677
|
+
labels?:
|
|
678
|
+
{ [P in string]: string };
|
|
679
|
+
/** Full name of this workstation configuration. */
|
|
680
|
+
name?:
|
|
681
|
+
string;
|
|
682
|
+
/** Optional. Directories to persist across workstation sessions. */
|
|
683
|
+
persistentDirectories?:
|
|
684
|
+
PersistentDirectory[];
|
|
685
|
+
/**
|
|
686
|
+
* Optional. Readiness checks to perform when starting a workstation using this workstation configuration. Mark a workstation as running only after all specified readiness checks
|
|
687
|
+
* return 200 status codes.
|
|
688
|
+
*/
|
|
689
|
+
readinessChecks?:
|
|
690
|
+
ReadinessCheck[];
|
|
691
|
+
/** Output only. Indicates whether this workstation configuration is currently being updated to match its intended state. */
|
|
692
|
+
reconciling?:
|
|
693
|
+
boolean;
|
|
694
|
+
/**
|
|
695
|
+
* Optional. Number of seconds that a workstation can run until it is automatically shut down. We recommend that workstations be shut down daily to reduce costs and so that security
|
|
696
|
+
* updates can be applied upon restart. The idle_timeout and running_timeout fields are independent of each other. Note that the running_timeout field shuts down VMs after the
|
|
697
|
+
* specified time, regardless of whether or not the VMs are idle. Provide duration terminated by `s` for seconds—for example, `"54000s"` (15 hours). Defaults to `"43200s"` (12 hours).
|
|
698
|
+
* A value of `"0s"` indicates that workstations using this configuration should never time out. If encryption_key is set, it must be greater than `"0s"` and less than `"86400s"` (24
|
|
699
|
+
* hours). Warning: A value of `"0s"` indicates that Cloud Workstations VMs created with this configuration have no maximum running time. This is strongly discouraged because you incur
|
|
700
|
+
* costs and will not pick up security updates.
|
|
701
|
+
*/
|
|
702
|
+
runningTimeout?:
|
|
703
|
+
string;
|
|
704
|
+
/** Output only. A system-assigned unique identifier for this workstation configuration. */
|
|
705
|
+
uid?:
|
|
706
|
+
string;
|
|
707
|
+
/** Output only. Time when this workstation configuration was most recently updated. */
|
|
708
|
+
updateTime?:
|
|
709
|
+
string;
|
|
710
|
+
}
|
|
711
|
+
interface OperationsResource {
|
|
712
|
+
/**
|
|
713
|
+
* 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
|
|
714
|
+
* 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
|
|
715
|
+
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
716
|
+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
717
|
+
*/
|
|
718
|
+
cancel(request: {
|
|
719
|
+
/** V1 error format. */
|
|
720
|
+
"$.xgafv"?:
|
|
721
|
+
string;
|
|
722
|
+
/** OAuth access token. */
|
|
723
|
+
access_token?:
|
|
724
|
+
string;
|
|
725
|
+
/** Data format for response. */
|
|
726
|
+
alt?:
|
|
727
|
+
string;
|
|
728
|
+
/** JSONP */
|
|
729
|
+
callback?:
|
|
730
|
+
string;
|
|
731
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
732
|
+
fields?:
|
|
733
|
+
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?:
|
|
736
|
+
string;
|
|
737
|
+
/** The name of the operation resource to be cancelled. */
|
|
738
|
+
name:
|
|
739
|
+
string;
|
|
740
|
+
/** OAuth 2.0 token for the current user. */
|
|
741
|
+
oauth_token?:
|
|
742
|
+
string;
|
|
743
|
+
/** Returns response with indentations and line breaks. */
|
|
744
|
+
prettyPrint?:
|
|
745
|
+
boolean;
|
|
746
|
+
/** 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. */
|
|
747
|
+
quotaUser?:
|
|
748
|
+
string;
|
|
749
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
750
|
+
upload_protocol?:
|
|
751
|
+
string;
|
|
752
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
753
|
+
uploadType?:
|
|
754
|
+
string;
|
|
755
|
+
/** Request body */
|
|
756
|
+
resource:
|
|
757
|
+
CancelOperationRequest;
|
|
758
|
+
}): Request<{}>;
|
|
759
|
+
cancel(request: {
|
|
760
|
+
/** V1 error format. */
|
|
761
|
+
"$.xgafv"?:
|
|
762
|
+
string;
|
|
763
|
+
/** OAuth access token. */
|
|
764
|
+
access_token?:
|
|
765
|
+
string;
|
|
766
|
+
/** Data format for response. */
|
|
767
|
+
alt?:
|
|
768
|
+
string;
|
|
769
|
+
/** JSONP */
|
|
770
|
+
callback?:
|
|
771
|
+
string;
|
|
772
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
773
|
+
fields?:
|
|
774
|
+
string;
|
|
775
|
+
/** 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. */
|
|
776
|
+
key?:
|
|
777
|
+
string;
|
|
778
|
+
/** The name of the operation resource to be cancelled. */
|
|
779
|
+
name:
|
|
780
|
+
string;
|
|
781
|
+
/** OAuth 2.0 token for the current user. */
|
|
782
|
+
oauth_token?:
|
|
783
|
+
string;
|
|
784
|
+
/** Returns response with indentations and line breaks. */
|
|
785
|
+
prettyPrint?:
|
|
786
|
+
boolean;
|
|
787
|
+
/** 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. */
|
|
788
|
+
quotaUser?:
|
|
789
|
+
string;
|
|
790
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
791
|
+
upload_protocol?:
|
|
792
|
+
string;
|
|
793
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
794
|
+
uploadType?:
|
|
795
|
+
string;
|
|
796
|
+
},
|
|
797
|
+
body: CancelOperationRequest): Request<{}>;
|
|
798
|
+
/**
|
|
799
|
+
* 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
|
|
800
|
+
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
801
|
+
*/
|
|
802
|
+
delete(request?: {
|
|
803
|
+
/** V1 error format. */
|
|
804
|
+
"$.xgafv"?:
|
|
805
|
+
string;
|
|
806
|
+
/** OAuth access token. */
|
|
807
|
+
access_token?:
|
|
808
|
+
string;
|
|
809
|
+
/** Data format for response. */
|
|
810
|
+
alt?:
|
|
811
|
+
string;
|
|
812
|
+
/** JSONP */
|
|
813
|
+
callback?:
|
|
814
|
+
string;
|
|
815
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
816
|
+
fields?:
|
|
817
|
+
string;
|
|
818
|
+
/** 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. */
|
|
819
|
+
key?:
|
|
820
|
+
string;
|
|
821
|
+
/** The name of the operation resource to be deleted. */
|
|
822
|
+
name:
|
|
823
|
+
string;
|
|
824
|
+
/** OAuth 2.0 token for the current user. */
|
|
825
|
+
oauth_token?:
|
|
826
|
+
string;
|
|
827
|
+
/** Returns response with indentations and line breaks. */
|
|
828
|
+
prettyPrint?:
|
|
829
|
+
boolean;
|
|
830
|
+
/** 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. */
|
|
831
|
+
quotaUser?:
|
|
832
|
+
string;
|
|
833
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
834
|
+
upload_protocol?:
|
|
835
|
+
string;
|
|
836
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
837
|
+
uploadType?:
|
|
838
|
+
string;
|
|
839
|
+
}): Request<{}>;
|
|
840
|
+
/** 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. */
|
|
841
|
+
get(request?: {
|
|
842
|
+
/** V1 error format. */
|
|
843
|
+
"$.xgafv"?:
|
|
844
|
+
string;
|
|
845
|
+
/** OAuth access token. */
|
|
846
|
+
access_token?:
|
|
847
|
+
string;
|
|
848
|
+
/** Data format for response. */
|
|
849
|
+
alt?:
|
|
850
|
+
string;
|
|
851
|
+
/** JSONP */
|
|
852
|
+
callback?:
|
|
853
|
+
string;
|
|
854
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
855
|
+
fields?:
|
|
856
|
+
string;
|
|
857
|
+
/** 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. */
|
|
858
|
+
key?:
|
|
859
|
+
string;
|
|
860
|
+
/** The name of the operation resource. */
|
|
861
|
+
name:
|
|
862
|
+
string;
|
|
863
|
+
/** OAuth 2.0 token for the current user. */
|
|
864
|
+
oauth_token?:
|
|
865
|
+
string;
|
|
866
|
+
/** Returns response with indentations and line breaks. */
|
|
867
|
+
prettyPrint?:
|
|
868
|
+
boolean;
|
|
869
|
+
/** 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. */
|
|
870
|
+
quotaUser?:
|
|
871
|
+
string;
|
|
872
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
873
|
+
upload_protocol?:
|
|
874
|
+
string;
|
|
875
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
876
|
+
uploadType?:
|
|
877
|
+
string;
|
|
878
|
+
}): Request<Operation>;
|
|
879
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
880
|
+
list(request?: {
|
|
881
|
+
/** V1 error format. */
|
|
882
|
+
"$.xgafv"?:
|
|
883
|
+
string;
|
|
884
|
+
/** OAuth access token. */
|
|
885
|
+
access_token?:
|
|
886
|
+
string;
|
|
887
|
+
/** Data format for response. */
|
|
888
|
+
alt?:
|
|
889
|
+
string;
|
|
890
|
+
/** JSONP */
|
|
891
|
+
callback?:
|
|
892
|
+
string;
|
|
893
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
894
|
+
fields?:
|
|
895
|
+
string;
|
|
896
|
+
/** The standard list filter. */
|
|
897
|
+
filter?:
|
|
898
|
+
string;
|
|
899
|
+
/** 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. */
|
|
900
|
+
key?:
|
|
901
|
+
string;
|
|
902
|
+
/** The name of the operation's parent resource. */
|
|
903
|
+
name:
|
|
904
|
+
string;
|
|
905
|
+
/** OAuth 2.0 token for the current user. */
|
|
906
|
+
oauth_token?:
|
|
907
|
+
string;
|
|
908
|
+
/** The standard list page size. */
|
|
909
|
+
pageSize?:
|
|
910
|
+
number;
|
|
911
|
+
/** The standard list page token. */
|
|
912
|
+
pageToken?:
|
|
913
|
+
string;
|
|
914
|
+
/** Returns response with indentations and line breaks. */
|
|
915
|
+
prettyPrint?:
|
|
916
|
+
boolean;
|
|
917
|
+
/** 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. */
|
|
918
|
+
quotaUser?:
|
|
919
|
+
string;
|
|
920
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
921
|
+
upload_protocol?:
|
|
922
|
+
string;
|
|
923
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
924
|
+
uploadType?:
|
|
925
|
+
string;
|
|
926
|
+
}): Request<ListOperationsResponse>;
|
|
927
|
+
}
|
|
928
|
+
interface WorkstationsResource {
|
|
929
|
+
/** Creates a new workstation. */
|
|
930
|
+
create(request: {
|
|
931
|
+
/** V1 error format. */
|
|
932
|
+
"$.xgafv"?:
|
|
933
|
+
string;
|
|
934
|
+
/** OAuth access token. */
|
|
935
|
+
access_token?:
|
|
936
|
+
string;
|
|
937
|
+
/** Data format for response. */
|
|
938
|
+
alt?:
|
|
939
|
+
string;
|
|
940
|
+
/** JSONP */
|
|
941
|
+
callback?:
|
|
942
|
+
string;
|
|
943
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
944
|
+
fields?:
|
|
945
|
+
string;
|
|
946
|
+
/** 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. */
|
|
947
|
+
key?:
|
|
948
|
+
string;
|
|
949
|
+
/** OAuth 2.0 token for the current user. */
|
|
950
|
+
oauth_token?:
|
|
951
|
+
string;
|
|
952
|
+
/** Required. Parent resource name. */
|
|
953
|
+
parent:
|
|
954
|
+
string;
|
|
955
|
+
/** Returns response with indentations and line breaks. */
|
|
956
|
+
prettyPrint?:
|
|
957
|
+
boolean;
|
|
958
|
+
/** 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. */
|
|
959
|
+
quotaUser?:
|
|
960
|
+
string;
|
|
961
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
962
|
+
upload_protocol?:
|
|
963
|
+
string;
|
|
964
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
965
|
+
uploadType?:
|
|
966
|
+
string;
|
|
967
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
968
|
+
validateOnly?:
|
|
969
|
+
boolean;
|
|
970
|
+
/** Required. ID to use for the workstation. */
|
|
971
|
+
workstationId?:
|
|
972
|
+
string;
|
|
973
|
+
/** Request body */
|
|
974
|
+
resource:
|
|
975
|
+
Workstation;
|
|
976
|
+
}): Request<Operation>;
|
|
977
|
+
create(request: {
|
|
978
|
+
/** V1 error format. */
|
|
979
|
+
"$.xgafv"?:
|
|
980
|
+
string;
|
|
981
|
+
/** OAuth access token. */
|
|
982
|
+
access_token?:
|
|
983
|
+
string;
|
|
984
|
+
/** Data format for response. */
|
|
985
|
+
alt?:
|
|
986
|
+
string;
|
|
987
|
+
/** JSONP */
|
|
988
|
+
callback?:
|
|
989
|
+
string;
|
|
990
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
991
|
+
fields?:
|
|
992
|
+
string;
|
|
993
|
+
/** 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. */
|
|
994
|
+
key?:
|
|
995
|
+
string;
|
|
996
|
+
/** OAuth 2.0 token for the current user. */
|
|
997
|
+
oauth_token?:
|
|
998
|
+
string;
|
|
999
|
+
/** Required. Parent resource name. */
|
|
1000
|
+
parent:
|
|
1001
|
+
string;
|
|
1002
|
+
/** Returns response with indentations and line breaks. */
|
|
1003
|
+
prettyPrint?:
|
|
1004
|
+
boolean;
|
|
1005
|
+
/** 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. */
|
|
1006
|
+
quotaUser?:
|
|
1007
|
+
string;
|
|
1008
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1009
|
+
upload_protocol?:
|
|
1010
|
+
string;
|
|
1011
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1012
|
+
uploadType?:
|
|
1013
|
+
string;
|
|
1014
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1015
|
+
validateOnly?:
|
|
1016
|
+
boolean;
|
|
1017
|
+
/** Required. ID to use for the workstation. */
|
|
1018
|
+
workstationId?:
|
|
1019
|
+
string;
|
|
1020
|
+
},
|
|
1021
|
+
body: Workstation): Request<Operation>;
|
|
1022
|
+
/** Deletes the specified workstation. */
|
|
1023
|
+
delete(request?: {
|
|
1024
|
+
/** V1 error format. */
|
|
1025
|
+
"$.xgafv"?:
|
|
1026
|
+
string;
|
|
1027
|
+
/** OAuth access token. */
|
|
1028
|
+
access_token?:
|
|
1029
|
+
string;
|
|
1030
|
+
/** Data format for response. */
|
|
1031
|
+
alt?:
|
|
1032
|
+
string;
|
|
1033
|
+
/** JSONP */
|
|
1034
|
+
callback?:
|
|
1035
|
+
string;
|
|
1036
|
+
/** Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag. */
|
|
1037
|
+
etag?:
|
|
1038
|
+
string;
|
|
1039
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1040
|
+
fields?:
|
|
1041
|
+
string;
|
|
1042
|
+
/** 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. */
|
|
1043
|
+
key?:
|
|
1044
|
+
string;
|
|
1045
|
+
/** Required. Name of the workstation to delete. */
|
|
1046
|
+
name:
|
|
1047
|
+
string;
|
|
1048
|
+
/** OAuth 2.0 token for the current user. */
|
|
1049
|
+
oauth_token?:
|
|
1050
|
+
string;
|
|
1051
|
+
/** Returns response with indentations and line breaks. */
|
|
1052
|
+
prettyPrint?:
|
|
1053
|
+
boolean;
|
|
1054
|
+
/** 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. */
|
|
1055
|
+
quotaUser?:
|
|
1056
|
+
string;
|
|
1057
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1058
|
+
upload_protocol?:
|
|
1059
|
+
string;
|
|
1060
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1061
|
+
uploadType?:
|
|
1062
|
+
string;
|
|
1063
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1064
|
+
validateOnly?:
|
|
1065
|
+
boolean;
|
|
1066
|
+
}): Request<Operation>;
|
|
1067
|
+
/** Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. */
|
|
1068
|
+
generateAccessToken(request: {
|
|
1069
|
+
/** V1 error format. */
|
|
1070
|
+
"$.xgafv"?:
|
|
1071
|
+
string;
|
|
1072
|
+
/** OAuth access token. */
|
|
1073
|
+
access_token?:
|
|
1074
|
+
string;
|
|
1075
|
+
/** Data format for response. */
|
|
1076
|
+
alt?:
|
|
1077
|
+
string;
|
|
1078
|
+
/** JSONP */
|
|
1079
|
+
callback?:
|
|
1080
|
+
string;
|
|
1081
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1082
|
+
fields?:
|
|
1083
|
+
string;
|
|
1084
|
+
/** 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. */
|
|
1085
|
+
key?:
|
|
1086
|
+
string;
|
|
1087
|
+
/** OAuth 2.0 token for the current user. */
|
|
1088
|
+
oauth_token?:
|
|
1089
|
+
string;
|
|
1090
|
+
/** Returns response with indentations and line breaks. */
|
|
1091
|
+
prettyPrint?:
|
|
1092
|
+
boolean;
|
|
1093
|
+
/** 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. */
|
|
1094
|
+
quotaUser?:
|
|
1095
|
+
string;
|
|
1096
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1097
|
+
upload_protocol?:
|
|
1098
|
+
string;
|
|
1099
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1100
|
+
uploadType?:
|
|
1101
|
+
string;
|
|
1102
|
+
/** Required. Name of the workstation for which the access token should be generated. */
|
|
1103
|
+
workstation:
|
|
1104
|
+
string;
|
|
1105
|
+
/** Request body */
|
|
1106
|
+
resource:
|
|
1107
|
+
GenerateAccessTokenRequest;
|
|
1108
|
+
}): Request<GenerateAccessTokenResponse>;
|
|
1109
|
+
generateAccessToken(request: {
|
|
1110
|
+
/** V1 error format. */
|
|
1111
|
+
"$.xgafv"?:
|
|
1112
|
+
string;
|
|
1113
|
+
/** OAuth access token. */
|
|
1114
|
+
access_token?:
|
|
1115
|
+
string;
|
|
1116
|
+
/** Data format for response. */
|
|
1117
|
+
alt?:
|
|
1118
|
+
string;
|
|
1119
|
+
/** JSONP */
|
|
1120
|
+
callback?:
|
|
1121
|
+
string;
|
|
1122
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1123
|
+
fields?:
|
|
1124
|
+
string;
|
|
1125
|
+
/** 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. */
|
|
1126
|
+
key?:
|
|
1127
|
+
string;
|
|
1128
|
+
/** OAuth 2.0 token for the current user. */
|
|
1129
|
+
oauth_token?:
|
|
1130
|
+
string;
|
|
1131
|
+
/** Returns response with indentations and line breaks. */
|
|
1132
|
+
prettyPrint?:
|
|
1133
|
+
boolean;
|
|
1134
|
+
/** 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. */
|
|
1135
|
+
quotaUser?:
|
|
1136
|
+
string;
|
|
1137
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1138
|
+
upload_protocol?:
|
|
1139
|
+
string;
|
|
1140
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1141
|
+
uploadType?:
|
|
1142
|
+
string;
|
|
1143
|
+
/** Required. Name of the workstation for which the access token should be generated. */
|
|
1144
|
+
workstation:
|
|
1145
|
+
string;
|
|
1146
|
+
},
|
|
1147
|
+
body: GenerateAccessTokenRequest): Request<GenerateAccessTokenResponse>;
|
|
1148
|
+
/** Returns the requested workstation. */
|
|
1149
|
+
get(request?: {
|
|
1150
|
+
/** V1 error format. */
|
|
1151
|
+
"$.xgafv"?:
|
|
1152
|
+
string;
|
|
1153
|
+
/** OAuth access token. */
|
|
1154
|
+
access_token?:
|
|
1155
|
+
string;
|
|
1156
|
+
/** Data format for response. */
|
|
1157
|
+
alt?:
|
|
1158
|
+
string;
|
|
1159
|
+
/** JSONP */
|
|
1160
|
+
callback?:
|
|
1161
|
+
string;
|
|
1162
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1163
|
+
fields?:
|
|
1164
|
+
string;
|
|
1165
|
+
/** 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. */
|
|
1166
|
+
key?:
|
|
1167
|
+
string;
|
|
1168
|
+
/** Required. Name of the requested resource. */
|
|
1169
|
+
name:
|
|
1170
|
+
string;
|
|
1171
|
+
/** OAuth 2.0 token for the current user. */
|
|
1172
|
+
oauth_token?:
|
|
1173
|
+
string;
|
|
1174
|
+
/** Returns response with indentations and line breaks. */
|
|
1175
|
+
prettyPrint?:
|
|
1176
|
+
boolean;
|
|
1177
|
+
/** 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. */
|
|
1178
|
+
quotaUser?:
|
|
1179
|
+
string;
|
|
1180
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1181
|
+
upload_protocol?:
|
|
1182
|
+
string;
|
|
1183
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1184
|
+
uploadType?:
|
|
1185
|
+
string;
|
|
1186
|
+
}): Request<Workstation>;
|
|
1187
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1188
|
+
getIamPolicy(request?: {
|
|
1189
|
+
/** V1 error format. */
|
|
1190
|
+
"$.xgafv"?:
|
|
1191
|
+
string;
|
|
1192
|
+
/** OAuth access token. */
|
|
1193
|
+
access_token?:
|
|
1194
|
+
string;
|
|
1195
|
+
/** Data format for response. */
|
|
1196
|
+
alt?:
|
|
1197
|
+
string;
|
|
1198
|
+
/** JSONP */
|
|
1199
|
+
callback?:
|
|
1200
|
+
string;
|
|
1201
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1202
|
+
fields?:
|
|
1203
|
+
string;
|
|
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?:
|
|
1206
|
+
string;
|
|
1207
|
+
/** OAuth 2.0 token for the current user. */
|
|
1208
|
+
oauth_token?:
|
|
1209
|
+
string;
|
|
1210
|
+
/**
|
|
1211
|
+
* 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
|
|
1212
|
+
* 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
|
|
1213
|
+
* 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
|
|
1214
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1215
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1216
|
+
*/
|
|
1217
|
+
"options.requestedPolicyVersion"?:
|
|
1218
|
+
number;
|
|
1219
|
+
/** Returns response with indentations and line breaks. */
|
|
1220
|
+
prettyPrint?:
|
|
1221
|
+
boolean;
|
|
1222
|
+
/** 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. */
|
|
1223
|
+
quotaUser?:
|
|
1224
|
+
string;
|
|
1225
|
+
/**
|
|
1226
|
+
* 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
|
|
1227
|
+
* field.
|
|
1228
|
+
*/
|
|
1229
|
+
resource:
|
|
1230
|
+
string;
|
|
1231
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1232
|
+
upload_protocol?:
|
|
1233
|
+
string;
|
|
1234
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1235
|
+
uploadType?:
|
|
1236
|
+
string;
|
|
1237
|
+
}): Request<Policy>;
|
|
1238
|
+
/** Returns all Workstations using the specified workstation configuration. */
|
|
1239
|
+
list(request?: {
|
|
1240
|
+
/** V1 error format. */
|
|
1241
|
+
"$.xgafv"?:
|
|
1242
|
+
string;
|
|
1243
|
+
/** OAuth access token. */
|
|
1244
|
+
access_token?:
|
|
1245
|
+
string;
|
|
1246
|
+
/** Data format for response. */
|
|
1247
|
+
alt?:
|
|
1248
|
+
string;
|
|
1249
|
+
/** JSONP */
|
|
1250
|
+
callback?:
|
|
1251
|
+
string;
|
|
1252
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1253
|
+
fields?:
|
|
1254
|
+
string;
|
|
1255
|
+
/** 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. */
|
|
1256
|
+
key?:
|
|
1257
|
+
string;
|
|
1258
|
+
/** OAuth 2.0 token for the current user. */
|
|
1259
|
+
oauth_token?:
|
|
1260
|
+
string;
|
|
1261
|
+
/** Optional. Maximum number of items to return. */
|
|
1262
|
+
pageSize?:
|
|
1263
|
+
number;
|
|
1264
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
1265
|
+
pageToken?:
|
|
1266
|
+
string;
|
|
1267
|
+
/** Required. Parent resource name. */
|
|
1268
|
+
parent:
|
|
1269
|
+
string;
|
|
1270
|
+
/** Returns response with indentations and line breaks. */
|
|
1271
|
+
prettyPrint?:
|
|
1272
|
+
boolean;
|
|
1273
|
+
/** 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. */
|
|
1274
|
+
quotaUser?:
|
|
1275
|
+
string;
|
|
1276
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1277
|
+
upload_protocol?:
|
|
1278
|
+
string;
|
|
1279
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1280
|
+
uploadType?:
|
|
1281
|
+
string;
|
|
1282
|
+
}): Request<ListWorkstationsResponse>;
|
|
1283
|
+
/** Returns all workstations using the specified workstation configuration on which the caller has the "workstations.workstations.use" permission. */
|
|
1284
|
+
listUsable(request?: {
|
|
1285
|
+
/** V1 error format. */
|
|
1286
|
+
"$.xgafv"?:
|
|
1287
|
+
string;
|
|
1288
|
+
/** OAuth access token. */
|
|
1289
|
+
access_token?:
|
|
1290
|
+
string;
|
|
1291
|
+
/** Data format for response. */
|
|
1292
|
+
alt?:
|
|
1293
|
+
string;
|
|
1294
|
+
/** JSONP */
|
|
1295
|
+
callback?:
|
|
1296
|
+
string;
|
|
1297
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1298
|
+
fields?:
|
|
1299
|
+
string;
|
|
1300
|
+
/** 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. */
|
|
1301
|
+
key?:
|
|
1302
|
+
string;
|
|
1303
|
+
/** OAuth 2.0 token for the current user. */
|
|
1304
|
+
oauth_token?:
|
|
1305
|
+
string;
|
|
1306
|
+
/** Optional. Maximum number of items to return. */
|
|
1307
|
+
pageSize?:
|
|
1308
|
+
number;
|
|
1309
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
1310
|
+
pageToken?:
|
|
1311
|
+
string;
|
|
1312
|
+
/** Required. Parent resource name. */
|
|
1313
|
+
parent:
|
|
1314
|
+
string;
|
|
1315
|
+
/** Returns response with indentations and line breaks. */
|
|
1316
|
+
prettyPrint?:
|
|
1317
|
+
boolean;
|
|
1318
|
+
/** 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. */
|
|
1319
|
+
quotaUser?:
|
|
1320
|
+
string;
|
|
1321
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1322
|
+
upload_protocol?:
|
|
1323
|
+
string;
|
|
1324
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1325
|
+
uploadType?:
|
|
1326
|
+
string;
|
|
1327
|
+
}): Request<ListUsableWorkstationsResponse>;
|
|
1328
|
+
/** Updates an existing workstation. */
|
|
1329
|
+
patch(request: {
|
|
1330
|
+
/** V1 error format. */
|
|
1331
|
+
"$.xgafv"?:
|
|
1332
|
+
string;
|
|
1333
|
+
/** OAuth access token. */
|
|
1334
|
+
access_token?:
|
|
1335
|
+
string;
|
|
1336
|
+
/** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
|
|
1337
|
+
allowMissing?:
|
|
1338
|
+
boolean;
|
|
1339
|
+
/** Data format for response. */
|
|
1340
|
+
alt?:
|
|
1341
|
+
string;
|
|
1342
|
+
/** JSONP */
|
|
1343
|
+
callback?:
|
|
1344
|
+
string;
|
|
1345
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1346
|
+
fields?:
|
|
1347
|
+
string;
|
|
1348
|
+
/** 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. */
|
|
1349
|
+
key?:
|
|
1350
|
+
string;
|
|
1351
|
+
/** Full name of this workstation. */
|
|
1352
|
+
name:
|
|
1353
|
+
string;
|
|
1354
|
+
/** OAuth 2.0 token for the current user. */
|
|
1355
|
+
oauth_token?:
|
|
1356
|
+
string;
|
|
1357
|
+
/** Returns response with indentations and line breaks. */
|
|
1358
|
+
prettyPrint?:
|
|
1359
|
+
boolean;
|
|
1360
|
+
/** 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. */
|
|
1361
|
+
quotaUser?:
|
|
1362
|
+
string;
|
|
1363
|
+
/** Required. Mask specifying which fields in the workstation configuration should be updated. */
|
|
1364
|
+
updateMask?:
|
|
1365
|
+
string;
|
|
1366
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1367
|
+
upload_protocol?:
|
|
1368
|
+
string;
|
|
1369
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1370
|
+
uploadType?:
|
|
1371
|
+
string;
|
|
1372
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1373
|
+
validateOnly?:
|
|
1374
|
+
boolean;
|
|
1375
|
+
/** Request body */
|
|
1376
|
+
resource:
|
|
1377
|
+
Workstation;
|
|
1378
|
+
}): Request<Operation>;
|
|
1379
|
+
patch(request: {
|
|
1380
|
+
/** V1 error format. */
|
|
1381
|
+
"$.xgafv"?:
|
|
1382
|
+
string;
|
|
1383
|
+
/** OAuth access token. */
|
|
1384
|
+
access_token?:
|
|
1385
|
+
string;
|
|
1386
|
+
/** Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored. */
|
|
1387
|
+
allowMissing?:
|
|
1388
|
+
boolean;
|
|
1389
|
+
/** Data format for response. */
|
|
1390
|
+
alt?:
|
|
1391
|
+
string;
|
|
1392
|
+
/** JSONP */
|
|
1393
|
+
callback?:
|
|
1394
|
+
string;
|
|
1395
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1396
|
+
fields?:
|
|
1397
|
+
string;
|
|
1398
|
+
/** 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. */
|
|
1399
|
+
key?:
|
|
1400
|
+
string;
|
|
1401
|
+
/** Full name of this workstation. */
|
|
1402
|
+
name:
|
|
1403
|
+
string;
|
|
1404
|
+
/** OAuth 2.0 token for the current user. */
|
|
1405
|
+
oauth_token?:
|
|
1406
|
+
string;
|
|
1407
|
+
/** Returns response with indentations and line breaks. */
|
|
1408
|
+
prettyPrint?:
|
|
1409
|
+
boolean;
|
|
1410
|
+
/** 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. */
|
|
1411
|
+
quotaUser?:
|
|
1412
|
+
string;
|
|
1413
|
+
/** Required. Mask specifying which fields in the workstation configuration should be updated. */
|
|
1414
|
+
updateMask?:
|
|
1415
|
+
string;
|
|
1416
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1417
|
+
upload_protocol?:
|
|
1418
|
+
string;
|
|
1419
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1420
|
+
uploadType?:
|
|
1421
|
+
string;
|
|
1422
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1423
|
+
validateOnly?:
|
|
1424
|
+
boolean;
|
|
1425
|
+
},
|
|
1426
|
+
body: Workstation): Request<Operation>;
|
|
1427
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1428
|
+
setIamPolicy(request: {
|
|
1429
|
+
/** V1 error format. */
|
|
1430
|
+
"$.xgafv"?:
|
|
1431
|
+
string;
|
|
1432
|
+
/** OAuth access token. */
|
|
1433
|
+
access_token?:
|
|
1434
|
+
string;
|
|
1435
|
+
/** Data format for response. */
|
|
1436
|
+
alt?:
|
|
1437
|
+
string;
|
|
1438
|
+
/** JSONP */
|
|
1439
|
+
callback?:
|
|
1440
|
+
string;
|
|
1441
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1442
|
+
fields?:
|
|
1443
|
+
string;
|
|
1444
|
+
/** 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. */
|
|
1445
|
+
key?:
|
|
1446
|
+
string;
|
|
1447
|
+
/** OAuth 2.0 token for the current user. */
|
|
1448
|
+
oauth_token?:
|
|
1449
|
+
string;
|
|
1450
|
+
/** Returns response with indentations and line breaks. */
|
|
1451
|
+
prettyPrint?:
|
|
1452
|
+
boolean;
|
|
1453
|
+
/** 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. */
|
|
1454
|
+
quotaUser?:
|
|
1455
|
+
string;
|
|
1456
|
+
/**
|
|
1457
|
+
* 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
|
|
1458
|
+
* field.
|
|
1459
|
+
*/
|
|
1460
|
+
resource:
|
|
1461
|
+
string;
|
|
1462
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1463
|
+
upload_protocol?:
|
|
1464
|
+
string;
|
|
1465
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1466
|
+
uploadType?:
|
|
1467
|
+
string;
|
|
1468
|
+
},
|
|
1469
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
1470
|
+
/** Starts running a workstation so that users can connect to it. */
|
|
1471
|
+
start(request: {
|
|
1472
|
+
/** V1 error format. */
|
|
1473
|
+
"$.xgafv"?:
|
|
1474
|
+
string;
|
|
1475
|
+
/** OAuth access token. */
|
|
1476
|
+
access_token?:
|
|
1477
|
+
string;
|
|
1478
|
+
/** Data format for response. */
|
|
1479
|
+
alt?:
|
|
1480
|
+
string;
|
|
1481
|
+
/** JSONP */
|
|
1482
|
+
callback?:
|
|
1483
|
+
string;
|
|
1484
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1485
|
+
fields?:
|
|
1486
|
+
string;
|
|
1487
|
+
/** 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. */
|
|
1488
|
+
key?:
|
|
1489
|
+
string;
|
|
1490
|
+
/** Required. Name of the workstation to start. */
|
|
1491
|
+
name:
|
|
1492
|
+
string;
|
|
1493
|
+
/** OAuth 2.0 token for the current user. */
|
|
1494
|
+
oauth_token?:
|
|
1495
|
+
string;
|
|
1496
|
+
/** Returns response with indentations and line breaks. */
|
|
1497
|
+
prettyPrint?:
|
|
1498
|
+
boolean;
|
|
1499
|
+
/** 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. */
|
|
1500
|
+
quotaUser?:
|
|
1501
|
+
string;
|
|
1502
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1503
|
+
upload_protocol?:
|
|
1504
|
+
string;
|
|
1505
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1506
|
+
uploadType?:
|
|
1507
|
+
string;
|
|
1508
|
+
/** Request body */
|
|
1509
|
+
resource:
|
|
1510
|
+
StartWorkstationRequest;
|
|
1511
|
+
}): Request<Operation>;
|
|
1512
|
+
start(request: {
|
|
1513
|
+
/** V1 error format. */
|
|
1514
|
+
"$.xgafv"?:
|
|
1515
|
+
string;
|
|
1516
|
+
/** OAuth access token. */
|
|
1517
|
+
access_token?:
|
|
1518
|
+
string;
|
|
1519
|
+
/** Data format for response. */
|
|
1520
|
+
alt?:
|
|
1521
|
+
string;
|
|
1522
|
+
/** JSONP */
|
|
1523
|
+
callback?:
|
|
1524
|
+
string;
|
|
1525
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1526
|
+
fields?:
|
|
1527
|
+
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?:
|
|
1530
|
+
string;
|
|
1531
|
+
/** Required. Name of the workstation to start. */
|
|
1532
|
+
name:
|
|
1533
|
+
string;
|
|
1534
|
+
/** OAuth 2.0 token for the current user. */
|
|
1535
|
+
oauth_token?:
|
|
1536
|
+
string;
|
|
1537
|
+
/** Returns response with indentations and line breaks. */
|
|
1538
|
+
prettyPrint?:
|
|
1539
|
+
boolean;
|
|
1540
|
+
/** 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. */
|
|
1541
|
+
quotaUser?:
|
|
1542
|
+
string;
|
|
1543
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1544
|
+
upload_protocol?:
|
|
1545
|
+
string;
|
|
1546
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1547
|
+
uploadType?:
|
|
1548
|
+
string;
|
|
1549
|
+
},
|
|
1550
|
+
body: StartWorkstationRequest): Request<Operation>;
|
|
1551
|
+
/** Stops running a workstation, reducing costs. */
|
|
1552
|
+
stop(request: {
|
|
1553
|
+
/** V1 error format. */
|
|
1554
|
+
"$.xgafv"?:
|
|
1555
|
+
string;
|
|
1556
|
+
/** OAuth access token. */
|
|
1557
|
+
access_token?:
|
|
1558
|
+
string;
|
|
1559
|
+
/** Data format for response. */
|
|
1560
|
+
alt?:
|
|
1561
|
+
string;
|
|
1562
|
+
/** JSONP */
|
|
1563
|
+
callback?:
|
|
1564
|
+
string;
|
|
1565
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1566
|
+
fields?:
|
|
1567
|
+
string;
|
|
1568
|
+
/** 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. */
|
|
1569
|
+
key?:
|
|
1570
|
+
string;
|
|
1571
|
+
/** Required. Name of the workstation to stop. */
|
|
1572
|
+
name:
|
|
1573
|
+
string;
|
|
1574
|
+
/** OAuth 2.0 token for the current user. */
|
|
1575
|
+
oauth_token?:
|
|
1576
|
+
string;
|
|
1577
|
+
/** Returns response with indentations and line breaks. */
|
|
1578
|
+
prettyPrint?:
|
|
1579
|
+
boolean;
|
|
1580
|
+
/** 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. */
|
|
1581
|
+
quotaUser?:
|
|
1582
|
+
string;
|
|
1583
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1584
|
+
upload_protocol?:
|
|
1585
|
+
string;
|
|
1586
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1587
|
+
uploadType?:
|
|
1588
|
+
string;
|
|
1589
|
+
/** Request body */
|
|
1590
|
+
resource:
|
|
1591
|
+
StopWorkstationRequest;
|
|
1592
|
+
}): Request<Operation>;
|
|
1593
|
+
stop(request: {
|
|
1594
|
+
/** V1 error format. */
|
|
1595
|
+
"$.xgafv"?:
|
|
1596
|
+
string;
|
|
1597
|
+
/** OAuth access token. */
|
|
1598
|
+
access_token?:
|
|
1599
|
+
string;
|
|
1600
|
+
/** Data format for response. */
|
|
1601
|
+
alt?:
|
|
1602
|
+
string;
|
|
1603
|
+
/** JSONP */
|
|
1604
|
+
callback?:
|
|
1605
|
+
string;
|
|
1606
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1607
|
+
fields?:
|
|
1608
|
+
string;
|
|
1609
|
+
/** 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. */
|
|
1610
|
+
key?:
|
|
1611
|
+
string;
|
|
1612
|
+
/** Required. Name of the workstation to stop. */
|
|
1613
|
+
name:
|
|
1614
|
+
string;
|
|
1615
|
+
/** OAuth 2.0 token for the current user. */
|
|
1616
|
+
oauth_token?:
|
|
1617
|
+
string;
|
|
1618
|
+
/** Returns response with indentations and line breaks. */
|
|
1619
|
+
prettyPrint?:
|
|
1620
|
+
boolean;
|
|
1621
|
+
/** 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. */
|
|
1622
|
+
quotaUser?:
|
|
1623
|
+
string;
|
|
1624
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1625
|
+
upload_protocol?:
|
|
1626
|
+
string;
|
|
1627
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1628
|
+
uploadType?:
|
|
1629
|
+
string;
|
|
1630
|
+
},
|
|
1631
|
+
body: StopWorkstationRequest): Request<Operation>;
|
|
1632
|
+
/**
|
|
1633
|
+
* 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
|
|
1634
|
+
* 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.
|
|
1635
|
+
*/
|
|
1636
|
+
testIamPermissions(request: {
|
|
1637
|
+
/** V1 error format. */
|
|
1638
|
+
"$.xgafv"?:
|
|
1639
|
+
string;
|
|
1640
|
+
/** OAuth access token. */
|
|
1641
|
+
access_token?:
|
|
1642
|
+
string;
|
|
1643
|
+
/** Data format for response. */
|
|
1644
|
+
alt?:
|
|
1645
|
+
string;
|
|
1646
|
+
/** JSONP */
|
|
1647
|
+
callback?:
|
|
1648
|
+
string;
|
|
1649
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1650
|
+
fields?:
|
|
1651
|
+
string;
|
|
1652
|
+
/** 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. */
|
|
1653
|
+
key?:
|
|
1654
|
+
string;
|
|
1655
|
+
/** OAuth 2.0 token for the current user. */
|
|
1656
|
+
oauth_token?:
|
|
1657
|
+
string;
|
|
1658
|
+
/** Returns response with indentations and line breaks. */
|
|
1659
|
+
prettyPrint?:
|
|
1660
|
+
boolean;
|
|
1661
|
+
/** 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. */
|
|
1662
|
+
quotaUser?:
|
|
1663
|
+
string;
|
|
1664
|
+
/**
|
|
1665
|
+
* 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
|
|
1666
|
+
* this field.
|
|
1667
|
+
*/
|
|
1668
|
+
resource:
|
|
1669
|
+
string;
|
|
1670
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1671
|
+
upload_protocol?:
|
|
1672
|
+
string;
|
|
1673
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1674
|
+
uploadType?:
|
|
1675
|
+
string;
|
|
1676
|
+
},
|
|
1677
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1678
|
+
}
|
|
1679
|
+
interface WorkstationConfigsResource {
|
|
1680
|
+
/** Creates a new workstation configuration. */
|
|
1681
|
+
create(request: {
|
|
1682
|
+
/** V1 error format. */
|
|
1683
|
+
"$.xgafv"?:
|
|
1684
|
+
string;
|
|
1685
|
+
/** OAuth access token. */
|
|
1686
|
+
access_token?:
|
|
1687
|
+
string;
|
|
1688
|
+
/** Data format for response. */
|
|
1689
|
+
alt?:
|
|
1690
|
+
string;
|
|
1691
|
+
/** JSONP */
|
|
1692
|
+
callback?:
|
|
1693
|
+
string;
|
|
1694
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1695
|
+
fields?:
|
|
1696
|
+
string;
|
|
1697
|
+
/** 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. */
|
|
1698
|
+
key?:
|
|
1699
|
+
string;
|
|
1700
|
+
/** OAuth 2.0 token for the current user. */
|
|
1701
|
+
oauth_token?:
|
|
1702
|
+
string;
|
|
1703
|
+
/** Required. Parent resource name. */
|
|
1704
|
+
parent:
|
|
1705
|
+
string;
|
|
1706
|
+
/** Returns response with indentations and line breaks. */
|
|
1707
|
+
prettyPrint?:
|
|
1708
|
+
boolean;
|
|
1709
|
+
/** 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. */
|
|
1710
|
+
quotaUser?:
|
|
1711
|
+
string;
|
|
1712
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1713
|
+
upload_protocol?:
|
|
1714
|
+
string;
|
|
1715
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1716
|
+
uploadType?:
|
|
1717
|
+
string;
|
|
1718
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1719
|
+
validateOnly?:
|
|
1720
|
+
boolean;
|
|
1721
|
+
/** Required. ID to use for the workstation configuration. */
|
|
1722
|
+
workstationConfigId?:
|
|
1723
|
+
string;
|
|
1724
|
+
/** Request body */
|
|
1725
|
+
resource:
|
|
1726
|
+
WorkstationConfig;
|
|
1727
|
+
}): Request<Operation>;
|
|
1728
|
+
create(request: {
|
|
1729
|
+
/** V1 error format. */
|
|
1730
|
+
"$.xgafv"?:
|
|
1731
|
+
string;
|
|
1732
|
+
/** OAuth access token. */
|
|
1733
|
+
access_token?:
|
|
1734
|
+
string;
|
|
1735
|
+
/** Data format for response. */
|
|
1736
|
+
alt?:
|
|
1737
|
+
string;
|
|
1738
|
+
/** JSONP */
|
|
1739
|
+
callback?:
|
|
1740
|
+
string;
|
|
1741
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1742
|
+
fields?:
|
|
1743
|
+
string;
|
|
1744
|
+
/** 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. */
|
|
1745
|
+
key?:
|
|
1746
|
+
string;
|
|
1747
|
+
/** OAuth 2.0 token for the current user. */
|
|
1748
|
+
oauth_token?:
|
|
1749
|
+
string;
|
|
1750
|
+
/** Required. Parent resource name. */
|
|
1751
|
+
parent:
|
|
1752
|
+
string;
|
|
1753
|
+
/** Returns response with indentations and line breaks. */
|
|
1754
|
+
prettyPrint?:
|
|
1755
|
+
boolean;
|
|
1756
|
+
/** 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. */
|
|
1757
|
+
quotaUser?:
|
|
1758
|
+
string;
|
|
1759
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1760
|
+
upload_protocol?:
|
|
1761
|
+
string;
|
|
1762
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1763
|
+
uploadType?:
|
|
1764
|
+
string;
|
|
1765
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1766
|
+
validateOnly?:
|
|
1767
|
+
boolean;
|
|
1768
|
+
/** Required. ID to use for the workstation configuration. */
|
|
1769
|
+
workstationConfigId?:
|
|
1770
|
+
string;
|
|
1771
|
+
},
|
|
1772
|
+
body: WorkstationConfig): Request<Operation>;
|
|
1773
|
+
/** Deletes the specified workstation configuration. */
|
|
1774
|
+
delete(request?: {
|
|
1775
|
+
/** V1 error format. */
|
|
1776
|
+
"$.xgafv"?:
|
|
1777
|
+
string;
|
|
1778
|
+
/** OAuth access token. */
|
|
1779
|
+
access_token?:
|
|
1780
|
+
string;
|
|
1781
|
+
/** Data format for response. */
|
|
1782
|
+
alt?:
|
|
1783
|
+
string;
|
|
1784
|
+
/** JSONP */
|
|
1785
|
+
callback?:
|
|
1786
|
+
string;
|
|
1787
|
+
/** Optional. If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag. */
|
|
1788
|
+
etag?:
|
|
1789
|
+
string;
|
|
1790
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1791
|
+
fields?:
|
|
1792
|
+
string;
|
|
1793
|
+
/** Optional. If set, any workstations in the workstation configuration are also deleted. Otherwise, the request works only if the workstation configuration has no workstations. */
|
|
1794
|
+
force?:
|
|
1795
|
+
boolean;
|
|
1796
|
+
/** 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. */
|
|
1797
|
+
key?:
|
|
1798
|
+
string;
|
|
1799
|
+
/** Required. Name of the workstation configuration to delete. */
|
|
1800
|
+
name:
|
|
1801
|
+
string;
|
|
1802
|
+
/** OAuth 2.0 token for the current user. */
|
|
1803
|
+
oauth_token?:
|
|
1804
|
+
string;
|
|
1805
|
+
/** Returns response with indentations and line breaks. */
|
|
1806
|
+
prettyPrint?:
|
|
1807
|
+
boolean;
|
|
1808
|
+
/** 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. */
|
|
1809
|
+
quotaUser?:
|
|
1810
|
+
string;
|
|
1811
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1812
|
+
upload_protocol?:
|
|
1813
|
+
string;
|
|
1814
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1815
|
+
uploadType?:
|
|
1816
|
+
string;
|
|
1817
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
1818
|
+
validateOnly?:
|
|
1819
|
+
boolean;
|
|
1820
|
+
}): Request<Operation>;
|
|
1821
|
+
/** Returns the requested workstation configuration. */
|
|
1822
|
+
get(request?: {
|
|
1823
|
+
/** V1 error format. */
|
|
1824
|
+
"$.xgafv"?:
|
|
1825
|
+
string;
|
|
1826
|
+
/** OAuth access token. */
|
|
1827
|
+
access_token?:
|
|
1828
|
+
string;
|
|
1829
|
+
/** Data format for response. */
|
|
1830
|
+
alt?:
|
|
1831
|
+
string;
|
|
1832
|
+
/** JSONP */
|
|
1833
|
+
callback?:
|
|
1834
|
+
string;
|
|
1835
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1836
|
+
fields?:
|
|
1837
|
+
string;
|
|
1838
|
+
/** 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. */
|
|
1839
|
+
key?:
|
|
1840
|
+
string;
|
|
1841
|
+
/** Required. Name of the requested resource. */
|
|
1842
|
+
name:
|
|
1843
|
+
string;
|
|
1844
|
+
/** OAuth 2.0 token for the current user. */
|
|
1845
|
+
oauth_token?:
|
|
1846
|
+
string;
|
|
1847
|
+
/** Returns response with indentations and line breaks. */
|
|
1848
|
+
prettyPrint?:
|
|
1849
|
+
boolean;
|
|
1850
|
+
/** 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. */
|
|
1851
|
+
quotaUser?:
|
|
1852
|
+
string;
|
|
1853
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1854
|
+
upload_protocol?:
|
|
1855
|
+
string;
|
|
1856
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1857
|
+
uploadType?:
|
|
1858
|
+
string;
|
|
1859
|
+
}): Request<WorkstationConfig>;
|
|
1860
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1861
|
+
getIamPolicy(request?: {
|
|
1862
|
+
/** V1 error format. */
|
|
1863
|
+
"$.xgafv"?:
|
|
1864
|
+
string;
|
|
1865
|
+
/** OAuth access token. */
|
|
1866
|
+
access_token?:
|
|
1867
|
+
string;
|
|
1868
|
+
/** Data format for response. */
|
|
1869
|
+
alt?:
|
|
1870
|
+
string;
|
|
1871
|
+
/** JSONP */
|
|
1872
|
+
callback?:
|
|
1873
|
+
string;
|
|
1874
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1875
|
+
fields?:
|
|
1876
|
+
string;
|
|
1877
|
+
/** 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. */
|
|
1878
|
+
key?:
|
|
1879
|
+
string;
|
|
1880
|
+
/** OAuth 2.0 token for the current user. */
|
|
1881
|
+
oauth_token?:
|
|
1882
|
+
string;
|
|
1883
|
+
/**
|
|
1884
|
+
* 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
|
|
1885
|
+
* 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
|
|
1886
|
+
* 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
|
|
1887
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1888
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1889
|
+
*/
|
|
1890
|
+
"options.requestedPolicyVersion"?:
|
|
1891
|
+
number;
|
|
1892
|
+
/** Returns response with indentations and line breaks. */
|
|
1893
|
+
prettyPrint?:
|
|
1894
|
+
boolean;
|
|
1895
|
+
/** 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. */
|
|
1896
|
+
quotaUser?:
|
|
1897
|
+
string;
|
|
1898
|
+
/**
|
|
1899
|
+
* 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
|
|
1900
|
+
* field.
|
|
1901
|
+
*/
|
|
1902
|
+
resource:
|
|
1903
|
+
string;
|
|
1904
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1905
|
+
upload_protocol?:
|
|
1906
|
+
string;
|
|
1907
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1908
|
+
uploadType?:
|
|
1909
|
+
string;
|
|
1910
|
+
}): Request<Policy>;
|
|
1911
|
+
/** Returns all workstation configurations in the specified cluster. */
|
|
1912
|
+
list(request?: {
|
|
1913
|
+
/** V1 error format. */
|
|
1914
|
+
"$.xgafv"?:
|
|
1915
|
+
string;
|
|
1916
|
+
/** OAuth access token. */
|
|
1917
|
+
access_token?:
|
|
1918
|
+
string;
|
|
1919
|
+
/** Data format for response. */
|
|
1920
|
+
alt?:
|
|
1921
|
+
string;
|
|
1922
|
+
/** JSONP */
|
|
1923
|
+
callback?:
|
|
1924
|
+
string;
|
|
1925
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1926
|
+
fields?:
|
|
1927
|
+
string;
|
|
1928
|
+
/** 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. */
|
|
1929
|
+
key?:
|
|
1930
|
+
string;
|
|
1931
|
+
/** OAuth 2.0 token for the current user. */
|
|
1932
|
+
oauth_token?:
|
|
1933
|
+
string;
|
|
1934
|
+
/** Optional. Maximum number of items to return. */
|
|
1935
|
+
pageSize?:
|
|
1936
|
+
number;
|
|
1937
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
1938
|
+
pageToken?:
|
|
1939
|
+
string;
|
|
1940
|
+
/** Required. Parent resource name. */
|
|
1941
|
+
parent:
|
|
1942
|
+
string;
|
|
1943
|
+
/** Returns response with indentations and line breaks. */
|
|
1944
|
+
prettyPrint?:
|
|
1945
|
+
boolean;
|
|
1946
|
+
/** 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. */
|
|
1947
|
+
quotaUser?:
|
|
1948
|
+
string;
|
|
1949
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1950
|
+
upload_protocol?:
|
|
1951
|
+
string;
|
|
1952
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1953
|
+
uploadType?:
|
|
1954
|
+
string;
|
|
1955
|
+
}): Request<ListWorkstationConfigsResponse>;
|
|
1956
|
+
/** Returns all workstation configurations in the specified cluster on which the caller has the "workstations.workstation.create" permission. */
|
|
1957
|
+
listUsable(request?: {
|
|
1958
|
+
/** V1 error format. */
|
|
1959
|
+
"$.xgafv"?:
|
|
1960
|
+
string;
|
|
1961
|
+
/** OAuth access token. */
|
|
1962
|
+
access_token?:
|
|
1963
|
+
string;
|
|
1964
|
+
/** Data format for response. */
|
|
1965
|
+
alt?:
|
|
1966
|
+
string;
|
|
1967
|
+
/** JSONP */
|
|
1968
|
+
callback?:
|
|
1969
|
+
string;
|
|
1970
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1971
|
+
fields?:
|
|
1972
|
+
string;
|
|
1973
|
+
/** 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. */
|
|
1974
|
+
key?:
|
|
1975
|
+
string;
|
|
1976
|
+
/** OAuth 2.0 token for the current user. */
|
|
1977
|
+
oauth_token?:
|
|
1978
|
+
string;
|
|
1979
|
+
/** Optional. Maximum number of items to return. */
|
|
1980
|
+
pageSize?:
|
|
1981
|
+
number;
|
|
1982
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
1983
|
+
pageToken?:
|
|
1984
|
+
string;
|
|
1985
|
+
/** Required. Parent resource name. */
|
|
1986
|
+
parent:
|
|
1987
|
+
string;
|
|
1988
|
+
/** Returns response with indentations and line breaks. */
|
|
1989
|
+
prettyPrint?:
|
|
1990
|
+
boolean;
|
|
1991
|
+
/** 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. */
|
|
1992
|
+
quotaUser?:
|
|
1993
|
+
string;
|
|
1994
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1995
|
+
upload_protocol?:
|
|
1996
|
+
string;
|
|
1997
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1998
|
+
uploadType?:
|
|
1999
|
+
string;
|
|
2000
|
+
}): Request<ListUsableWorkstationConfigsResponse>;
|
|
2001
|
+
/** Updates an existing workstation configuration. */
|
|
2002
|
+
patch(request: {
|
|
2003
|
+
/** V1 error format. */
|
|
2004
|
+
"$.xgafv"?:
|
|
2005
|
+
string;
|
|
2006
|
+
/** OAuth access token. */
|
|
2007
|
+
access_token?:
|
|
2008
|
+
string;
|
|
2009
|
+
/** Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
|
|
2010
|
+
allowMissing?:
|
|
2011
|
+
boolean;
|
|
2012
|
+
/** Data format for response. */
|
|
2013
|
+
alt?:
|
|
2014
|
+
string;
|
|
2015
|
+
/** JSONP */
|
|
2016
|
+
callback?:
|
|
2017
|
+
string;
|
|
2018
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2019
|
+
fields?:
|
|
2020
|
+
string;
|
|
2021
|
+
/** 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. */
|
|
2022
|
+
key?:
|
|
2023
|
+
string;
|
|
2024
|
+
/** Full name of this workstation configuration. */
|
|
2025
|
+
name:
|
|
2026
|
+
string;
|
|
2027
|
+
/** OAuth 2.0 token for the current user. */
|
|
2028
|
+
oauth_token?:
|
|
2029
|
+
string;
|
|
2030
|
+
/** Returns response with indentations and line breaks. */
|
|
2031
|
+
prettyPrint?:
|
|
2032
|
+
boolean;
|
|
2033
|
+
/** 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. */
|
|
2034
|
+
quotaUser?:
|
|
2035
|
+
string;
|
|
2036
|
+
/** Required. Mask specifying which fields in the workstation configuration should be updated. */
|
|
2037
|
+
updateMask?:
|
|
2038
|
+
string;
|
|
2039
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2040
|
+
upload_protocol?:
|
|
2041
|
+
string;
|
|
2042
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2043
|
+
uploadType?:
|
|
2044
|
+
string;
|
|
2045
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2046
|
+
validateOnly?:
|
|
2047
|
+
boolean;
|
|
2048
|
+
/** Request body */
|
|
2049
|
+
resource:
|
|
2050
|
+
WorkstationConfig;
|
|
2051
|
+
}): Request<Operation>;
|
|
2052
|
+
patch(request: {
|
|
2053
|
+
/** V1 error format. */
|
|
2054
|
+
"$.xgafv"?:
|
|
2055
|
+
string;
|
|
2056
|
+
/** OAuth access token. */
|
|
2057
|
+
access_token?:
|
|
2058
|
+
string;
|
|
2059
|
+
/** Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored. */
|
|
2060
|
+
allowMissing?:
|
|
2061
|
+
boolean;
|
|
2062
|
+
/** Data format for response. */
|
|
2063
|
+
alt?:
|
|
2064
|
+
string;
|
|
2065
|
+
/** JSONP */
|
|
2066
|
+
callback?:
|
|
2067
|
+
string;
|
|
2068
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2069
|
+
fields?:
|
|
2070
|
+
string;
|
|
2071
|
+
/** 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. */
|
|
2072
|
+
key?:
|
|
2073
|
+
string;
|
|
2074
|
+
/** Full name of this workstation configuration. */
|
|
2075
|
+
name:
|
|
2076
|
+
string;
|
|
2077
|
+
/** OAuth 2.0 token for the current user. */
|
|
2078
|
+
oauth_token?:
|
|
2079
|
+
string;
|
|
2080
|
+
/** Returns response with indentations and line breaks. */
|
|
2081
|
+
prettyPrint?:
|
|
2082
|
+
boolean;
|
|
2083
|
+
/** 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. */
|
|
2084
|
+
quotaUser?:
|
|
2085
|
+
string;
|
|
2086
|
+
/** Required. Mask specifying which fields in the workstation configuration should be updated. */
|
|
2087
|
+
updateMask?:
|
|
2088
|
+
string;
|
|
2089
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2090
|
+
upload_protocol?:
|
|
2091
|
+
string;
|
|
2092
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2093
|
+
uploadType?:
|
|
2094
|
+
string;
|
|
2095
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2096
|
+
validateOnly?:
|
|
2097
|
+
boolean;
|
|
2098
|
+
},
|
|
2099
|
+
body: WorkstationConfig): Request<Operation>;
|
|
2100
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
2101
|
+
setIamPolicy(request: {
|
|
2102
|
+
/** V1 error format. */
|
|
2103
|
+
"$.xgafv"?:
|
|
2104
|
+
string;
|
|
2105
|
+
/** OAuth access token. */
|
|
2106
|
+
access_token?:
|
|
2107
|
+
string;
|
|
2108
|
+
/** Data format for response. */
|
|
2109
|
+
alt?:
|
|
2110
|
+
string;
|
|
2111
|
+
/** JSONP */
|
|
2112
|
+
callback?:
|
|
2113
|
+
string;
|
|
2114
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2115
|
+
fields?:
|
|
2116
|
+
string;
|
|
2117
|
+
/** 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. */
|
|
2118
|
+
key?:
|
|
2119
|
+
string;
|
|
2120
|
+
/** OAuth 2.0 token for the current user. */
|
|
2121
|
+
oauth_token?:
|
|
2122
|
+
string;
|
|
2123
|
+
/** Returns response with indentations and line breaks. */
|
|
2124
|
+
prettyPrint?:
|
|
2125
|
+
boolean;
|
|
2126
|
+
/** 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. */
|
|
2127
|
+
quotaUser?:
|
|
2128
|
+
string;
|
|
2129
|
+
/**
|
|
2130
|
+
* 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
|
|
2131
|
+
* field.
|
|
2132
|
+
*/
|
|
2133
|
+
resource:
|
|
2134
|
+
string;
|
|
2135
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2136
|
+
upload_protocol?:
|
|
2137
|
+
string;
|
|
2138
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2139
|
+
uploadType?:
|
|
2140
|
+
string;
|
|
2141
|
+
},
|
|
2142
|
+
body: SetIamPolicyRequest): Request<Policy>;
|
|
2143
|
+
/**
|
|
2144
|
+
* 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
|
|
2145
|
+
* 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.
|
|
2146
|
+
*/
|
|
2147
|
+
testIamPermissions(request: {
|
|
2148
|
+
/** V1 error format. */
|
|
2149
|
+
"$.xgafv"?:
|
|
2150
|
+
string;
|
|
2151
|
+
/** OAuth access token. */
|
|
2152
|
+
access_token?:
|
|
2153
|
+
string;
|
|
2154
|
+
/** Data format for response. */
|
|
2155
|
+
alt?:
|
|
2156
|
+
string;
|
|
2157
|
+
/** JSONP */
|
|
2158
|
+
callback?:
|
|
2159
|
+
string;
|
|
2160
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2161
|
+
fields?:
|
|
2162
|
+
string;
|
|
2163
|
+
/** 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. */
|
|
2164
|
+
key?:
|
|
2165
|
+
string;
|
|
2166
|
+
/** OAuth 2.0 token for the current user. */
|
|
2167
|
+
oauth_token?:
|
|
2168
|
+
string;
|
|
2169
|
+
/** Returns response with indentations and line breaks. */
|
|
2170
|
+
prettyPrint?:
|
|
2171
|
+
boolean;
|
|
2172
|
+
/** 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. */
|
|
2173
|
+
quotaUser?:
|
|
2174
|
+
string;
|
|
2175
|
+
/**
|
|
2176
|
+
* 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
|
|
2177
|
+
* this field.
|
|
2178
|
+
*/
|
|
2179
|
+
resource:
|
|
2180
|
+
string;
|
|
2181
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2182
|
+
upload_protocol?:
|
|
2183
|
+
string;
|
|
2184
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2185
|
+
uploadType?:
|
|
2186
|
+
string;
|
|
2187
|
+
},
|
|
2188
|
+
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
2189
|
+
workstations:
|
|
2190
|
+
WorkstationsResource;
|
|
2191
|
+
}
|
|
2192
|
+
interface WorkstationClustersResource {
|
|
2193
|
+
/** Creates a new workstation cluster. */
|
|
2194
|
+
create(request: {
|
|
2195
|
+
/** V1 error format. */
|
|
2196
|
+
"$.xgafv"?:
|
|
2197
|
+
string;
|
|
2198
|
+
/** OAuth access token. */
|
|
2199
|
+
access_token?:
|
|
2200
|
+
string;
|
|
2201
|
+
/** Data format for response. */
|
|
2202
|
+
alt?:
|
|
2203
|
+
string;
|
|
2204
|
+
/** JSONP */
|
|
2205
|
+
callback?:
|
|
2206
|
+
string;
|
|
2207
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2208
|
+
fields?:
|
|
2209
|
+
string;
|
|
2210
|
+
/** 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. */
|
|
2211
|
+
key?:
|
|
2212
|
+
string;
|
|
2213
|
+
/** OAuth 2.0 token for the current user. */
|
|
2214
|
+
oauth_token?:
|
|
2215
|
+
string;
|
|
2216
|
+
/** Required. Parent resource name. */
|
|
2217
|
+
parent:
|
|
2218
|
+
string;
|
|
2219
|
+
/** Returns response with indentations and line breaks. */
|
|
2220
|
+
prettyPrint?:
|
|
2221
|
+
boolean;
|
|
2222
|
+
/** 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. */
|
|
2223
|
+
quotaUser?:
|
|
2224
|
+
string;
|
|
2225
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2226
|
+
upload_protocol?:
|
|
2227
|
+
string;
|
|
2228
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2229
|
+
uploadType?:
|
|
2230
|
+
string;
|
|
2231
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2232
|
+
validateOnly?:
|
|
2233
|
+
boolean;
|
|
2234
|
+
/** Required. ID to use for the workstation cluster. */
|
|
2235
|
+
workstationClusterId?:
|
|
2236
|
+
string;
|
|
2237
|
+
/** Request body */
|
|
2238
|
+
resource:
|
|
2239
|
+
WorkstationCluster;
|
|
2240
|
+
}): Request<Operation>;
|
|
2241
|
+
create(request: {
|
|
2242
|
+
/** V1 error format. */
|
|
2243
|
+
"$.xgafv"?:
|
|
2244
|
+
string;
|
|
2245
|
+
/** OAuth access token. */
|
|
2246
|
+
access_token?:
|
|
2247
|
+
string;
|
|
2248
|
+
/** Data format for response. */
|
|
2249
|
+
alt?:
|
|
2250
|
+
string;
|
|
2251
|
+
/** JSONP */
|
|
2252
|
+
callback?:
|
|
2253
|
+
string;
|
|
2254
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2255
|
+
fields?:
|
|
2256
|
+
string;
|
|
2257
|
+
/** 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. */
|
|
2258
|
+
key?:
|
|
2259
|
+
string;
|
|
2260
|
+
/** OAuth 2.0 token for the current user. */
|
|
2261
|
+
oauth_token?:
|
|
2262
|
+
string;
|
|
2263
|
+
/** Required. Parent resource name. */
|
|
2264
|
+
parent:
|
|
2265
|
+
string;
|
|
2266
|
+
/** Returns response with indentations and line breaks. */
|
|
2267
|
+
prettyPrint?:
|
|
2268
|
+
boolean;
|
|
2269
|
+
/** 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. */
|
|
2270
|
+
quotaUser?:
|
|
2271
|
+
string;
|
|
2272
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2273
|
+
upload_protocol?:
|
|
2274
|
+
string;
|
|
2275
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2276
|
+
uploadType?:
|
|
2277
|
+
string;
|
|
2278
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2279
|
+
validateOnly?:
|
|
2280
|
+
boolean;
|
|
2281
|
+
/** Required. ID to use for the workstation cluster. */
|
|
2282
|
+
workstationClusterId?:
|
|
2283
|
+
string;
|
|
2284
|
+
},
|
|
2285
|
+
body: WorkstationCluster): Request<Operation>;
|
|
2286
|
+
/** Deletes the specified workstation cluster. */
|
|
2287
|
+
delete(request?: {
|
|
2288
|
+
/** V1 error format. */
|
|
2289
|
+
"$.xgafv"?:
|
|
2290
|
+
string;
|
|
2291
|
+
/** OAuth access token. */
|
|
2292
|
+
access_token?:
|
|
2293
|
+
string;
|
|
2294
|
+
/** Data format for response. */
|
|
2295
|
+
alt?:
|
|
2296
|
+
string;
|
|
2297
|
+
/** JSONP */
|
|
2298
|
+
callback?:
|
|
2299
|
+
string;
|
|
2300
|
+
/** Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag. */
|
|
2301
|
+
etag?:
|
|
2302
|
+
string;
|
|
2303
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2304
|
+
fields?:
|
|
2305
|
+
string;
|
|
2306
|
+
/**
|
|
2307
|
+
* Optional. If set, any workstation configurations and workstations in the workstation cluster are also deleted. Otherwise, the request only works if the workstation cluster has
|
|
2308
|
+
* no configurations or workstations.
|
|
2309
|
+
*/
|
|
2310
|
+
force?:
|
|
2311
|
+
boolean;
|
|
2312
|
+
/** 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. */
|
|
2313
|
+
key?:
|
|
2314
|
+
string;
|
|
2315
|
+
/** Required. Name of the workstation cluster to delete. */
|
|
2316
|
+
name:
|
|
2317
|
+
string;
|
|
2318
|
+
/** OAuth 2.0 token for the current user. */
|
|
2319
|
+
oauth_token?:
|
|
2320
|
+
string;
|
|
2321
|
+
/** Returns response with indentations and line breaks. */
|
|
2322
|
+
prettyPrint?:
|
|
2323
|
+
boolean;
|
|
2324
|
+
/** 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. */
|
|
2325
|
+
quotaUser?:
|
|
2326
|
+
string;
|
|
2327
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2328
|
+
upload_protocol?:
|
|
2329
|
+
string;
|
|
2330
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2331
|
+
uploadType?:
|
|
2332
|
+
string;
|
|
2333
|
+
/** Optional. If set, validate the request and preview the review, but do not apply it. */
|
|
2334
|
+
validateOnly?:
|
|
2335
|
+
boolean;
|
|
2336
|
+
}): Request<Operation>;
|
|
2337
|
+
/** Returns the requested workstation cluster. */
|
|
2338
|
+
get(request?: {
|
|
2339
|
+
/** V1 error format. */
|
|
2340
|
+
"$.xgafv"?:
|
|
2341
|
+
string;
|
|
2342
|
+
/** OAuth access token. */
|
|
2343
|
+
access_token?:
|
|
2344
|
+
string;
|
|
2345
|
+
/** Data format for response. */
|
|
2346
|
+
alt?:
|
|
2347
|
+
string;
|
|
2348
|
+
/** JSONP */
|
|
2349
|
+
callback?:
|
|
2350
|
+
string;
|
|
2351
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2352
|
+
fields?:
|
|
2353
|
+
string;
|
|
2354
|
+
/** 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. */
|
|
2355
|
+
key?:
|
|
2356
|
+
string;
|
|
2357
|
+
/** Required. Name of the requested resource. */
|
|
2358
|
+
name:
|
|
2359
|
+
string;
|
|
2360
|
+
/** OAuth 2.0 token for the current user. */
|
|
2361
|
+
oauth_token?:
|
|
2362
|
+
string;
|
|
2363
|
+
/** Returns response with indentations and line breaks. */
|
|
2364
|
+
prettyPrint?:
|
|
2365
|
+
boolean;
|
|
2366
|
+
/** 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. */
|
|
2367
|
+
quotaUser?:
|
|
2368
|
+
string;
|
|
2369
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2370
|
+
upload_protocol?:
|
|
2371
|
+
string;
|
|
2372
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2373
|
+
uploadType?:
|
|
2374
|
+
string;
|
|
2375
|
+
}): Request<WorkstationCluster>;
|
|
2376
|
+
/** Returns all workstation clusters in the specified location. */
|
|
2377
|
+
list(request?: {
|
|
2378
|
+
/** V1 error format. */
|
|
2379
|
+
"$.xgafv"?:
|
|
2380
|
+
string;
|
|
2381
|
+
/** OAuth access token. */
|
|
2382
|
+
access_token?:
|
|
2383
|
+
string;
|
|
2384
|
+
/** Data format for response. */
|
|
2385
|
+
alt?:
|
|
2386
|
+
string;
|
|
2387
|
+
/** JSONP */
|
|
2388
|
+
callback?:
|
|
2389
|
+
string;
|
|
2390
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2391
|
+
fields?:
|
|
2392
|
+
string;
|
|
2393
|
+
/** 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. */
|
|
2394
|
+
key?:
|
|
2395
|
+
string;
|
|
2396
|
+
/** OAuth 2.0 token for the current user. */
|
|
2397
|
+
oauth_token?:
|
|
2398
|
+
string;
|
|
2399
|
+
/** Optional. Maximum number of items to return. */
|
|
2400
|
+
pageSize?:
|
|
2401
|
+
number;
|
|
2402
|
+
/** Optional. next_page_token value returned from a previous List request, if any. */
|
|
2403
|
+
pageToken?:
|
|
2404
|
+
string;
|
|
2405
|
+
/** Required. Parent resource name. */
|
|
2406
|
+
parent:
|
|
2407
|
+
string;
|
|
2408
|
+
/** Returns response with indentations and line breaks. */
|
|
2409
|
+
prettyPrint?:
|
|
2410
|
+
boolean;
|
|
2411
|
+
/** 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. */
|
|
2412
|
+
quotaUser?:
|
|
2413
|
+
string;
|
|
2414
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2415
|
+
upload_protocol?:
|
|
2416
|
+
string;
|
|
2417
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2418
|
+
uploadType?:
|
|
2419
|
+
string;
|
|
2420
|
+
}): Request<ListWorkstationClustersResponse>;
|
|
2421
|
+
/** Updates an existing workstation cluster. */
|
|
2422
|
+
patch(request: {
|
|
2423
|
+
/** V1 error format. */
|
|
2424
|
+
"$.xgafv"?:
|
|
2425
|
+
string;
|
|
2426
|
+
/** OAuth access token. */
|
|
2427
|
+
access_token?:
|
|
2428
|
+
string;
|
|
2429
|
+
/** Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
|
|
2430
|
+
allowMissing?:
|
|
2431
|
+
boolean;
|
|
2432
|
+
/** Data format for response. */
|
|
2433
|
+
alt?:
|
|
2434
|
+
string;
|
|
2435
|
+
/** JSONP */
|
|
2436
|
+
callback?:
|
|
2437
|
+
string;
|
|
2438
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2439
|
+
fields?:
|
|
2440
|
+
string;
|
|
2441
|
+
/** 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. */
|
|
2442
|
+
key?:
|
|
2443
|
+
string;
|
|
2444
|
+
/** Full name of this workstation cluster. */
|
|
2445
|
+
name:
|
|
2446
|
+
string;
|
|
2447
|
+
/** OAuth 2.0 token for the current user. */
|
|
2448
|
+
oauth_token?:
|
|
2449
|
+
string;
|
|
2450
|
+
/** Returns response with indentations and line breaks. */
|
|
2451
|
+
prettyPrint?:
|
|
2452
|
+
boolean;
|
|
2453
|
+
/** 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. */
|
|
2454
|
+
quotaUser?:
|
|
2455
|
+
string;
|
|
2456
|
+
/** Required. Mask that specifies which fields in the workstation cluster should be updated. */
|
|
2457
|
+
updateMask?:
|
|
2458
|
+
string;
|
|
2459
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2460
|
+
upload_protocol?:
|
|
2461
|
+
string;
|
|
2462
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2463
|
+
uploadType?:
|
|
2464
|
+
string;
|
|
2465
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2466
|
+
validateOnly?:
|
|
2467
|
+
boolean;
|
|
2468
|
+
/** Request body */
|
|
2469
|
+
resource:
|
|
2470
|
+
WorkstationCluster;
|
|
2471
|
+
}): Request<Operation>;
|
|
2472
|
+
patch(request: {
|
|
2473
|
+
/** V1 error format. */
|
|
2474
|
+
"$.xgafv"?:
|
|
2475
|
+
string;
|
|
2476
|
+
/** OAuth access token. */
|
|
2477
|
+
access_token?:
|
|
2478
|
+
string;
|
|
2479
|
+
/** Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored. */
|
|
2480
|
+
allowMissing?:
|
|
2481
|
+
boolean;
|
|
2482
|
+
/** Data format for response. */
|
|
2483
|
+
alt?:
|
|
2484
|
+
string;
|
|
2485
|
+
/** JSONP */
|
|
2486
|
+
callback?:
|
|
2487
|
+
string;
|
|
2488
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2489
|
+
fields?:
|
|
2490
|
+
string;
|
|
2491
|
+
/** 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. */
|
|
2492
|
+
key?:
|
|
2493
|
+
string;
|
|
2494
|
+
/** Full name of this workstation cluster. */
|
|
2495
|
+
name:
|
|
2496
|
+
string;
|
|
2497
|
+
/** OAuth 2.0 token for the current user. */
|
|
2498
|
+
oauth_token?:
|
|
2499
|
+
string;
|
|
2500
|
+
/** Returns response with indentations and line breaks. */
|
|
2501
|
+
prettyPrint?:
|
|
2502
|
+
boolean;
|
|
2503
|
+
/** 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. */
|
|
2504
|
+
quotaUser?:
|
|
2505
|
+
string;
|
|
2506
|
+
/** Required. Mask that specifies which fields in the workstation cluster should be updated. */
|
|
2507
|
+
updateMask?:
|
|
2508
|
+
string;
|
|
2509
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2510
|
+
upload_protocol?:
|
|
2511
|
+
string;
|
|
2512
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2513
|
+
uploadType?:
|
|
2514
|
+
string;
|
|
2515
|
+
/** Optional. If set, validate the request and preview the review, but do not actually apply it. */
|
|
2516
|
+
validateOnly?:
|
|
2517
|
+
boolean;
|
|
2518
|
+
},
|
|
2519
|
+
body: WorkstationCluster): Request<Operation>;
|
|
2520
|
+
workstationConfigs:
|
|
2521
|
+
WorkstationConfigsResource;
|
|
2522
|
+
}
|
|
2523
|
+
interface LocationsResource {
|
|
2524
|
+
/** Gets information about a location. */
|
|
2525
|
+
get(request?: {
|
|
2526
|
+
/** V1 error format. */
|
|
2527
|
+
"$.xgafv"?:
|
|
2528
|
+
string;
|
|
2529
|
+
/** OAuth access token. */
|
|
2530
|
+
access_token?:
|
|
2531
|
+
string;
|
|
2532
|
+
/** Data format for response. */
|
|
2533
|
+
alt?:
|
|
2534
|
+
string;
|
|
2535
|
+
/** JSONP */
|
|
2536
|
+
callback?:
|
|
2537
|
+
string;
|
|
2538
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2539
|
+
fields?:
|
|
2540
|
+
string;
|
|
2541
|
+
/** 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. */
|
|
2542
|
+
key?:
|
|
2543
|
+
string;
|
|
2544
|
+
/** Resource name for the location. */
|
|
2545
|
+
name:
|
|
2546
|
+
string;
|
|
2547
|
+
/** OAuth 2.0 token for the current user. */
|
|
2548
|
+
oauth_token?:
|
|
2549
|
+
string;
|
|
2550
|
+
/** Returns response with indentations and line breaks. */
|
|
2551
|
+
prettyPrint?:
|
|
2552
|
+
boolean;
|
|
2553
|
+
/** 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. */
|
|
2554
|
+
quotaUser?:
|
|
2555
|
+
string;
|
|
2556
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2557
|
+
upload_protocol?:
|
|
2558
|
+
string;
|
|
2559
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2560
|
+
uploadType?:
|
|
2561
|
+
string;
|
|
2562
|
+
}): Request<Location>;
|
|
2563
|
+
/** Lists information about the supported locations for this service. */
|
|
2564
|
+
list(request?: {
|
|
2565
|
+
/** V1 error format. */
|
|
2566
|
+
"$.xgafv"?:
|
|
2567
|
+
string;
|
|
2568
|
+
/** OAuth access token. */
|
|
2569
|
+
access_token?:
|
|
2570
|
+
string;
|
|
2571
|
+
/** Data format for response. */
|
|
2572
|
+
alt?:
|
|
2573
|
+
string;
|
|
2574
|
+
/** JSONP */
|
|
2575
|
+
callback?:
|
|
2576
|
+
string;
|
|
2577
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2578
|
+
fields?:
|
|
2579
|
+
string;
|
|
2580
|
+
/**
|
|
2581
|
+
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
|
|
2582
|
+
* [AIP-160](https://google.aip.dev/160).
|
|
2583
|
+
*/
|
|
2584
|
+
filter?:
|
|
2585
|
+
string;
|
|
2586
|
+
/** 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. */
|
|
2587
|
+
key?:
|
|
2588
|
+
string;
|
|
2589
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
2590
|
+
name:
|
|
2591
|
+
string;
|
|
2592
|
+
/** OAuth 2.0 token for the current user. */
|
|
2593
|
+
oauth_token?:
|
|
2594
|
+
string;
|
|
2595
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
2596
|
+
pageSize?:
|
|
2597
|
+
number;
|
|
2598
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
2599
|
+
pageToken?:
|
|
2600
|
+
string;
|
|
2601
|
+
/** Returns response with indentations and line breaks. */
|
|
2602
|
+
prettyPrint?:
|
|
2603
|
+
boolean;
|
|
2604
|
+
/** 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. */
|
|
2605
|
+
quotaUser?:
|
|
2606
|
+
string;
|
|
2607
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2608
|
+
upload_protocol?:
|
|
2609
|
+
string;
|
|
2610
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2611
|
+
uploadType?:
|
|
2612
|
+
string;
|
|
2613
|
+
}): Request<ListLocationsResponse>;
|
|
2614
|
+
operations:
|
|
2615
|
+
OperationsResource;
|
|
2616
|
+
workstationClusters:
|
|
2617
|
+
WorkstationClustersResource;
|
|
2618
|
+
}
|
|
2619
|
+
interface ProjectsResource {
|
|
2620
|
+
locations:
|
|
2621
|
+
LocationsResource;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
const projects: ProjectsResource;
|
|
2625
|
+
}
|
|
2626
|
+
}
|