google-apis-workstations_v1beta 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google/apis/workstations_v1beta/classes.rb +1507 -0
- data/lib/google/apis/workstations_v1beta/gem_version.rb +28 -0
- data/lib/google/apis/workstations_v1beta/representations.rb +584 -0
- data/lib/google/apis/workstations_v1beta/service.rb +1201 -0
- data/lib/google/apis/workstations_v1beta.rb +36 -0
- data/lib/google-apis-workstations_v1beta.rb +15 -0
- metadata +82 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Apis
|
17
|
+
module WorkstationsV1beta
|
18
|
+
# Version of the google-apis-workstations_v1beta gem
|
19
|
+
GEM_VERSION = "0.1.0"
|
20
|
+
|
21
|
+
# Version of the code generator used to generate this client
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
|
+
|
24
|
+
# Revision of the discovery document this client was generated from
|
25
|
+
REVISION = "20221214"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,584 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module WorkstationsV1beta
|
24
|
+
|
25
|
+
class AuditConfig
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AuditLogConfig
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Binding
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class CancelOperationRequest
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Container
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Empty
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class Expr
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GceConfidentialInstanceConfig
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GceInstance
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GceRegionalPersistentDisk
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GceShieldedInstanceConfig
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GenerateAccessTokenRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GenerateAccessTokenResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class Host
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class ListOperationsResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class ListUsableWorkstationConfigsResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class ListUsableWorkstationsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ListWorkstationClustersResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class ListWorkstationConfigsResponse
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class ListWorkstationsResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class Operation
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class OperationMetadata
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class PersistentDirectory
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class Policy
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class PrivateClusterConfig
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class SetIamPolicyRequest
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class StartWorkstationRequest
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class Status
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class StopWorkstationRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class TestIamPermissionsRequest
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class TestIamPermissionsResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class Workstation
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class WorkstationCluster
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class WorkstationConfig
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class AuditConfig
|
230
|
+
# @private
|
231
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
232
|
+
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::WorkstationsV1beta::AuditLogConfig, decorator: Google::Apis::WorkstationsV1beta::AuditLogConfig::Representation
|
233
|
+
|
234
|
+
property :service, as: 'service'
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class AuditLogConfig
|
239
|
+
# @private
|
240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
241
|
+
collection :exempted_members, as: 'exemptedMembers'
|
242
|
+
property :log_type, as: 'logType'
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
246
|
+
class Binding
|
247
|
+
# @private
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
249
|
+
property :condition, as: 'condition', class: Google::Apis::WorkstationsV1beta::Expr, decorator: Google::Apis::WorkstationsV1beta::Expr::Representation
|
250
|
+
|
251
|
+
collection :members, as: 'members'
|
252
|
+
property :role, as: 'role'
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
class CancelOperationRequest
|
257
|
+
# @private
|
258
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
259
|
+
end
|
260
|
+
end
|
261
|
+
|
262
|
+
class Container
|
263
|
+
# @private
|
264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
265
|
+
collection :args, as: 'args'
|
266
|
+
collection :command, as: 'command'
|
267
|
+
hash :env, as: 'env'
|
268
|
+
property :image, as: 'image'
|
269
|
+
property :run_as_user, as: 'runAsUser'
|
270
|
+
property :working_dir, as: 'workingDir'
|
271
|
+
end
|
272
|
+
end
|
273
|
+
|
274
|
+
class Empty
|
275
|
+
# @private
|
276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class Expr
|
281
|
+
# @private
|
282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
283
|
+
property :description, as: 'description'
|
284
|
+
property :expression, as: 'expression'
|
285
|
+
property :location, as: 'location'
|
286
|
+
property :title, as: 'title'
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
class GceConfidentialInstanceConfig
|
291
|
+
# @private
|
292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
293
|
+
property :enable_confidential_compute, as: 'enableConfidentialCompute'
|
294
|
+
end
|
295
|
+
end
|
296
|
+
|
297
|
+
class GceInstance
|
298
|
+
# @private
|
299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
300
|
+
property :boot_disk_size_gb, as: 'bootDiskSizeGb'
|
301
|
+
property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig::Representation
|
302
|
+
|
303
|
+
property :disable_public_ip_addresses, as: 'disablePublicIpAddresses'
|
304
|
+
property :machine_type, as: 'machineType'
|
305
|
+
property :pool_size, as: 'poolSize'
|
306
|
+
property :service_account, as: 'serviceAccount'
|
307
|
+
property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig::Representation
|
308
|
+
|
309
|
+
collection :tags, as: 'tags'
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
class GceRegionalPersistentDisk
|
314
|
+
# @private
|
315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
316
|
+
property :disk_type, as: 'diskType'
|
317
|
+
property :fs_type, as: 'fsType'
|
318
|
+
property :reclaim_policy, as: 'reclaimPolicy'
|
319
|
+
property :size_gb, as: 'sizeGb'
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
class GceShieldedInstanceConfig
|
324
|
+
# @private
|
325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
+
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
327
|
+
property :enable_secure_boot, as: 'enableSecureBoot'
|
328
|
+
property :enable_vtpm, as: 'enableVtpm'
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
class GenerateAccessTokenRequest
|
333
|
+
# @private
|
334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
335
|
+
property :expire_time, as: 'expireTime'
|
336
|
+
property :ttl, as: 'ttl'
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
class GenerateAccessTokenResponse
|
341
|
+
# @private
|
342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
343
|
+
property :access_token, as: 'accessToken'
|
344
|
+
property :expire_time, as: 'expireTime'
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
class Host
|
349
|
+
# @private
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
351
|
+
property :gce_instance, as: 'gceInstance', class: Google::Apis::WorkstationsV1beta::GceInstance, decorator: Google::Apis::WorkstationsV1beta::GceInstance::Representation
|
352
|
+
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
class ListOperationsResponse
|
357
|
+
# @private
|
358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
359
|
+
property :next_page_token, as: 'nextPageToken'
|
360
|
+
collection :operations, as: 'operations', class: Google::Apis::WorkstationsV1beta::Operation, decorator: Google::Apis::WorkstationsV1beta::Operation::Representation
|
361
|
+
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
365
|
+
class ListUsableWorkstationConfigsResponse
|
366
|
+
# @private
|
367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
368
|
+
property :next_page_token, as: 'nextPageToken'
|
369
|
+
collection :unreachable, as: 'unreachable'
|
370
|
+
collection :workstation_configs, as: 'workstationConfigs', class: Google::Apis::WorkstationsV1beta::WorkstationConfig, decorator: Google::Apis::WorkstationsV1beta::WorkstationConfig::Representation
|
371
|
+
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
class ListUsableWorkstationsResponse
|
376
|
+
# @private
|
377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
378
|
+
property :next_page_token, as: 'nextPageToken'
|
379
|
+
collection :unreachable, as: 'unreachable'
|
380
|
+
collection :workstations, as: 'workstations', class: Google::Apis::WorkstationsV1beta::Workstation, decorator: Google::Apis::WorkstationsV1beta::Workstation::Representation
|
381
|
+
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
385
|
+
class ListWorkstationClustersResponse
|
386
|
+
# @private
|
387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
388
|
+
property :next_page_token, as: 'nextPageToken'
|
389
|
+
collection :unreachable, as: 'unreachable'
|
390
|
+
collection :workstation_clusters, as: 'workstationClusters', class: Google::Apis::WorkstationsV1beta::WorkstationCluster, decorator: Google::Apis::WorkstationsV1beta::WorkstationCluster::Representation
|
391
|
+
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
class ListWorkstationConfigsResponse
|
396
|
+
# @private
|
397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
property :next_page_token, as: 'nextPageToken'
|
399
|
+
collection :unreachable, as: 'unreachable'
|
400
|
+
collection :workstation_configs, as: 'workstationConfigs', class: Google::Apis::WorkstationsV1beta::WorkstationConfig, decorator: Google::Apis::WorkstationsV1beta::WorkstationConfig::Representation
|
401
|
+
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
class ListWorkstationsResponse
|
406
|
+
# @private
|
407
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
408
|
+
property :next_page_token, as: 'nextPageToken'
|
409
|
+
collection :unreachable, as: 'unreachable'
|
410
|
+
collection :workstations, as: 'workstations', class: Google::Apis::WorkstationsV1beta::Workstation, decorator: Google::Apis::WorkstationsV1beta::Workstation::Representation
|
411
|
+
|
412
|
+
end
|
413
|
+
end
|
414
|
+
|
415
|
+
class Operation
|
416
|
+
# @private
|
417
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
418
|
+
property :done, as: 'done'
|
419
|
+
property :error, as: 'error', class: Google::Apis::WorkstationsV1beta::Status, decorator: Google::Apis::WorkstationsV1beta::Status::Representation
|
420
|
+
|
421
|
+
hash :metadata, as: 'metadata'
|
422
|
+
property :name, as: 'name'
|
423
|
+
hash :response, as: 'response'
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
class OperationMetadata
|
428
|
+
# @private
|
429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
430
|
+
property :api_version, as: 'apiVersion'
|
431
|
+
property :cancel_requested, as: 'cancelRequested'
|
432
|
+
property :create_time, as: 'createTime'
|
433
|
+
property :end_time, as: 'endTime'
|
434
|
+
property :status_detail, as: 'statusDetail'
|
435
|
+
property :target, as: 'target'
|
436
|
+
property :verb, as: 'verb'
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
class PersistentDirectory
|
441
|
+
# @private
|
442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
443
|
+
property :gce_pd, as: 'gcePd', class: Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk, decorator: Google::Apis::WorkstationsV1beta::GceRegionalPersistentDisk::Representation
|
444
|
+
|
445
|
+
property :mount_path, as: 'mountPath'
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
class Policy
|
450
|
+
# @private
|
451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
452
|
+
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::WorkstationsV1beta::AuditConfig, decorator: Google::Apis::WorkstationsV1beta::AuditConfig::Representation
|
453
|
+
|
454
|
+
collection :bindings, as: 'bindings', class: Google::Apis::WorkstationsV1beta::Binding, decorator: Google::Apis::WorkstationsV1beta::Binding::Representation
|
455
|
+
|
456
|
+
property :etag, :base64 => true, as: 'etag'
|
457
|
+
property :version, as: 'version'
|
458
|
+
end
|
459
|
+
end
|
460
|
+
|
461
|
+
class PrivateClusterConfig
|
462
|
+
# @private
|
463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
464
|
+
property :cluster_hostname, as: 'clusterHostname'
|
465
|
+
property :enable_private_endpoint, as: 'enablePrivateEndpoint'
|
466
|
+
property :service_attachment_uri, as: 'serviceAttachmentUri'
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
470
|
+
class SetIamPolicyRequest
|
471
|
+
# @private
|
472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
473
|
+
property :policy, as: 'policy', class: Google::Apis::WorkstationsV1beta::Policy, decorator: Google::Apis::WorkstationsV1beta::Policy::Representation
|
474
|
+
|
475
|
+
property :update_mask, as: 'updateMask'
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
class StartWorkstationRequest
|
480
|
+
# @private
|
481
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
482
|
+
property :etag, as: 'etag'
|
483
|
+
property :validate_only, as: 'validateOnly'
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
class Status
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
property :code, as: 'code'
|
491
|
+
collection :details, as: 'details'
|
492
|
+
property :message, as: 'message'
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
class StopWorkstationRequest
|
497
|
+
# @private
|
498
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
499
|
+
property :etag, as: 'etag'
|
500
|
+
property :validate_only, as: 'validateOnly'
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
class TestIamPermissionsRequest
|
505
|
+
# @private
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
507
|
+
collection :permissions, as: 'permissions'
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
class TestIamPermissionsResponse
|
512
|
+
# @private
|
513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
514
|
+
collection :permissions, as: 'permissions'
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
class Workstation
|
519
|
+
# @private
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
521
|
+
hash :annotations, as: 'annotations'
|
522
|
+
property :create_time, as: 'createTime'
|
523
|
+
property :delete_time, as: 'deleteTime'
|
524
|
+
property :display_name, as: 'displayName'
|
525
|
+
property :etag, as: 'etag'
|
526
|
+
property :host, as: 'host'
|
527
|
+
property :name, as: 'name'
|
528
|
+
property :reconciling, as: 'reconciling'
|
529
|
+
property :state, as: 'state'
|
530
|
+
property :uid, as: 'uid'
|
531
|
+
property :update_time, as: 'updateTime'
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
class WorkstationCluster
|
536
|
+
# @private
|
537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
538
|
+
hash :annotations, as: 'annotations'
|
539
|
+
collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1beta::Status, decorator: Google::Apis::WorkstationsV1beta::Status::Representation
|
540
|
+
|
541
|
+
property :create_time, as: 'createTime'
|
542
|
+
property :degraded, as: 'degraded'
|
543
|
+
property :delete_time, as: 'deleteTime'
|
544
|
+
property :display_name, as: 'displayName'
|
545
|
+
property :etag, as: 'etag'
|
546
|
+
property :name, as: 'name'
|
547
|
+
property :network, as: 'network'
|
548
|
+
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::WorkstationsV1beta::PrivateClusterConfig, decorator: Google::Apis::WorkstationsV1beta::PrivateClusterConfig::Representation
|
549
|
+
|
550
|
+
property :reconciling, as: 'reconciling'
|
551
|
+
property :subnetwork, as: 'subnetwork'
|
552
|
+
property :uid, as: 'uid'
|
553
|
+
property :update_time, as: 'updateTime'
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
class WorkstationConfig
|
558
|
+
# @private
|
559
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
560
|
+
hash :annotations, as: 'annotations'
|
561
|
+
collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1beta::Status, decorator: Google::Apis::WorkstationsV1beta::Status::Representation
|
562
|
+
|
563
|
+
property :container, as: 'container', class: Google::Apis::WorkstationsV1beta::Container, decorator: Google::Apis::WorkstationsV1beta::Container::Representation
|
564
|
+
|
565
|
+
property :create_time, as: 'createTime'
|
566
|
+
property :degraded, as: 'degraded'
|
567
|
+
property :delete_time, as: 'deleteTime'
|
568
|
+
property :display_name, as: 'displayName'
|
569
|
+
property :etag, as: 'etag'
|
570
|
+
property :host, as: 'host', class: Google::Apis::WorkstationsV1beta::Host, decorator: Google::Apis::WorkstationsV1beta::Host::Representation
|
571
|
+
|
572
|
+
property :idle_timeout, as: 'idleTimeout'
|
573
|
+
property :name, as: 'name'
|
574
|
+
collection :persistent_directories, as: 'persistentDirectories', class: Google::Apis::WorkstationsV1beta::PersistentDirectory, decorator: Google::Apis::WorkstationsV1beta::PersistentDirectory::Representation
|
575
|
+
|
576
|
+
property :reconciling, as: 'reconciling'
|
577
|
+
property :running_timeout, as: 'runningTimeout'
|
578
|
+
property :uid, as: 'uid'
|
579
|
+
property :update_time, as: 'updateTime'
|
580
|
+
end
|
581
|
+
end
|
582
|
+
end
|
583
|
+
end
|
584
|
+
end
|