google-apis-genomics_v1alpha2 0.1.0

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.
@@ -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 GenomicsV1alpha2
18
+ # Version of the google-apis-genomics_v1alpha2 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 = "20200804"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,592 @@
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 GenomicsV1alpha2
24
+
25
+ class CancelOperationRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ComputeEngine
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ContainerKilledEvent
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ContainerStartedEvent
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class ContainerStoppedEvent
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ControllerConfig
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DelayedEvent
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Disk
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class DockerExecutor
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Empty
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Event
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class FailedEvent
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ListOperationsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ListPipelinesResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class LocalCopy
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class LoggingOptions
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Operation
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class OperationEvent
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class OperationMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Pipeline
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class PipelineParameter
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class PipelineResources
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class PullStartedEvent
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class PullStoppedEvent
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class RepeatedString
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class RunPipelineArgs
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class RunPipelineRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class RunPipelineResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class RuntimeMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ServiceAccount
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class SetOperationStatusRequest
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 TimestampEvent
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class UnexpectedExitStatusEvent
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class WorkerAssignedEvent
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class WorkerReleasedEvent
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class CancelOperationRequest
242
+ # @private
243
+ class Representation < Google::Apis::Core::JsonRepresentation
244
+ end
245
+ end
246
+
247
+ class ComputeEngine
248
+ # @private
249
+ class Representation < Google::Apis::Core::JsonRepresentation
250
+ collection :disk_names, as: 'diskNames'
251
+ property :instance_name, as: 'instanceName'
252
+ property :machine_type, as: 'machineType'
253
+ property :zone, as: 'zone'
254
+ end
255
+ end
256
+
257
+ class ContainerKilledEvent
258
+ # @private
259
+ class Representation < Google::Apis::Core::JsonRepresentation
260
+ property :action_id, as: 'actionId'
261
+ end
262
+ end
263
+
264
+ class ContainerStartedEvent
265
+ # @private
266
+ class Representation < Google::Apis::Core::JsonRepresentation
267
+ property :action_id, as: 'actionId'
268
+ property :ip_address, as: 'ipAddress'
269
+ hash :port_mappings, as: 'portMappings'
270
+ end
271
+ end
272
+
273
+ class ContainerStoppedEvent
274
+ # @private
275
+ class Representation < Google::Apis::Core::JsonRepresentation
276
+ property :action_id, as: 'actionId'
277
+ property :exit_status, as: 'exitStatus'
278
+ property :stderr, as: 'stderr'
279
+ end
280
+ end
281
+
282
+ class ControllerConfig
283
+ # @private
284
+ class Representation < Google::Apis::Core::JsonRepresentation
285
+ property :cmd, as: 'cmd'
286
+ hash :disks, as: 'disks'
287
+ property :gcs_log_path, as: 'gcsLogPath'
288
+ hash :gcs_sinks, as: 'gcsSinks', class: Google::Apis::GenomicsV1alpha2::RepeatedString, decorator: Google::Apis::GenomicsV1alpha2::RepeatedString::Representation
289
+
290
+ hash :gcs_sources, as: 'gcsSources', class: Google::Apis::GenomicsV1alpha2::RepeatedString, decorator: Google::Apis::GenomicsV1alpha2::RepeatedString::Representation
291
+
292
+ property :image, as: 'image'
293
+ property :machine_type, as: 'machineType'
294
+ hash :vars, as: 'vars'
295
+ end
296
+ end
297
+
298
+ class DelayedEvent
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ property :cause, as: 'cause'
302
+ collection :metrics, as: 'metrics'
303
+ end
304
+ end
305
+
306
+ class Disk
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :auto_delete, as: 'autoDelete'
310
+ property :mount_point, as: 'mountPoint'
311
+ property :name, as: 'name'
312
+ property :read_only, as: 'readOnly'
313
+ property :size_gb, as: 'sizeGb'
314
+ property :source, as: 'source'
315
+ property :type, as: 'type'
316
+ end
317
+ end
318
+
319
+ class DockerExecutor
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ property :cmd, as: 'cmd'
323
+ property :image_name, as: 'imageName'
324
+ end
325
+ end
326
+
327
+ class Empty
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ end
331
+ end
332
+
333
+ class Event
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ property :description, as: 'description'
337
+ hash :details, as: 'details'
338
+ property :timestamp, as: 'timestamp'
339
+ end
340
+ end
341
+
342
+ class FailedEvent
343
+ # @private
344
+ class Representation < Google::Apis::Core::JsonRepresentation
345
+ property :cause, as: 'cause'
346
+ property :code, as: 'code'
347
+ end
348
+ end
349
+
350
+ class ListOperationsResponse
351
+ # @private
352
+ class Representation < Google::Apis::Core::JsonRepresentation
353
+ property :next_page_token, as: 'nextPageToken'
354
+ collection :operations, as: 'operations', class: Google::Apis::GenomicsV1alpha2::Operation, decorator: Google::Apis::GenomicsV1alpha2::Operation::Representation
355
+
356
+ end
357
+ end
358
+
359
+ class ListPipelinesResponse
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :next_page_token, as: 'nextPageToken'
363
+ collection :pipelines, as: 'pipelines', class: Google::Apis::GenomicsV1alpha2::Pipeline, decorator: Google::Apis::GenomicsV1alpha2::Pipeline::Representation
364
+
365
+ end
366
+ end
367
+
368
+ class LocalCopy
369
+ # @private
370
+ class Representation < Google::Apis::Core::JsonRepresentation
371
+ property :disk, as: 'disk'
372
+ property :path, as: 'path'
373
+ end
374
+ end
375
+
376
+ class LoggingOptions
377
+ # @private
378
+ class Representation < Google::Apis::Core::JsonRepresentation
379
+ property :gcs_path, as: 'gcsPath'
380
+ end
381
+ end
382
+
383
+ class Operation
384
+ # @private
385
+ class Representation < Google::Apis::Core::JsonRepresentation
386
+ property :done, as: 'done'
387
+ property :error, as: 'error', class: Google::Apis::GenomicsV1alpha2::Status, decorator: Google::Apis::GenomicsV1alpha2::Status::Representation
388
+
389
+ hash :metadata, as: 'metadata'
390
+ property :name, as: 'name'
391
+ hash :response, as: 'response'
392
+ end
393
+ end
394
+
395
+ class OperationEvent
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :description, as: 'description'
399
+ property :end_time, as: 'endTime'
400
+ property :start_time, as: 'startTime'
401
+ end
402
+ end
403
+
404
+ class OperationMetadata
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :client_id, as: 'clientId'
408
+ property :create_time, as: 'createTime'
409
+ property :end_time, as: 'endTime'
410
+ collection :events, as: 'events', class: Google::Apis::GenomicsV1alpha2::OperationEvent, decorator: Google::Apis::GenomicsV1alpha2::OperationEvent::Representation
411
+
412
+ hash :labels, as: 'labels'
413
+ property :project_id, as: 'projectId'
414
+ hash :request, as: 'request'
415
+ hash :runtime_metadata, as: 'runtimeMetadata'
416
+ property :start_time, as: 'startTime'
417
+ end
418
+ end
419
+
420
+ class Pipeline
421
+ # @private
422
+ class Representation < Google::Apis::Core::JsonRepresentation
423
+ property :description, as: 'description'
424
+ property :docker, as: 'docker', class: Google::Apis::GenomicsV1alpha2::DockerExecutor, decorator: Google::Apis::GenomicsV1alpha2::DockerExecutor::Representation
425
+
426
+ collection :input_parameters, as: 'inputParameters', class: Google::Apis::GenomicsV1alpha2::PipelineParameter, decorator: Google::Apis::GenomicsV1alpha2::PipelineParameter::Representation
427
+
428
+ property :name, as: 'name'
429
+ collection :output_parameters, as: 'outputParameters', class: Google::Apis::GenomicsV1alpha2::PipelineParameter, decorator: Google::Apis::GenomicsV1alpha2::PipelineParameter::Representation
430
+
431
+ property :pipeline_id, as: 'pipelineId'
432
+ property :project_id, as: 'projectId'
433
+ property :resources, as: 'resources', class: Google::Apis::GenomicsV1alpha2::PipelineResources, decorator: Google::Apis::GenomicsV1alpha2::PipelineResources::Representation
434
+
435
+ end
436
+ end
437
+
438
+ class PipelineParameter
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ property :default_value, as: 'defaultValue'
442
+ property :description, as: 'description'
443
+ property :local_copy, as: 'localCopy', class: Google::Apis::GenomicsV1alpha2::LocalCopy, decorator: Google::Apis::GenomicsV1alpha2::LocalCopy::Representation
444
+
445
+ property :name, as: 'name'
446
+ end
447
+ end
448
+
449
+ class PipelineResources
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
453
+ property :accelerator_type, as: 'acceleratorType'
454
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
455
+ collection :disks, as: 'disks', class: Google::Apis::GenomicsV1alpha2::Disk, decorator: Google::Apis::GenomicsV1alpha2::Disk::Representation
456
+
457
+ property :minimum_cpu_cores, as: 'minimumCpuCores'
458
+ property :minimum_ram_gb, as: 'minimumRamGb'
459
+ property :no_address, as: 'noAddress'
460
+ property :preemptible, as: 'preemptible'
461
+ collection :zones, as: 'zones'
462
+ end
463
+ end
464
+
465
+ class PullStartedEvent
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :image_uri, as: 'imageUri'
469
+ end
470
+ end
471
+
472
+ class PullStoppedEvent
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :image_uri, as: 'imageUri'
476
+ end
477
+ end
478
+
479
+ class RepeatedString
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ collection :values, as: 'values'
483
+ end
484
+ end
485
+
486
+ class RunPipelineArgs
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :client_id, as: 'clientId'
490
+ hash :inputs, as: 'inputs'
491
+ property :keep_vm_alive_on_failure_duration, as: 'keepVmAliveOnFailureDuration'
492
+ hash :labels, as: 'labels'
493
+ property :logging, as: 'logging', class: Google::Apis::GenomicsV1alpha2::LoggingOptions, decorator: Google::Apis::GenomicsV1alpha2::LoggingOptions::Representation
494
+
495
+ hash :outputs, as: 'outputs'
496
+ property :project_id, as: 'projectId'
497
+ property :resources, as: 'resources', class: Google::Apis::GenomicsV1alpha2::PipelineResources, decorator: Google::Apis::GenomicsV1alpha2::PipelineResources::Representation
498
+
499
+ property :service_account, as: 'serviceAccount', class: Google::Apis::GenomicsV1alpha2::ServiceAccount, decorator: Google::Apis::GenomicsV1alpha2::ServiceAccount::Representation
500
+
501
+ end
502
+ end
503
+
504
+ class RunPipelineRequest
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ property :ephemeral_pipeline, as: 'ephemeralPipeline', class: Google::Apis::GenomicsV1alpha2::Pipeline, decorator: Google::Apis::GenomicsV1alpha2::Pipeline::Representation
508
+
509
+ property :pipeline_args, as: 'pipelineArgs', class: Google::Apis::GenomicsV1alpha2::RunPipelineArgs, decorator: Google::Apis::GenomicsV1alpha2::RunPipelineArgs::Representation
510
+
511
+ property :pipeline_id, as: 'pipelineId'
512
+ end
513
+ end
514
+
515
+ class RunPipelineResponse
516
+ # @private
517
+ class Representation < Google::Apis::Core::JsonRepresentation
518
+ end
519
+ end
520
+
521
+ class RuntimeMetadata
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ property :compute_engine, as: 'computeEngine', class: Google::Apis::GenomicsV1alpha2::ComputeEngine, decorator: Google::Apis::GenomicsV1alpha2::ComputeEngine::Representation
525
+
526
+ end
527
+ end
528
+
529
+ class ServiceAccount
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ property :email, as: 'email'
533
+ collection :scopes, as: 'scopes'
534
+ end
535
+ end
536
+
537
+ class SetOperationStatusRequest
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :error_code, as: 'errorCode'
541
+ property :error_message, as: 'errorMessage'
542
+ property :operation_id, as: 'operationId'
543
+ collection :timestamp_events, as: 'timestampEvents', class: Google::Apis::GenomicsV1alpha2::TimestampEvent, decorator: Google::Apis::GenomicsV1alpha2::TimestampEvent::Representation
544
+
545
+ property :validation_token, :numeric_string => true, as: 'validationToken'
546
+ end
547
+ end
548
+
549
+ class Status
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :code, as: 'code'
553
+ collection :details, as: 'details'
554
+ property :message, as: 'message'
555
+ end
556
+ end
557
+
558
+ class TimestampEvent
559
+ # @private
560
+ class Representation < Google::Apis::Core::JsonRepresentation
561
+ property :description, as: 'description'
562
+ property :timestamp, as: 'timestamp'
563
+ end
564
+ end
565
+
566
+ class UnexpectedExitStatusEvent
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :action_id, as: 'actionId'
570
+ property :exit_status, as: 'exitStatus'
571
+ end
572
+ end
573
+
574
+ class WorkerAssignedEvent
575
+ # @private
576
+ class Representation < Google::Apis::Core::JsonRepresentation
577
+ property :instance, as: 'instance'
578
+ property :machine_type, as: 'machineType'
579
+ property :zone, as: 'zone'
580
+ end
581
+ end
582
+
583
+ class WorkerReleasedEvent
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ property :instance, as: 'instance'
587
+ property :zone, as: 'zone'
588
+ end
589
+ end
590
+ end
591
+ end
592
+ end