google-api-client 0.9.pre1 → 0.9.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/README.md +4 -3
  4. data/api_names.yaml +42 -0
  5. data/api_names_out.yaml +977 -651
  6. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  7. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  8. data/generated/google/apis/adsense_v1_4.rb +1 -1
  9. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -24
  11. data/generated/google/apis/androidenterprise_v1/service.rb +11 -6
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -1
  13. data/generated/google/apis/appstate_v1.rb +1 -1
  14. data/generated/google/apis/autoscaler_v1beta2.rb +1 -1
  15. data/generated/google/apis/bigquery_v2/classes.rb +34 -0
  16. data/generated/google/apis/bigquery_v2/representations.rb +14 -0
  17. data/generated/google/apis/bigquery_v2/service.rb +2 -2
  18. data/generated/google/apis/bigquery_v2.rb +1 -1
  19. data/generated/google/apis/calendar_v3/classes.rb +8 -0
  20. data/generated/google/apis/calendar_v3/representations.rb +1 -0
  21. data/generated/google/apis/calendar_v3.rb +1 -1
  22. data/generated/google/apis/civicinfo_v2/classes.rb +61 -0
  23. data/generated/google/apis/civicinfo_v2/representations.rb +8 -0
  24. data/generated/google/apis/civicinfo_v2.rb +1 -1
  25. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  26. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  27. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  28. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  29. data/generated/google/apis/cloudmonitoring_v2beta2.rb +4 -1
  30. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +20 -19
  31. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +34 -34
  32. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -5
  33. data/generated/google/apis/compute_v1/classes.rb +2638 -1136
  34. data/generated/google/apis/compute_v1/representations.rb +580 -0
  35. data/generated/google/apis/compute_v1/service.rb +2448 -305
  36. data/generated/google/apis/compute_v1.rb +1 -1
  37. data/generated/google/apis/container_v1/classes.rb +438 -0
  38. data/generated/google/apis/container_v1/representations.rb +163 -0
  39. data/generated/google/apis/container_v1/service.rb +346 -0
  40. data/generated/google/apis/container_v1.rb +35 -0
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/content_v2/service.rb +48 -12
  43. data/generated/google/apis/content_v2.rb +1 -1
  44. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +13 -9
  45. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +110 -15
  46. data/generated/google/apis/deploymentmanager_v2beta2.rb +1 -1
  47. data/generated/google/apis/discovery_v1/classes.rb +7 -0
  48. data/generated/google/apis/discovery_v1/representations.rb +1 -0
  49. data/generated/google/apis/dns_v1/service.rb +4 -1
  50. data/generated/google/apis/dns_v1.rb +1 -1
  51. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  52. data/generated/google/apis/drive_v2.rb +1 -1
  53. data/generated/google/apis/fitness_v1/classes.rb +65 -2
  54. data/generated/google/apis/fitness_v1/representations.rb +27 -0
  55. data/generated/google/apis/fitness_v1.rb +1 -1
  56. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  57. data/generated/google/apis/games_v1.rb +1 -1
  58. data/generated/google/apis/genomics_v1/classes.rb +2287 -0
  59. data/generated/google/apis/genomics_v1/representations.rb +796 -0
  60. data/generated/google/apis/genomics_v1/service.rb +1520 -0
  61. data/generated/google/apis/genomics_v1.rb +47 -0
  62. data/generated/google/apis/genomics_v1beta2/service.rb +36 -0
  63. data/generated/google/apis/genomics_v1beta2.rb +1 -1
  64. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  65. data/generated/google/apis/mapsengine_v1.rb +1 -1
  66. data/generated/google/apis/oauth2_v2.rb +1 -1
  67. data/generated/google/apis/plus_domains_v1.rb +1 -1
  68. data/generated/google/apis/plus_v1.rb +1 -1
  69. data/generated/google/apis/prediction_v1_6/classes.rb +1 -1
  70. data/generated/google/apis/pubsub_v1beta2/classes.rb +42 -42
  71. data/generated/google/apis/pubsub_v1beta2/service.rb +26 -22
  72. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  73. data/generated/google/apis/replicapool_v1beta2/classes.rb +10 -0
  74. data/generated/google/apis/replicapool_v1beta2/representations.rb +1 -0
  75. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  76. data/generated/google/apis/resourceviews_v1beta2.rb +1 -1
  77. data/generated/google/apis/storage_v1/classes.rb +4 -2
  78. data/generated/google/apis/storage_v1.rb +1 -1
  79. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  80. data/generated/google/apis/youtube_v3/classes.rb +3 -3
  81. data/generated/google/apis/youtube_v3/representations.rb +1 -1
  82. data/generated/google/apis/youtube_v3/service.rb +78 -0
  83. data/generated/google/apis/youtube_v3.rb +1 -1
  84. data/google-api-client.gemspec +0 -1
  85. data/lib/google/api_client/auth/installed_app.rb +6 -4
  86. data/lib/google/api_client/auth/key_utils.rb +93 -0
  87. data/lib/google/apis/core/api_command.rb +12 -5
  88. data/lib/google/apis/core/http_command.rb +17 -7
  89. data/lib/google/apis/core/json_representation.rb +6 -2
  90. data/lib/google/apis/errors.rb +9 -2
  91. data/lib/google/apis/version.rb +1 -1
  92. data/script/generate +4 -3
  93. data/spec/google/apis/core/http_command_spec.rb +20 -0
  94. data/spec/google/apis/core/json_representation_spec.rb +1 -1
  95. metadata +15 -16
@@ -0,0 +1,796 @@
1
+ # Copyright 2015 Google Inc.
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 GenomicsV1
24
+
25
+ class ListDatasetsResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+ end
28
+
29
+ class Dataset
30
+ class Representation < Google::Apis::Core::JsonRepresentation; end
31
+ end
32
+
33
+ class Empty
34
+ class Representation < Google::Apis::Core::JsonRepresentation; end
35
+ end
36
+
37
+ class UndeleteDatasetRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+ end
40
+
41
+ class Operation
42
+ class Representation < Google::Apis::Core::JsonRepresentation; end
43
+ end
44
+
45
+ class Status
46
+ class Representation < Google::Apis::Core::JsonRepresentation; end
47
+ end
48
+
49
+ class ListOperationsResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+ end
52
+
53
+ class CancelOperationRequest
54
+ class Representation < Google::Apis::Core::JsonRepresentation; end
55
+ end
56
+
57
+ class ImportReadGroupSetsRequest
58
+ class Representation < Google::Apis::Core::JsonRepresentation; end
59
+ end
60
+
61
+ class ExportReadGroupSetRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+ end
64
+
65
+ class SearchReadGroupSetsRequest
66
+ class Representation < Google::Apis::Core::JsonRepresentation; end
67
+ end
68
+
69
+ class SearchReadGroupSetsResponse
70
+ class Representation < Google::Apis::Core::JsonRepresentation; end
71
+ end
72
+
73
+ class ReadGroupSet
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+ end
76
+
77
+ class ReadGroup
78
+ class Representation < Google::Apis::Core::JsonRepresentation; end
79
+ end
80
+
81
+ class Experiment
82
+ class Representation < Google::Apis::Core::JsonRepresentation; end
83
+ end
84
+
85
+ class Program
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+ end
88
+
89
+ class ListCoverageBucketsResponse
90
+ class Representation < Google::Apis::Core::JsonRepresentation; end
91
+ end
92
+
93
+ class CoverageBucket
94
+ class Representation < Google::Apis::Core::JsonRepresentation; end
95
+ end
96
+
97
+ class Range
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+ end
100
+
101
+ class SearchReadsRequest
102
+ class Representation < Google::Apis::Core::JsonRepresentation; end
103
+ end
104
+
105
+ class SearchReadsResponse
106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
107
+ end
108
+
109
+ class Read
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+ end
112
+
113
+ class LinearAlignment
114
+ class Representation < Google::Apis::Core::JsonRepresentation; end
115
+ end
116
+
117
+ class Position
118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
119
+ end
120
+
121
+ class CigarUnit
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+ end
124
+
125
+ class SearchReferenceSetsRequest
126
+ class Representation < Google::Apis::Core::JsonRepresentation; end
127
+ end
128
+
129
+ class SearchReferenceSetsResponse
130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
131
+ end
132
+
133
+ class ReferenceSet
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+ end
136
+
137
+ class SearchReferencesRequest
138
+ class Representation < Google::Apis::Core::JsonRepresentation; end
139
+ end
140
+
141
+ class SearchReferencesResponse
142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
143
+ end
144
+
145
+ class Reference
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+ end
148
+
149
+ class ListBasesResponse
150
+ class Representation < Google::Apis::Core::JsonRepresentation; end
151
+ end
152
+
153
+ class ImportVariantsRequest
154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
155
+ end
156
+
157
+ class VariantSet
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+ end
160
+
161
+ class ReferenceBound
162
+ class Representation < Google::Apis::Core::JsonRepresentation; end
163
+ end
164
+
165
+ class VariantSetMetadata
166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
167
+ end
168
+
169
+ class ExportVariantSetRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+ end
172
+
173
+ class SearchVariantSetsRequest
174
+ class Representation < Google::Apis::Core::JsonRepresentation; end
175
+ end
176
+
177
+ class SearchVariantSetsResponse
178
+ class Representation < Google::Apis::Core::JsonRepresentation; end
179
+ end
180
+
181
+ class SearchVariantsRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+ end
184
+
185
+ class SearchVariantsResponse
186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
187
+ end
188
+
189
+ class Variant
190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
191
+ end
192
+
193
+ class VariantCall
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+ end
196
+
197
+ class MergeVariantsRequest
198
+ class Representation < Google::Apis::Core::JsonRepresentation; end
199
+ end
200
+
201
+ class SearchCallSetsRequest
202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
203
+ end
204
+
205
+ class SearchCallSetsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+ end
208
+
209
+ class CallSet
210
+ class Representation < Google::Apis::Core::JsonRepresentation; end
211
+ end
212
+
213
+ class ImportReadGroupSetsResponse
214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
215
+ end
216
+
217
+ class ImportVariantsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+ end
220
+
221
+ class OperationMetadata
222
+ class Representation < Google::Apis::Core::JsonRepresentation; end
223
+ end
224
+
225
+ class OperationEvent
226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
227
+ end
228
+
229
+ class ListDatasetsResponse
230
+ # @private
231
+ class Representation < Google::Apis::Core::JsonRepresentation
232
+ collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1::Dataset, decorator: Google::Apis::GenomicsV1::Dataset::Representation
233
+
234
+ property :next_page_token, as: 'nextPageToken'
235
+ end
236
+ end
237
+
238
+ class Dataset
239
+ # @private
240
+ class Representation < Google::Apis::Core::JsonRepresentation
241
+ property :id, as: 'id'
242
+ property :project_id, as: 'projectId'
243
+ property :name, as: 'name'
244
+ property :create_time, as: 'createTime'
245
+ end
246
+ end
247
+
248
+ class Empty
249
+ # @private
250
+ class Representation < Google::Apis::Core::JsonRepresentation
251
+ end
252
+ end
253
+
254
+ class UndeleteDatasetRequest
255
+ # @private
256
+ class Representation < Google::Apis::Core::JsonRepresentation
257
+ end
258
+ end
259
+
260
+ class Operation
261
+ # @private
262
+ class Representation < Google::Apis::Core::JsonRepresentation
263
+ property :name, as: 'name'
264
+ hash :metadata, as: 'metadata'
265
+ property :done, as: 'done'
266
+ property :error, as: 'error', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation
267
+
268
+ hash :response, as: 'response'
269
+ end
270
+ end
271
+
272
+ class Status
273
+ # @private
274
+ class Representation < Google::Apis::Core::JsonRepresentation
275
+ property :code, as: 'code'
276
+ property :message, as: 'message'
277
+ collection :details, as: 'details'
278
+ end
279
+ end
280
+
281
+ class ListOperationsResponse
282
+ # @private
283
+ class Representation < Google::Apis::Core::JsonRepresentation
284
+ collection :operations, as: 'operations', class: Google::Apis::GenomicsV1::Operation, decorator: Google::Apis::GenomicsV1::Operation::Representation
285
+
286
+ property :next_page_token, as: 'nextPageToken'
287
+ end
288
+ end
289
+
290
+ class CancelOperationRequest
291
+ # @private
292
+ class Representation < Google::Apis::Core::JsonRepresentation
293
+ end
294
+ end
295
+
296
+ class ImportReadGroupSetsRequest
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ property :dataset_id, as: 'datasetId'
300
+ property :reference_set_id, as: 'referenceSetId'
301
+ collection :source_uris, as: 'sourceUris'
302
+ property :partition_strategy, as: 'partitionStrategy'
303
+ end
304
+ end
305
+
306
+ class ExportReadGroupSetRequest
307
+ # @private
308
+ class Representation < Google::Apis::Core::JsonRepresentation
309
+ property :project_id, as: 'projectId'
310
+ property :export_uri, as: 'exportUri'
311
+ collection :reference_names, as: 'referenceNames'
312
+ end
313
+ end
314
+
315
+ class SearchReadGroupSetsRequest
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ collection :dataset_ids, as: 'datasetIds'
319
+ property :name, as: 'name'
320
+ property :page_token, as: 'pageToken'
321
+ property :page_size, as: 'pageSize'
322
+ end
323
+ end
324
+
325
+ class SearchReadGroupSetsResponse
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ collection :read_group_sets, as: 'readGroupSets', class: Google::Apis::GenomicsV1::ReadGroupSet, decorator: Google::Apis::GenomicsV1::ReadGroupSet::Representation
329
+
330
+ property :next_page_token, as: 'nextPageToken'
331
+ end
332
+ end
333
+
334
+ class ReadGroupSet
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ property :id, as: 'id'
338
+ property :dataset_id, as: 'datasetId'
339
+ property :reference_set_id, as: 'referenceSetId'
340
+ property :name, as: 'name'
341
+ property :filename, as: 'filename'
342
+ collection :read_groups, as: 'readGroups', class: Google::Apis::GenomicsV1::ReadGroup, decorator: Google::Apis::GenomicsV1::ReadGroup::Representation
343
+
344
+ hash :info, as: 'info', :class => Array do
345
+ include Representable::JSON::Collection
346
+ items
347
+ end
348
+
349
+ end
350
+ end
351
+
352
+ class ReadGroup
353
+ # @private
354
+ class Representation < Google::Apis::Core::JsonRepresentation
355
+ property :id, as: 'id'
356
+ property :dataset_id, as: 'datasetId'
357
+ property :name, as: 'name'
358
+ property :description, as: 'description'
359
+ property :sample_id, as: 'sampleId'
360
+ property :experiment, as: 'experiment', class: Google::Apis::GenomicsV1::Experiment, decorator: Google::Apis::GenomicsV1::Experiment::Representation
361
+
362
+ property :predicted_insert_size, as: 'predictedInsertSize'
363
+ collection :programs, as: 'programs', class: Google::Apis::GenomicsV1::Program, decorator: Google::Apis::GenomicsV1::Program::Representation
364
+
365
+ property :reference_set_id, as: 'referenceSetId'
366
+ hash :info, as: 'info', :class => Array do
367
+ include Representable::JSON::Collection
368
+ items
369
+ end
370
+
371
+ end
372
+ end
373
+
374
+ class Experiment
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ property :library_id, as: 'libraryId'
378
+ property :platform_unit, as: 'platformUnit'
379
+ property :sequencing_center, as: 'sequencingCenter'
380
+ property :instrument_model, as: 'instrumentModel'
381
+ end
382
+ end
383
+
384
+ class Program
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ property :command_line, as: 'commandLine'
388
+ property :id, as: 'id'
389
+ property :name, as: 'name'
390
+ property :prev_program_id, as: 'prevProgramId'
391
+ property :version, as: 'version'
392
+ end
393
+ end
394
+
395
+ class ListCoverageBucketsResponse
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :bucket_width, as: 'bucketWidth'
399
+ collection :coverage_buckets, as: 'coverageBuckets', class: Google::Apis::GenomicsV1::CoverageBucket, decorator: Google::Apis::GenomicsV1::CoverageBucket::Representation
400
+
401
+ property :next_page_token, as: 'nextPageToken'
402
+ end
403
+ end
404
+
405
+ class CoverageBucket
406
+ # @private
407
+ class Representation < Google::Apis::Core::JsonRepresentation
408
+ property :range, as: 'range', class: Google::Apis::GenomicsV1::Range, decorator: Google::Apis::GenomicsV1::Range::Representation
409
+
410
+ property :mean_coverage, as: 'meanCoverage'
411
+ end
412
+ end
413
+
414
+ class Range
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :reference_name, as: 'referenceName'
418
+ property :start, as: 'start'
419
+ property :end, as: 'end'
420
+ end
421
+ end
422
+
423
+ class SearchReadsRequest
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ collection :read_group_set_ids, as: 'readGroupSetIds'
427
+ collection :read_group_ids, as: 'readGroupIds'
428
+ property :reference_name, as: 'referenceName'
429
+ property :start, as: 'start'
430
+ property :end, as: 'end'
431
+ property :page_token, as: 'pageToken'
432
+ property :page_size, as: 'pageSize'
433
+ end
434
+ end
435
+
436
+ class SearchReadsResponse
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ collection :alignments, as: 'alignments', class: Google::Apis::GenomicsV1::Read, decorator: Google::Apis::GenomicsV1::Read::Representation
440
+
441
+ property :next_page_token, as: 'nextPageToken'
442
+ end
443
+ end
444
+
445
+ class Read
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ property :id, as: 'id'
449
+ property :read_group_id, as: 'readGroupId'
450
+ property :read_group_set_id, as: 'readGroupSetId'
451
+ property :fragment_name, as: 'fragmentName'
452
+ property :proper_placement, as: 'properPlacement'
453
+ property :duplicate_fragment, as: 'duplicateFragment'
454
+ property :fragment_length, as: 'fragmentLength'
455
+ property :read_number, as: 'readNumber'
456
+ property :number_reads, as: 'numberReads'
457
+ property :failed_vendor_quality_checks, as: 'failedVendorQualityChecks'
458
+ property :alignment, as: 'alignment', class: Google::Apis::GenomicsV1::LinearAlignment, decorator: Google::Apis::GenomicsV1::LinearAlignment::Representation
459
+
460
+ property :secondary_alignment, as: 'secondaryAlignment'
461
+ property :supplementary_alignment, as: 'supplementaryAlignment'
462
+ property :aligned_sequence, as: 'alignedSequence'
463
+ collection :aligned_quality, as: 'alignedQuality'
464
+ property :next_mate_position, as: 'nextMatePosition', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation
465
+
466
+ hash :info, as: 'info', :class => Array do
467
+ include Representable::JSON::Collection
468
+ items
469
+ end
470
+
471
+ end
472
+ end
473
+
474
+ class LinearAlignment
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :position, as: 'position', class: Google::Apis::GenomicsV1::Position, decorator: Google::Apis::GenomicsV1::Position::Representation
478
+
479
+ property :mapping_quality, as: 'mappingQuality'
480
+ collection :cigar, as: 'cigar', class: Google::Apis::GenomicsV1::CigarUnit, decorator: Google::Apis::GenomicsV1::CigarUnit::Representation
481
+
482
+ end
483
+ end
484
+
485
+ class Position
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ property :reference_name, as: 'referenceName'
489
+ property :position, as: 'position'
490
+ property :reverse_strand, as: 'reverseStrand'
491
+ end
492
+ end
493
+
494
+ class CigarUnit
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :operation, as: 'operation'
498
+ property :operation_length, as: 'operationLength'
499
+ property :reference_sequence, as: 'referenceSequence'
500
+ end
501
+ end
502
+
503
+ class SearchReferenceSetsRequest
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ collection :md5checksums, as: 'md5checksums'
507
+ collection :accessions, as: 'accessions'
508
+ property :assembly_id, as: 'assemblyId'
509
+ property :page_token, as: 'pageToken'
510
+ property :page_size, as: 'pageSize'
511
+ end
512
+ end
513
+
514
+ class SearchReferenceSetsResponse
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ collection :reference_sets, as: 'referenceSets', class: Google::Apis::GenomicsV1::ReferenceSet, decorator: Google::Apis::GenomicsV1::ReferenceSet::Representation
518
+
519
+ property :next_page_token, as: 'nextPageToken'
520
+ end
521
+ end
522
+
523
+ class ReferenceSet
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ property :id, as: 'id'
527
+ collection :reference_ids, as: 'referenceIds'
528
+ property :md5checksum, as: 'md5checksum'
529
+ property :ncbi_taxon_id, as: 'ncbiTaxonId'
530
+ property :description, as: 'description'
531
+ property :assembly_id, as: 'assemblyId'
532
+ property :source_uri, as: 'sourceUri'
533
+ collection :source_accessions, as: 'sourceAccessions'
534
+ end
535
+ end
536
+
537
+ class SearchReferencesRequest
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ collection :md5checksums, as: 'md5checksums'
541
+ collection :accessions, as: 'accessions'
542
+ property :reference_set_id, as: 'referenceSetId'
543
+ property :page_token, as: 'pageToken'
544
+ property :page_size, as: 'pageSize'
545
+ end
546
+ end
547
+
548
+ class SearchReferencesResponse
549
+ # @private
550
+ class Representation < Google::Apis::Core::JsonRepresentation
551
+ collection :references, as: 'references', class: Google::Apis::GenomicsV1::Reference, decorator: Google::Apis::GenomicsV1::Reference::Representation
552
+
553
+ property :next_page_token, as: 'nextPageToken'
554
+ end
555
+ end
556
+
557
+ class Reference
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ property :id, as: 'id'
561
+ property :length, as: 'length'
562
+ property :md5checksum, as: 'md5checksum'
563
+ property :name, as: 'name'
564
+ property :source_uri, as: 'sourceUri'
565
+ collection :source_accessions, as: 'sourceAccessions'
566
+ property :ncbi_taxon_id, as: 'ncbiTaxonId'
567
+ end
568
+ end
569
+
570
+ class ListBasesResponse
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :offset, as: 'offset'
574
+ property :sequence, as: 'sequence'
575
+ property :next_page_token, as: 'nextPageToken'
576
+ end
577
+ end
578
+
579
+ class ImportVariantsRequest
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :variant_set_id, as: 'variantSetId'
583
+ collection :source_uris, as: 'sourceUris'
584
+ property :format, as: 'format'
585
+ property :normalize_reference_names, as: 'normalizeReferenceNames'
586
+ end
587
+ end
588
+
589
+ class VariantSet
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ property :dataset_id, as: 'datasetId'
593
+ property :id, as: 'id'
594
+ collection :reference_bounds, as: 'referenceBounds', class: Google::Apis::GenomicsV1::ReferenceBound, decorator: Google::Apis::GenomicsV1::ReferenceBound::Representation
595
+
596
+ collection :metadata, as: 'metadata', class: Google::Apis::GenomicsV1::VariantSetMetadata, decorator: Google::Apis::GenomicsV1::VariantSetMetadata::Representation
597
+
598
+ end
599
+ end
600
+
601
+ class ReferenceBound
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :reference_name, as: 'referenceName'
605
+ property :upper_bound, as: 'upperBound'
606
+ end
607
+ end
608
+
609
+ class VariantSetMetadata
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :key, as: 'key'
613
+ property :value, as: 'value'
614
+ property :id, as: 'id'
615
+ property :type, as: 'type'
616
+ property :number, as: 'number'
617
+ property :description, as: 'description'
618
+ hash :info, as: 'info', :class => Array do
619
+ include Representable::JSON::Collection
620
+ items
621
+ end
622
+
623
+ end
624
+ end
625
+
626
+ class ExportVariantSetRequest
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ collection :call_set_ids, as: 'callSetIds'
630
+ property :project_id, as: 'projectId'
631
+ property :format, as: 'format'
632
+ property :bigquery_dataset, as: 'bigqueryDataset'
633
+ property :bigquery_table, as: 'bigqueryTable'
634
+ end
635
+ end
636
+
637
+ class SearchVariantSetsRequest
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ collection :dataset_ids, as: 'datasetIds'
641
+ property :page_token, as: 'pageToken'
642
+ property :page_size, as: 'pageSize'
643
+ end
644
+ end
645
+
646
+ class SearchVariantSetsResponse
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ collection :variant_sets, as: 'variantSets', class: Google::Apis::GenomicsV1::VariantSet, decorator: Google::Apis::GenomicsV1::VariantSet::Representation
650
+
651
+ property :next_page_token, as: 'nextPageToken'
652
+ end
653
+ end
654
+
655
+ class SearchVariantsRequest
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ collection :variant_set_ids, as: 'variantSetIds'
659
+ property :variant_name, as: 'variantName'
660
+ collection :call_set_ids, as: 'callSetIds'
661
+ property :reference_name, as: 'referenceName'
662
+ property :start, as: 'start'
663
+ property :end, as: 'end'
664
+ property :page_token, as: 'pageToken'
665
+ property :page_size, as: 'pageSize'
666
+ property :max_calls, as: 'maxCalls'
667
+ end
668
+ end
669
+
670
+ class SearchVariantsResponse
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
674
+
675
+ property :next_page_token, as: 'nextPageToken'
676
+ end
677
+ end
678
+
679
+ class Variant
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :variant_set_id, as: 'variantSetId'
683
+ property :id, as: 'id'
684
+ collection :names, as: 'names'
685
+ property :created, as: 'created'
686
+ property :reference_name, as: 'referenceName'
687
+ property :start, as: 'start'
688
+ property :end, as: 'end'
689
+ property :reference_bases, as: 'referenceBases'
690
+ collection :alternate_bases, as: 'alternateBases'
691
+ property :quality, as: 'quality'
692
+ collection :filter, as: 'filter'
693
+ hash :info, as: 'info', :class => Array do
694
+ include Representable::JSON::Collection
695
+ items
696
+ end
697
+
698
+ collection :calls, as: 'calls', class: Google::Apis::GenomicsV1::VariantCall, decorator: Google::Apis::GenomicsV1::VariantCall::Representation
699
+
700
+ end
701
+ end
702
+
703
+ class VariantCall
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ property :call_set_id, as: 'callSetId'
707
+ property :call_set_name, as: 'callSetName'
708
+ collection :genotype, as: 'genotype'
709
+ property :phaseset, as: 'phaseset'
710
+ collection :genotype_likelihood, as: 'genotypeLikelihood'
711
+ hash :info, as: 'info', :class => Array do
712
+ include Representable::JSON::Collection
713
+ items
714
+ end
715
+
716
+ end
717
+ end
718
+
719
+ class MergeVariantsRequest
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :variant_set_id, as: 'variantSetId'
723
+ collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
724
+
725
+ end
726
+ end
727
+
728
+ class SearchCallSetsRequest
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ collection :variant_set_ids, as: 'variantSetIds'
732
+ property :name, as: 'name'
733
+ property :page_token, as: 'pageToken'
734
+ property :page_size, as: 'pageSize'
735
+ end
736
+ end
737
+
738
+ class SearchCallSetsResponse
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ collection :call_sets, as: 'callSets', class: Google::Apis::GenomicsV1::CallSet, decorator: Google::Apis::GenomicsV1::CallSet::Representation
742
+
743
+ property :next_page_token, as: 'nextPageToken'
744
+ end
745
+ end
746
+
747
+ class CallSet
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ property :id, as: 'id'
751
+ property :name, as: 'name'
752
+ property :sample_id, as: 'sampleId'
753
+ collection :variant_set_ids, as: 'variantSetIds'
754
+ property :created, as: 'created'
755
+ hash :info, as: 'info', :class => Array do
756
+ include Representable::JSON::Collection
757
+ items
758
+ end
759
+
760
+ end
761
+ end
762
+
763
+ class ImportReadGroupSetsResponse
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ collection :read_group_set_ids, as: 'readGroupSetIds'
767
+ end
768
+ end
769
+
770
+ class ImportVariantsResponse
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ collection :call_set_ids, as: 'callSetIds'
774
+ end
775
+ end
776
+
777
+ class OperationMetadata
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :project_id, as: 'projectId'
781
+ property :create_time, as: 'createTime'
782
+ hash :request, as: 'request'
783
+ collection :events, as: 'events', class: Google::Apis::GenomicsV1::OperationEvent, decorator: Google::Apis::GenomicsV1::OperationEvent::Representation
784
+
785
+ end
786
+ end
787
+
788
+ class OperationEvent
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :description, as: 'description'
792
+ end
793
+ end
794
+ end
795
+ end
796
+ end