google-apis-workstations_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 WorkstationsV1
18
+ # Version of the google-apis-workstations_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.12.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20230904"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,659 @@
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 WorkstationsV1
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 CustomerEncryptionKey
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 GoogleProtobufEmpty
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Host
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ListLocationsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListOperationsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListUsableWorkstationConfigsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListUsableWorkstationsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListWorkstationClustersResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListWorkstationConfigsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListWorkstationsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Location
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Operation
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class OperationMetadata
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class PersistentDirectory
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Policy
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class PrivateClusterConfig
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ReadinessCheck
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class SetIamPolicyRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class StartWorkstationRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Status
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class StopWorkstationRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class TestIamPermissionsRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class TestIamPermissionsResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Workstation
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class WorkstationCluster
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class WorkstationConfig
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class AuditConfig
254
+ # @private
255
+ class Representation < Google::Apis::Core::JsonRepresentation
256
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::WorkstationsV1::AuditLogConfig, decorator: Google::Apis::WorkstationsV1::AuditLogConfig::Representation
257
+
258
+ property :service, as: 'service'
259
+ end
260
+ end
261
+
262
+ class AuditLogConfig
263
+ # @private
264
+ class Representation < Google::Apis::Core::JsonRepresentation
265
+ collection :exempted_members, as: 'exemptedMembers'
266
+ property :log_type, as: 'logType'
267
+ end
268
+ end
269
+
270
+ class Binding
271
+ # @private
272
+ class Representation < Google::Apis::Core::JsonRepresentation
273
+ property :condition, as: 'condition', class: Google::Apis::WorkstationsV1::Expr, decorator: Google::Apis::WorkstationsV1::Expr::Representation
274
+
275
+ collection :members, as: 'members'
276
+ property :role, as: 'role'
277
+ end
278
+ end
279
+
280
+ class CancelOperationRequest
281
+ # @private
282
+ class Representation < Google::Apis::Core::JsonRepresentation
283
+ end
284
+ end
285
+
286
+ class Container
287
+ # @private
288
+ class Representation < Google::Apis::Core::JsonRepresentation
289
+ collection :args, as: 'args'
290
+ collection :command, as: 'command'
291
+ hash :env, as: 'env'
292
+ property :image, as: 'image'
293
+ property :run_as_user, as: 'runAsUser'
294
+ property :working_dir, as: 'workingDir'
295
+ end
296
+ end
297
+
298
+ class CustomerEncryptionKey
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ property :kms_key, as: 'kmsKey'
302
+ property :kms_key_service_account, as: 'kmsKeyServiceAccount'
303
+ end
304
+ end
305
+
306
+ class Expr
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :description, as: 'description'
310
+ property :expression, as: 'expression'
311
+ property :location, as: 'location'
312
+ property :title, as: 'title'
313
+ end
314
+ end
315
+
316
+ class GceConfidentialInstanceConfig
317
+ # @private
318
+ class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :enable_confidential_compute, as: 'enableConfidentialCompute'
320
+ end
321
+ end
322
+
323
+ class GceInstance
324
+ # @private
325
+ class Representation < Google::Apis::Core::JsonRepresentation
326
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
327
+ property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::WorkstationsV1::GceConfidentialInstanceConfig, decorator: Google::Apis::WorkstationsV1::GceConfidentialInstanceConfig::Representation
328
+
329
+ property :disable_public_ip_addresses, as: 'disablePublicIpAddresses'
330
+ property :enable_nested_virtualization, as: 'enableNestedVirtualization'
331
+ property :machine_type, as: 'machineType'
332
+ property :pool_size, as: 'poolSize'
333
+ property :pooled_instances, as: 'pooledInstances'
334
+ property :service_account, as: 'serviceAccount'
335
+ collection :service_account_scopes, as: 'serviceAccountScopes'
336
+ property :shielded_instance_config, as: 'shieldedInstanceConfig', class: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig, decorator: Google::Apis::WorkstationsV1::GceShieldedInstanceConfig::Representation
337
+
338
+ collection :tags, as: 'tags'
339
+ end
340
+ end
341
+
342
+ class GceRegionalPersistentDisk
343
+ # @private
344
+ class Representation < Google::Apis::Core::JsonRepresentation
345
+ property :disk_type, as: 'diskType'
346
+ property :fs_type, as: 'fsType'
347
+ property :reclaim_policy, as: 'reclaimPolicy'
348
+ property :size_gb, as: 'sizeGb'
349
+ property :source_snapshot, as: 'sourceSnapshot'
350
+ end
351
+ end
352
+
353
+ class GceShieldedInstanceConfig
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
357
+ property :enable_secure_boot, as: 'enableSecureBoot'
358
+ property :enable_vtpm, as: 'enableVtpm'
359
+ end
360
+ end
361
+
362
+ class GenerateAccessTokenRequest
363
+ # @private
364
+ class Representation < Google::Apis::Core::JsonRepresentation
365
+ property :expire_time, as: 'expireTime'
366
+ property :ttl, as: 'ttl'
367
+ end
368
+ end
369
+
370
+ class GenerateAccessTokenResponse
371
+ # @private
372
+ class Representation < Google::Apis::Core::JsonRepresentation
373
+ property :access_token, as: 'accessToken'
374
+ property :expire_time, as: 'expireTime'
375
+ end
376
+ end
377
+
378
+ class GoogleProtobufEmpty
379
+ # @private
380
+ class Representation < Google::Apis::Core::JsonRepresentation
381
+ end
382
+ end
383
+
384
+ class Host
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ property :gce_instance, as: 'gceInstance', class: Google::Apis::WorkstationsV1::GceInstance, decorator: Google::Apis::WorkstationsV1::GceInstance::Representation
388
+
389
+ end
390
+ end
391
+
392
+ class ListLocationsResponse
393
+ # @private
394
+ class Representation < Google::Apis::Core::JsonRepresentation
395
+ collection :locations, as: 'locations', class: Google::Apis::WorkstationsV1::Location, decorator: Google::Apis::WorkstationsV1::Location::Representation
396
+
397
+ property :next_page_token, as: 'nextPageToken'
398
+ end
399
+ end
400
+
401
+ class ListOperationsResponse
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :next_page_token, as: 'nextPageToken'
405
+ collection :operations, as: 'operations', class: Google::Apis::WorkstationsV1::Operation, decorator: Google::Apis::WorkstationsV1::Operation::Representation
406
+
407
+ end
408
+ end
409
+
410
+ class ListUsableWorkstationConfigsResponse
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ property :next_page_token, as: 'nextPageToken'
414
+ collection :unreachable, as: 'unreachable'
415
+ collection :workstation_configs, as: 'workstationConfigs', class: Google::Apis::WorkstationsV1::WorkstationConfig, decorator: Google::Apis::WorkstationsV1::WorkstationConfig::Representation
416
+
417
+ end
418
+ end
419
+
420
+ class ListUsableWorkstationsResponse
421
+ # @private
422
+ class Representation < Google::Apis::Core::JsonRepresentation
423
+ property :next_page_token, as: 'nextPageToken'
424
+ collection :unreachable, as: 'unreachable'
425
+ collection :workstations, as: 'workstations', class: Google::Apis::WorkstationsV1::Workstation, decorator: Google::Apis::WorkstationsV1::Workstation::Representation
426
+
427
+ end
428
+ end
429
+
430
+ class ListWorkstationClustersResponse
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :next_page_token, as: 'nextPageToken'
434
+ collection :unreachable, as: 'unreachable'
435
+ collection :workstation_clusters, as: 'workstationClusters', class: Google::Apis::WorkstationsV1::WorkstationCluster, decorator: Google::Apis::WorkstationsV1::WorkstationCluster::Representation
436
+
437
+ end
438
+ end
439
+
440
+ class ListWorkstationConfigsResponse
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :next_page_token, as: 'nextPageToken'
444
+ collection :unreachable, as: 'unreachable'
445
+ collection :workstation_configs, as: 'workstationConfigs', class: Google::Apis::WorkstationsV1::WorkstationConfig, decorator: Google::Apis::WorkstationsV1::WorkstationConfig::Representation
446
+
447
+ end
448
+ end
449
+
450
+ class ListWorkstationsResponse
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ property :next_page_token, as: 'nextPageToken'
454
+ collection :unreachable, as: 'unreachable'
455
+ collection :workstations, as: 'workstations', class: Google::Apis::WorkstationsV1::Workstation, decorator: Google::Apis::WorkstationsV1::Workstation::Representation
456
+
457
+ end
458
+ end
459
+
460
+ class Location
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ property :display_name, as: 'displayName'
464
+ hash :labels, as: 'labels'
465
+ property :location_id, as: 'locationId'
466
+ hash :metadata, as: 'metadata'
467
+ property :name, as: 'name'
468
+ end
469
+ end
470
+
471
+ class Operation
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :done, as: 'done'
475
+ property :error, as: 'error', class: Google::Apis::WorkstationsV1::Status, decorator: Google::Apis::WorkstationsV1::Status::Representation
476
+
477
+ hash :metadata, as: 'metadata'
478
+ property :name, as: 'name'
479
+ hash :response, as: 'response'
480
+ end
481
+ end
482
+
483
+ class OperationMetadata
484
+ # @private
485
+ class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :api_version, as: 'apiVersion'
487
+ property :create_time, as: 'createTime'
488
+ property :end_time, as: 'endTime'
489
+ property :requested_cancellation, as: 'requestedCancellation'
490
+ property :status_message, as: 'statusMessage'
491
+ property :target, as: 'target'
492
+ property :verb, as: 'verb'
493
+ end
494
+ end
495
+
496
+ class PersistentDirectory
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :gce_pd, as: 'gcePd', class: Google::Apis::WorkstationsV1::GceRegionalPersistentDisk, decorator: Google::Apis::WorkstationsV1::GceRegionalPersistentDisk::Representation
500
+
501
+ property :mount_path, as: 'mountPath'
502
+ end
503
+ end
504
+
505
+ class Policy
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::WorkstationsV1::AuditConfig, decorator: Google::Apis::WorkstationsV1::AuditConfig::Representation
509
+
510
+ collection :bindings, as: 'bindings', class: Google::Apis::WorkstationsV1::Binding, decorator: Google::Apis::WorkstationsV1::Binding::Representation
511
+
512
+ property :etag, :base64 => true, as: 'etag'
513
+ property :version, as: 'version'
514
+ end
515
+ end
516
+
517
+ class PrivateClusterConfig
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ collection :allowed_projects, as: 'allowedProjects'
521
+ property :cluster_hostname, as: 'clusterHostname'
522
+ property :enable_private_endpoint, as: 'enablePrivateEndpoint'
523
+ property :service_attachment_uri, as: 'serviceAttachmentUri'
524
+ end
525
+ end
526
+
527
+ class ReadinessCheck
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :path, as: 'path'
531
+ property :port, as: 'port'
532
+ end
533
+ end
534
+
535
+ class SetIamPolicyRequest
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ property :policy, as: 'policy', class: Google::Apis::WorkstationsV1::Policy, decorator: Google::Apis::WorkstationsV1::Policy::Representation
539
+
540
+ property :update_mask, as: 'updateMask'
541
+ end
542
+ end
543
+
544
+ class StartWorkstationRequest
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :etag, as: 'etag'
548
+ property :validate_only, as: 'validateOnly'
549
+ end
550
+ end
551
+
552
+ class Status
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :code, as: 'code'
556
+ collection :details, as: 'details'
557
+ property :message, as: 'message'
558
+ end
559
+ end
560
+
561
+ class StopWorkstationRequest
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :etag, as: 'etag'
565
+ property :validate_only, as: 'validateOnly'
566
+ end
567
+ end
568
+
569
+ class TestIamPermissionsRequest
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ collection :permissions, as: 'permissions'
573
+ end
574
+ end
575
+
576
+ class TestIamPermissionsResponse
577
+ # @private
578
+ class Representation < Google::Apis::Core::JsonRepresentation
579
+ collection :permissions, as: 'permissions'
580
+ end
581
+ end
582
+
583
+ class Workstation
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ hash :annotations, as: 'annotations'
587
+ property :create_time, as: 'createTime'
588
+ property :delete_time, as: 'deleteTime'
589
+ property :display_name, as: 'displayName'
590
+ property :etag, as: 'etag'
591
+ property :host, as: 'host'
592
+ hash :labels, as: 'labels'
593
+ property :name, as: 'name'
594
+ property :reconciling, as: 'reconciling'
595
+ property :start_time, as: 'startTime'
596
+ property :state, as: 'state'
597
+ property :uid, as: 'uid'
598
+ property :update_time, as: 'updateTime'
599
+ end
600
+ end
601
+
602
+ class WorkstationCluster
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ hash :annotations, as: 'annotations'
606
+ collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1::Status, decorator: Google::Apis::WorkstationsV1::Status::Representation
607
+
608
+ property :control_plane_ip, as: 'controlPlaneIp'
609
+ property :create_time, as: 'createTime'
610
+ property :degraded, as: 'degraded'
611
+ property :delete_time, as: 'deleteTime'
612
+ property :display_name, as: 'displayName'
613
+ property :etag, as: 'etag'
614
+ hash :labels, as: 'labels'
615
+ property :name, as: 'name'
616
+ property :network, as: 'network'
617
+ property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::WorkstationsV1::PrivateClusterConfig, decorator: Google::Apis::WorkstationsV1::PrivateClusterConfig::Representation
618
+
619
+ property :reconciling, as: 'reconciling'
620
+ property :subnetwork, as: 'subnetwork'
621
+ property :uid, as: 'uid'
622
+ property :update_time, as: 'updateTime'
623
+ end
624
+ end
625
+
626
+ class WorkstationConfig
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ hash :annotations, as: 'annotations'
630
+ collection :conditions, as: 'conditions', class: Google::Apis::WorkstationsV1::Status, decorator: Google::Apis::WorkstationsV1::Status::Representation
631
+
632
+ property :container, as: 'container', class: Google::Apis::WorkstationsV1::Container, decorator: Google::Apis::WorkstationsV1::Container::Representation
633
+
634
+ property :create_time, as: 'createTime'
635
+ property :degraded, as: 'degraded'
636
+ property :delete_time, as: 'deleteTime'
637
+ property :display_name, as: 'displayName'
638
+ property :encryption_key, as: 'encryptionKey', class: Google::Apis::WorkstationsV1::CustomerEncryptionKey, decorator: Google::Apis::WorkstationsV1::CustomerEncryptionKey::Representation
639
+
640
+ property :etag, as: 'etag'
641
+ property :host, as: 'host', class: Google::Apis::WorkstationsV1::Host, decorator: Google::Apis::WorkstationsV1::Host::Representation
642
+
643
+ property :idle_timeout, as: 'idleTimeout'
644
+ hash :labels, as: 'labels'
645
+ property :name, as: 'name'
646
+ collection :persistent_directories, as: 'persistentDirectories', class: Google::Apis::WorkstationsV1::PersistentDirectory, decorator: Google::Apis::WorkstationsV1::PersistentDirectory::Representation
647
+
648
+ collection :readiness_checks, as: 'readinessChecks', class: Google::Apis::WorkstationsV1::ReadinessCheck, decorator: Google::Apis::WorkstationsV1::ReadinessCheck::Representation
649
+
650
+ property :reconciling, as: 'reconciling'
651
+ collection :replica_zones, as: 'replicaZones'
652
+ property :running_timeout, as: 'runningTimeout'
653
+ property :uid, as: 'uid'
654
+ property :update_time, as: 'updateTime'
655
+ end
656
+ end
657
+ end
658
+ end
659
+ end