google-apis-genomics_v2alpha1 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 GenomicsV2alpha1
18
+ # Version of the google-apis-genomics_v2alpha1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201231"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,690 @@
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 GenomicsV2alpha1
24
+
25
+ class Accelerator
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Action
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class CancelOperationRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CheckInRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CheckInResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ComputeEngine
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class ContainerKilledEvent
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ContainerStartedEvent
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ContainerStoppedEvent
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DelayedEvent
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Disk
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DiskStatus
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Empty
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Event
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ExistingDisk
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class FailedEvent
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 Metadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class Mount
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class NfsMount
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Network
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Operation
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class OperationEvent
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class OperationMetadata
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class PersistentDisk
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Pipeline
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class PullStartedEvent
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class PullStoppedEvent
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Resources
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class RunPipelineRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class RunPipelineResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class RuntimeMetadata
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Secret
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ServiceAccount
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Status
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class TimestampedEvent
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class UnexpectedExitStatusEvent
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class VirtualMachine
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Volume
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class WorkerAssignedEvent
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class WorkerReleasedEvent
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class WorkerStatus
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class Accelerator
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :count, :numeric_string => true, as: 'count'
281
+ property :type, as: 'type'
282
+ end
283
+ end
284
+
285
+ class Action
286
+ # @private
287
+ class Representation < Google::Apis::Core::JsonRepresentation
288
+ collection :commands, as: 'commands'
289
+ property :credentials, as: 'credentials', class: Google::Apis::GenomicsV2alpha1::Secret, decorator: Google::Apis::GenomicsV2alpha1::Secret::Representation
290
+
291
+ property :entrypoint, as: 'entrypoint'
292
+ hash :environment, as: 'environment'
293
+ collection :flags, as: 'flags'
294
+ property :image_uri, as: 'imageUri'
295
+ hash :labels, as: 'labels'
296
+ collection :mounts, as: 'mounts', class: Google::Apis::GenomicsV2alpha1::Mount, decorator: Google::Apis::GenomicsV2alpha1::Mount::Representation
297
+
298
+ property :name, as: 'name'
299
+ property :pid_namespace, as: 'pidNamespace'
300
+ hash :port_mappings, as: 'portMappings'
301
+ property :timeout, as: 'timeout'
302
+ end
303
+ end
304
+
305
+ class CancelOperationRequest
306
+ # @private
307
+ class Representation < Google::Apis::Core::JsonRepresentation
308
+ end
309
+ end
310
+
311
+ class CheckInRequest
312
+ # @private
313
+ class Representation < Google::Apis::Core::JsonRepresentation
314
+ property :deadline_expired, as: 'deadlineExpired', class: Google::Apis::GenomicsV2alpha1::Empty, decorator: Google::Apis::GenomicsV2alpha1::Empty::Representation
315
+
316
+ hash :event, as: 'event'
317
+ collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::TimestampedEvent, decorator: Google::Apis::GenomicsV2alpha1::TimestampedEvent::Representation
318
+
319
+ property :result, as: 'result', class: Google::Apis::GenomicsV2alpha1::Status, decorator: Google::Apis::GenomicsV2alpha1::Status::Representation
320
+
321
+ property :sos_report, :base64 => true, as: 'sosReport'
322
+ property :worker_status, as: 'workerStatus', class: Google::Apis::GenomicsV2alpha1::WorkerStatus, decorator: Google::Apis::GenomicsV2alpha1::WorkerStatus::Representation
323
+
324
+ end
325
+ end
326
+
327
+ class CheckInResponse
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ property :deadline, as: 'deadline'
331
+ hash :metadata, as: 'metadata'
332
+ end
333
+ end
334
+
335
+ class ComputeEngine
336
+ # @private
337
+ class Representation < Google::Apis::Core::JsonRepresentation
338
+ collection :disk_names, as: 'diskNames'
339
+ property :instance_name, as: 'instanceName'
340
+ property :machine_type, as: 'machineType'
341
+ property :zone, as: 'zone'
342
+ end
343
+ end
344
+
345
+ class ContainerKilledEvent
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ property :action_id, as: 'actionId'
349
+ end
350
+ end
351
+
352
+ class ContainerStartedEvent
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ property :action_id, as: 'actionId'
356
+ property :ip_address, as: 'ipAddress'
357
+ hash :port_mappings, as: 'portMappings'
358
+ end
359
+ end
360
+
361
+ class ContainerStoppedEvent
362
+ # @private
363
+ class Representation < Google::Apis::Core::JsonRepresentation
364
+ property :action_id, as: 'actionId'
365
+ property :exit_status, as: 'exitStatus'
366
+ property :stderr, as: 'stderr'
367
+ end
368
+ end
369
+
370
+ class DelayedEvent
371
+ # @private
372
+ class Representation < Google::Apis::Core::JsonRepresentation
373
+ property :cause, as: 'cause'
374
+ collection :metrics, as: 'metrics'
375
+ end
376
+ end
377
+
378
+ class Disk
379
+ # @private
380
+ class Representation < Google::Apis::Core::JsonRepresentation
381
+ property :name, as: 'name'
382
+ property :size_gb, as: 'sizeGb'
383
+ property :source_image, as: 'sourceImage'
384
+ property :type, as: 'type'
385
+ end
386
+ end
387
+
388
+ class DiskStatus
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :free_space_bytes, :numeric_string => true, as: 'freeSpaceBytes'
392
+ property :total_space_bytes, :numeric_string => true, as: 'totalSpaceBytes'
393
+ end
394
+ end
395
+
396
+ class Empty
397
+ # @private
398
+ class Representation < Google::Apis::Core::JsonRepresentation
399
+ end
400
+ end
401
+
402
+ class Event
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :description, as: 'description'
406
+ hash :details, as: 'details'
407
+ property :timestamp, as: 'timestamp'
408
+ end
409
+ end
410
+
411
+ class ExistingDisk
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ property :disk, as: 'disk'
415
+ end
416
+ end
417
+
418
+ class FailedEvent
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ property :cause, as: 'cause'
422
+ property :code, as: 'code'
423
+ end
424
+ end
425
+
426
+ class ListOperationsResponse
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ property :next_page_token, as: 'nextPageToken'
430
+ collection :operations, as: 'operations', class: Google::Apis::GenomicsV2alpha1::Operation, decorator: Google::Apis::GenomicsV2alpha1::Operation::Representation
431
+
432
+ end
433
+ end
434
+
435
+ class Metadata
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ property :create_time, as: 'createTime'
439
+ property :end_time, as: 'endTime'
440
+ collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::Event, decorator: Google::Apis::GenomicsV2alpha1::Event::Representation
441
+
442
+ hash :labels, as: 'labels'
443
+ property :pipeline, as: 'pipeline', class: Google::Apis::GenomicsV2alpha1::Pipeline, decorator: Google::Apis::GenomicsV2alpha1::Pipeline::Representation
444
+
445
+ property :start_time, as: 'startTime'
446
+ end
447
+ end
448
+
449
+ class Mount
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :disk, as: 'disk'
453
+ property :path, as: 'path'
454
+ property :read_only, as: 'readOnly'
455
+ end
456
+ end
457
+
458
+ class NfsMount
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :target, as: 'target'
462
+ end
463
+ end
464
+
465
+ class Network
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :name, as: 'name'
469
+ property :subnetwork, as: 'subnetwork'
470
+ property :use_private_address, as: 'usePrivateAddress'
471
+ end
472
+ end
473
+
474
+ class Operation
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :done, as: 'done'
478
+ property :error, as: 'error', class: Google::Apis::GenomicsV2alpha1::Status, decorator: Google::Apis::GenomicsV2alpha1::Status::Representation
479
+
480
+ hash :metadata, as: 'metadata'
481
+ property :name, as: 'name'
482
+ hash :response, as: 'response'
483
+ end
484
+ end
485
+
486
+ class OperationEvent
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :description, as: 'description'
490
+ property :end_time, as: 'endTime'
491
+ property :start_time, as: 'startTime'
492
+ end
493
+ end
494
+
495
+ class OperationMetadata
496
+ # @private
497
+ class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :client_id, as: 'clientId'
499
+ property :create_time, as: 'createTime'
500
+ property :end_time, as: 'endTime'
501
+ collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::OperationEvent, decorator: Google::Apis::GenomicsV2alpha1::OperationEvent::Representation
502
+
503
+ hash :labels, as: 'labels'
504
+ property :project_id, as: 'projectId'
505
+ hash :request, as: 'request'
506
+ hash :runtime_metadata, as: 'runtimeMetadata'
507
+ property :start_time, as: 'startTime'
508
+ end
509
+ end
510
+
511
+ class PersistentDisk
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ property :size_gb, as: 'sizeGb'
515
+ property :source_image, as: 'sourceImage'
516
+ property :type, as: 'type'
517
+ end
518
+ end
519
+
520
+ class Pipeline
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ collection :actions, as: 'actions', class: Google::Apis::GenomicsV2alpha1::Action, decorator: Google::Apis::GenomicsV2alpha1::Action::Representation
524
+
525
+ hash :environment, as: 'environment'
526
+ property :resources, as: 'resources', class: Google::Apis::GenomicsV2alpha1::Resources, decorator: Google::Apis::GenomicsV2alpha1::Resources::Representation
527
+
528
+ property :timeout, as: 'timeout'
529
+ end
530
+ end
531
+
532
+ class PullStartedEvent
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :image_uri, as: 'imageUri'
536
+ end
537
+ end
538
+
539
+ class PullStoppedEvent
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ property :image_uri, as: 'imageUri'
543
+ end
544
+ end
545
+
546
+ class Resources
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :project_id, as: 'projectId'
550
+ collection :regions, as: 'regions'
551
+ property :virtual_machine, as: 'virtualMachine', class: Google::Apis::GenomicsV2alpha1::VirtualMachine, decorator: Google::Apis::GenomicsV2alpha1::VirtualMachine::Representation
552
+
553
+ collection :zones, as: 'zones'
554
+ end
555
+ end
556
+
557
+ class RunPipelineRequest
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ hash :labels, as: 'labels'
561
+ property :pipeline, as: 'pipeline', class: Google::Apis::GenomicsV2alpha1::Pipeline, decorator: Google::Apis::GenomicsV2alpha1::Pipeline::Representation
562
+
563
+ end
564
+ end
565
+
566
+ class RunPipelineResponse
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ end
570
+ end
571
+
572
+ class RuntimeMetadata
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV2alpha1::ComputeEngine, decorator: Google::Apis::GenomicsV2alpha1::ComputeEngine::Representation
576
+
577
+ end
578
+ end
579
+
580
+ class Secret
581
+ # @private
582
+ class Representation < Google::Apis::Core::JsonRepresentation
583
+ property :cipher_text, as: 'cipherText'
584
+ property :key_name, as: 'keyName'
585
+ end
586
+ end
587
+
588
+ class ServiceAccount
589
+ # @private
590
+ class Representation < Google::Apis::Core::JsonRepresentation
591
+ property :email, as: 'email'
592
+ collection :scopes, as: 'scopes'
593
+ end
594
+ end
595
+
596
+ class Status
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :code, as: 'code'
600
+ collection :details, as: 'details'
601
+ property :message, as: 'message'
602
+ end
603
+ end
604
+
605
+ class TimestampedEvent
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ hash :data, as: 'data'
609
+ property :timestamp, as: 'timestamp'
610
+ end
611
+ end
612
+
613
+ class UnexpectedExitStatusEvent
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :action_id, as: 'actionId'
617
+ property :exit_status, as: 'exitStatus'
618
+ end
619
+ end
620
+
621
+ class VirtualMachine
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ collection :accelerators, as: 'accelerators', class: Google::Apis::GenomicsV2alpha1::Accelerator, decorator: Google::Apis::GenomicsV2alpha1::Accelerator::Representation
625
+
626
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
627
+ property :boot_image, as: 'bootImage'
628
+ property :cpu_platform, as: 'cpuPlatform'
629
+ collection :disks, as: 'disks', class: Google::Apis::GenomicsV2alpha1::Disk, decorator: Google::Apis::GenomicsV2alpha1::Disk::Representation
630
+
631
+ collection :docker_cache_images, as: 'dockerCacheImages'
632
+ property :enable_stackdriver_monitoring, as: 'enableStackdriverMonitoring'
633
+ hash :labels, as: 'labels'
634
+ property :machine_type, as: 'machineType'
635
+ property :network, as: 'network', class: Google::Apis::GenomicsV2alpha1::Network, decorator: Google::Apis::GenomicsV2alpha1::Network::Representation
636
+
637
+ property :nvidia_driver_version, as: 'nvidiaDriverVersion'
638
+ property :preemptible, as: 'preemptible'
639
+ property :service_account, as: 'serviceAccount', class: Google::Apis::GenomicsV2alpha1::ServiceAccount, decorator: Google::Apis::GenomicsV2alpha1::ServiceAccount::Representation
640
+
641
+ collection :volumes, as: 'volumes', class: Google::Apis::GenomicsV2alpha1::Volume, decorator: Google::Apis::GenomicsV2alpha1::Volume::Representation
642
+
643
+ end
644
+ end
645
+
646
+ class Volume
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :existing_disk, as: 'existingDisk', class: Google::Apis::GenomicsV2alpha1::ExistingDisk, decorator: Google::Apis::GenomicsV2alpha1::ExistingDisk::Representation
650
+
651
+ property :nfs_mount, as: 'nfsMount', class: Google::Apis::GenomicsV2alpha1::NfsMount, decorator: Google::Apis::GenomicsV2alpha1::NfsMount::Representation
652
+
653
+ property :persistent_disk, as: 'persistentDisk', class: Google::Apis::GenomicsV2alpha1::PersistentDisk, decorator: Google::Apis::GenomicsV2alpha1::PersistentDisk::Representation
654
+
655
+ property :volume, as: 'volume'
656
+ end
657
+ end
658
+
659
+ class WorkerAssignedEvent
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :instance, as: 'instance'
663
+ property :machine_type, as: 'machineType'
664
+ property :zone, as: 'zone'
665
+ end
666
+ end
667
+
668
+ class WorkerReleasedEvent
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :instance, as: 'instance'
672
+ property :zone, as: 'zone'
673
+ end
674
+ end
675
+
676
+ class WorkerStatus
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ hash :attached_disks, as: 'attachedDisks', class: Google::Apis::GenomicsV2alpha1::DiskStatus, decorator: Google::Apis::GenomicsV2alpha1::DiskStatus::Representation
680
+
681
+ property :boot_disk, as: 'bootDisk', class: Google::Apis::GenomicsV2alpha1::DiskStatus, decorator: Google::Apis::GenomicsV2alpha1::DiskStatus::Representation
682
+
683
+ property :free_ram_bytes, :numeric_string => true, as: 'freeRamBytes'
684
+ property :total_ram_bytes, :numeric_string => true, as: 'totalRamBytes'
685
+ property :uptime_seconds, :numeric_string => true, as: 'uptimeSeconds'
686
+ end
687
+ end
688
+ end
689
+ end
690
+ end