google-api-client 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +34 -0
- data/api_names.yaml +3 -0
- data/api_names_out.yaml +1058 -20
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +203 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +78 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +36 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +2 -3
- data/generated/google/apis/androidenterprise_v1/classes.rb +11 -4
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +5 -6
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +47 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +6 -0
- data/generated/google/apis/appengine_v1beta5.rb +2 -3
- data/generated/google/apis/appengine_v1beta5/classes.rb +143 -8
- data/generated/google/apis/appengine_v1beta5/representations.rb +42 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +48 -6
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +68 -14
- data/generated/google/apis/bigquery_v2/representations.rb +30 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +68 -3
- data/generated/google/apis/books_v1/representations.rb +21 -0
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/clouduseraccounts_beta.rb +1 -1
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +138 -108
- data/generated/google/apis/compute_beta/representations.rb +16 -18
- data/generated/google/apis/compute_beta/service.rb +52 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +55 -74
- data/generated/google/apis/compute_v1/representations.rb +14 -18
- data/generated/google/apis/compute_v1/service.rb +45 -1
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +200 -42
- data/generated/google/apis/container_v1/representations.rb +54 -0
- data/generated/google/apis/container_v1/service.rb +31 -30
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2.rb +2 -2
- data/generated/google/apis/datastore_v1beta2/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +2 -3
- data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -1
- data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +26 -27
- data/generated/google/apis/dfareporting_v2_3.rb +2 -2
- data/generated/google/apis/dfareporting_v2_3/classes.rb +1 -1
- data/generated/google/apis/dfareporting_v2_3/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +10 -4
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +7 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/classes.rb +770 -82
- data/generated/google/apis/genomics_v1/representations.rb +287 -24
- data/generated/google/apis/genomics_v1/service.rb +412 -13
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +13 -6
- data/generated/google/apis/groupssettings_v1/representations.rb +1 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +50 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +10 -0
- data/generated/google/apis/logging_v2beta1.rb +2 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +219 -63
- data/generated/google/apis/logging_v2beta1/representations.rb +24 -1
- data/generated/google/apis/logging_v2beta1/service.rb +25 -32
- data/generated/google/apis/oauth2_v2.rb +2 -2
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +20 -12
- data/generated/google/apis/pubsub_v1/service.rb +32 -35
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +23 -9
- data/generated/google/apis/reseller_v1/representations.rb +2 -0
- data/generated/google/apis/sheets_v1.rb +43 -0
- data/generated/google/apis/sheets_v1/classes.rb +4542 -0
- data/generated/google/apis/sheets_v1/representations.rb +1703 -0
- data/generated/google/apis/sheets_v1/service.rb +363 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +3 -2
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +4 -3
- data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/vision_v1.rb +2 -2
- data/generated/google/apis/vision_v1/classes.rb +11 -11
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +2 -2
- data/generated/google/apis/webmasters_v3/classes.rb +7 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/webmasters_v3/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +37 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +3656 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1452 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +3165 -0
- data/generated/google/apis/youtube_v3.rb +3 -2
- data/generated/google/apis/youtube_v3/classes.rb +100 -3
- data/generated/google/apis/youtube_v3/representations.rb +50 -0
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +17 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +2 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +21 -3
- data/google-api-client.gemspec +2 -0
- data/lib/google/apis.rb +12 -2
- data/lib/google/apis/version.rb +1 -1
- data/script/generate +5 -2
- data/spec/google/apis/logging_spec.rb +55 -0
- metadata +12 -4
@@ -22,19 +22,115 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module GenomicsV1
|
24
24
|
|
25
|
-
class
|
25
|
+
class AnnotationSet
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class Empty
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class SearchAnnotationSetsRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class SearchAnnotationSetsResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class Annotation
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class VariantAnnotation
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ClinicalCondition
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class ExternalId
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class Transcript
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class Exon
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CodingSequence
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class BatchCreateAnnotationsRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class BatchCreateAnnotationsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class Entry
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class Status
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class SearchAnnotationsRequest
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class SearchAnnotationsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class ListDatasetsResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class Dataset
|
38
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
135
|
|
40
136
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -88,12 +184,6 @@ module Google
|
|
88
184
|
include Google::Apis::Core::JsonObjectSupport
|
89
185
|
end
|
90
186
|
|
91
|
-
class Status
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
187
|
class ListOperationsResponse
|
98
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
189
|
|
@@ -388,28 +478,208 @@ module Google
|
|
388
478
|
include Google::Apis::Core::JsonObjectSupport
|
389
479
|
end
|
390
480
|
|
391
|
-
class
|
481
|
+
class AnnotationSet
|
392
482
|
# @private
|
393
483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
394
|
-
|
484
|
+
property :id, as: 'id'
|
485
|
+
property :dataset_id, as: 'datasetId'
|
486
|
+
property :reference_set_id, as: 'referenceSetId'
|
487
|
+
property :name, as: 'name'
|
488
|
+
property :source_uri, as: 'sourceUri'
|
489
|
+
property :type, as: 'type'
|
490
|
+
hash :info, as: 'info', :class => Array do
|
491
|
+
include Representable::JSON::Collection
|
492
|
+
items
|
493
|
+
end
|
494
|
+
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
498
|
+
class Empty
|
499
|
+
# @private
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
504
|
+
class SearchAnnotationSetsRequest
|
505
|
+
# @private
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
507
|
+
collection :dataset_ids, as: 'datasetIds'
|
508
|
+
property :reference_set_id, as: 'referenceSetId'
|
509
|
+
property :name, as: 'name'
|
510
|
+
collection :types, as: 'types'
|
511
|
+
property :page_token, as: 'pageToken'
|
512
|
+
property :page_size, as: 'pageSize'
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
class SearchAnnotationSetsResponse
|
517
|
+
# @private
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
519
|
+
collection :annotation_sets, as: 'annotationSets', class: Google::Apis::GenomicsV1::AnnotationSet, decorator: Google::Apis::GenomicsV1::AnnotationSet::Representation
|
395
520
|
|
396
521
|
property :next_page_token, as: 'nextPageToken'
|
397
522
|
end
|
398
523
|
end
|
399
524
|
|
400
|
-
class
|
525
|
+
class Annotation
|
401
526
|
# @private
|
402
527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
403
528
|
property :id, as: 'id'
|
404
|
-
property :
|
529
|
+
property :annotation_set_id, as: 'annotationSetId'
|
405
530
|
property :name, as: 'name'
|
406
|
-
property :
|
531
|
+
property :reference_id, as: 'referenceId'
|
532
|
+
property :reference_name, as: 'referenceName'
|
533
|
+
property :start, as: 'start'
|
534
|
+
property :end, as: 'end'
|
535
|
+
property :reverse_strand, as: 'reverseStrand'
|
536
|
+
property :type, as: 'type'
|
537
|
+
property :variant, as: 'variant', class: Google::Apis::GenomicsV1::VariantAnnotation, decorator: Google::Apis::GenomicsV1::VariantAnnotation::Representation
|
538
|
+
|
539
|
+
property :transcript, as: 'transcript', class: Google::Apis::GenomicsV1::Transcript, decorator: Google::Apis::GenomicsV1::Transcript::Representation
|
540
|
+
|
541
|
+
hash :info, as: 'info', :class => Array do
|
542
|
+
include Representable::JSON::Collection
|
543
|
+
items
|
544
|
+
end
|
545
|
+
|
407
546
|
end
|
408
547
|
end
|
409
548
|
|
410
|
-
class
|
549
|
+
class VariantAnnotation
|
550
|
+
# @private
|
551
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
552
|
+
property :type, as: 'type'
|
553
|
+
property :effect, as: 'effect'
|
554
|
+
property :alternate_bases, as: 'alternateBases'
|
555
|
+
property :gene_id, as: 'geneId'
|
556
|
+
collection :transcript_ids, as: 'transcriptIds'
|
557
|
+
collection :conditions, as: 'conditions', class: Google::Apis::GenomicsV1::ClinicalCondition, decorator: Google::Apis::GenomicsV1::ClinicalCondition::Representation
|
558
|
+
|
559
|
+
property :clinical_significance, as: 'clinicalSignificance'
|
560
|
+
end
|
561
|
+
end
|
562
|
+
|
563
|
+
class ClinicalCondition
|
564
|
+
# @private
|
565
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
566
|
+
collection :names, as: 'names'
|
567
|
+
collection :external_ids, as: 'externalIds', class: Google::Apis::GenomicsV1::ExternalId, decorator: Google::Apis::GenomicsV1::ExternalId::Representation
|
568
|
+
|
569
|
+
property :concept_id, as: 'conceptId'
|
570
|
+
property :omim_id, as: 'omimId'
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
class ExternalId
|
575
|
+
# @private
|
576
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
577
|
+
property :source_name, as: 'sourceName'
|
578
|
+
property :id, as: 'id'
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
class Transcript
|
583
|
+
# @private
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
585
|
+
property :gene_id, as: 'geneId'
|
586
|
+
collection :exons, as: 'exons', class: Google::Apis::GenomicsV1::Exon, decorator: Google::Apis::GenomicsV1::Exon::Representation
|
587
|
+
|
588
|
+
property :coding_sequence, as: 'codingSequence', class: Google::Apis::GenomicsV1::CodingSequence, decorator: Google::Apis::GenomicsV1::CodingSequence::Representation
|
589
|
+
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
class Exon
|
594
|
+
# @private
|
595
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
596
|
+
property :start, as: 'start'
|
597
|
+
property :end, as: 'end'
|
598
|
+
property :frame, as: 'frame'
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
class CodingSequence
|
603
|
+
# @private
|
604
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
605
|
+
property :start, as: 'start'
|
606
|
+
property :end, as: 'end'
|
607
|
+
end
|
608
|
+
end
|
609
|
+
|
610
|
+
class BatchCreateAnnotationsRequest
|
611
|
+
# @private
|
612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
613
|
+
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
614
|
+
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
|
+
class BatchCreateAnnotationsResponse
|
619
|
+
# @private
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
621
|
+
collection :entries, as: 'entries', class: Google::Apis::GenomicsV1::Entry, decorator: Google::Apis::GenomicsV1::Entry::Representation
|
622
|
+
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
class Entry
|
627
|
+
# @private
|
628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
629
|
+
property :status, as: 'status', class: Google::Apis::GenomicsV1::Status, decorator: Google::Apis::GenomicsV1::Status::Representation
|
630
|
+
|
631
|
+
property :annotation, as: 'annotation', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
632
|
+
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
636
|
+
class Status
|
637
|
+
# @private
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
639
|
+
property :code, as: 'code'
|
640
|
+
property :message, as: 'message'
|
641
|
+
collection :details, as: 'details'
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
class SearchAnnotationsRequest
|
411
646
|
# @private
|
412
647
|
class Representation < Google::Apis::Core::JsonRepresentation
|
648
|
+
collection :annotation_set_ids, as: 'annotationSetIds'
|
649
|
+
property :reference_id, as: 'referenceId'
|
650
|
+
property :reference_name, as: 'referenceName'
|
651
|
+
property :start, as: 'start'
|
652
|
+
property :end, as: 'end'
|
653
|
+
property :page_token, as: 'pageToken'
|
654
|
+
property :page_size, as: 'pageSize'
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
class SearchAnnotationsResponse
|
659
|
+
# @private
|
660
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
661
|
+
collection :annotations, as: 'annotations', class: Google::Apis::GenomicsV1::Annotation, decorator: Google::Apis::GenomicsV1::Annotation::Representation
|
662
|
+
|
663
|
+
property :next_page_token, as: 'nextPageToken'
|
664
|
+
end
|
665
|
+
end
|
666
|
+
|
667
|
+
class ListDatasetsResponse
|
668
|
+
# @private
|
669
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
670
|
+
collection :datasets, as: 'datasets', class: Google::Apis::GenomicsV1::Dataset, decorator: Google::Apis::GenomicsV1::Dataset::Representation
|
671
|
+
|
672
|
+
property :next_page_token, as: 'nextPageToken'
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
class Dataset
|
677
|
+
# @private
|
678
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
679
|
+
property :id, as: 'id'
|
680
|
+
property :project_id, as: 'projectId'
|
681
|
+
property :name, as: 'name'
|
682
|
+
property :create_time, as: 'createTime'
|
413
683
|
end
|
414
684
|
end
|
415
685
|
|
@@ -477,15 +747,6 @@ module Google
|
|
477
747
|
end
|
478
748
|
end
|
479
749
|
|
480
|
-
class Status
|
481
|
-
# @private
|
482
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
483
|
-
property :code, as: 'code'
|
484
|
-
property :message, as: 'message'
|
485
|
-
collection :details, as: 'details'
|
486
|
-
end
|
487
|
-
end
|
488
|
-
|
489
750
|
class ListOperationsResponse
|
490
751
|
# @private
|
491
752
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -812,6 +1073,7 @@ module Google
|
|
812
1073
|
collection :source_uris, as: 'sourceUris'
|
813
1074
|
property :format, as: 'format'
|
814
1075
|
property :normalize_reference_names, as: 'normalizeReferenceNames'
|
1076
|
+
hash :info_merge_config, as: 'infoMergeConfig'
|
815
1077
|
end
|
816
1078
|
end
|
817
1079
|
|
@@ -952,6 +1214,7 @@ module Google
|
|
952
1214
|
property :variant_set_id, as: 'variantSetId'
|
953
1215
|
collection :variants, as: 'variants', class: Google::Apis::GenomicsV1::Variant, decorator: Google::Apis::GenomicsV1::Variant::Representation
|
954
1216
|
|
1217
|
+
hash :info_merge_config, as: 'infoMergeConfig'
|
955
1218
|
end
|
956
1219
|
end
|
957
1220
|
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
# Genomics = Google::Apis::GenomicsV1 # Alias the module
|
33
33
|
# service = Genomics::GenomicsService.new
|
34
34
|
#
|
35
|
-
# @see
|
35
|
+
# @see https://cloud.google.com/genomics/
|
36
36
|
class GenomicsService < Google::Apis::Core::BaseService
|
37
37
|
# @return [String]
|
38
38
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -48,6 +48,386 @@ module Google
|
|
48
48
|
super('https://genomics.googleapis.com/', '')
|
49
49
|
end
|
50
50
|
|
51
|
+
# Creates a new annotation set. Caller must have WRITE permission for the
|
52
|
+
# associated dataset. The following fields are required: * datasetId *
|
53
|
+
# referenceSetId All other fields may be optionally specified, unless documented
|
54
|
+
# as being server-generated (for example, the `id` field).
|
55
|
+
# @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object
|
56
|
+
# @param [String] fields
|
57
|
+
# Selector specifying which fields to include in a partial response.
|
58
|
+
# @param [String] quota_user
|
59
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
60
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
61
|
+
# @param [Google::Apis::RequestOptions] options
|
62
|
+
# Request-specific options
|
63
|
+
#
|
64
|
+
# @yield [result, err] Result & error if block supplied
|
65
|
+
# @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object
|
66
|
+
# @yieldparam err [StandardError] error object if request failed
|
67
|
+
#
|
68
|
+
# @return [Google::Apis::GenomicsV1::AnnotationSet]
|
69
|
+
#
|
70
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
71
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
|
+
def create_annotation_set(annotation_set_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
+
command = make_simple_command(:post, 'v1/annotationsets', options)
|
75
|
+
command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
76
|
+
command.request_object = annotation_set_object
|
77
|
+
command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
78
|
+
command.response_class = Google::Apis::GenomicsV1::AnnotationSet
|
79
|
+
command.query['fields'] = fields unless fields.nil?
|
80
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
|
+
execute_or_queue_command(command, &block)
|
82
|
+
end
|
83
|
+
|
84
|
+
# Gets an annotation set. Caller must have READ permission for the associated
|
85
|
+
# dataset.
|
86
|
+
# @param [String] annotation_set_id
|
87
|
+
# The ID of the annotation set to be retrieved.
|
88
|
+
# @param [String] fields
|
89
|
+
# Selector specifying which fields to include in a partial response.
|
90
|
+
# @param [String] quota_user
|
91
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
92
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
93
|
+
# @param [Google::Apis::RequestOptions] options
|
94
|
+
# Request-specific options
|
95
|
+
#
|
96
|
+
# @yield [result, err] Result & error if block supplied
|
97
|
+
# @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object
|
98
|
+
# @yieldparam err [StandardError] error object if request failed
|
99
|
+
#
|
100
|
+
# @return [Google::Apis::GenomicsV1::AnnotationSet]
|
101
|
+
#
|
102
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
103
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
104
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
105
|
+
def get_annotation_set(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
+
command = make_simple_command(:get, 'v1/annotationsets/{annotationSetId}', options)
|
107
|
+
command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
108
|
+
command.response_class = Google::Apis::GenomicsV1::AnnotationSet
|
109
|
+
command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
|
110
|
+
command.query['fields'] = fields unless fields.nil?
|
111
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
112
|
+
execute_or_queue_command(command, &block)
|
113
|
+
end
|
114
|
+
|
115
|
+
# Updates an annotation set. The update must respect all mutability restrictions
|
116
|
+
# and other invariants described on the annotation set resource. Caller must
|
117
|
+
# have WRITE permission for the associated dataset.
|
118
|
+
# @param [String] annotation_set_id
|
119
|
+
# The ID of the annotation set to be updated.
|
120
|
+
# @param [Google::Apis::GenomicsV1::AnnotationSet] annotation_set_object
|
121
|
+
# @param [String] update_mask
|
122
|
+
# An optional mask specifying which fields to update. Mutable fields are name,
|
123
|
+
# source_uri, and info. If unspecified, all mutable fields will be updated.
|
124
|
+
# @param [String] fields
|
125
|
+
# Selector specifying which fields to include in a partial response.
|
126
|
+
# @param [String] quota_user
|
127
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
128
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
129
|
+
# @param [Google::Apis::RequestOptions] options
|
130
|
+
# Request-specific options
|
131
|
+
#
|
132
|
+
# @yield [result, err] Result & error if block supplied
|
133
|
+
# @yieldparam result [Google::Apis::GenomicsV1::AnnotationSet] parsed result object
|
134
|
+
# @yieldparam err [StandardError] error object if request failed
|
135
|
+
#
|
136
|
+
# @return [Google::Apis::GenomicsV1::AnnotationSet]
|
137
|
+
#
|
138
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
139
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
140
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
141
|
+
def update_annotationset(annotation_set_id, annotation_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
142
|
+
command = make_simple_command(:put, 'v1/annotationsets/{annotationSetId}', options)
|
143
|
+
command.request_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
144
|
+
command.request_object = annotation_set_object
|
145
|
+
command.response_representation = Google::Apis::GenomicsV1::AnnotationSet::Representation
|
146
|
+
command.response_class = Google::Apis::GenomicsV1::AnnotationSet
|
147
|
+
command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
|
148
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
149
|
+
command.query['fields'] = fields unless fields.nil?
|
150
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
151
|
+
execute_or_queue_command(command, &block)
|
152
|
+
end
|
153
|
+
|
154
|
+
# Deletes an annotation set. Caller must have WRITE permission for the
|
155
|
+
# associated annotation set.
|
156
|
+
# @param [String] annotation_set_id
|
157
|
+
# The ID of the annotation set to be deleted.
|
158
|
+
# @param [String] fields
|
159
|
+
# Selector specifying which fields to include in a partial response.
|
160
|
+
# @param [String] quota_user
|
161
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
162
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
163
|
+
# @param [Google::Apis::RequestOptions] options
|
164
|
+
# Request-specific options
|
165
|
+
#
|
166
|
+
# @yield [result, err] Result & error if block supplied
|
167
|
+
# @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
|
168
|
+
# @yieldparam err [StandardError] error object if request failed
|
169
|
+
#
|
170
|
+
# @return [Google::Apis::GenomicsV1::Empty]
|
171
|
+
#
|
172
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
173
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
174
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
175
|
+
def delete_annotationset(annotation_set_id, fields: nil, quota_user: nil, options: nil, &block)
|
176
|
+
command = make_simple_command(:delete, 'v1/annotationsets/{annotationSetId}', options)
|
177
|
+
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
178
|
+
command.response_class = Google::Apis::GenomicsV1::Empty
|
179
|
+
command.params['annotationSetId'] = annotation_set_id unless annotation_set_id.nil?
|
180
|
+
command.query['fields'] = fields unless fields.nil?
|
181
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
182
|
+
execute_or_queue_command(command, &block)
|
183
|
+
end
|
184
|
+
|
185
|
+
# Searches for annotation sets that match the given criteria. Annotation sets
|
186
|
+
# are returned in an unspecified order. This order is consistent, such that two
|
187
|
+
# queries for the same content (regardless of page size) yield annotation sets
|
188
|
+
# in the same order across their respective streams of paginated responses.
|
189
|
+
# Caller must have READ permission for the queried datasets.
|
190
|
+
# @param [Google::Apis::GenomicsV1::SearchAnnotationSetsRequest] search_annotation_sets_request_object
|
191
|
+
# @param [String] fields
|
192
|
+
# Selector specifying which fields to include in a partial response.
|
193
|
+
# @param [String] quota_user
|
194
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
195
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
196
|
+
# @param [Google::Apis::RequestOptions] options
|
197
|
+
# Request-specific options
|
198
|
+
#
|
199
|
+
# @yield [result, err] Result & error if block supplied
|
200
|
+
# @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse] parsed result object
|
201
|
+
# @yieldparam err [StandardError] error object if request failed
|
202
|
+
#
|
203
|
+
# @return [Google::Apis::GenomicsV1::SearchAnnotationSetsResponse]
|
204
|
+
#
|
205
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
206
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
207
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
208
|
+
def search_annotationset_annotation_sets(search_annotation_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
209
|
+
command = make_simple_command(:post, 'v1/annotationsets/search', options)
|
210
|
+
command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsRequest::Representation
|
211
|
+
command.request_object = search_annotation_sets_request_object
|
212
|
+
command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse::Representation
|
213
|
+
command.response_class = Google::Apis::GenomicsV1::SearchAnnotationSetsResponse
|
214
|
+
command.query['fields'] = fields unless fields.nil?
|
215
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
216
|
+
execute_or_queue_command(command, &block)
|
217
|
+
end
|
218
|
+
|
219
|
+
# Creates a new annotation. Caller must have WRITE permission for the associated
|
220
|
+
# annotation set. The following fields are required: * annotationSetId *
|
221
|
+
# referenceName or referenceId ### Transcripts For annotations of type
|
222
|
+
# TRANSCRIPT, the following fields of transcript must be provided: * exons.start
|
223
|
+
# * exons.end All other fields may be optionally specified, unless documented as
|
224
|
+
# being server-generated (for example, the `id` field). The annotated range must
|
225
|
+
# be no longer than 100Mbp (mega base pairs). See the Annotation resource for
|
226
|
+
# additional restrictions on each field.
|
227
|
+
# @param [Google::Apis::GenomicsV1::Annotation] annotation_object
|
228
|
+
# @param [String] fields
|
229
|
+
# Selector specifying which fields to include in a partial response.
|
230
|
+
# @param [String] quota_user
|
231
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
232
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
233
|
+
# @param [Google::Apis::RequestOptions] options
|
234
|
+
# Request-specific options
|
235
|
+
#
|
236
|
+
# @yield [result, err] Result & error if block supplied
|
237
|
+
# @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object
|
238
|
+
# @yieldparam err [StandardError] error object if request failed
|
239
|
+
#
|
240
|
+
# @return [Google::Apis::GenomicsV1::Annotation]
|
241
|
+
#
|
242
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
243
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
244
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
245
|
+
def create_annotation(annotation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
246
|
+
command = make_simple_command(:post, 'v1/annotations', options)
|
247
|
+
command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
248
|
+
command.request_object = annotation_object
|
249
|
+
command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
250
|
+
command.response_class = Google::Apis::GenomicsV1::Annotation
|
251
|
+
command.query['fields'] = fields unless fields.nil?
|
252
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
253
|
+
execute_or_queue_command(command, &block)
|
254
|
+
end
|
255
|
+
|
256
|
+
# Creates one or more new annotations atomically. All annotations must belong to
|
257
|
+
# the same annotation set. Caller must have WRITE permission for this annotation
|
258
|
+
# set. For optimal performance, batch positionally adjacent annotations together.
|
259
|
+
# If the request has a systemic issue, such as an attempt to write to an
|
260
|
+
# inaccessible annotation set, the entire RPC will fail accordingly. For lesser
|
261
|
+
# data issues, when possible an error will be isolated to the corresponding
|
262
|
+
# batch entry in the response; the remaining well formed annotations will be
|
263
|
+
# created normally. For details on the requirements for each individual
|
264
|
+
# annotation resource, see CreateAnnotation.
|
265
|
+
# @param [Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest] batch_create_annotations_request_object
|
266
|
+
# @param [String] fields
|
267
|
+
# Selector specifying which fields to include in a partial response.
|
268
|
+
# @param [String] quota_user
|
269
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
270
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
271
|
+
# @param [Google::Apis::RequestOptions] options
|
272
|
+
# Request-specific options
|
273
|
+
#
|
274
|
+
# @yield [result, err] Result & error if block supplied
|
275
|
+
# @yieldparam result [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse] parsed result object
|
276
|
+
# @yieldparam err [StandardError] error object if request failed
|
277
|
+
#
|
278
|
+
# @return [Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse]
|
279
|
+
#
|
280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
283
|
+
def batch_create_annotations(batch_create_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
284
|
+
command = make_simple_command(:post, 'v1/annotations:batchCreate', options)
|
285
|
+
command.request_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsRequest::Representation
|
286
|
+
command.request_object = batch_create_annotations_request_object
|
287
|
+
command.response_representation = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse::Representation
|
288
|
+
command.response_class = Google::Apis::GenomicsV1::BatchCreateAnnotationsResponse
|
289
|
+
command.query['fields'] = fields unless fields.nil?
|
290
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
291
|
+
execute_or_queue_command(command, &block)
|
292
|
+
end
|
293
|
+
|
294
|
+
# Gets an annotation. Caller must have READ permission for the associated
|
295
|
+
# annotation set.
|
296
|
+
# @param [String] annotation_id
|
297
|
+
# The ID of the annotation to be retrieved.
|
298
|
+
# @param [String] fields
|
299
|
+
# Selector specifying which fields to include in a partial response.
|
300
|
+
# @param [String] quota_user
|
301
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
302
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
303
|
+
# @param [Google::Apis::RequestOptions] options
|
304
|
+
# Request-specific options
|
305
|
+
#
|
306
|
+
# @yield [result, err] Result & error if block supplied
|
307
|
+
# @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object
|
308
|
+
# @yieldparam err [StandardError] error object if request failed
|
309
|
+
#
|
310
|
+
# @return [Google::Apis::GenomicsV1::Annotation]
|
311
|
+
#
|
312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
315
|
+
def get_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block)
|
316
|
+
command = make_simple_command(:get, 'v1/annotations/{annotationId}', options)
|
317
|
+
command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
318
|
+
command.response_class = Google::Apis::GenomicsV1::Annotation
|
319
|
+
command.params['annotationId'] = annotation_id unless annotation_id.nil?
|
320
|
+
command.query['fields'] = fields unless fields.nil?
|
321
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
322
|
+
execute_or_queue_command(command, &block)
|
323
|
+
end
|
324
|
+
|
325
|
+
# Updates an annotation. Caller must have WRITE permission for the associated
|
326
|
+
# dataset.
|
327
|
+
# @param [String] annotation_id
|
328
|
+
# The ID of the annotation to be updated.
|
329
|
+
# @param [Google::Apis::GenomicsV1::Annotation] annotation_object
|
330
|
+
# @param [String] update_mask
|
331
|
+
# An optional mask specifying which fields to update. Mutable fields are name,
|
332
|
+
# variant, transcript, and info. If unspecified, all mutable fields will be
|
333
|
+
# updated.
|
334
|
+
# @param [String] fields
|
335
|
+
# Selector specifying which fields to include in a partial response.
|
336
|
+
# @param [String] quota_user
|
337
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
338
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
339
|
+
# @param [Google::Apis::RequestOptions] options
|
340
|
+
# Request-specific options
|
341
|
+
#
|
342
|
+
# @yield [result, err] Result & error if block supplied
|
343
|
+
# @yieldparam result [Google::Apis::GenomicsV1::Annotation] parsed result object
|
344
|
+
# @yieldparam err [StandardError] error object if request failed
|
345
|
+
#
|
346
|
+
# @return [Google::Apis::GenomicsV1::Annotation]
|
347
|
+
#
|
348
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
349
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
350
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
351
|
+
def update_annotation(annotation_id, annotation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
352
|
+
command = make_simple_command(:put, 'v1/annotations/{annotationId}', options)
|
353
|
+
command.request_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
354
|
+
command.request_object = annotation_object
|
355
|
+
command.response_representation = Google::Apis::GenomicsV1::Annotation::Representation
|
356
|
+
command.response_class = Google::Apis::GenomicsV1::Annotation
|
357
|
+
command.params['annotationId'] = annotation_id unless annotation_id.nil?
|
358
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
359
|
+
command.query['fields'] = fields unless fields.nil?
|
360
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
361
|
+
execute_or_queue_command(command, &block)
|
362
|
+
end
|
363
|
+
|
364
|
+
# Deletes an annotation. Caller must have WRITE permission for the associated
|
365
|
+
# annotation set.
|
366
|
+
# @param [String] annotation_id
|
367
|
+
# The ID of the annotation to be deleted.
|
368
|
+
# @param [String] fields
|
369
|
+
# Selector specifying which fields to include in a partial response.
|
370
|
+
# @param [String] quota_user
|
371
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
372
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
373
|
+
# @param [Google::Apis::RequestOptions] options
|
374
|
+
# Request-specific options
|
375
|
+
#
|
376
|
+
# @yield [result, err] Result & error if block supplied
|
377
|
+
# @yieldparam result [Google::Apis::GenomicsV1::Empty] parsed result object
|
378
|
+
# @yieldparam err [StandardError] error object if request failed
|
379
|
+
#
|
380
|
+
# @return [Google::Apis::GenomicsV1::Empty]
|
381
|
+
#
|
382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
385
|
+
def delete_annotation(annotation_id, fields: nil, quota_user: nil, options: nil, &block)
|
386
|
+
command = make_simple_command(:delete, 'v1/annotations/{annotationId}', options)
|
387
|
+
command.response_representation = Google::Apis::GenomicsV1::Empty::Representation
|
388
|
+
command.response_class = Google::Apis::GenomicsV1::Empty
|
389
|
+
command.params['annotationId'] = annotation_id unless annotation_id.nil?
|
390
|
+
command.query['fields'] = fields unless fields.nil?
|
391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
392
|
+
execute_or_queue_command(command, &block)
|
393
|
+
end
|
394
|
+
|
395
|
+
# Searches for annotations that match the given criteria. Results are ordered by
|
396
|
+
# genomic coordinate (by reference sequence, then position). Annotations with
|
397
|
+
# equivalent genomic coordinates are returned in an unspecified order. This
|
398
|
+
# order is consistent, such that two queries for the same content (regardless of
|
399
|
+
# page size) yield annotations in the same order across their respective streams
|
400
|
+
# of paginated responses. Caller must have READ permission for the queried
|
401
|
+
# annotation sets.
|
402
|
+
# @param [Google::Apis::GenomicsV1::SearchAnnotationsRequest] search_annotations_request_object
|
403
|
+
# @param [String] fields
|
404
|
+
# Selector specifying which fields to include in a partial response.
|
405
|
+
# @param [String] quota_user
|
406
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
407
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
408
|
+
# @param [Google::Apis::RequestOptions] options
|
409
|
+
# Request-specific options
|
410
|
+
#
|
411
|
+
# @yield [result, err] Result & error if block supplied
|
412
|
+
# @yieldparam result [Google::Apis::GenomicsV1::SearchAnnotationsResponse] parsed result object
|
413
|
+
# @yieldparam err [StandardError] error object if request failed
|
414
|
+
#
|
415
|
+
# @return [Google::Apis::GenomicsV1::SearchAnnotationsResponse]
|
416
|
+
#
|
417
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
418
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
419
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
420
|
+
def search_annotations(search_annotations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
421
|
+
command = make_simple_command(:post, 'v1/annotations/search', options)
|
422
|
+
command.request_representation = Google::Apis::GenomicsV1::SearchAnnotationsRequest::Representation
|
423
|
+
command.request_object = search_annotations_request_object
|
424
|
+
command.response_representation = Google::Apis::GenomicsV1::SearchAnnotationsResponse::Representation
|
425
|
+
command.response_class = Google::Apis::GenomicsV1::SearchAnnotationsResponse
|
426
|
+
command.query['fields'] = fields unless fields.nil?
|
427
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
428
|
+
execute_or_queue_command(command, &block)
|
429
|
+
end
|
430
|
+
|
51
431
|
# Lists datasets within a project. For the definitions of datasets and other
|
52
432
|
# genomics resources, see [Fundamentals of Google Genomics](https://cloud.google.
|
53
433
|
# com/genomics/fundamentals-of-google-genomics)
|
@@ -193,9 +573,12 @@ module Google
|
|
193
573
|
execute_or_queue_command(command, &block)
|
194
574
|
end
|
195
575
|
|
196
|
-
# Deletes a dataset
|
197
|
-
#
|
198
|
-
#
|
576
|
+
# Deletes a dataset and all of its contents (all read group sets, reference sets,
|
577
|
+
# variant sets, call sets, annotation sets, etc.) This is reversible (up to one
|
578
|
+
# week after the deletion) via the datasets.undelete operation. For the
|
579
|
+
# definitions of datasets and other genomics resources, see [Fundamentals of
|
580
|
+
# Google Genomics](https://cloud.google.com/genomics/fundamentals-of-google-
|
581
|
+
# genomics)
|
199
582
|
# @param [String] dataset_id
|
200
583
|
# The ID of the dataset to be deleted.
|
201
584
|
# @param [String] fields
|
@@ -1046,13 +1429,11 @@ module Google
|
|
1046
1429
|
# any existing variant that matches its reference sequence, start, end,
|
1047
1430
|
# reference bases, and alternative bases. If no such variant exists, a new one
|
1048
1431
|
# will be created. When variants are merged, the call information from the new
|
1049
|
-
# variant is added to the existing variant, and
|
1050
|
-
#
|
1051
|
-
#
|
1052
|
-
#
|
1053
|
-
#
|
1054
|
-
# context. Imported VCF headers are appended to the metadata already in a
|
1055
|
-
# variant set.
|
1432
|
+
# variant is added to the existing variant, and Variant info fields are merged
|
1433
|
+
# as specified in infoMergeConfig. As a special case, for single-sample VCF
|
1434
|
+
# files, QUAL and FILTER fields will be moved to the call level; these are
|
1435
|
+
# sometimes interpreted in a call-specific context. Imported VCF headers are
|
1436
|
+
# appended to the metadata already in a variant set.
|
1056
1437
|
# @param [Google::Apis::GenomicsV1::ImportVariantsRequest] import_variants_request_object
|
1057
1438
|
# @param [String] fields
|
1058
1439
|
# Selector specifying which fields to include in a partial response.
|
@@ -1259,8 +1640,26 @@ module Google
|
|
1259
1640
|
# variant will be merged with an existing variant that matches its reference
|
1260
1641
|
# sequence, start, end, reference bases, and alternative bases. If no such
|
1261
1642
|
# variant exists, a new one will be created. When variants are merged, the call
|
1262
|
-
# information from the new variant is added to the existing variant
|
1263
|
-
# fields
|
1643
|
+
# information from the new variant is added to the existing variant. Variant
|
1644
|
+
# info fields are merged as specified in the infoMergeConfig field of the
|
1645
|
+
# MergeVariantsRequest. Please exercise caution when using this method! It is
|
1646
|
+
# easy to introduce mistakes in existing variants and difficult to back out of
|
1647
|
+
# them. For example, suppose you were trying to merge a new variant with an
|
1648
|
+
# existing one and both variants contain calls that belong to callsets with the
|
1649
|
+
# same callset ID. // Existing variant - irrelevant fields trimmed for clarity `
|
1650
|
+
# "variantSetId": "10473108253681171589", "referenceName": "1", "start": "10582",
|
1651
|
+
# "referenceBases": "G", "alternateBases": [ "A" ], "calls": [ ` "callSetId": "
|
1652
|
+
# 10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 0, 1 ], ` ] `
|
1653
|
+
# // New variant with conflicting call information ` "variantSetId": "
|
1654
|
+
# 10473108253681171589", "referenceName": "1", "start": "10582", "referenceBases"
|
1655
|
+
# : "G", "alternateBases": [ "A" ], "calls": [ ` "callSetId": "
|
1656
|
+
# 10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 1, 1 ], ` ] `
|
1657
|
+
# The resulting merged variant would overwrite the existing calls with those
|
1658
|
+
# from the new variant: ` "variantSetId": "10473108253681171589", "referenceName"
|
1659
|
+
# : "1", "start": "10582", "referenceBases": "G", "alternateBases": [ "A" ], "
|
1660
|
+
# calls": [ ` "callSetId": "10473108253681171589-0", "callSetName": "CALLSET0", "
|
1661
|
+
# genotype": [ 1, 1 ], ` ] ` This may be the desired outcome, but it is up to
|
1662
|
+
# the user to determine if if that is indeed the case.
|
1264
1663
|
# @param [Google::Apis::GenomicsV1::MergeVariantsRequest] merge_variants_request_object
|
1265
1664
|
# @param [String] fields
|
1266
1665
|
# Selector specifying which fields to include in a partial response.
|