on develop help sign in
Regenerating gogol-genomics from updated service defintions
commitf21083e6ae3cab20b34c5bc085d5d6794cf70bd4 authorBrendan Hay <brendan.g.hay@gmail.com> dateSat 11 Feb 2017, 11:36 (10 years ago) parent99b64c8
61 files changed+1074−1061
gogol-genomics/gen/Network/Google/Genomics.hs+45−47 gogol-genomics/gen/Network/Google/Genomics/Types.hs+43−35 gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+140−387 gogol-genomics/gen/Network/Google/Genomics/Types/Sum.hs+587 gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Create.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Delete.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Update.hs+7−7 gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/BatchCreate.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Create.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Delete.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Update.hs+7−7 gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Create.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Delete.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Patch.hs+7−7 gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Create.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Delete.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/GetIAMPolicy.hs+8−6 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/List.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Patch.hs+7−7 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/SetIAMPolicy.hs+8−6 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/TestIAMPermissions.hs+10−8 gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Undelete.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Operations/Cancel.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Operations/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Operations/List.hs+11−6 gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/CoverageBuckets/List.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Delete.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Export.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Import.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Patch.hs+7−7 gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Reads/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Reads/Stream.hs−173 gogol-genomics/gen/Network/Google/Resource/Genomics/References/Bases/List.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/References/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/References/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Referencesets/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Referencesets/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Create.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Delete.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Export.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Patch.hs+7−7 gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Create.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Delete.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Get.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Import.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Merge.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Patch.hs+7−7 gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Search.hs+4−4 gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Stream.hs−169 gogol-genomics/gogol-genomics.cabal+1−3
gogol-genomics/gen/Network/Google/Genomics.hs+45−47
@@ -13,9 +13,9 @@
1313-- Stability : auto-generated
1414-- Portability : non-portable (GHC extensions)
1515--
16−-- Stores, processes, explores and shares genomic data.
16+-- Upload, process, query, and search Genomics data in the cloud.
1717--
18−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference>
18+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference>
1919module Network.Google.Genomics
2020 (
2121 -- * Service Configuration
@@ -141,9 +141,6 @@ module Network.Google.Genomics
141141 -- ** genomics.reads.search
142142 , module Network.Google.Resource.Genomics.Reads.Search
143143
144− -- ** genomics.reads.stream
145− , module Network.Google.Resource.Genomics.Reads.Stream
146−
147144 -- ** genomics.references.bases.list
148145 , module Network.Google.Resource.Genomics.References.Bases.List
149146
@@ -180,9 +177,6 @@ module Network.Google.Genomics
180177 -- ** genomics.variants.search
181178 , module Network.Google.Resource.Genomics.Variants.Search
182179
183− -- ** genomics.variants.stream
184− , module Network.Google.Resource.Genomics.Variants.Stream
185−
186180 -- ** genomics.variantsets.create
187181 , module Network.Google.Resource.Genomics.VariantSets.Create
188182
@@ -232,6 +226,9 @@ module Network.Google.Genomics
232226 , operationSchema
233227 , osAddtional
234228
229+ -- ** VariantAnnotationEffect
230+ , VariantAnnotationEffect (..)
231+
235232 -- ** Variant
236233 , Variant
237234 , variant
@@ -315,6 +312,11 @@ module Network.Google.Genomics
315312 , rReadNumber
316313 , rAlignedQuality
317314
315+ -- ** OperationMetadataLabels
316+ , OperationMetadataLabels
317+ , operationMetadataLabels
318+ , omlAddtional
319+
318320 -- ** VariantCall
319321 , VariantCall
320322 , variantCall
@@ -374,6 +376,9 @@ module Network.Google.Genomics
374376 , Empty
375377 , empty
376378
379+ -- ** AnnotationSetType
380+ , AnnotationSetType (..)
381+
377382 -- ** SearchReferencesResponse
378383 , SearchReferencesResponse
379384 , searchReferencesResponse
@@ -418,6 +423,9 @@ module Network.Google.Genomics
418423 , vaType
419424 , vaTranscriptIds
420425
426+ -- ** VariantAnnotationClinicalSignificance
427+ , VariantAnnotationClinicalSignificance (..)
428+
421429 -- ** SearchReadGroupSetsRequest
422430 , SearchReadGroupSetsRequest
423431 , searchReadGroupSetsRequest
@@ -447,21 +455,11 @@ module Network.Google.Genomics
447455 , readGroupInfo
448456 , rgiAddtional
449457
450− -- ** StreamVariantsResponse
451− , StreamVariantsResponse
452− , streamVariantsResponse
453− , svrVariants
454−
455458 -- ** StatusDetailsItem
456459 , StatusDetailsItem
457460 , statusDetailsItem
458461 , sdiAddtional
459462
460− -- ** StreamReadsResponse
461− , StreamReadsResponse
462− , streamReadsResponse
463− , srrAlignments
464−
465463 -- ** SearchCallSetsResponse
466464 , SearchCallSetsResponse
467465 , searchCallSetsResponse
@@ -535,11 +533,14 @@ module Network.Google.Genomics
535533 , sasrPageToken
536534 , sasrPageSize
537535
536+ -- ** ImportReadGroupSetsRequestPartitionStrategy
537+ , ImportReadGroupSetsRequestPartitionStrategy (..)
538+
538539 -- ** SearchVariantsResponse
539540 , SearchVariantsResponse
540541 , searchVariantsResponse
541− , sVariants
542− , sNextPageToken
542+ , svrVariants
543+ , svrNextPageToken
543544
544545 -- ** OperationMetadataRuntimeMetadata
545546 , OperationMetadataRuntimeMetadata
@@ -554,17 +555,6 @@ module Network.Google.Genomics
554555 , ccConceptId
555556 , ccOmimId
556557
557− -- ** StreamReadsRequest
558− , StreamReadsRequest
559− , streamReadsRequest
560− , sShard
561− , sReadGroupSetId
562− , sTotalShards
563− , sStart
564− , sReferenceName
565− , sEnd
566− , sProjectId
567−
568558 -- ** SearchCallSetsRequest
569559 , SearchCallSetsRequest
570560 , searchCallSetsRequest
@@ -582,8 +572,8 @@ module Network.Google.Genomics
582572 -- ** SearchReadsResponse
583573 , SearchReadsResponse
584574 , searchReadsResponse
585− , seaNextPageToken
586− , seaAlignments
575+ , sNextPageToken
576+ , sAlignments
587577
588578 -- ** Program
589579 , Program
@@ -614,6 +604,9 @@ module Network.Google.Genomics
614604 , csStart
615605 , csEnd
616606
607+ -- ** AnnotationType
608+ , AnnotationType (..)
609+
617610 -- ** SearchReferenceSetsResponse
618611 , SearchReferenceSetsResponse
619612 , searchReferenceSetsResponse
@@ -638,6 +631,9 @@ module Network.Google.Genomics
638631 , rgsReadGroups
639632 , rgsFilename
640633
634+ -- ** Xgafv
635+ , Xgafv (..)
636+
641637 -- ** ExportReadGroupSetRequest
642638 , ExportReadGroupSetRequest
643639 , exportReadGroupSetRequest
@@ -696,6 +692,12 @@ module Network.Google.Genomics
696692 , vsId
697693 , vsDescription
698694
695+ -- ** CigarUnitOperation
696+ , CigarUnitOperation (..)
697+
698+ -- ** VariantSetMetadataType
699+ , VariantSetMetadataType (..)
700+
699701 -- ** TestIAMPermissionsResponse
700702 , TestIAMPermissionsResponse
701703 , testIAMPermissionsResponse
@@ -753,6 +755,9 @@ module Network.Google.Genomics
753755 , evsrCallSetIds
754756 , evsrProjectId
755757
758+ -- ** VariantAnnotationType
759+ , VariantAnnotationType (..)
760+
756761 -- ** OperationMetadata
757762 , OperationMetadata
758763 , operationMetadata
@@ -760,11 +765,15 @@ module Network.Google.Genomics
760765 , omStartTime
761766 , omEvents
762767 , omEndTime
768+ , omLabels
763769 , omProjectId
764770 , omCreateTime
765771 , omRuntimeMetadata
766772 , omRequest
767773
774+ -- ** ImportVariantsRequestFormat
775+ , ImportVariantsRequestFormat (..)
776+
768777 -- ** SearchAnnotationsRequest
769778 , SearchAnnotationsRequest
770779 , searchAnnotationsRequest
@@ -795,6 +804,9 @@ module Network.Google.Genomics
795804 , svrVariantSetIds
796805 , svrPageSize
797806
807+ -- ** ExportVariantSetRequestFormat
808+ , ExportVariantSetRequestFormat (..)
809+
798810 -- ** AnnotationSetInfo
799811 , AnnotationSetInfo
800812 , annotationSetInfo
@@ -843,16 +855,6 @@ module Network.Google.Genomics
843855 , oeEndTime
844856 , oeDescription
845857
846− -- ** StreamVariantsRequest
847− , StreamVariantsRequest
848− , streamVariantsRequest
849− , strVariantSetId
850− , strStart
851− , strCallSetIds
852− , strReferenceName
853− , strEnd
854− , strProjectId
855−
856858 -- ** ReferenceBound
857859 , ReferenceBound
858860 , referenceBound
@@ -943,7 +945,6 @@ import Network.Google.Resource.Genomics.ReadGroupSets.Import
943945import Network.Google.Resource.Genomics.ReadGroupSets.Patch
944946import Network.Google.Resource.Genomics.ReadGroupSets.Search
945947import Network.Google.Resource.Genomics.Reads.Search
946−import Network.Google.Resource.Genomics.Reads.Stream
947948import Network.Google.Resource.Genomics.References.Bases.List
948949import Network.Google.Resource.Genomics.References.Get
949950import Network.Google.Resource.Genomics.References.Search
@@ -956,7 +957,6 @@ import Network.Google.Resource.Genomics.Variants.Import
956957import Network.Google.Resource.Genomics.Variants.Merge
957958import Network.Google.Resource.Genomics.Variants.Patch
958959import Network.Google.Resource.Genomics.Variants.Search
959−import Network.Google.Resource.Genomics.Variants.Stream
960960import Network.Google.Resource.Genomics.VariantSets.Create
961961import Network.Google.Resource.Genomics.VariantSets.Delete
962962import Network.Google.Resource.Genomics.VariantSets.Export
@@ -975,7 +975,6 @@ type GenomicsAPI =
975975 :<|> AnnotationsSearchResource
976976 :<|> AnnotationsDeleteResource
977977 :<|> AnnotationsUpdateResource
978− :<|> VariantsStreamResource
979978 :<|> VariantsPatchResource
980979 :<|> VariantsGetResource
981980 :<|> VariantsCreateResource
@@ -1014,7 +1013,6 @@ type GenomicsAPI =
10141013 :<|> OperationsListResource
10151014 :<|> OperationsGetResource
10161015 :<|> OperationsCancelResource
1017− :<|> ReadsStreamResource
10181016 :<|> ReadsSearchResource
10191017 :<|> DataSetsListResource
10201018 :<|> DataSetsUndeleteResource
gogol-genomics/gen/Network/Google/Genomics/Types.hs+43−35
@@ -55,6 +55,9 @@ module Network.Google.Genomics.Types
5555 , operationSchema
5656 , osAddtional
5757
58+ -- * VariantAnnotationEffect
59+ , VariantAnnotationEffect (..)
60+
5861 -- * Variant
5962 , Variant
6063 , variant
@@ -138,6 +141,11 @@ module Network.Google.Genomics.Types
138141 , rReadNumber
139142 , rAlignedQuality
140143
144+ -- * OperationMetadataLabels
145+ , OperationMetadataLabels
146+ , operationMetadataLabels
147+ , omlAddtional
148+
141149 -- * VariantCall
142150 , VariantCall
143151 , variantCall
@@ -197,6 +205,9 @@ module Network.Google.Genomics.Types
197205 , Empty
198206 , empty
199207
208+ -- * AnnotationSetType
209+ , AnnotationSetType (..)
210+
200211 -- * SearchReferencesResponse
201212 , SearchReferencesResponse
202213 , searchReferencesResponse
@@ -241,6 +252,9 @@ module Network.Google.Genomics.Types
241252 , vaType
242253 , vaTranscriptIds
243254
255+ -- * VariantAnnotationClinicalSignificance
256+ , VariantAnnotationClinicalSignificance (..)
257+
244258 -- * SearchReadGroupSetsRequest
245259 , SearchReadGroupSetsRequest
246260 , searchReadGroupSetsRequest
@@ -270,21 +284,11 @@ module Network.Google.Genomics.Types
270284 , readGroupInfo
271285 , rgiAddtional
272286
273− -- * StreamVariantsResponse
274− , StreamVariantsResponse
275− , streamVariantsResponse
276− , svrVariants
277−
278287 -- * StatusDetailsItem
279288 , StatusDetailsItem
280289 , statusDetailsItem
281290 , sdiAddtional
282291
283− -- * StreamReadsResponse
284− , StreamReadsResponse
285− , streamReadsResponse
286− , srrAlignments
287−
288292 -- * SearchCallSetsResponse
289293 , SearchCallSetsResponse
290294 , searchCallSetsResponse
@@ -358,11 +362,14 @@ module Network.Google.Genomics.Types
358362 , sasrPageToken
359363 , sasrPageSize
360364
365+ -- * ImportReadGroupSetsRequestPartitionStrategy
366+ , ImportReadGroupSetsRequestPartitionStrategy (..)
367+
361368 -- * SearchVariantsResponse
362369 , SearchVariantsResponse
363370 , searchVariantsResponse
364− , sVariants
365− , sNextPageToken
371+ , svrVariants
372+ , svrNextPageToken
366373
367374 -- * OperationMetadataRuntimeMetadata
368375 , OperationMetadataRuntimeMetadata
@@ -377,17 +384,6 @@ module Network.Google.Genomics.Types
377384 , ccConceptId
378385 , ccOmimId
379386
380− -- * StreamReadsRequest
381− , StreamReadsRequest
382− , streamReadsRequest
383− , sShard
384− , sReadGroupSetId
385− , sTotalShards
386− , sStart
387− , sReferenceName
388− , sEnd
389− , sProjectId
390−
391387 -- * SearchCallSetsRequest
392388 , SearchCallSetsRequest
393389 , searchCallSetsRequest
@@ -405,8 +401,8 @@ module Network.Google.Genomics.Types
405401 -- * SearchReadsResponse
406402 , SearchReadsResponse
407403 , searchReadsResponse
408− , seaNextPageToken
409− , seaAlignments
404+ , sNextPageToken
405+ , sAlignments
410406
411407 -- * Program
412408 , Program
@@ -437,6 +433,9 @@ module Network.Google.Genomics.Types
437433 , csStart
438434 , csEnd
439435
436+ -- * AnnotationType
437+ , AnnotationType (..)
438+
440439 -- * SearchReferenceSetsResponse
441440 , SearchReferenceSetsResponse
442441 , searchReferenceSetsResponse
@@ -461,6 +460,9 @@ module Network.Google.Genomics.Types
461460 , rgsReadGroups
462461 , rgsFilename
463462
463+ -- * Xgafv
464+ , Xgafv (..)
465+
464466 -- * ExportReadGroupSetRequest
465467 , ExportReadGroupSetRequest
466468 , exportReadGroupSetRequest
@@ -519,6 +521,12 @@ module Network.Google.Genomics.Types
519521 , vsId
520522 , vsDescription
521523
524+ -- * CigarUnitOperation
525+ , CigarUnitOperation (..)
526+
527+ -- * VariantSetMetadataType
528+ , VariantSetMetadataType (..)
529+
522530 -- * TestIAMPermissionsResponse
523531 , TestIAMPermissionsResponse
524532 , testIAMPermissionsResponse
@@ -576,6 +584,9 @@ module Network.Google.Genomics.Types
576584 , evsrCallSetIds
577585 , evsrProjectId
578586
587+ -- * VariantAnnotationType
588+ , VariantAnnotationType (..)
589+
579590 -- * OperationMetadata
580591 , OperationMetadata
581592 , operationMetadata
@@ -583,11 +594,15 @@ module Network.Google.Genomics.Types
583594 , omStartTime
584595 , omEvents
585596 , omEndTime
597+ , omLabels
586598 , omProjectId
587599 , omCreateTime
588600 , omRuntimeMetadata
589601 , omRequest
590602
603+ -- * ImportVariantsRequestFormat
604+ , ImportVariantsRequestFormat (..)
605+
591606 -- * SearchAnnotationsRequest
592607 , SearchAnnotationsRequest
593608 , searchAnnotationsRequest
@@ -618,6 +633,9 @@ module Network.Google.Genomics.Types
618633 , svrVariantSetIds
619634 , svrPageSize
620635
636+ -- * ExportVariantSetRequestFormat
637+ , ExportVariantSetRequestFormat (..)
638+
621639 -- * AnnotationSetInfo
622640 , AnnotationSetInfo
623641 , annotationSetInfo
@@ -666,16 +684,6 @@ module Network.Google.Genomics.Types
666684 , oeEndTime
667685 , oeDescription
668686
669− -- * StreamVariantsRequest
670− , StreamVariantsRequest
671− , streamVariantsRequest
672− , strVariantSetId
673− , strStart
674− , strCallSetIds
675− , strReferenceName
676− , strEnd
677− , strProjectId
678−
679687 -- * ReferenceBound
680688 , ReferenceBound
681689 , referenceBound
gogol-genomics/gen/Network/Google/Genomics/Types/Product.hs+140−387
@@ -509,7 +509,7 @@ data Annotation = Annotation'
509509 , _aName :: !(Maybe Text)
510510 , _aEnd :: !(Maybe (Textual Int64))
511511 , _aId :: !(Maybe Text)
512− , _aType :: !(Maybe Text)
512+ , _aType :: !(Maybe AnnotationType)
513513 , _aTranscript :: !(Maybe Transcript)
514514 , _aInfo :: !(Maybe AnnotationInfo)
515515 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -614,7 +614,7 @@ aId = lens _aId (\ s a -> s{_aId = a})
614614
615615-- | The data type for this annotation. Must match the containing annotation
616616-- set\'s type.
617−aType :: Lens' Annotation (Maybe Text)
617+aType :: Lens' Annotation (Maybe AnnotationType)
618618aType = lens _aType (\ s a -> s{_aType = a})
619619
620620-- | A transcript value represents the assertion that a particular region of
@@ -829,7 +829,7 @@ data DataSet = DataSet'
829829 { _dsName :: !(Maybe Text)
830830 , _dsId :: !(Maybe Text)
831831 , _dsProjectId :: !(Maybe Text)
832− , _dsCreateTime :: !(Maybe Text)
832+ , _dsCreateTime :: !(Maybe DateTime')
833833 } deriving (Eq,Show,Data,Typeable,Generic)
834834
835835-- | Creates a value of 'DataSet' with the minimum fields required to make a request.
@@ -867,9 +867,10 @@ dsProjectId
867867 = lens _dsProjectId (\ s a -> s{_dsProjectId = a})
868868
869869-- | The time this dataset was created, in seconds from the epoch.
870−dsCreateTime :: Lens' DataSet (Maybe Text)
870+dsCreateTime :: Lens' DataSet (Maybe UTCTime)
871871dsCreateTime
872872 = lens _dsCreateTime (\ s a -> s{_dsCreateTime = a})
873+ . mapping _DateTime
873874
874875instance FromJSON DataSet where
875876 parseJSON
@@ -1196,6 +1197,41 @@ instance ToJSON Read' where
11961197 ("readNumber" .=) <$> _rReadNumber,
11971198 ("alignedQuality" .=) <$> _rAlignedQuality])
11981199
1200+-- | Optionally provided by the caller when submitting the request that
1201+-- creates the operation.
1202+--
1203+-- /See:/ 'operationMetadataLabels' smart constructor.
1204+newtype OperationMetadataLabels = OperationMetadataLabels'
1205+ { _omlAddtional :: HashMap Text Text
1206+ } deriving (Eq,Show,Data,Typeable,Generic)
1207+
1208+-- | Creates a value of 'OperationMetadataLabels' with the minimum fields required to make a request.
1209+--
1210+-- Use one of the following lenses to modify other fields as desired:
1211+--
1212+-- * 'omlAddtional'
1213+operationMetadataLabels
1214+ :: HashMap Text Text -- ^ 'omlAddtional'
1215+ -> OperationMetadataLabels
1216+operationMetadataLabels pOmlAddtional_ =
1217+ OperationMetadataLabels'
1218+ { _omlAddtional = _Coerce # pOmlAddtional_
1219+ }
1220+
1221+omlAddtional :: Lens' OperationMetadataLabels (HashMap Text Text)
1222+omlAddtional
1223+ = lens _omlAddtional (\ s a -> s{_omlAddtional = a})
1224+ . _Coerce
1225+
1226+instance FromJSON OperationMetadataLabels where
1227+ parseJSON
1228+ = withObject "OperationMetadataLabels"
1229+ (\ o ->
1230+ OperationMetadataLabels' <$> (parseJSONObject o))
1231+
1232+instance ToJSON OperationMetadataLabels where
1233+ toJSON = toJSON . _omlAddtional
1234+
11991235-- | A call represents the determination of genotype with respect to a
12001236-- particular variant. It may include associated information such as
12011237-- quality and phasing. For example, a call might assign a probability of
@@ -1637,7 +1673,7 @@ oError = lens _oError (\ s a -> s{_oError = a})
16371673
16381674-- | If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned.
16391675-- If importing Variants, an ImportVariantsResponse is returned. For
1640−-- exports, an empty response is returned.
1676+-- pipelines and exports, an empty response is returned.
16411677oResponse :: Lens' Operation (Maybe OperationResponse)
16421678oResponse
16431679 = lens _oResponse (\ s a -> s{_oResponse = a})
@@ -1855,7 +1891,7 @@ data VariantSetMetadata = VariantSetMetadata'
18551891 { _vsmValue :: !(Maybe Text)
18561892 , _vsmKey :: !(Maybe Text)
18571893 , _vsmId :: !(Maybe Text)
1858− , _vsmType :: !(Maybe Text)
1894+ , _vsmType :: !(Maybe VariantSetMetadataType)
18591895 , _vsmNumber :: !(Maybe Text)
18601896 , _vsmDescription :: !(Maybe Text)
18611897 , _vsmInfo :: !(Maybe VariantSetMetadataInfo)
@@ -1907,7 +1943,7 @@ vsmId = lens _vsmId (\ s a -> s{_vsmId = a})
19071943
19081944-- | The type of data. Possible types include: Integer, Float, Flag,
19091945-- Character, and String.
1910−vsmType :: Lens' VariantSetMetadata (Maybe Text)
1946+vsmType :: Lens' VariantSetMetadata (Maybe VariantSetMetadataType)
19111947vsmType = lens _vsmType (\ s a -> s{_vsmType = a})
19121948
19131949-- | The number of values that can be included in a field described by this
@@ -2098,12 +2134,12 @@ instance ToJSON CoverageBucket where
20982134--
20992135-- /See:/ 'variantAnnotation' smart constructor.
21002136data VariantAnnotation = VariantAnnotation'
2101− { _vaEffect :: !(Maybe Text)
2102− , _vaClinicalSignificance :: !(Maybe Text)
2137+ { _vaEffect :: !(Maybe VariantAnnotationEffect)
2138+ , _vaClinicalSignificance :: !(Maybe VariantAnnotationClinicalSignificance)
21032139 , _vaAlternateBases :: !(Maybe Text)
21042140 , _vaGeneId :: !(Maybe Text)
21052141 , _vaConditions :: !(Maybe [ClinicalCondition])
2106− , _vaType :: !(Maybe Text)
2142+ , _vaType :: !(Maybe VariantAnnotationType)
21072143 , _vaTranscriptIds :: !(Maybe [Text])
21082144 } deriving (Eq,Show,Data,Typeable,Generic)
21092145
@@ -2138,13 +2174,13 @@ variantAnnotation =
21382174 }
21392175
21402176-- | Effect of the variant on the coding sequence.
2141−vaEffect :: Lens' VariantAnnotation (Maybe Text)
2177+vaEffect :: Lens' VariantAnnotation (Maybe VariantAnnotationEffect)
21422178vaEffect = lens _vaEffect (\ s a -> s{_vaEffect = a})
21432179
21442180-- | Describes the clinical significance of a variant. It is adapted from the
21452181-- ClinVar controlled vocabulary for clinical significance described at:
21462182-- http:\/\/www.ncbi.nlm.nih.gov\/clinvar\/docs\/clinsig\/
2147−vaClinicalSignificance :: Lens' VariantAnnotation (Maybe Text)
2183+vaClinicalSignificance :: Lens' VariantAnnotation (Maybe VariantAnnotationClinicalSignificance)
21482184vaClinicalSignificance
21492185 = lens _vaClinicalSignificance
21502186 (\ s a -> s{_vaClinicalSignificance = a})
@@ -2171,7 +2207,7 @@ vaConditions
21712207 . _Coerce
21722208
21732209-- | Type has been adapted from ClinVar\'s list of variant types.
2174−vaType :: Lens' VariantAnnotation (Maybe Text)
2210+vaType :: Lens' VariantAnnotation (Maybe VariantAnnotationType)
21752211vaType = lens _vaType (\ s a -> s{_vaType = a})
21762212
21772213-- | Google annotation IDs of the transcripts affected by this variant. These
@@ -2474,42 +2510,6 @@ instance FromJSON ReadGroupInfo where
24742510instance ToJSON ReadGroupInfo where
24752511 toJSON = toJSON . _rgiAddtional
24762512
2477−--
2478−-- /See:/ 'streamVariantsResponse' smart constructor.
2479−newtype StreamVariantsResponse = StreamVariantsResponse'
2480− { _svrVariants :: Maybe [Variant]
2481− } deriving (Eq,Show,Data,Typeable,Generic)
2482−
2483−-- | Creates a value of 'StreamVariantsResponse' with the minimum fields required to make a request.
2484−--
2485−-- Use one of the following lenses to modify other fields as desired:
2486−--
2487−-- * 'svrVariants'
2488−streamVariantsResponse
2489− :: StreamVariantsResponse
2490−streamVariantsResponse =
2491− StreamVariantsResponse'
2492− { _svrVariants = Nothing
2493− }
2494−
2495−svrVariants :: Lens' StreamVariantsResponse [Variant]
2496−svrVariants
2497− = lens _svrVariants (\ s a -> s{_svrVariants = a}) .
2498− _Default
2499− . _Coerce
2500−
2501−instance FromJSON StreamVariantsResponse where
2502− parseJSON
2503− = withObject "StreamVariantsResponse"
2504− (\ o ->
2505− StreamVariantsResponse' <$>
2506− (o .:? "variants" .!= mempty))
2507−
2508−instance ToJSON StreamVariantsResponse where
2509− toJSON StreamVariantsResponse'{..}
2510− = object
2511− (catMaybes [("variants" .=) <$> _svrVariants])
2512−
25132513--
25142514-- /See:/ 'statusDetailsItem' smart constructor.
25152515newtype StatusDetailsItem = StatusDetailsItem'
@@ -2543,43 +2543,6 @@ instance FromJSON StatusDetailsItem where
25432543instance ToJSON StatusDetailsItem where
25442544 toJSON = toJSON . _sdiAddtional
25452545
2546−--
2547−-- /See:/ 'streamReadsResponse' smart constructor.
2548−newtype StreamReadsResponse = StreamReadsResponse'
2549− { _srrAlignments :: Maybe [Read']
2550− } deriving (Eq,Show,Data,Typeable,Generic)
2551−
2552−-- | Creates a value of 'StreamReadsResponse' with the minimum fields required to make a request.
2553−--
2554−-- Use one of the following lenses to modify other fields as desired:
2555−--
2556−-- * 'srrAlignments'
2557−streamReadsResponse
2558− :: StreamReadsResponse
2559−streamReadsResponse =
2560− StreamReadsResponse'
2561− { _srrAlignments = Nothing
2562− }
2563−
2564−srrAlignments :: Lens' StreamReadsResponse [Read']
2565−srrAlignments
2566− = lens _srrAlignments
2567− (\ s a -> s{_srrAlignments = a})
2568− . _Default
2569− . _Coerce
2570−
2571−instance FromJSON StreamReadsResponse where
2572− parseJSON
2573− = withObject "StreamReadsResponse"
2574− (\ o ->
2575− StreamReadsResponse' <$>
2576− (o .:? "alignments" .!= mempty))
2577−
2578−instance ToJSON StreamReadsResponse where
2579− toJSON StreamReadsResponse'{..}
2580− = object
2581− (catMaybes [("alignments" .=) <$> _srrAlignments])
2582−
25832546-- | The call set search response.
25842547--
25852548-- /See:/ 'searchCallSetsResponse' smart constructor.
@@ -3247,29 +3210,29 @@ instance ToJSON SearchAnnotationSetsRequest where
32473210--
32483211-- /See:/ 'searchVariantsResponse' smart constructor.
32493212data SearchVariantsResponse = SearchVariantsResponse'
3250− { _sVariants :: !(Maybe [Variant])
3251− , _sNextPageToken :: !(Maybe Text)
3213+ { _svrVariants :: !(Maybe [Variant])
3214+ , _svrNextPageToken :: !(Maybe Text)
32523215 } deriving (Eq,Show,Data,Typeable,Generic)
32533216
32543217-- | Creates a value of 'SearchVariantsResponse' with the minimum fields required to make a request.
32553218--
32563219-- Use one of the following lenses to modify other fields as desired:
32573220--
3258−-- * 'sVariants'
3221+-- * 'svrVariants'
32593222--
3260−-- * 'sNextPageToken'
3223+-- * 'svrNextPageToken'
32613224searchVariantsResponse
32623225 :: SearchVariantsResponse
32633226searchVariantsResponse =
32643227 SearchVariantsResponse'
3265− { _sVariants = Nothing
3266− , _sNextPageToken = Nothing
3228+ { _svrVariants = Nothing
3229+ , _svrNextPageToken = Nothing
32673230 }
32683231
32693232-- | The list of matching Variants.
3270−sVariants :: Lens' SearchVariantsResponse [Variant]
3271−sVariants
3272− = lens _sVariants (\ s a -> s{_sVariants = a}) .
3233+svrVariants :: Lens' SearchVariantsResponse [Variant]
3234+svrVariants
3235+ = lens _svrVariants (\ s a -> s{_svrVariants = a}) .
32733236 _Default
32743237 . _Coerce
32753238
@@ -3277,10 +3240,10 @@ sVariants
32773240-- Provide this value in a subsequent request to return the next page of
32783241-- results. This field will be empty if there aren\'t any additional
32793242-- results.
3280−sNextPageToken :: Lens' SearchVariantsResponse (Maybe Text)
3281−sNextPageToken
3282− = lens _sNextPageToken
3283− (\ s a -> s{_sNextPageToken = a})
3243+svrNextPageToken :: Lens' SearchVariantsResponse (Maybe Text)
3244+svrNextPageToken
3245+ = lens _svrNextPageToken
3246+ (\ s a -> s{_svrNextPageToken = a})
32843247
32853248instance FromJSON SearchVariantsResponse where
32863249 parseJSON
@@ -3294,8 +3257,8 @@ instance ToJSON SearchVariantsResponse where
32943257 toJSON SearchVariantsResponse'{..}
32953258 = object
32963259 (catMaybes
3297− [("variants" .=) <$> _sVariants,
3298− ("nextPageToken" .=) <$> _sNextPageToken])
3260+ [("variants" .=) <$> _svrVariants,
3261+ ("nextPageToken" .=) <$> _svrNextPageToken])
32993262
33003263-- | Runtime metadata on this Operation.
33013264--
@@ -3410,134 +3373,6 @@ instance ToJSON ClinicalCondition where
34103373 ("conceptId" .=) <$> _ccConceptId,
34113374 ("omimId" .=) <$> _ccOmimId])
34123375
3413−-- | The stream reads request.
3414−--
3415−-- /See:/ 'streamReadsRequest' smart constructor.
3416−data StreamReadsRequest = StreamReadsRequest'
3417− { _sShard :: !(Maybe (Textual Int32))
3418− , _sReadGroupSetId :: !(Maybe Text)
3419− , _sTotalShards :: !(Maybe (Textual Int32))
3420− , _sStart :: !(Maybe (Textual Int64))
3421− , _sReferenceName :: !(Maybe Text)
3422− , _sEnd :: !(Maybe (Textual Int64))
3423− , _sProjectId :: !(Maybe Text)
3424− } deriving (Eq,Show,Data,Typeable,Generic)
3425−
3426−-- | Creates a value of 'StreamReadsRequest' with the minimum fields required to make a request.
3427−--
3428−-- Use one of the following lenses to modify other fields as desired:
3429−--
3430−-- * 'sShard'
3431−--
3432−-- * 'sReadGroupSetId'
3433−--
3434−-- * 'sTotalShards'
3435−--
3436−-- * 'sStart'
3437−--
3438−-- * 'sReferenceName'
3439−--
3440−-- * 'sEnd'
3441−--
3442−-- * 'sProjectId'
3443−streamReadsRequest
3444− :: StreamReadsRequest
3445−streamReadsRequest =
3446− StreamReadsRequest'
3447− { _sShard = Nothing
3448− , _sReadGroupSetId = Nothing
3449− , _sTotalShards = Nothing
3450− , _sStart = Nothing
3451− , _sReferenceName = Nothing
3452− , _sEnd = Nothing
3453− , _sProjectId = Nothing
3454− }
3455−
3456−-- | Restricts results to a shard containing approximately \`1\/totalShards\`
3457−-- of the normal response payload for this query. Results from a sharded
3458−-- request are disjoint from those returned by all queries which differ
3459−-- only in their shard parameter. A shard may yield 0 results; this is
3460−-- especially likely for large values of \`totalShards\`. Valid values are
3461−-- \`[0, totalShards)\`.
3462−sShard :: Lens' StreamReadsRequest (Maybe Int32)
3463−sShard
3464− = lens _sShard (\ s a -> s{_sShard = a}) .
3465− mapping _Coerce
3466−
3467−-- | The ID of the read group set from which to stream reads.
3468−sReadGroupSetId :: Lens' StreamReadsRequest (Maybe Text)
3469−sReadGroupSetId
3470− = lens _sReadGroupSetId
3471− (\ s a -> s{_sReadGroupSetId = a})
3472−
3473−-- | Specifying \`totalShards\` causes a disjoint subset of the normal
3474−-- response payload to be returned for each query with a unique \`shard\`
3475−-- parameter specified. A best effort is made to yield equally sized
3476−-- shards. Sharding can be used to distribute processing amongst workers,
3477−-- where each worker is assigned a unique \`shard\` number and all workers
3478−-- specify the same \`totalShards\` number. The union of reads returned for
3479−-- all sharded queries \`[0, totalShards)\` is equal to those returned by a
3480−-- single unsharded query. Queries for different values of \`totalShards\`
3481−-- with common divisors will share shard boundaries. For example, streaming
3482−-- \`shard\` 2 of 5 \`totalShards\` yields the same results as streaming
3483−-- \`shard\`s 4 and 5 of 10 \`totalShards\`. This property can be leveraged
3484−-- for adaptive retries.
3485−sTotalShards :: Lens' StreamReadsRequest (Maybe Int32)
3486−sTotalShards
3487− = lens _sTotalShards (\ s a -> s{_sTotalShards = a})
3488− . mapping _Coerce
3489−
3490−-- | The start position of the range on the reference, 0-based inclusive. If
3491−-- specified, \`referenceName\` must also be specified.
3492−sStart :: Lens' StreamReadsRequest (Maybe Int64)
3493−sStart
3494− = lens _sStart (\ s a -> s{_sStart = a}) .
3495− mapping _Coerce
3496−
3497−-- | The reference sequence name, for example \`chr1\`, \`1\`, or \`chrX\`.
3498−-- If set to *, only unmapped reads are returned.
3499−sReferenceName :: Lens' StreamReadsRequest (Maybe Text)
3500−sReferenceName
3501− = lens _sReferenceName
3502− (\ s a -> s{_sReferenceName = a})
3503−
3504−-- | The end position of the range on the reference, 0-based exclusive. If
3505−-- specified, \`referenceName\` must also be specified.
3506−sEnd :: Lens' StreamReadsRequest (Maybe Int64)
3507−sEnd
3508− = lens _sEnd (\ s a -> s{_sEnd = a}) .
3509− mapping _Coerce
3510−
3511−-- | The Google Cloud project ID which will be billed for this access. The
3512−-- caller must have WRITE access to this project. Required.
3513−sProjectId :: Lens' StreamReadsRequest (Maybe Text)
3514−sProjectId
3515− = lens _sProjectId (\ s a -> s{_sProjectId = a})
3516−
3517−instance FromJSON StreamReadsRequest where
3518− parseJSON
3519− = withObject "StreamReadsRequest"
3520− (\ o ->
3521− StreamReadsRequest' <$>
3522− (o .:? "shard") <*> (o .:? "readGroupSetId") <*>
3523− (o .:? "totalShards")
3524− <*> (o .:? "start")
3525− <*> (o .:? "referenceName")
3526− <*> (o .:? "end")
3527− <*> (o .:? "projectId"))
3528−
3529−instance ToJSON StreamReadsRequest where
3530− toJSON StreamReadsRequest'{..}
3531− = object
3532− (catMaybes
3533− [("shard" .=) <$> _sShard,
3534− ("readGroupSetId" .=) <$> _sReadGroupSetId,
3535− ("totalShards" .=) <$> _sTotalShards,
3536− ("start" .=) <$> _sStart,
3537− ("referenceName" .=) <$> _sReferenceName,
3538− ("end" .=) <$> _sEnd,
3539− ("projectId" .=) <$> _sProjectId])
3540−
35413376-- | The call set search request.
35423377--
35433378-- /See:/ 'searchCallSetsRequest' smart constructor.
@@ -3664,43 +3499,42 @@ instance ToJSON Entry where
36643499--
36653500-- /See:/ 'searchReadsResponse' smart constructor.
36663501data SearchReadsResponse = SearchReadsResponse'
3667− { _seaNextPageToken :: !(Maybe Text)
3668− , _seaAlignments :: !(Maybe [Read'])
3502+ { _sNextPageToken :: !(Maybe Text)
3503+ , _sAlignments :: !(Maybe [Read'])
36693504 } deriving (Eq,Show,Data,Typeable,Generic)
36703505
36713506-- | Creates a value of 'SearchReadsResponse' with the minimum fields required to make a request.
36723507--
36733508-- Use one of the following lenses to modify other fields as desired:
36743509--
3675−-- * 'seaNextPageToken'
3510+-- * 'sNextPageToken'
36763511--
3677−-- * 'seaAlignments'
3512+-- * 'sAlignments'
36783513searchReadsResponse
36793514 :: SearchReadsResponse
36803515searchReadsResponse =
36813516 SearchReadsResponse'
3682− { _seaNextPageToken = Nothing
3683− , _seaAlignments = Nothing
3517+ { _sNextPageToken = Nothing
3518+ , _sAlignments = Nothing
36843519 }
36853520
36863521-- | The continuation token, which is used to page through large result sets.
36873522-- Provide this value in a subsequent request to return the next page of
36883523-- results. This field will be empty if there aren\'t any additional
36893524-- results.
3690−seaNextPageToken :: Lens' SearchReadsResponse (Maybe Text)
3691−seaNextPageToken
3692− = lens _seaNextPageToken
3693− (\ s a -> s{_seaNextPageToken = a})
3525+sNextPageToken :: Lens' SearchReadsResponse (Maybe Text)
3526+sNextPageToken
3527+ = lens _sNextPageToken
3528+ (\ s a -> s{_sNextPageToken = a})
36943529
36953530-- | The list of matching alignments sorted by mapped genomic coordinate, if
36963531-- any, ascending in position within the same reference. Unmapped reads,
36973532-- which have no position, are returned contiguously and are sorted in
36983533-- ascending lexicographic order by fragment name.
3699−seaAlignments :: Lens' SearchReadsResponse [Read']
3700−seaAlignments
3701− = lens _seaAlignments
3702− (\ s a -> s{_seaAlignments = a})
3703− . _Default
3534+sAlignments :: Lens' SearchReadsResponse [Read']
3535+sAlignments
3536+ = lens _sAlignments (\ s a -> s{_sAlignments = a}) .
3537+ _Default
37043538 . _Coerce
37053539
37063540instance FromJSON SearchReadsResponse where
@@ -3715,8 +3549,8 @@ instance ToJSON SearchReadsResponse where
37153549 toJSON SearchReadsResponse'{..}
37163550 = object
37173551 (catMaybes
3718− [("nextPageToken" .=) <$> _seaNextPageToken,
3719− ("alignments" .=) <$> _seaAlignments])
3552+ [("nextPageToken" .=) <$> _sNextPageToken,
3553+ ("alignments" .=) <$> _sAlignments])
37203554
37213555--
37223556-- /See:/ 'program' smart constructor.
@@ -4546,7 +4380,7 @@ data AnnotationSet = AnnotationSet'
45464380 , _asName :: !(Maybe Text)
45474381 , _asDataSetId :: !(Maybe Text)
45484382 , _asId :: !(Maybe Text)
4549− , _asType :: !(Maybe Text)
4383+ , _asType :: !(Maybe AnnotationSetType)
45504384 , _asSourceURI :: !(Maybe Text)
45514385 , _asInfo :: !(Maybe AnnotationSetInfo)
45524386 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -4603,7 +4437,7 @@ asId :: Lens' AnnotationSet (Maybe Text)
46034437asId = lens _asId (\ s a -> s{_asId = a})
46044438
46054439-- | The type of annotations contained within this set.
4606−asType :: Lens' AnnotationSet (Maybe Text)
4440+asType :: Lens' AnnotationSet (Maybe AnnotationSetType)
46074441asType = lens _asType (\ s a -> s{_asType = a})
46084442
46094443-- | The source URI describing the file from which this annotation set was
@@ -4861,7 +4695,7 @@ data ImportReadGroupSetsRequest = ImportReadGroupSetsRequest'
48614695 { _irgsrReferenceSetId :: !(Maybe Text)
48624696 , _irgsrDataSetId :: !(Maybe Text)
48634697 , _irgsrSourceURIs :: !(Maybe [Text])
4864− , _irgsrPartitionStrategy :: !(Maybe Text)
4698+ , _irgsrPartitionStrategy :: !(Maybe ImportReadGroupSetsRequestPartitionStrategy)
48654699 } deriving (Eq,Show,Data,Typeable,Generic)
48664700
48674701-- | Creates a value of 'ImportReadGroupSetsRequest' with the minimum fields required to make a request.
@@ -4904,7 +4738,12 @@ irgsrDataSetId
49044738
49054739-- | A list of URIs pointing at [BAM
49064740-- files](https:\/\/samtools.github.io\/hts-specs\/SAMv1.pdf) in Google
4907−-- Cloud Storage.
4741+-- Cloud Storage. Those URIs can include wildcards (*), but do not add or
4742+-- remove matching files before import has completed. Note that Google
4743+-- Cloud Storage object listing is only eventually consistent: files added
4744+-- may be not be immediately visible to everyone. Thus, if using a wildcard
4745+-- it is preferable not to start the import immediately after the files are
4746+-- created.
49084747irgsrSourceURIs :: Lens' ImportReadGroupSetsRequest [Text]
49094748irgsrSourceURIs
49104749 = lens _irgsrSourceURIs
@@ -4914,7 +4753,7 @@ irgsrSourceURIs
49144753
49154754-- | The partition strategy describes how read groups are partitioned into
49164755-- read group sets.
4917−irgsrPartitionStrategy :: Lens' ImportReadGroupSetsRequest (Maybe Text)
4756+irgsrPartitionStrategy :: Lens' ImportReadGroupSetsRequest (Maybe ImportReadGroupSetsRequestPartitionStrategy)
49184757irgsrPartitionStrategy
49194758 = lens _irgsrPartitionStrategy
49204759 (\ s a -> s{_irgsrPartitionStrategy = a})
@@ -4943,7 +4782,7 @@ instance ToJSON ImportReadGroupSetsRequest where
49434782-- /See:/ 'importVariantsRequest' smart constructor.
49444783data ImportVariantsRequest = ImportVariantsRequest'
49454784 { _ivrVariantSetId :: !(Maybe Text)
4946− , _ivrFormat :: !(Maybe Text)
4785+ , _ivrFormat :: !(Maybe ImportVariantsRequestFormat)
49474786 , _ivrInfoMergeConfig :: !(Maybe ImportVariantsRequestInfoMergeConfig)
49484787 , _ivrNormalizeReferenceNames :: !(Maybe Bool)
49494788 , _ivrSourceURIs :: !(Maybe [Text])
@@ -4981,7 +4820,7 @@ ivrVariantSetId
49814820
49824821-- | The format of the variant data being imported. If unspecified, defaults
49834822-- to to \`VCF\`.
4984−ivrFormat :: Lens' ImportVariantsRequest (Maybe Text)
4823+ivrFormat :: Lens' ImportVariantsRequest (Maybe ImportVariantsRequestFormat)
49854824ivrFormat
49864825 = lens _ivrFormat (\ s a -> s{_ivrFormat = a})
49874826
@@ -5086,7 +4925,7 @@ instance ToJSON ExternalId where
50864925--
50874926-- /See:/ 'cigarUnit' smart constructor.
50884927data CigarUnit = CigarUnit'
5089− { _cuOperation :: !(Maybe Text)
4928+ { _cuOperation :: !(Maybe CigarUnitOperation)
50904929 , _cuOperationLength :: !(Maybe (Textual Int64))
50914930 , _cuReferenceSequence :: !(Maybe Text)
50924931 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -5109,7 +4948,7 @@ cigarUnit =
51094948 , _cuReferenceSequence = Nothing
51104949 }
51114950
5112−cuOperation :: Lens' CigarUnit (Maybe Text)
4951+cuOperation :: Lens' CigarUnit (Maybe CigarUnitOperation)
51134952cuOperation
51144953 = lens _cuOperation (\ s a -> s{_cuOperation = a})
51154954
@@ -5160,7 +4999,7 @@ instance ToJSON CigarUnit where
51604999--
51615000-- /See:/ 'policy' smart constructor.
51625001data Policy = Policy'
5163− { _polEtag :: !(Maybe Base64)
5002+ { _polEtag :: !(Maybe Bytes)
51645003 , _polVersion :: !(Maybe (Textual Int32))
51655004 , _polBindings :: !(Maybe [Binding])
51665005 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -5195,7 +5034,7 @@ policy =
51955034polEtag :: Lens' Policy (Maybe ByteString)
51965035polEtag
51975036 = lens _polEtag (\ s a -> s{_polEtag = a}) .
5198− mapping _Base64
5037+ mapping _Bytes
51995038
52005039-- | Version of the \`Policy\`. The default version is 0.
52015040polVersion :: Lens' Policy (Maybe Int32)
@@ -5234,7 +5073,7 @@ instance ToJSON Policy where
52345073data ExportVariantSetRequest = ExportVariantSetRequest'
52355074 { _evsrBigQueryDataSet :: !(Maybe Text)
52365075 , _evsrBigQueryTable :: !(Maybe Text)
5237− , _evsrFormat :: !(Maybe Text)
5076+ , _evsrFormat :: !(Maybe ExportVariantSetRequestFormat)
52385077 , _evsrCallSetIds :: !(Maybe [Text])
52395078 , _evsrProjectId :: !(Maybe Text)
52405079 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -5279,7 +5118,7 @@ evsrBigQueryTable
52795118 (\ s a -> s{_evsrBigQueryTable = a})
52805119
52815120-- | The format for the exported data.
5282−evsrFormat :: Lens' ExportVariantSetRequest (Maybe Text)
5121+evsrFormat :: Lens' ExportVariantSetRequest (Maybe ExportVariantSetRequestFormat)
52835122evsrFormat
52845123 = lens _evsrFormat (\ s a -> s{_evsrFormat = a})
52855124
@@ -5325,11 +5164,12 @@ instance ToJSON ExportVariantSetRequest where
53255164-- /See:/ 'operationMetadata' smart constructor.
53265165data OperationMetadata = OperationMetadata'
53275166 { _omClientId :: !(Maybe Text)
5328− , _omStartTime :: !(Maybe Text)
5167+ , _omStartTime :: !(Maybe DateTime')
53295168 , _omEvents :: !(Maybe [OperationEvent])
5330− , _omEndTime :: !(Maybe Text)
5169+ , _omEndTime :: !(Maybe DateTime')
5170+ , _omLabels :: !(Maybe OperationMetadataLabels)
53315171 , _omProjectId :: !(Maybe Text)
5332− , _omCreateTime :: !(Maybe Text)
5172+ , _omCreateTime :: !(Maybe DateTime')
53335173 , _omRuntimeMetadata :: !(Maybe OperationMetadataRuntimeMetadata)
53345174 , _omRequest :: !(Maybe OperationMetadataRequest)
53355175 } deriving (Eq,Show,Data,Typeable,Generic)
@@ -5346,6 +5186,8 @@ data OperationMetadata = OperationMetadata'
53465186--
53475187-- * 'omEndTime'
53485188--
5189+-- * 'omLabels'
5190+--
53495191-- * 'omProjectId'
53505192--
53515193-- * 'omCreateTime'
@@ -5361,22 +5203,24 @@ operationMetadata =
53615203 , _omStartTime = Nothing
53625204 , _omEvents = Nothing
53635205 , _omEndTime = Nothing
5206+ , _omLabels = Nothing
53645207 , _omProjectId = Nothing
53655208 , _omCreateTime = Nothing
53665209 , _omRuntimeMetadata = Nothing
53675210 , _omRequest = Nothing
53685211 }
53695212
5370−-- | Optionally provided by the caller when submitting the request that
5371−-- creates the operation.
5213+-- | This field is deprecated. Use \`labels\` instead. Optionally provided by
5214+-- the caller when submitting the request that creates the operation.
53725215omClientId :: Lens' OperationMetadata (Maybe Text)
53735216omClientId
53745217 = lens _omClientId (\ s a -> s{_omClientId = a})
53755218
53765219-- | The time at which the job began to run.
5377−omStartTime :: Lens' OperationMetadata (Maybe Text)
5220+omStartTime :: Lens' OperationMetadata (Maybe UTCTime)
53785221omStartTime
5379− = lens _omStartTime (\ s a -> s{_omStartTime = a})
5222+ = lens _omStartTime (\ s a -> s{_omStartTime = a}) .
5223+ mapping _DateTime
53805224
53815225-- | Optional event messages that were generated during the job\'s execution.
53825226-- This also contains any warnings that were generated during import or
@@ -5388,9 +5232,15 @@ omEvents
53885232 . _Coerce
53895233
53905234-- | The time at which the job stopped running.
5391−omEndTime :: Lens' OperationMetadata (Maybe Text)
5235+omEndTime :: Lens' OperationMetadata (Maybe UTCTime)
53925236omEndTime
5393− = lens _omEndTime (\ s a -> s{_omEndTime = a})
5237+ = lens _omEndTime (\ s a -> s{_omEndTime = a}) .
5238+ mapping _DateTime
5239+
5240+-- | Optionally provided by the caller when submitting the request that
5241+-- creates the operation.
5242+omLabels :: Lens' OperationMetadata (Maybe OperationMetadataLabels)
5243+omLabels = lens _omLabels (\ s a -> s{_omLabels = a})
53945244
53955245-- | The Google Cloud Project in which the job is scoped.
53965246omProjectId :: Lens' OperationMetadata (Maybe Text)
@@ -5398,9 +5248,10 @@ omProjectId
53985248 = lens _omProjectId (\ s a -> s{_omProjectId = a})
53995249
54005250-- | The time at which the job was submitted to the Genomics service.
5401−omCreateTime :: Lens' OperationMetadata (Maybe Text)
5251+omCreateTime :: Lens' OperationMetadata (Maybe UTCTime)
54025252omCreateTime
54035253 = lens _omCreateTime (\ s a -> s{_omCreateTime = a})
5254+ . mapping _DateTime
54045255
54055256-- | Runtime metadata on this Operation.
54065257omRuntimeMetadata :: Lens' OperationMetadata (Maybe OperationMetadataRuntimeMetadata)
@@ -5424,6 +5275,7 @@ instance FromJSON OperationMetadata where
54245275 (o .:? "clientId") <*> (o .:? "startTime") <*>
54255276 (o .:? "events" .!= mempty)
54265277 <*> (o .:? "endTime")
5278+ <*> (o .:? "labels")
54275279 <*> (o .:? "projectId")
54285280 <*> (o .:? "createTime")
54295281 <*> (o .:? "runtimeMetadata")
@@ -5437,6 +5289,7 @@ instance ToJSON OperationMetadata where
54375289 ("startTime" .=) <$> _omStartTime,
54385290 ("events" .=) <$> _omEvents,
54395291 ("endTime" .=) <$> _omEndTime,
5292+ ("labels" .=) <$> _omLabels,
54405293 ("projectId" .=) <$> _omProjectId,
54415294 ("createTime" .=) <$> _omCreateTime,
54425295 ("runtimeMetadata" .=) <$> _omRuntimeMetadata,
@@ -5997,7 +5850,7 @@ instance ToJSON VariantSetMetadataInfo where
59975850
59985851-- | If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned.
59995852-- If importing Variants, an ImportVariantsResponse is returned. For
6000−-- exports, an empty response is returned.
5853+-- pipelines and exports, an empty response is returned.
60015854--
60025855-- /See:/ 'operationResponse' smart constructor.
60035856newtype OperationResponse = OperationResponse'
@@ -6077,15 +5930,15 @@ tCodingSequence
60775930 = lens _tCodingSequence
60785931 (\ s a -> s{_tCodingSequence = a})
60795932
6080−-- | The exons that compose this transcript. This field should be unset for
6081−-- genomes where transcript splicing does not occur, for example
6082−-- prokaryotes. Introns are regions of the transcript that are not included
6083−-- in the spliced RNA product. Though not explicitly modeled here, intron
6084−-- ranges can be deduced; all regions of this transcript that are not exons
6085−-- are introns. Exonic sequences do not necessarily code for a
6086−-- translational product (amino acids). Only the regions of exons bounded
6087−-- by the codingSequence correspond to coding DNA sequence. Exons are
6088−-- ordered by start position and may not overlap.
5933+-- | The <http://en.wikipedia.org/wiki/Exon exons> that compose this
5934+-- transcript. This field should be unset for genomes where transcript
5935+-- splicing does not occur, for example prokaryotes. Introns are regions of
5936+-- the transcript that are not included in the spliced RNA product. Though
5937+-- not explicitly modeled here, intron ranges can be deduced; all regions
5938+-- of this transcript that are not exons are introns. Exonic sequences do
5939+-- not necessarily code for a translational product (amino acids). Only the
5940+-- regions of exons bounded by the codingSequence correspond to coding DNA
5941+-- sequence. Exons are ordered by start position and may not overlap.
60895942tExons :: Lens' Transcript [Exon]
60905943tExons
60915944 = lens _tExons (\ s a -> s{_tExons = a}) . _Default .
@@ -6111,8 +5964,8 @@ instance ToJSON Transcript where
61115964--
61125965-- /See:/ 'operationEvent' smart constructor.
61135966data OperationEvent = OperationEvent'
6114− { _oeStartTime :: !(Maybe Text)
6115− , _oeEndTime :: !(Maybe Text)
5967+ { _oeStartTime :: !(Maybe DateTime')
5968+ , _oeEndTime :: !(Maybe DateTime')
61165969 , _oeDescription :: !(Maybe Text)
61175970 } deriving (Eq,Show,Data,Typeable,Generic)
61185971
@@ -6135,16 +5988,18 @@ operationEvent =
61355988 }
61365989
61375990-- | Optional time of when event started.
6138−oeStartTime :: Lens' OperationEvent (Maybe Text)
5991+oeStartTime :: Lens' OperationEvent (Maybe UTCTime)
61395992oeStartTime
6140− = lens _oeStartTime (\ s a -> s{_oeStartTime = a})
5993+ = lens _oeStartTime (\ s a -> s{_oeStartTime = a}) .
5994+ mapping _DateTime
61415995
61425996-- | Optional time of when event finished. An event can have a start time and
61435997-- no finish time. If an event has a finish time, there must be a start
61445998-- time.
6145−oeEndTime :: Lens' OperationEvent (Maybe Text)
5999+oeEndTime :: Lens' OperationEvent (Maybe UTCTime)
61466000oeEndTime
6147− = lens _oeEndTime (\ s a -> s{_oeEndTime = a})
6001+ = lens _oeEndTime (\ s a -> s{_oeEndTime = a}) .
6002+ mapping _DateTime
61486003
61496004-- | Required description of event.
61506005oeDescription :: Lens' OperationEvent (Maybe Text)
@@ -6168,108 +6023,6 @@ instance ToJSON OperationEvent where
61686023 ("endTime" .=) <$> _oeEndTime,
61696024 ("description" .=) <$> _oeDescription])
61706025
6171−-- | The stream variants request.
6172−--
6173−-- /See:/ 'streamVariantsRequest' smart constructor.
6174−data StreamVariantsRequest = StreamVariantsRequest'
6175− { _strVariantSetId :: !(Maybe Text)
6176− , _strStart :: !(Maybe (Textual Int64))
6177− , _strCallSetIds :: !(Maybe [Text])
6178− , _strReferenceName :: !(Maybe Text)
6179− , _strEnd :: !(Maybe (Textual Int64))
6180− , _strProjectId :: !(Maybe Text)
6181− } deriving (Eq,Show,Data,Typeable,Generic)
6182−
6183−-- | Creates a value of 'StreamVariantsRequest' with the minimum fields required to make a request.
6184−--
6185−-- Use one of the following lenses to modify other fields as desired:
6186−--
6187−-- * 'strVariantSetId'
6188−--
6189−-- * 'strStart'
6190−--
6191−-- * 'strCallSetIds'
6192−--
6193−-- * 'strReferenceName'
6194−--
6195−-- * 'strEnd'
6196−--
6197−-- * 'strProjectId'
6198−streamVariantsRequest
6199− :: StreamVariantsRequest
6200−streamVariantsRequest =
6201− StreamVariantsRequest'
6202− { _strVariantSetId = Nothing
6203− , _strStart = Nothing
6204− , _strCallSetIds = Nothing
6205− , _strReferenceName = Nothing
6206− , _strEnd = Nothing
6207− , _strProjectId = Nothing
6208− }
6209−
6210−-- | The variant set ID from which to stream variants.
6211−strVariantSetId :: Lens' StreamVariantsRequest (Maybe Text)
6212−strVariantSetId
6213− = lens _strVariantSetId
6214− (\ s a -> s{_strVariantSetId = a})
6215−
6216−-- | The beginning of the window (0-based, inclusive) for which overlapping
6217−-- variants should be returned.
6218−strStart :: Lens' StreamVariantsRequest (Maybe Int64)
6219−strStart
6220− = lens _strStart (\ s a -> s{_strStart = a}) .
6221− mapping _Coerce
6222−
6223−-- | Only return variant calls which belong to call sets with these IDs.
6224−-- Leaving this blank returns all variant calls.
6225−strCallSetIds :: Lens' StreamVariantsRequest [Text]
6226−strCallSetIds
6227− = lens _strCallSetIds
6228− (\ s a -> s{_strCallSetIds = a})
6229− . _Default
6230− . _Coerce
6231−
6232−-- | Required. Only return variants in this reference sequence.
6233−strReferenceName :: Lens' StreamVariantsRequest (Maybe Text)
6234−strReferenceName
6235− = lens _strReferenceName
6236− (\ s a -> s{_strReferenceName = a})
6237−
6238−-- | The end of the window (0-based, exclusive) for which overlapping
6239−-- variants should be returned.
6240−strEnd :: Lens' StreamVariantsRequest (Maybe Int64)
6241−strEnd
6242− = lens _strEnd (\ s a -> s{_strEnd = a}) .
6243− mapping _Coerce
6244−
6245−-- | The Google Cloud project ID which will be billed for this access. The
6246−-- caller must have WRITE access to this project. Required.
6247−strProjectId :: Lens' StreamVariantsRequest (Maybe Text)
6248−strProjectId
6249− = lens _strProjectId (\ s a -> s{_strProjectId = a})
6250−
6251−instance FromJSON StreamVariantsRequest where
6252− parseJSON
6253− = withObject "StreamVariantsRequest"
6254− (\ o ->
6255− StreamVariantsRequest' <$>
6256− (o .:? "variantSetId") <*> (o .:? "start") <*>
6257− (o .:? "callSetIds" .!= mempty)
6258− <*> (o .:? "referenceName")
6259− <*> (o .:? "end")
6260− <*> (o .:? "projectId"))
6261−
6262−instance ToJSON StreamVariantsRequest where
6263− toJSON StreamVariantsRequest'{..}
6264− = object
6265− (catMaybes
6266− [("variantSetId" .=) <$> _strVariantSetId,
6267− ("start" .=) <$> _strStart,
6268− ("callSetIds" .=) <$> _strCallSetIds,
6269− ("referenceName" .=) <$> _strReferenceName,
6270− ("end" .=) <$> _strEnd,
6271− ("projectId" .=) <$> _strProjectId])
6272−
62736026-- | ReferenceBound records an upper bound for the starting coordinate of
62746027-- variants in a particular reference.
62756028--
gogol-genomics/gen/Network/Google/Genomics/Types/Sum.hs+587
@@ -17,3 +17,590 @@
1717module Network.Google.Genomics.Types.Sum where
1818
1919import Network.Google.Prelude
20+
21+-- | Effect of the variant on the coding sequence.
22+data VariantAnnotationEffect
23+ = EffectUnspecified
24+ -- ^ @EFFECT_UNSPECIFIED@
25+ | EffectOther
26+ -- ^ @EFFECT_OTHER@
27+ -- \`EFFECT_OTHER\` should be used when no other Effect will suffice.
28+ | Frameshift
29+ -- ^ @FRAMESHIFT@
30+ -- \`FRAMESHIFT\` indicates a mutation in which the insertion or deletion
31+ -- of nucleotides resulted in a frameshift change.
32+ | FramePreservingIndel
33+ -- ^ @FRAME_PRESERVING_INDEL@
34+ -- \`FRAME_PRESERVING_INDEL\` indicates a mutation in which a multiple of
35+ -- three nucleotides has been inserted or deleted, resulting in no change
36+ -- to the reading frame of the coding sequence.
37+ | SynonymousSnp
38+ -- ^ @SYNONYMOUS_SNP@
39+ -- \`SYNONYMOUS_SNP\` indicates a single nucleotide polymorphism mutation
40+ -- that results in no amino acid change.
41+ | NonsynonymousSnp
42+ -- ^ @NONSYNONYMOUS_SNP@
43+ -- \`NONSYNONYMOUS_SNP\` indicates a single nucleotide polymorphism
44+ -- mutation that results in an amino acid change.
45+ | StopGain
46+ -- ^ @STOP_GAIN@
47+ -- \`STOP_GAIN\` indicates a mutation that leads to the creation of a stop
48+ -- codon at the variant site. Frameshift mutations creating downstream stop
49+ -- codons do not count as \`STOP_GAIN\`.
50+ | StopLoss
51+ -- ^ @STOP_LOSS@
52+ -- \`STOP_LOSS\` indicates a mutation that eliminates a stop codon at the
53+ -- variant site.
54+ | SpliceSiteDisruption
55+ -- ^ @SPLICE_SITE_DISRUPTION@
56+ -- \`SPLICE_SITE_DISRUPTION\` indicates that this variant is found in a
57+ -- splice site for the associated transcript, and alters the normal
58+ -- splicing pattern.
59+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
60+
61+instance Hashable VariantAnnotationEffect
62+
63+instance FromHttpApiData VariantAnnotationEffect where
64+ parseQueryParam = \case
65+ "EFFECT_UNSPECIFIED" -> Right EffectUnspecified
66+ "EFFECT_OTHER" -> Right EffectOther
67+ "FRAMESHIFT" -> Right Frameshift
68+ "FRAME_PRESERVING_INDEL" -> Right FramePreservingIndel
69+ "SYNONYMOUS_SNP" -> Right SynonymousSnp
70+ "NONSYNONYMOUS_SNP" -> Right NonsynonymousSnp
71+ "STOP_GAIN" -> Right StopGain
72+ "STOP_LOSS" -> Right StopLoss
73+ "SPLICE_SITE_DISRUPTION" -> Right SpliceSiteDisruption
74+ x -> Left ("Unable to parse VariantAnnotationEffect from: " <> x)
75+
76+instance ToHttpApiData VariantAnnotationEffect where
77+ toQueryParam = \case
78+ EffectUnspecified -> "EFFECT_UNSPECIFIED"
79+ EffectOther -> "EFFECT_OTHER"
80+ Frameshift -> "FRAMESHIFT"
81+ FramePreservingIndel -> "FRAME_PRESERVING_INDEL"
82+ SynonymousSnp -> "SYNONYMOUS_SNP"
83+ NonsynonymousSnp -> "NONSYNONYMOUS_SNP"
84+ StopGain -> "STOP_GAIN"
85+ StopLoss -> "STOP_LOSS"
86+ SpliceSiteDisruption -> "SPLICE_SITE_DISRUPTION"
87+
88+instance FromJSON VariantAnnotationEffect where
89+ parseJSON = parseJSONText "VariantAnnotationEffect"
90+
91+instance ToJSON VariantAnnotationEffect where
92+ toJSON = toJSONText
93+
94+-- | The type of annotations contained within this set.
95+data AnnotationSetType
96+ = ASTAnnotationTypeUnspecified
97+ -- ^ @ANNOTATION_TYPE_UNSPECIFIED@
98+ | ASTGeneric
99+ -- ^ @GENERIC@
100+ -- A \`GENERIC\` annotation type should be used when no other annotation
101+ -- type will suffice. This represents an untyped annotation of the
102+ -- reference genome.
103+ | ASTVariant
104+ -- ^ @VARIANT@
105+ -- A \`VARIANT\` annotation type.
106+ | ASTGene
107+ -- ^ @GENE@
108+ -- A \`GENE\` annotation type represents the existence of a gene at the
109+ -- associated reference coordinates. The start coordinate is typically the
110+ -- gene\'s transcription start site and the end is typically the end of the
111+ -- gene\'s last exon.
112+ | ASTTranscript
113+ -- ^ @TRANSCRIPT@
114+ -- A \`TRANSCRIPT\` annotation type represents the assertion that a
115+ -- particular region of the reference genome may be transcribed as RNA.
116+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
117+
118+instance Hashable AnnotationSetType
119+
120+instance FromHttpApiData AnnotationSetType where
121+ parseQueryParam = \case
122+ "ANNOTATION_TYPE_UNSPECIFIED" -> Right ASTAnnotationTypeUnspecified
123+ "GENERIC" -> Right ASTGeneric
124+ "VARIANT" -> Right ASTVariant
125+ "GENE" -> Right ASTGene
126+ "TRANSCRIPT" -> Right ASTTranscript
127+ x -> Left ("Unable to parse AnnotationSetType from: " <> x)
128+
129+instance ToHttpApiData AnnotationSetType where
130+ toQueryParam = \case
131+ ASTAnnotationTypeUnspecified -> "ANNOTATION_TYPE_UNSPECIFIED"
132+ ASTGeneric -> "GENERIC"
133+ ASTVariant -> "VARIANT"
134+ ASTGene -> "GENE"
135+ ASTTranscript -> "TRANSCRIPT"
136+
137+instance FromJSON AnnotationSetType where
138+ parseJSON = parseJSONText "AnnotationSetType"
139+
140+instance ToJSON AnnotationSetType where
141+ toJSON = toJSONText
142+
143+-- | Describes the clinical significance of a variant. It is adapted from the
144+-- ClinVar controlled vocabulary for clinical significance described at:
145+-- http:\/\/www.ncbi.nlm.nih.gov\/clinvar\/docs\/clinsig\/
146+data VariantAnnotationClinicalSignificance
147+ = ClinicalSignificanceUnspecified
148+ -- ^ @CLINICAL_SIGNIFICANCE_UNSPECIFIED@
149+ | ClinicalSignificanceOther
150+ -- ^ @CLINICAL_SIGNIFICANCE_OTHER@
151+ -- \`OTHER\` should be used when no other clinical significance value will
152+ -- suffice.
153+ | Uncertain
154+ -- ^ @UNCERTAIN@
155+ | Benign
156+ -- ^ @BENIGN@
157+ | LikelyBenign
158+ -- ^ @LIKELY_BENIGN@
159+ | LikelyPathogenic
160+ -- ^ @LIKELY_PATHOGENIC@
161+ | Pathogenic
162+ -- ^ @PATHOGENIC@
163+ | DrugResponse
164+ -- ^ @DRUG_RESPONSE@
165+ | Histocompatibility
166+ -- ^ @HISTOCOMPATIBILITY@
167+ | ConfersSensitivity
168+ -- ^ @CONFERS_SENSITIVITY@
169+ | RiskFactor
170+ -- ^ @RISK_FACTOR@
171+ | Association
172+ -- ^ @ASSOCIATION@
173+ | Protective
174+ -- ^ @PROTECTIVE@
175+ | MultipleReported
176+ -- ^ @MULTIPLE_REPORTED@
177+ -- \`MULTIPLE_REPORTED\` should be used when multiple clinical signficances
178+ -- are reported for a variant. The original clinical significance values
179+ -- may be provided in the \`info\` field.
180+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
181+
182+instance Hashable VariantAnnotationClinicalSignificance
183+
184+instance FromHttpApiData VariantAnnotationClinicalSignificance where
185+ parseQueryParam = \case
186+ "CLINICAL_SIGNIFICANCE_UNSPECIFIED" -> Right ClinicalSignificanceUnspecified
187+ "CLINICAL_SIGNIFICANCE_OTHER" -> Right ClinicalSignificanceOther
188+ "UNCERTAIN" -> Right Uncertain
189+ "BENIGN" -> Right Benign
190+ "LIKELY_BENIGN" -> Right LikelyBenign
191+ "LIKELY_PATHOGENIC" -> Right LikelyPathogenic
192+ "PATHOGENIC" -> Right Pathogenic
193+ "DRUG_RESPONSE" -> Right DrugResponse
194+ "HISTOCOMPATIBILITY" -> Right Histocompatibility
195+ "CONFERS_SENSITIVITY" -> Right ConfersSensitivity
196+ "RISK_FACTOR" -> Right RiskFactor
197+ "ASSOCIATION" -> Right Association
198+ "PROTECTIVE" -> Right Protective
199+ "MULTIPLE_REPORTED" -> Right MultipleReported
200+ x -> Left ("Unable to parse VariantAnnotationClinicalSignificance from: " <> x)
201+
202+instance ToHttpApiData VariantAnnotationClinicalSignificance where
203+ toQueryParam = \case
204+ ClinicalSignificanceUnspecified -> "CLINICAL_SIGNIFICANCE_UNSPECIFIED"
205+ ClinicalSignificanceOther -> "CLINICAL_SIGNIFICANCE_OTHER"
206+ Uncertain -> "UNCERTAIN"
207+ Benign -> "BENIGN"
208+ LikelyBenign -> "LIKELY_BENIGN"
209+ LikelyPathogenic -> "LIKELY_PATHOGENIC"
210+ Pathogenic -> "PATHOGENIC"
211+ DrugResponse -> "DRUG_RESPONSE"
212+ Histocompatibility -> "HISTOCOMPATIBILITY"
213+ ConfersSensitivity -> "CONFERS_SENSITIVITY"
214+ RiskFactor -> "RISK_FACTOR"
215+ Association -> "ASSOCIATION"
216+ Protective -> "PROTECTIVE"
217+ MultipleReported -> "MULTIPLE_REPORTED"
218+
219+instance FromJSON VariantAnnotationClinicalSignificance where
220+ parseJSON = parseJSONText "VariantAnnotationClinicalSignificance"
221+
222+instance ToJSON VariantAnnotationClinicalSignificance where
223+ toJSON = toJSONText
224+
225+-- | The partition strategy describes how read groups are partitioned into
226+-- read group sets.
227+data ImportReadGroupSetsRequestPartitionStrategy
228+ = PartitionStrategyUnspecified
229+ -- ^ @PARTITION_STRATEGY_UNSPECIFIED@
230+ | PerFilePerSample
231+ -- ^ @PER_FILE_PER_SAMPLE@
232+ -- In most cases, this strategy yields one read group set per file. This is
233+ -- the default behavior. Allocate one read group set per file per sample.
234+ -- For BAM files, read groups are considered to share a sample if they have
235+ -- identical sample names. Furthermore, all reads for each file which do
236+ -- not belong to a read group, if any, will be grouped into a single read
237+ -- group set per-file.
238+ | MergeAll
239+ -- ^ @MERGE_ALL@
240+ -- Includes all read groups in all imported files into a single read group
241+ -- set. Requires that the headers for all imported files are equivalent.
242+ -- All reads which do not belong to a read group, if any, will be grouped
243+ -- into a separate read group set.
244+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
245+
246+instance Hashable ImportReadGroupSetsRequestPartitionStrategy
247+
248+instance FromHttpApiData ImportReadGroupSetsRequestPartitionStrategy where
249+ parseQueryParam = \case
250+ "PARTITION_STRATEGY_UNSPECIFIED" -> Right PartitionStrategyUnspecified
251+ "PER_FILE_PER_SAMPLE" -> Right PerFilePerSample
252+ "MERGE_ALL" -> Right MergeAll
253+ x -> Left ("Unable to parse ImportReadGroupSetsRequestPartitionStrategy from: " <> x)
254+
255+instance ToHttpApiData ImportReadGroupSetsRequestPartitionStrategy where
256+ toQueryParam = \case
257+ PartitionStrategyUnspecified -> "PARTITION_STRATEGY_UNSPECIFIED"
258+ PerFilePerSample -> "PER_FILE_PER_SAMPLE"
259+ MergeAll -> "MERGE_ALL"
260+
261+instance FromJSON ImportReadGroupSetsRequestPartitionStrategy where
262+ parseJSON = parseJSONText "ImportReadGroupSetsRequestPartitionStrategy"
263+
264+instance ToJSON ImportReadGroupSetsRequestPartitionStrategy where
265+ toJSON = toJSONText
266+
267+-- | The data type for this annotation. Must match the containing annotation
268+-- set\'s type.
269+data AnnotationType
270+ = ATAnnotationTypeUnspecified
271+ -- ^ @ANNOTATION_TYPE_UNSPECIFIED@
272+ | ATGeneric
273+ -- ^ @GENERIC@
274+ -- A \`GENERIC\` annotation type should be used when no other annotation
275+ -- type will suffice. This represents an untyped annotation of the
276+ -- reference genome.
277+ | ATVariant
278+ -- ^ @VARIANT@
279+ -- A \`VARIANT\` annotation type.
280+ | ATGene
281+ -- ^ @GENE@
282+ -- A \`GENE\` annotation type represents the existence of a gene at the
283+ -- associated reference coordinates. The start coordinate is typically the
284+ -- gene\'s transcription start site and the end is typically the end of the
285+ -- gene\'s last exon.
286+ | ATTranscript
287+ -- ^ @TRANSCRIPT@
288+ -- A \`TRANSCRIPT\` annotation type represents the assertion that a
289+ -- particular region of the reference genome may be transcribed as RNA.
290+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
291+
292+instance Hashable AnnotationType
293+
294+instance FromHttpApiData AnnotationType where
295+ parseQueryParam = \case
296+ "ANNOTATION_TYPE_UNSPECIFIED" -> Right ATAnnotationTypeUnspecified
297+ "GENERIC" -> Right ATGeneric
298+ "VARIANT" -> Right ATVariant
299+ "GENE" -> Right ATGene
300+ "TRANSCRIPT" -> Right ATTranscript
301+ x -> Left ("Unable to parse AnnotationType from: " <> x)
302+
303+instance ToHttpApiData AnnotationType where
304+ toQueryParam = \case
305+ ATAnnotationTypeUnspecified -> "ANNOTATION_TYPE_UNSPECIFIED"
306+ ATGeneric -> "GENERIC"
307+ ATVariant -> "VARIANT"
308+ ATGene -> "GENE"
309+ ATTranscript -> "TRANSCRIPT"
310+
311+instance FromJSON AnnotationType where
312+ parseJSON = parseJSONText "AnnotationType"
313+
314+instance ToJSON AnnotationType where
315+ toJSON = toJSONText
316+
317+-- | V1 error format.
318+data Xgafv
319+ = X1
320+ -- ^ @1@
321+ -- v1 error format
322+ | X2
323+ -- ^ @2@
324+ -- v2 error format
325+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
326+
327+instance Hashable Xgafv
328+
329+instance FromHttpApiData Xgafv where
330+ parseQueryParam = \case
331+ "1" -> Right X1
332+ "2" -> Right X2
333+ x -> Left ("Unable to parse Xgafv from: " <> x)
334+
335+instance ToHttpApiData Xgafv where
336+ toQueryParam = \case
337+ X1 -> "1"
338+ X2 -> "2"
339+
340+instance FromJSON Xgafv where
341+ parseJSON = parseJSONText "Xgafv"
342+
343+instance ToJSON Xgafv where
344+ toJSON = toJSONText
345+
346+data CigarUnitOperation
347+ = OperationUnspecified
348+ -- ^ @OPERATION_UNSPECIFIED@
349+ | AlignmentMatch
350+ -- ^ @ALIGNMENT_MATCH@
351+ -- An alignment match indicates that a sequence can be aligned to the
352+ -- reference without evidence of an INDEL. Unlike the \`SEQUENCE_MATCH\`
353+ -- and \`SEQUENCE_MISMATCH\` operators, the \`ALIGNMENT_MATCH\` operator
354+ -- does not indicate whether the reference and read sequences are an exact
355+ -- match. This operator is equivalent to SAM\'s \`M\`.
356+ | Insert
357+ -- ^ @INSERT@
358+ -- The insert operator indicates that the read contains evidence of bases
359+ -- being inserted into the reference. This operator is equivalent to SAM\'s
360+ -- \`I\`.
361+ | Delete'
362+ -- ^ @DELETE@
363+ -- The delete operator indicates that the read contains evidence of bases
364+ -- being deleted from the reference. This operator is equivalent to SAM\'s
365+ -- \`D\`.
366+ | Skip
367+ -- ^ @SKIP@
368+ -- The skip operator indicates that this read skips a long segment of the
369+ -- reference, but the bases have not been deleted. This operator is
370+ -- commonly used when working with RNA-seq data, where reads may skip long
371+ -- segments of the reference between exons. This operator is equivalent to
372+ -- SAM\'s \`N\`.
373+ | ClipSoft
374+ -- ^ @CLIP_SOFT@
375+ -- The soft clip operator indicates that bases at the start\/end of a read
376+ -- have not been considered during alignment. This may occur if the
377+ -- majority of a read maps, except for low quality bases at the start\/end
378+ -- of a read. This operator is equivalent to SAM\'s \`S\`. Bases that are
379+ -- soft clipped will still be stored in the read.
380+ | ClipHard
381+ -- ^ @CLIP_HARD@
382+ -- The hard clip operator indicates that bases at the start\/end of a read
383+ -- have been omitted from this alignment. This may occur if this linear
384+ -- alignment is part of a chimeric alignment, or if the read has been
385+ -- trimmed (for example, during error correction or to trim poly-A tails
386+ -- for RNA-seq). This operator is equivalent to SAM\'s \`H\`.
387+ | Pad
388+ -- ^ @PAD@
389+ -- The pad operator indicates that there is padding in an alignment. This
390+ -- operator is equivalent to SAM\'s \`P\`.
391+ | SequenceMatch
392+ -- ^ @SEQUENCE_MATCH@
393+ -- This operator indicates that this portion of the aligned sequence
394+ -- exactly matches the reference. This operator is equivalent to SAM\'s
395+ -- \`=\`.
396+ | SequenceMismatch
397+ -- ^ @SEQUENCE_MISMATCH@
398+ -- This operator indicates that this portion of the aligned sequence is an
399+ -- alignment match to the reference, but a sequence mismatch. This can
400+ -- indicate a SNP or a read error. This operator is equivalent to SAM\'s
401+ -- \`X\`.
402+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
403+
404+instance Hashable CigarUnitOperation
405+
406+instance FromHttpApiData CigarUnitOperation where
407+ parseQueryParam = \case
408+ "OPERATION_UNSPECIFIED" -> Right OperationUnspecified
409+ "ALIGNMENT_MATCH" -> Right AlignmentMatch
410+ "INSERT" -> Right Insert
411+ "DELETE" -> Right Delete'
412+ "SKIP" -> Right Skip
413+ "CLIP_SOFT" -> Right ClipSoft
414+ "CLIP_HARD" -> Right ClipHard
415+ "PAD" -> Right Pad
416+ "SEQUENCE_MATCH" -> Right SequenceMatch
417+ "SEQUENCE_MISMATCH" -> Right SequenceMismatch
418+ x -> Left ("Unable to parse CigarUnitOperation from: " <> x)
419+
420+instance ToHttpApiData CigarUnitOperation where
421+ toQueryParam = \case
422+ OperationUnspecified -> "OPERATION_UNSPECIFIED"
423+ AlignmentMatch -> "ALIGNMENT_MATCH"
424+ Insert -> "INSERT"
425+ Delete' -> "DELETE"
426+ Skip -> "SKIP"
427+ ClipSoft -> "CLIP_SOFT"
428+ ClipHard -> "CLIP_HARD"
429+ Pad -> "PAD"
430+ SequenceMatch -> "SEQUENCE_MATCH"
431+ SequenceMismatch -> "SEQUENCE_MISMATCH"
432+
433+instance FromJSON CigarUnitOperation where
434+ parseJSON = parseJSONText "CigarUnitOperation"
435+
436+instance ToJSON CigarUnitOperation where
437+ toJSON = toJSONText
438+
439+-- | The type of data. Possible types include: Integer, Float, Flag,
440+-- Character, and String.
441+data VariantSetMetadataType
442+ = TypeUnspecified
443+ -- ^ @TYPE_UNSPECIFIED@
444+ | Integer
445+ -- ^ @INTEGER@
446+ | Float
447+ -- ^ @FLOAT@
448+ | Flag
449+ -- ^ @FLAG@
450+ | Character
451+ -- ^ @CHARACTER@
452+ | String
453+ -- ^ @STRING@
454+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
455+
456+instance Hashable VariantSetMetadataType
457+
458+instance FromHttpApiData VariantSetMetadataType where
459+ parseQueryParam = \case
460+ "TYPE_UNSPECIFIED" -> Right TypeUnspecified
461+ "INTEGER" -> Right Integer
462+ "FLOAT" -> Right Float
463+ "FLAG" -> Right Flag
464+ "CHARACTER" -> Right Character
465+ "STRING" -> Right String
466+ x -> Left ("Unable to parse VariantSetMetadataType from: " <> x)
467+
468+instance ToHttpApiData VariantSetMetadataType where
469+ toQueryParam = \case
470+ TypeUnspecified -> "TYPE_UNSPECIFIED"
471+ Integer -> "INTEGER"
472+ Float -> "FLOAT"
473+ Flag -> "FLAG"
474+ Character -> "CHARACTER"
475+ String -> "STRING"
476+
477+instance FromJSON VariantSetMetadataType where
478+ parseJSON = parseJSONText "VariantSetMetadataType"
479+
480+instance ToJSON VariantSetMetadataType where
481+ toJSON = toJSONText
482+
483+-- | Type has been adapted from ClinVar\'s list of variant types.
484+data VariantAnnotationType
485+ = VATTypeUnspecified
486+ -- ^ @TYPE_UNSPECIFIED@
487+ | VATTypeOther
488+ -- ^ @TYPE_OTHER@
489+ -- \`TYPE_OTHER\` should be used when no other Type will suffice. Further
490+ -- explanation of the variant type may be included in the info field.
491+ | VATInsertion
492+ -- ^ @INSERTION@
493+ -- \`INSERTION\` indicates an insertion.
494+ | VATDeletion
495+ -- ^ @DELETION@
496+ -- \`DELETION\` indicates a deletion.
497+ | VATSubstitution
498+ -- ^ @SUBSTITUTION@
499+ -- \`SUBSTITUTION\` indicates a block substitution of two or more
500+ -- nucleotides.
501+ | VATSnp
502+ -- ^ @SNP@
503+ -- \`SNP\` indicates a single nucleotide polymorphism.
504+ | VATStructural
505+ -- ^ @STRUCTURAL@
506+ -- \`STRUCTURAL\` indicates a large structural variant, including
507+ -- chromosomal fusions, inversions, etc.
508+ | VATCnv
509+ -- ^ @CNV@
510+ -- \`CNV\` indicates a variation in copy number.
511+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
512+
513+instance Hashable VariantAnnotationType
514+
515+instance FromHttpApiData VariantAnnotationType where
516+ parseQueryParam = \case
517+ "TYPE_UNSPECIFIED" -> Right VATTypeUnspecified
518+ "TYPE_OTHER" -> Right VATTypeOther
519+ "INSERTION" -> Right VATInsertion
520+ "DELETION" -> Right VATDeletion
521+ "SUBSTITUTION" -> Right VATSubstitution
522+ "SNP" -> Right VATSnp
523+ "STRUCTURAL" -> Right VATStructural
524+ "CNV" -> Right VATCnv
525+ x -> Left ("Unable to parse VariantAnnotationType from: " <> x)
526+
527+instance ToHttpApiData VariantAnnotationType where
528+ toQueryParam = \case
529+ VATTypeUnspecified -> "TYPE_UNSPECIFIED"
530+ VATTypeOther -> "TYPE_OTHER"
531+ VATInsertion -> "INSERTION"
532+ VATDeletion -> "DELETION"
533+ VATSubstitution -> "SUBSTITUTION"
534+ VATSnp -> "SNP"
535+ VATStructural -> "STRUCTURAL"
536+ VATCnv -> "CNV"
537+
538+instance FromJSON VariantAnnotationType where
539+ parseJSON = parseJSONText "VariantAnnotationType"
540+
541+instance ToJSON VariantAnnotationType where
542+ toJSON = toJSONText
543+
544+-- | The format of the variant data being imported. If unspecified, defaults
545+-- to to \`VCF\`.
546+data ImportVariantsRequestFormat
547+ = FormatUnspecified
548+ -- ^ @FORMAT_UNSPECIFIED@
549+ | FormatVcf
550+ -- ^ @FORMAT_VCF@
551+ -- VCF (Variant Call Format). The VCF files may be gzip compressed. gVCF is
552+ -- also supported.
553+ | FormatCompleteGenomics
554+ -- ^ @FORMAT_COMPLETE_GENOMICS@
555+ -- Complete Genomics masterVarBeta format. The masterVarBeta files may be
556+ -- bzip2 compressed.
557+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
558+
559+instance Hashable ImportVariantsRequestFormat
560+
561+instance FromHttpApiData ImportVariantsRequestFormat where
562+ parseQueryParam = \case
563+ "FORMAT_UNSPECIFIED" -> Right FormatUnspecified
564+ "FORMAT_VCF" -> Right FormatVcf
565+ "FORMAT_COMPLETE_GENOMICS" -> Right FormatCompleteGenomics
566+ x -> Left ("Unable to parse ImportVariantsRequestFormat from: " <> x)
567+
568+instance ToHttpApiData ImportVariantsRequestFormat where
569+ toQueryParam = \case
570+ FormatUnspecified -> "FORMAT_UNSPECIFIED"
571+ FormatVcf -> "FORMAT_VCF"
572+ FormatCompleteGenomics -> "FORMAT_COMPLETE_GENOMICS"
573+
574+instance FromJSON ImportVariantsRequestFormat where
575+ parseJSON = parseJSONText "ImportVariantsRequestFormat"
576+
577+instance ToJSON ImportVariantsRequestFormat where
578+ toJSON = toJSONText
579+
580+-- | The format for the exported data.
581+data ExportVariantSetRequestFormat
582+ = EVSRFFormatUnspecified
583+ -- ^ @FORMAT_UNSPECIFIED@
584+ | EVSRFFormatBigQuery
585+ -- ^ @FORMAT_BIGQUERY@
586+ -- Export the data to Google BigQuery.
587+ deriving (Eq, Ord, Enum, Read, Show, Data, Typeable, Generic)
588+
589+instance Hashable ExportVariantSetRequestFormat
590+
591+instance FromHttpApiData ExportVariantSetRequestFormat where
592+ parseQueryParam = \case
593+ "FORMAT_UNSPECIFIED" -> Right EVSRFFormatUnspecified
594+ "FORMAT_BIGQUERY" -> Right EVSRFFormatBigQuery
595+ x -> Left ("Unable to parse ExportVariantSetRequestFormat from: " <> x)
596+
597+instance ToHttpApiData ExportVariantSetRequestFormat where
598+ toQueryParam = \case
599+ EVSRFFormatUnspecified -> "FORMAT_UNSPECIFIED"
600+ EVSRFFormatBigQuery -> "FORMAT_BIGQUERY"
601+
602+instance FromJSON ExportVariantSetRequestFormat where
603+ parseJSON = parseJSONText "ExportVariantSetRequestFormat"
604+
605+instance ToJSON ExportVariantSetRequestFormat where
606+ toJSON = toJSONText
gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Create.hs+4−4
@@ -25,7 +25,7 @@
2525-- referenceSetId All other fields may be optionally specified, unless
2626-- documented as being server-generated (for example, the \`id\` field).
2727--
28−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotationsets.create@.
28+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotationsets.create@.
2929module Network.Google.Resource.Genomics.AnnotationSets.Create
3030 (
3131 -- * REST Resource
@@ -54,7 +54,7 @@ import Network.Google.Prelude
5454type AnnotationSetsCreateResource =
5555 "v1" :>
5656 "annotationsets" :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -72,7 +72,7 @@ type AnnotationSetsCreateResource =
7272--
7373-- /See:/ 'annotationSetsCreate' smart constructor.
7474data AnnotationSetsCreate = AnnotationSetsCreate'
75− { _ascXgafv :: !(Maybe Text)
75+ { _ascXgafv :: !(Maybe Xgafv)
7676 , _ascUploadProtocol :: !(Maybe Text)
7777 , _ascPp :: !Bool
7878 , _ascAccessToken :: !(Maybe Text)
@@ -117,7 +117,7 @@ annotationSetsCreate pAscPayload_ =
117117 }
118118
119119-- | V1 error format.
120−ascXgafv :: Lens' AnnotationSetsCreate (Maybe Text)
120+ascXgafv :: Lens' AnnotationSetsCreate (Maybe Xgafv)
121121ascXgafv = lens _ascXgafv (\ s a -> s{_ascXgafv = a})
122122
123123-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Delete.hs+4−4
@@ -23,7 +23,7 @@
2323-- Deletes an annotation set. Caller must have WRITE permission for the
2424-- associated annotation set.
2525--
26−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotationsets.delete@.
26+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotationsets.delete@.
2727module Network.Google.Resource.Genomics.AnnotationSets.Delete
2828 (
2929 -- * REST Resource
@@ -53,7 +53,7 @@ type AnnotationSetsDeleteResource =
5353 "v1" :>
5454 "annotationsets" :>
5555 Capture "annotationSetId" Text :>
56− QueryParam "$.xgafv" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
5757 QueryParam "upload_protocol" Text :>
5858 QueryParam "pp" Bool :>
5959 QueryParam "access_token" Text :>
@@ -67,7 +67,7 @@ type AnnotationSetsDeleteResource =
6767--
6868-- /See:/ 'annotationSetsDelete' smart constructor.
6969data AnnotationSetsDelete = AnnotationSetsDelete'
70− { _asdXgafv :: !(Maybe Text)
70+ { _asdXgafv :: !(Maybe Xgafv)
7171 , _asdUploadProtocol :: !(Maybe Text)
7272 , _asdAnnotationSetId :: !Text
7373 , _asdPp :: !Bool
@@ -112,7 +112,7 @@ annotationSetsDelete pAsdAnnotationSetId_ =
112112 }
113113
114114-- | V1 error format.
115−asdXgafv :: Lens' AnnotationSetsDelete (Maybe Text)
115+asdXgafv :: Lens' AnnotationSetsDelete (Maybe Xgafv)
116116asdXgafv = lens _asdXgafv (\ s a -> s{_asdXgafv = a})
117117
118118-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Get.hs+4−4
@@ -23,7 +23,7 @@
2323-- Gets an annotation set. Caller must have READ permission for the
2424-- associated dataset.
2525--
26−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotationsets.get@.
26+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotationsets.get@.
2727module Network.Google.Resource.Genomics.AnnotationSets.Get
2828 (
2929 -- * REST Resource
@@ -53,7 +53,7 @@ type AnnotationSetsGetResource =
5353 "v1" :>
5454 "annotationsets" :>
5555 Capture "annotationSetId" Text :>
56− QueryParam "$.xgafv" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
5757 QueryParam "upload_protocol" Text :>
5858 QueryParam "pp" Bool :>
5959 QueryParam "access_token" Text :>
@@ -67,7 +67,7 @@ type AnnotationSetsGetResource =
6767--
6868-- /See:/ 'annotationSetsGet' smart constructor.
6969data AnnotationSetsGet = AnnotationSetsGet'
70− { _asgXgafv :: !(Maybe Text)
70+ { _asgXgafv :: !(Maybe Xgafv)
7171 , _asgUploadProtocol :: !(Maybe Text)
7272 , _asgAnnotationSetId :: !Text
7373 , _asgPp :: !Bool
@@ -112,7 +112,7 @@ annotationSetsGet pAsgAnnotationSetId_ =
112112 }
113113
114114-- | V1 error format.
115−asgXgafv :: Lens' AnnotationSetsGet (Maybe Text)
115+asgXgafv :: Lens' AnnotationSetsGet (Maybe Xgafv)
116116asgXgafv = lens _asgXgafv (\ s a -> s{_asgXgafv = a})
117117
118118-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Search.hs+4−4
@@ -27,7 +27,7 @@
2727-- of paginated responses. Caller must have READ permission for the queried
2828-- datasets.
2929--
30−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotationsets.search@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotationsets.search@.
3131module Network.Google.Resource.Genomics.AnnotationSets.Search
3232 (
3333 -- * REST Resource
@@ -57,7 +57,7 @@ type AnnotationSetsSearchResource =
5757 "v1" :>
5858 "annotationsets" :>
5959 "search" :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
@@ -77,7 +77,7 @@ type AnnotationSetsSearchResource =
7777--
7878-- /See:/ 'annotationSetsSearch' smart constructor.
7979data AnnotationSetsSearch = AnnotationSetsSearch'
80− { _assXgafv :: !(Maybe Text)
80+ { _assXgafv :: !(Maybe Xgafv)
8181 , _assUploadProtocol :: !(Maybe Text)
8282 , _assPp :: !Bool
8383 , _assAccessToken :: !(Maybe Text)
@@ -122,7 +122,7 @@ annotationSetsSearch pAssPayload_ =
122122 }
123123
124124-- | V1 error format.
125−assXgafv :: Lens' AnnotationSetsSearch (Maybe Text)
125+assXgafv :: Lens' AnnotationSetsSearch (Maybe Xgafv)
126126assXgafv = lens _assXgafv (\ s a -> s{_assXgafv = a})
127127
128128-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/AnnotationSets/Update.hs+7−7
@@ -24,7 +24,7 @@
2424-- restrictions and other invariants described on the annotation set
2525-- resource. Caller must have WRITE permission for the associated dataset.
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotationsets.update@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotationsets.update@.
2828module Network.Google.Resource.Genomics.AnnotationSets.Update
2929 (
3030 -- * REST Resource
@@ -56,9 +56,9 @@ type AnnotationSetsUpdateResource =
5656 "v1" :>
5757 "annotationsets" :>
5858 Capture "annotationSetId" Text :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
61− QueryParam "updateMask" Text :>
61+ QueryParam "updateMask" FieldMask :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
6464 QueryParam "uploadType" Text :>
@@ -74,9 +74,9 @@ type AnnotationSetsUpdateResource =
7474--
7575-- /See:/ 'annotationSetsUpdate' smart constructor.
7676data AnnotationSetsUpdate = AnnotationSetsUpdate'
77− { _asuXgafv :: !(Maybe Text)
77+ { _asuXgafv :: !(Maybe Xgafv)
7878 , _asuUploadProtocol :: !(Maybe Text)
79− , _asuUpdateMask :: !(Maybe Text)
79+ , _asuUpdateMask :: !(Maybe FieldMask)
8080 , _asuAnnotationSetId :: !Text
8181 , _asuPp :: !Bool
8282 , _asuAccessToken :: !(Maybe Text)
@@ -128,7 +128,7 @@ annotationSetsUpdate pAsuAnnotationSetId_ pAsuPayload_ =
128128 }
129129
130130-- | V1 error format.
131−asuXgafv :: Lens' AnnotationSetsUpdate (Maybe Text)
131+asuXgafv :: Lens' AnnotationSetsUpdate (Maybe Xgafv)
132132asuXgafv = lens _asuXgafv (\ s a -> s{_asuXgafv = a})
133133
134134-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
@@ -140,7 +140,7 @@ asuUploadProtocol
140140-- | An optional mask specifying which fields to update. Mutable fields are
141141-- name, source_uri, and info. If unspecified, all mutable fields will be
142142-- updated.
143−asuUpdateMask :: Lens' AnnotationSetsUpdate (Maybe Text)
143+asuUpdateMask :: Lens' AnnotationSetsUpdate (Maybe FieldMask)
144144asuUpdateMask
145145 = lens _asuUpdateMask
146146 (\ s a -> s{_asuUpdateMask = a})
gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/BatchCreate.hs+4−4
@@ -31,7 +31,7 @@
3131-- on the requirements for each individual annotation resource, see
3232-- CreateAnnotation.
3333--
34−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotations.batchCreate@.
34+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotations.batchCreate@.
3535module Network.Google.Resource.Genomics.Annotations.BatchCreate
3636 (
3737 -- * REST Resource
@@ -60,7 +60,7 @@ import Network.Google.Prelude
6060type AnnotationsBatchCreateResource =
6161 "v1" :>
6262 "annotations:batchCreate" :>
63− QueryParam "$.xgafv" Text :>
63+ QueryParam "$.xgafv" Xgafv :>
6464 QueryParam "upload_protocol" Text :>
6565 QueryParam "pp" Bool :>
6666 QueryParam "access_token" Text :>
@@ -84,7 +84,7 @@ type AnnotationsBatchCreateResource =
8484--
8585-- /See:/ 'annotationsBatchCreate' smart constructor.
8686data AnnotationsBatchCreate = AnnotationsBatchCreate'
87− { _abcXgafv :: !(Maybe Text)
87+ { _abcXgafv :: !(Maybe Xgafv)
8888 , _abcUploadProtocol :: !(Maybe Text)
8989 , _abcPp :: !Bool
9090 , _abcAccessToken :: !(Maybe Text)
@@ -129,7 +129,7 @@ annotationsBatchCreate pAbcPayload_ =
129129 }
130130
131131-- | V1 error format.
132−abcXgafv :: Lens' AnnotationsBatchCreate (Maybe Text)
132+abcXgafv :: Lens' AnnotationsBatchCreate (Maybe Xgafv)
133133abcXgafv = lens _abcXgafv (\ s a -> s{_abcXgafv = a})
134134
135135-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Create.hs+4−4
@@ -30,7 +30,7 @@
3030-- 100Mbp (mega base pairs). See the Annotation resource for additional
3131-- restrictions on each field.
3232--
33−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotations.create@.
33+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotations.create@.
3434module Network.Google.Resource.Genomics.Annotations.Create
3535 (
3636 -- * REST Resource
@@ -59,7 +59,7 @@ import Network.Google.Prelude
5959type AnnotationsCreateResource =
6060 "v1" :>
6161 "annotations" :>
62− QueryParam "$.xgafv" Text :>
62+ QueryParam "$.xgafv" Xgafv :>
6363 QueryParam "upload_protocol" Text :>
6464 QueryParam "pp" Bool :>
6565 QueryParam "access_token" Text :>
@@ -81,7 +81,7 @@ type AnnotationsCreateResource =
8181--
8282-- /See:/ 'annotationsCreate' smart constructor.
8383data AnnotationsCreate = AnnotationsCreate'
84− { _acXgafv :: !(Maybe Text)
84+ { _acXgafv :: !(Maybe Xgafv)
8585 , _acUploadProtocol :: !(Maybe Text)
8686 , _acPp :: !Bool
8787 , _acAccessToken :: !(Maybe Text)
@@ -126,7 +126,7 @@ annotationsCreate pAcPayload_ =
126126 }
127127
128128-- | V1 error format.
129−acXgafv :: Lens' AnnotationsCreate (Maybe Text)
129+acXgafv :: Lens' AnnotationsCreate (Maybe Xgafv)
130130acXgafv = lens _acXgafv (\ s a -> s{_acXgafv = a})
131131
132132-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Delete.hs+4−4
@@ -23,7 +23,7 @@
2323-- Deletes an annotation. Caller must have WRITE permission for the
2424-- associated annotation set.
2525--
26−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotations.delete@.
26+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotations.delete@.
2727module Network.Google.Resource.Genomics.Annotations.Delete
2828 (
2929 -- * REST Resource
@@ -53,7 +53,7 @@ type AnnotationsDeleteResource =
5353 "v1" :>
5454 "annotations" :>
5555 Capture "annotationId" Text :>
56− QueryParam "$.xgafv" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
5757 QueryParam "upload_protocol" Text :>
5858 QueryParam "pp" Bool :>
5959 QueryParam "access_token" Text :>
@@ -67,7 +67,7 @@ type AnnotationsDeleteResource =
6767--
6868-- /See:/ 'annotationsDelete' smart constructor.
6969data AnnotationsDelete = AnnotationsDelete'
70− { _adXgafv :: !(Maybe Text)
70+ { _adXgafv :: !(Maybe Xgafv)
7171 , _adUploadProtocol :: !(Maybe Text)
7272 , _adPp :: !Bool
7373 , _adAccessToken :: !(Maybe Text)
@@ -112,7 +112,7 @@ annotationsDelete pAdAnnotationId_ =
112112 }
113113
114114-- | V1 error format.
115−adXgafv :: Lens' AnnotationsDelete (Maybe Text)
115+adXgafv :: Lens' AnnotationsDelete (Maybe Xgafv)
116116adXgafv = lens _adXgafv (\ s a -> s{_adXgafv = a})
117117
118118-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Get.hs+4−4
@@ -23,7 +23,7 @@
2323-- Gets an annotation. Caller must have READ permission for the associated
2424-- annotation set.
2525--
26−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotations.get@.
26+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotations.get@.
2727module Network.Google.Resource.Genomics.Annotations.Get
2828 (
2929 -- * REST Resource
@@ -53,7 +53,7 @@ type AnnotationsGetResource =
5353 "v1" :>
5454 "annotations" :>
5555 Capture "annotationId" Text :>
56− QueryParam "$.xgafv" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
5757 QueryParam "upload_protocol" Text :>
5858 QueryParam "pp" Bool :>
5959 QueryParam "access_token" Text :>
@@ -67,7 +67,7 @@ type AnnotationsGetResource =
6767--
6868-- /See:/ 'annotationsGet' smart constructor.
6969data AnnotationsGet = AnnotationsGet'
70− { _agXgafv :: !(Maybe Text)
70+ { _agXgafv :: !(Maybe Xgafv)
7171 , _agUploadProtocol :: !(Maybe Text)
7272 , _agPp :: !Bool
7373 , _agAccessToken :: !(Maybe Text)
@@ -112,7 +112,7 @@ annotationsGet pAgAnnotationId_ =
112112 }
113113
114114-- | V1 error format.
115−agXgafv :: Lens' AnnotationsGet (Maybe Text)
115+agXgafv :: Lens' AnnotationsGet (Maybe Xgafv)
116116agXgafv = lens _agXgafv (\ s a -> s{_agXgafv = a})
117117
118118-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Search.hs+4−4
@@ -28,7 +28,7 @@
2828-- order across their respective streams of paginated responses. Caller
2929-- must have READ permission for the queried annotation sets.
3030--
31−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotations.search@.
31+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotations.search@.
3232module Network.Google.Resource.Genomics.Annotations.Search
3333 (
3434 -- * REST Resource
@@ -58,7 +58,7 @@ type AnnotationsSearchResource =
5858 "v1" :>
5959 "annotations" :>
6060 "search" :>
61− QueryParam "$.xgafv" Text :>
61+ QueryParam "$.xgafv" Xgafv :>
6262 QueryParam "upload_protocol" Text :>
6363 QueryParam "pp" Bool :>
6464 QueryParam "access_token" Text :>
@@ -79,7 +79,7 @@ type AnnotationsSearchResource =
7979--
8080-- /See:/ 'annotationsSearch' smart constructor.
8181data AnnotationsSearch = AnnotationsSearch'
82− { _asXgafv :: !(Maybe Text)
82+ { _asXgafv :: !(Maybe Xgafv)
8383 , _asUploadProtocol :: !(Maybe Text)
8484 , _asPp :: !Bool
8585 , _asAccessToken :: !(Maybe Text)
@@ -124,7 +124,7 @@ annotationsSearch pAsPayload_ =
124124 }
125125
126126-- | V1 error format.
127−asXgafv :: Lens' AnnotationsSearch (Maybe Text)
127+asXgafv :: Lens' AnnotationsSearch (Maybe Xgafv)
128128asXgafv = lens _asXgafv (\ s a -> s{_asXgafv = a})
129129
130130-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Annotations/Update.hs+7−7
@@ -23,7 +23,7 @@
2323-- Updates an annotation. Caller must have WRITE permission for the
2424-- associated dataset.
2525--
26−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.annotations.update@.
26+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.annotations.update@.
2727module Network.Google.Resource.Genomics.Annotations.Update
2828 (
2929 -- * REST Resource
@@ -55,9 +55,9 @@ type AnnotationsUpdateResource =
5555 "v1" :>
5656 "annotations" :>
5757 Capture "annotationId" Text :>
58− QueryParam "$.xgafv" Text :>
58+ QueryParam "$.xgafv" Xgafv :>
5959 QueryParam "upload_protocol" Text :>
60− QueryParam "updateMask" Text :>
60+ QueryParam "updateMask" FieldMask :>
6161 QueryParam "pp" Bool :>
6262 QueryParam "access_token" Text :>
6363 QueryParam "uploadType" Text :>
@@ -72,9 +72,9 @@ type AnnotationsUpdateResource =
7272--
7373-- /See:/ 'annotationsUpdate' smart constructor.
7474data AnnotationsUpdate = AnnotationsUpdate'
75− { _auXgafv :: !(Maybe Text)
75+ { _auXgafv :: !(Maybe Xgafv)
7676 , _auUploadProtocol :: !(Maybe Text)
77− , _auUpdateMask :: !(Maybe Text)
77+ , _auUpdateMask :: !(Maybe FieldMask)
7878 , _auPp :: !Bool
7979 , _auAccessToken :: !(Maybe Text)
8080 , _auUploadType :: !(Maybe Text)
@@ -126,7 +126,7 @@ annotationsUpdate pAuPayload_ pAuAnnotationId_ =
126126 }
127127
128128-- | V1 error format.
129−auXgafv :: Lens' AnnotationsUpdate (Maybe Text)
129+auXgafv :: Lens' AnnotationsUpdate (Maybe Xgafv)
130130auXgafv = lens _auXgafv (\ s a -> s{_auXgafv = a})
131131
132132-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
@@ -138,7 +138,7 @@ auUploadProtocol
138138-- | An optional mask specifying which fields to update. Mutable fields are
139139-- name, variant, transcript, and info. If unspecified, all mutable fields
140140-- will be updated.
141−auUpdateMask :: Lens' AnnotationsUpdate (Maybe Text)
141+auUpdateMask :: Lens' AnnotationsUpdate (Maybe FieldMask)
142142auUpdateMask
143143 = lens _auUpdateMask (\ s a -> s{_auUpdateMask = a})
144144
gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Create.hs+4−4
@@ -24,7 +24,7 @@
2424-- genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.callsets.create@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.callsets.create@.
2828module Network.Google.Resource.Genomics.CallSets.Create
2929 (
3030 -- * REST Resource
@@ -53,7 +53,7 @@ import Network.Google.Prelude
5353type CallSetsCreateResource =
5454 "v1" :>
5555 "callsets" :>
56− QueryParam "$.xgafv" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
5757 QueryParam "upload_protocol" Text :>
5858 QueryParam "pp" Bool :>
5959 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type CallSetsCreateResource =
6969--
7070-- /See:/ 'callSetsCreate' smart constructor.
7171data CallSetsCreate = CallSetsCreate'
72− { _cscXgafv :: !(Maybe Text)
72+ { _cscXgafv :: !(Maybe Xgafv)
7373 , _cscUploadProtocol :: !(Maybe Text)
7474 , _cscPp :: !Bool
7575 , _cscAccessToken :: !(Maybe Text)
@@ -114,7 +114,7 @@ callSetsCreate pCscPayload_ =
114114 }
115115
116116-- | V1 error format.
117−cscXgafv :: Lens' CallSetsCreate (Maybe Text)
117+cscXgafv :: Lens' CallSetsCreate (Maybe Xgafv)
118118cscXgafv = lens _cscXgafv (\ s a -> s{_cscXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Delete.hs+4−4
@@ -24,7 +24,7 @@
2424-- resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.callsets.delete@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.callsets.delete@.
2828module Network.Google.Resource.Genomics.CallSets.Delete
2929 (
3030 -- * REST Resource
@@ -54,7 +54,7 @@ type CallSetsDeleteResource =
5454 "v1" :>
5555 "callsets" :>
5656 Capture "callSetId" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type CallSetsDeleteResource =
6969--
7070-- /See:/ 'callSetsDelete' smart constructor.
7171data CallSetsDelete = CallSetsDelete'
72− { _csdXgafv :: !(Maybe Text)
72+ { _csdXgafv :: !(Maybe Xgafv)
7373 , _csdUploadProtocol :: !(Maybe Text)
7474 , _csdPp :: !Bool
7575 , _csdAccessToken :: !(Maybe Text)
@@ -114,7 +114,7 @@ callSetsDelete pCsdCallSetId_ =
114114 }
115115
116116-- | V1 error format.
117−csdXgafv :: Lens' CallSetsDelete (Maybe Text)
117+csdXgafv :: Lens' CallSetsDelete (Maybe Xgafv)
118118csdXgafv = lens _csdXgafv (\ s a -> s{_csdXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Get.hs+4−4
@@ -24,7 +24,7 @@
2424-- genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.callsets.get@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.callsets.get@.
2828module Network.Google.Resource.Genomics.CallSets.Get
2929 (
3030 -- * REST Resource
@@ -54,7 +54,7 @@ type CallSetsGetResource =
5454 "v1" :>
5555 "callsets" :>
5656 Capture "callSetId" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type CallSetsGetResource =
6969--
7070-- /See:/ 'callSetsGet' smart constructor.
7171data CallSetsGet = CallSetsGet'
72− { _csgXgafv :: !(Maybe Text)
72+ { _csgXgafv :: !(Maybe Xgafv)
7373 , _csgUploadProtocol :: !(Maybe Text)
7474 , _csgPp :: !Bool
7575 , _csgAccessToken :: !(Maybe Text)
@@ -114,7 +114,7 @@ callSetsGet pCsgCallSetId_ =
114114 }
115115
116116-- | V1 error format.
117−csgXgafv :: Lens' CallSetsGet (Maybe Text)
117+csgXgafv :: Lens' CallSetsGet (Maybe Xgafv)
118118csgXgafv = lens _csgXgafv (\ s a -> s{_csgXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Patch.hs+7−7
@@ -25,7 +25,7 @@
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626-- This method supports patch semantics.
2727--
28−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.callsets.patch@.
28+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.callsets.patch@.
2929module Network.Google.Resource.Genomics.CallSets.Patch
3030 (
3131 -- * REST Resource
@@ -57,9 +57,9 @@ type CallSetsPatchResource =
5757 "v1" :>
5858 "callsets" :>
5959 Capture "callSetId" Text :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
62− QueryParam "updateMask" Text :>
62+ QueryParam "updateMask" FieldMask :>
6363 QueryParam "pp" Bool :>
6464 QueryParam "access_token" Text :>
6565 QueryParam "uploadType" Text :>
@@ -75,9 +75,9 @@ type CallSetsPatchResource =
7575--
7676-- /See:/ 'callSetsPatch' smart constructor.
7777data CallSetsPatch = CallSetsPatch'
78− { _cspXgafv :: !(Maybe Text)
78+ { _cspXgafv :: !(Maybe Xgafv)
7979 , _cspUploadProtocol :: !(Maybe Text)
80− , _cspUpdateMask :: !(Maybe Text)
80+ , _cspUpdateMask :: !(Maybe FieldMask)
8181 , _cspPp :: !Bool
8282 , _cspAccessToken :: !(Maybe Text)
8383 , _cspUploadType :: !(Maybe Text)
@@ -129,7 +129,7 @@ callSetsPatch pCspPayload_ pCspCallSetId_ =
129129 }
130130
131131-- | V1 error format.
132−cspXgafv :: Lens' CallSetsPatch (Maybe Text)
132+cspXgafv :: Lens' CallSetsPatch (Maybe Xgafv)
133133cspXgafv = lens _cspXgafv (\ s a -> s{_cspXgafv = a})
134134
135135-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
@@ -141,7 +141,7 @@ cspUploadProtocol
141141-- | An optional mask specifying which fields to update. At this time, the
142142-- only mutable field is name. The only acceptable value is \"name\". If
143143-- unspecified, all mutable fields will be updated.
144−cspUpdateMask :: Lens' CallSetsPatch (Maybe Text)
144+cspUpdateMask :: Lens' CallSetsPatch (Maybe FieldMask)
145145cspUpdateMask
146146 = lens _cspUpdateMask
147147 (\ s a -> s{_cspUpdateMask = a})
gogol-genomics/gen/Network/Google/Resource/Genomics/CallSets/Search.hs+4−4
@@ -26,7 +26,7 @@
2626-- Implements
2727-- [GlobalAllianceApi.searchCallSets](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/variantmethods.avdl#L178).
2828--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.callsets.search@.
29+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.callsets.search@.
3030module Network.Google.Resource.Genomics.CallSets.Search
3131 (
3232 -- * REST Resource
@@ -56,7 +56,7 @@ type CallSetsSearchResource =
5656 "v1" :>
5757 "callsets" :>
5858 "search" :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
6161 QueryParam "pp" Bool :>
6262 QueryParam "access_token" Text :>
@@ -75,7 +75,7 @@ type CallSetsSearchResource =
7575--
7676-- /See:/ 'callSetsSearch' smart constructor.
7777data CallSetsSearch = CallSetsSearch'
78− { _cssXgafv :: !(Maybe Text)
78+ { _cssXgafv :: !(Maybe Xgafv)
7979 , _cssUploadProtocol :: !(Maybe Text)
8080 , _cssPp :: !Bool
8181 , _cssAccessToken :: !(Maybe Text)
@@ -120,7 +120,7 @@ callSetsSearch pCssPayload_ =
120120 }
121121
122122-- | V1 error format.
123−cssXgafv :: Lens' CallSetsSearch (Maybe Text)
123+cssXgafv :: Lens' CallSetsSearch (Maybe Xgafv)
124124cssXgafv = lens _cssXgafv (\ s a -> s{_cssXgafv = a})
125125
126126-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Create.hs+4−4
@@ -24,7 +24,7 @@
2424-- genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.create@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.create@.
2828module Network.Google.Resource.Genomics.DataSets.Create
2929 (
3030 -- * REST Resource
@@ -53,7 +53,7 @@ import Network.Google.Prelude
5353type DataSetsCreateResource =
5454 "v1" :>
5555 "datasets" :>
56− QueryParam "$.xgafv" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
5757 QueryParam "upload_protocol" Text :>
5858 QueryParam "pp" Bool :>
5959 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type DataSetsCreateResource =
6969--
7070-- /See:/ 'dataSetsCreate' smart constructor.
7171data DataSetsCreate = DataSetsCreate'
72− { _dscXgafv :: !(Maybe Text)
72+ { _dscXgafv :: !(Maybe Xgafv)
7373 , _dscUploadProtocol :: !(Maybe Text)
7474 , _dscPp :: !Bool
7575 , _dscAccessToken :: !(Maybe Text)
@@ -114,7 +114,7 @@ dataSetsCreate pDscPayload_ =
114114 }
115115
116116-- | V1 error format.
117−dscXgafv :: Lens' DataSetsCreate (Maybe Text)
117+dscXgafv :: Lens' DataSetsCreate (Maybe Xgafv)
118118dscXgafv = lens _dscXgafv (\ s a -> s{_dscXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Delete.hs+4−4
@@ -27,7 +27,7 @@
2727-- see [Fundamentals of Google
2828-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2929--
30−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.delete@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.delete@.
3131module Network.Google.Resource.Genomics.DataSets.Delete
3232 (
3333 -- * REST Resource
@@ -57,7 +57,7 @@ type DataSetsDeleteResource =
5757 "v1" :>
5858 "datasets" :>
5959 Capture "datasetId" Text :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
@@ -75,7 +75,7 @@ type DataSetsDeleteResource =
7575--
7676-- /See:/ 'dataSetsDelete' smart constructor.
7777data DataSetsDelete = DataSetsDelete'
78− { _dsdXgafv :: !(Maybe Text)
78+ { _dsdXgafv :: !(Maybe Xgafv)
7979 , _dsdUploadProtocol :: !(Maybe Text)
8080 , _dsdPp :: !Bool
8181 , _dsdAccessToken :: !(Maybe Text)
@@ -120,7 +120,7 @@ dataSetsDelete pDsdDataSetId_ =
120120 }
121121
122122-- | V1 error format.
123−dsdXgafv :: Lens' DataSetsDelete (Maybe Text)
123+dsdXgafv :: Lens' DataSetsDelete (Maybe Xgafv)
124124dsdXgafv = lens _dsdXgafv (\ s a -> s{_dsdXgafv = a})
125125
126126-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Get.hs+4−4
@@ -24,7 +24,7 @@
2424-- resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.get@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.get@.
2828module Network.Google.Resource.Genomics.DataSets.Get
2929 (
3030 -- * REST Resource
@@ -54,7 +54,7 @@ type DataSetsGetResource =
5454 "v1" :>
5555 "datasets" :>
5656 Capture "datasetId" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type DataSetsGetResource =
6969--
7070-- /See:/ 'dataSetsGet' smart constructor.
7171data DataSetsGet = DataSetsGet'
72− { _dsgXgafv :: !(Maybe Text)
72+ { _dsgXgafv :: !(Maybe Xgafv)
7373 , _dsgUploadProtocol :: !(Maybe Text)
7474 , _dsgPp :: !Bool
7575 , _dsgAccessToken :: !(Maybe Text)
@@ -114,7 +114,7 @@ dataSetsGet pDsgDataSetId_ =
114114 }
115115
116116-- | V1 error format.
117−dsgXgafv :: Lens' DataSetsGet (Maybe Text)
117+dsgXgafv :: Lens' DataSetsGet (Maybe Xgafv)
118118dsgXgafv = lens _dsgXgafv (\ s a -> s{_dsgXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/GetIAMPolicy.hs+8−6
@@ -21,12 +21,13 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Gets the access control policy for the dataset. This is empty if the
24−-- policy or resource does not exist. See Getting a Policy for more
24+-- policy or resource does not exist. See
25+-- </iam/docs/managing-policies#getting_a_policy Getting a Policy> for more
2526-- information. For the definitions of datasets and other genomics
2627-- resources, see [Fundamentals of Google
2728-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2829--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.getIamPolicy@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.getIamPolicy@.
3031module Network.Google.Resource.Genomics.DataSets.GetIAMPolicy
3132 (
3233 -- * REST Resource
@@ -56,7 +57,7 @@ import Network.Google.Prelude
5657type DataSetsGetIAMPolicyResource =
5758 "v1" :>
5859 CaptureMode "resource" "getIamPolicy" Text :>
59− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6061 QueryParam "upload_protocol" Text :>
6162 QueryParam "pp" Bool :>
6263 QueryParam "access_token" Text :>
@@ -68,14 +69,15 @@ type DataSetsGetIAMPolicyResource =
6869 Post '[JSON] Policy
6970
7071-- | Gets the access control policy for the dataset. This is empty if the
71−-- policy or resource does not exist. See Getting a Policy for more
72+-- policy or resource does not exist. See
73+-- </iam/docs/managing-policies#getting_a_policy Getting a Policy> for more
7274-- information. For the definitions of datasets and other genomics
7375-- resources, see [Fundamentals of Google
7476-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
7577--
7678-- /See:/ 'dataSetsGetIAMPolicy' smart constructor.
7779data DataSetsGetIAMPolicy = DataSetsGetIAMPolicy'
78− { _dsgipXgafv :: !(Maybe Text)
80+ { _dsgipXgafv :: !(Maybe Xgafv)
7981 , _dsgipUploadProtocol :: !(Maybe Text)
8082 , _dsgipPp :: !Bool
8183 , _dsgipAccessToken :: !(Maybe Text)
@@ -125,7 +127,7 @@ dataSetsGetIAMPolicy pDsgipPayload_ pDsgipResource_ =
125127 }
126128
127129-- | V1 error format.
128−dsgipXgafv :: Lens' DataSetsGetIAMPolicy (Maybe Text)
130+dsgipXgafv :: Lens' DataSetsGetIAMPolicy (Maybe Xgafv)
129131dsgipXgafv
130132 = lens _dsgipXgafv (\ s a -> s{_dsgipXgafv = a})
131133
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/List.hs+4−4
@@ -24,7 +24,7 @@
2424-- other genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.list@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.list@.
2828module Network.Google.Resource.Genomics.DataSets.List
2929 (
3030 -- * REST Resource
@@ -55,7 +55,7 @@ import Network.Google.Prelude
5555type DataSetsListResource =
5656 "v1" :>
5757 "datasets" :>
58− QueryParam "$.xgafv" Text :>
58+ QueryParam "$.xgafv" Xgafv :>
5959 QueryParam "upload_protocol" Text :>
6060 QueryParam "pp" Bool :>
6161 QueryParam "access_token" Text :>
@@ -74,7 +74,7 @@ type DataSetsListResource =
7474--
7575-- /See:/ 'dataSetsList' smart constructor.
7676data DataSetsList = DataSetsList'
77− { _dslXgafv :: !(Maybe Text)
77+ { _dslXgafv :: !(Maybe Xgafv)
7878 , _dslUploadProtocol :: !(Maybe Text)
7979 , _dslPp :: !Bool
8080 , _dslAccessToken :: !(Maybe Text)
@@ -126,7 +126,7 @@ dataSetsList =
126126 }
127127
128128-- | V1 error format.
129−dslXgafv :: Lens' DataSetsList (Maybe Text)
129+dslXgafv :: Lens' DataSetsList (Maybe Xgafv)
130130dslXgafv = lens _dslXgafv (\ s a -> s{_dslXgafv = a})
131131
132132-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Patch.hs+7−7
@@ -25,7 +25,7 @@
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626-- This method supports patch semantics.
2727--
28−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.patch@.
28+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.patch@.
2929module Network.Google.Resource.Genomics.DataSets.Patch
3030 (
3131 -- * REST Resource
@@ -57,9 +57,9 @@ type DataSetsPatchResource =
5757 "v1" :>
5858 "datasets" :>
5959 Capture "datasetId" Text :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
62− QueryParam "updateMask" Text :>
62+ QueryParam "updateMask" FieldMask :>
6363 QueryParam "pp" Bool :>
6464 QueryParam "access_token" Text :>
6565 QueryParam "uploadType" Text :>
@@ -75,9 +75,9 @@ type DataSetsPatchResource =
7575--
7676-- /See:/ 'dataSetsPatch' smart constructor.
7777data DataSetsPatch = DataSetsPatch'
78− { _dspXgafv :: !(Maybe Text)
78+ { _dspXgafv :: !(Maybe Xgafv)
7979 , _dspUploadProtocol :: !(Maybe Text)
80− , _dspUpdateMask :: !(Maybe Text)
80+ , _dspUpdateMask :: !(Maybe FieldMask)
8181 , _dspPp :: !Bool
8282 , _dspAccessToken :: !(Maybe Text)
8383 , _dspUploadType :: !(Maybe Text)
@@ -129,7 +129,7 @@ dataSetsPatch pDspPayload_ pDspDataSetId_ =
129129 }
130130
131131-- | V1 error format.
132−dspXgafv :: Lens' DataSetsPatch (Maybe Text)
132+dspXgafv :: Lens' DataSetsPatch (Maybe Xgafv)
133133dspXgafv = lens _dspXgafv (\ s a -> s{_dspXgafv = a})
134134
135135-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
@@ -141,7 +141,7 @@ dspUploadProtocol
141141-- | An optional mask specifying which fields to update. At this time, the
142142-- only mutable field is name. The only acceptable value is \"name\". If
143143-- unspecified, all mutable fields will be updated.
144−dspUpdateMask :: Lens' DataSetsPatch (Maybe Text)
144+dspUpdateMask :: Lens' DataSetsPatch (Maybe FieldMask)
145145dspUpdateMask
146146 = lens _dspUpdateMask
147147 (\ s a -> s{_dspUpdateMask = a})
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/SetIAMPolicy.hs+8−6
@@ -24,9 +24,10 @@
2424-- existing policy. For the definitions of datasets and other genomics
2525-- resources, see [Fundamentals of Google
2626-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
27−-- See Setting a Policy for more information.
27+-- See </iam/docs/managing-policies#setting_a_policy Setting a Policy> for
28+-- more information.
2829--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.setIamPolicy@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.setIamPolicy@.
3031module Network.Google.Resource.Genomics.DataSets.SetIAMPolicy
3132 (
3233 -- * REST Resource
@@ -56,7 +57,7 @@ import Network.Google.Prelude
5657type DataSetsSetIAMPolicyResource =
5758 "v1" :>
5859 CaptureMode "resource" "setIamPolicy" Text :>
59− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6061 QueryParam "upload_protocol" Text :>
6162 QueryParam "pp" Bool :>
6263 QueryParam "access_token" Text :>
@@ -71,11 +72,12 @@ type DataSetsSetIAMPolicyResource =
7172-- existing policy. For the definitions of datasets and other genomics
7273-- resources, see [Fundamentals of Google
7374-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
74−-- See Setting a Policy for more information.
75+-- See </iam/docs/managing-policies#setting_a_policy Setting a Policy> for
76+-- more information.
7577--
7678-- /See:/ 'dataSetsSetIAMPolicy' smart constructor.
7779data DataSetsSetIAMPolicy = DataSetsSetIAMPolicy'
78− { _dssipXgafv :: !(Maybe Text)
80+ { _dssipXgafv :: !(Maybe Xgafv)
7981 , _dssipUploadProtocol :: !(Maybe Text)
8082 , _dssipPp :: !Bool
8183 , _dssipAccessToken :: !(Maybe Text)
@@ -125,7 +127,7 @@ dataSetsSetIAMPolicy pDssipPayload_ pDssipResource_ =
125127 }
126128
127129-- | V1 error format.
128−dssipXgafv :: Lens' DataSetsSetIAMPolicy (Maybe Text)
130+dssipXgafv :: Lens' DataSetsSetIAMPolicy (Maybe Xgafv)
129131dssipXgafv
130132 = lens _dssipXgafv (\ s a -> s{_dssipXgafv = a})
131133
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/TestIAMPermissions.hs+10−8
@@ -21,11 +21,12 @@
2121-- Portability : non-portable (GHC extensions)
2222--
2323-- Returns permissions that a caller has on the specified resource. See
24−-- Testing Permissions for more information. For the definitions of
25−-- datasets and other genomics resources, see [Fundamentals of Google
24+-- </iam/docs/managing-policies#testing_permissions Testing Permissions>
25+-- for more information. For the definitions of datasets and other genomics
26+-- resources, see [Fundamentals of Google
2627-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2728--
28−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.testIamPermissions@.
29+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.testIamPermissions@.
2930module Network.Google.Resource.Genomics.DataSets.TestIAMPermissions
3031 (
3132 -- * REST Resource
@@ -55,7 +56,7 @@ import Network.Google.Prelude
5556type DataSetsTestIAMPermissionsResource =
5657 "v1" :>
5758 CaptureMode "resource" "testIamPermissions" Text :>
58− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
5960 QueryParam "upload_protocol" Text :>
6061 QueryParam "pp" Bool :>
6162 QueryParam "access_token" Text :>
@@ -67,13 +68,14 @@ type DataSetsTestIAMPermissionsResource =
6768 Post '[JSON] TestIAMPermissionsResponse
6869
6970-- | Returns permissions that a caller has on the specified resource. See
70−-- Testing Permissions for more information. For the definitions of
71−-- datasets and other genomics resources, see [Fundamentals of Google
71+-- </iam/docs/managing-policies#testing_permissions Testing Permissions>
72+-- for more information. For the definitions of datasets and other genomics
73+-- resources, see [Fundamentals of Google
7274-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
7375--
7476-- /See:/ 'dataSetsTestIAMPermissions' smart constructor.
7577data DataSetsTestIAMPermissions = DataSetsTestIAMPermissions'
76− { _dstipXgafv :: !(Maybe Text)
78+ { _dstipXgafv :: !(Maybe Xgafv)
7779 , _dstipUploadProtocol :: !(Maybe Text)
7880 , _dstipPp :: !Bool
7981 , _dstipAccessToken :: !(Maybe Text)
@@ -123,7 +125,7 @@ dataSetsTestIAMPermissions pDstipPayload_ pDstipResource_ =
123125 }
124126
125127-- | V1 error format.
126−dstipXgafv :: Lens' DataSetsTestIAMPermissions (Maybe Text)
128+dstipXgafv :: Lens' DataSetsTestIAMPermissions (Maybe Xgafv)
127129dstipXgafv
128130 = lens _dstipXgafv (\ s a -> s{_dstipXgafv = a})
129131
gogol-genomics/gen/Network/Google/Resource/Genomics/DataSets/Undelete.hs+4−4
@@ -26,7 +26,7 @@
2626-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2727-- This operation is only possible for a week after the deletion occurred.
2828--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.datasets.undelete@.
29+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.datasets.undelete@.
3030module Network.Google.Resource.Genomics.DataSets.Undelete
3131 (
3232 -- * REST Resource
@@ -57,7 +57,7 @@ type DataSetsUndeleteResource =
5757 "v1" :>
5858 "datasets" :>
5959 CaptureMode "datasetId" "undelete" Text :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
@@ -76,7 +76,7 @@ type DataSetsUndeleteResource =
7676--
7777-- /See:/ 'dataSetsUndelete' smart constructor.
7878data DataSetsUndelete = DataSetsUndelete'
79− { _dsuXgafv :: !(Maybe Text)
79+ { _dsuXgafv :: !(Maybe Xgafv)
8080 , _dsuUploadProtocol :: !(Maybe Text)
8181 , _dsuPp :: !Bool
8282 , _dsuAccessToken :: !(Maybe Text)
@@ -126,7 +126,7 @@ dataSetsUndelete pDsuPayload_ pDsuDataSetId_ =
126126 }
127127
128128-- | V1 error format.
129−dsuXgafv :: Lens' DataSetsUndelete (Maybe Text)
129+dsuXgafv :: Lens' DataSetsUndelete (Maybe Xgafv)
130130dsuXgafv = lens _dsuXgafv (\ s a -> s{_dsuXgafv = a})
131131
132132-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Operations/Cancel.hs+4−4
@@ -26,7 +26,7 @@
2626-- Operations.ListOperations to check whether the cancellation succeeded or
2727-- the operation completed despite cancellation.
2828--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.operations.cancel@.
29+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.operations.cancel@.
3030module Network.Google.Resource.Genomics.Operations.Cancel
3131 (
3232 -- * REST Resource
@@ -56,7 +56,7 @@ import Network.Google.Prelude
5656type OperationsCancelResource =
5757 "v1" :>
5858 CaptureMode "name" "cancel" Text :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
6161 QueryParam "pp" Bool :>
6262 QueryParam "access_token" Text :>
@@ -75,7 +75,7 @@ type OperationsCancelResource =
7575--
7676-- /See:/ 'operationsCancel' smart constructor.
7777data OperationsCancel = OperationsCancel'
78− { _ocXgafv :: !(Maybe Text)
78+ { _ocXgafv :: !(Maybe Xgafv)
7979 , _ocUploadProtocol :: !(Maybe Text)
8080 , _ocPp :: !Bool
8181 , _ocAccessToken :: !(Maybe Text)
@@ -125,7 +125,7 @@ operationsCancel pOcPayload_ pOcName_ =
125125 }
126126
127127-- | V1 error format.
128−ocXgafv :: Lens' OperationsCancel (Maybe Text)
128+ocXgafv :: Lens' OperationsCancel (Maybe Xgafv)
129129ocXgafv = lens _ocXgafv (\ s a -> s{_ocXgafv = a})
130130
131131-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Operations/Get.hs+4−4
@@ -24,7 +24,7 @@
2424-- method to poll the operation result at intervals as recommended by the
2525-- API service.
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.operations.get@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.operations.get@.
2828module Network.Google.Resource.Genomics.Operations.Get
2929 (
3030 -- * REST Resource
@@ -53,7 +53,7 @@ import Network.Google.Prelude
5353type OperationsGetResource =
5454 "v1" :>
5555 Capture "name" Text :>
56− QueryParam "$.xgafv" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
5757 QueryParam "upload_protocol" Text :>
5858 QueryParam "pp" Bool :>
5959 QueryParam "access_token" Text :>
@@ -68,7 +68,7 @@ type OperationsGetResource =
6868--
6969-- /See:/ 'operationsGet' smart constructor.
7070data OperationsGet = OperationsGet'
71− { _ogXgafv :: !(Maybe Text)
71+ { _ogXgafv :: !(Maybe Xgafv)
7272 , _ogUploadProtocol :: !(Maybe Text)
7373 , _ogPp :: !Bool
7474 , _ogAccessToken :: !(Maybe Text)
@@ -113,7 +113,7 @@ operationsGet pOgName_ =
113113 }
114114
115115-- | V1 error format.
116−ogXgafv :: Lens' OperationsGet (Maybe Text)
116+ogXgafv :: Lens' OperationsGet (Maybe Xgafv)
117117ogXgafv = lens _ogXgafv (\ s a -> s{_ogXgafv = a})
118118
119119-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Operations/List.hs+11−6
@@ -22,7 +22,7 @@
2222--
2323-- Lists operations that match the specified filter in the request.
2424--
25−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.operations.list@.
25+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.operations.list@.
2626module Network.Google.Resource.Genomics.Operations.List
2727 (
2828 -- * REST Resource
@@ -54,7 +54,7 @@ import Network.Google.Prelude
5454type OperationsListResource =
5555 "v1" :>
5656 Capture "name" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -71,7 +71,7 @@ type OperationsListResource =
7171--
7272-- /See:/ 'operationsList' smart constructor.
7373data OperationsList = OperationsList'
74− { _olXgafv :: !(Maybe Text)
74+ { _olXgafv :: !(Maybe Xgafv)
7575 , _olUploadProtocol :: !(Maybe Text)
7676 , _olPp :: !Bool
7777 , _olAccessToken :: !(Maybe Text)
@@ -128,7 +128,7 @@ operationsList pOlName_ =
128128 }
129129
130130-- | V1 error format.
131−olXgafv :: Lens' OperationsList (Maybe Text)
131+olXgafv :: Lens' OperationsList (Maybe Xgafv)
132132olXgafv = lens _olXgafv (\ s a -> s{_olXgafv = a})
133133
134134-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
@@ -167,8 +167,13 @@ olName = lens _olName (\ s a -> s{_olName = a})
167167-- OperationMetadata.projectId. * createTime: The time this job was
168168-- created, in seconds from the
169169-- [epoch](http:\/\/en.wikipedia.org\/wiki\/Unix_time). Can use \`>=\`
170−-- and\/or \`= 1432140000\` * \`projectId = my-project AND createTime >=
171−-- 1432140000 AND createTime \<= 1432150000 AND status = RUNNING\`
170+-- and\/or \`\<=\` operators. * status: Can be \`RUNNING\`, \`SUCCESS\`,
171+-- \`FAILURE\`, or \`CANCELED\`. Only one status may be specified. *
172+-- labels.key where key is a label key. Examples: * \`projectId =
173+-- my-project AND createTime >= 1432140000\` * \`projectId = my-project AND
174+-- createTime >= 1432140000 AND createTime \<= 1432150000 AND status =
175+-- RUNNING\` * \`projectId = my-project AND labels.color = *\` *
176+-- \`projectId = my-project AND labels.color = red\`
172177olFilter :: Lens' OperationsList (Maybe Text)
173178olFilter = lens _olFilter (\ s a -> s{_olFilter = a})
174179
gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/CoverageBuckets/List.hs+4−4
@@ -32,7 +32,7 @@
3232-- coverage \'zoom levels\'. The caller must have READ permissions for the
3333-- target read group set.
3434--
35−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.readgroupsets.coveragebuckets.list@.
35+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.readgroupsets.coveragebuckets.list@.
3636module Network.Google.Resource.Genomics.ReadGroupSets.CoverageBuckets.List
3737 (
3838 -- * REST Resource
@@ -69,7 +69,7 @@ type ReadGroupSetsCoverageBucketsListResource =
6969 "readgroupsets" :>
7070 Capture "readGroupSetId" Text :>
7171 "coveragebuckets" :>
72− QueryParam "$.xgafv" Text :>
72+ QueryParam "$.xgafv" Xgafv :>
7373 QueryParam "upload_protocol" Text :>
7474 QueryParam "pp" Bool :>
7575 QueryParam "access_token" Text :>
@@ -99,7 +99,7 @@ type ReadGroupSetsCoverageBucketsListResource =
9999--
100100-- /See:/ 'readGroupSetsCoverageBucketsList' smart constructor.
101101data ReadGroupSetsCoverageBucketsList = ReadGroupSetsCoverageBucketsList'
102− { _rgscblXgafv :: !(Maybe Text)
102+ { _rgscblXgafv :: !(Maybe Xgafv)
103103 , _rgscblReadGroupSetId :: !Text
104104 , _rgscblUploadProtocol :: !(Maybe Text)
105105 , _rgscblPp :: !Bool
@@ -168,7 +168,7 @@ readGroupSetsCoverageBucketsList pRgscblReadGroupSetId_ =
168168 }
169169
170170-- | V1 error format.
171−rgscblXgafv :: Lens' ReadGroupSetsCoverageBucketsList (Maybe Text)
171+rgscblXgafv :: Lens' ReadGroupSetsCoverageBucketsList (Maybe Xgafv)
172172rgscblXgafv
173173 = lens _rgscblXgafv (\ s a -> s{_rgscblXgafv = a})
174174
gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Delete.hs+4−4
@@ -24,7 +24,7 @@
2424-- other genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.readgroupsets.delete@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.readgroupsets.delete@.
2828module Network.Google.Resource.Genomics.ReadGroupSets.Delete
2929 (
3030 -- * REST Resource
@@ -54,7 +54,7 @@ type ReadGroupSetsDeleteResource =
5454 "v1" :>
5555 "readgroupsets" :>
5656 Capture "readGroupSetId" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type ReadGroupSetsDeleteResource =
6969--
7070-- /See:/ 'readGroupSetsDelete' smart constructor.
7171data ReadGroupSetsDelete = ReadGroupSetsDelete'
72− { _rgsdXgafv :: !(Maybe Text)
72+ { _rgsdXgafv :: !(Maybe Xgafv)
7373 , _rgsdReadGroupSetId :: !Text
7474 , _rgsdUploadProtocol :: !(Maybe Text)
7575 , _rgsdPp :: !Bool
@@ -114,7 +114,7 @@ readGroupSetsDelete pRgsdReadGroupSetId_ =
114114 }
115115
116116-- | V1 error format.
117−rgsdXgafv :: Lens' ReadGroupSetsDelete (Maybe Text)
117+rgsdXgafv :: Lens' ReadGroupSetsDelete (Maybe Xgafv)
118118rgsdXgafv
119119 = lens _rgsdXgafv (\ s a -> s{_rgsdXgafv = a})
120120
gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Export.hs+4−4
@@ -28,7 +28,7 @@
2828-- files and the original BAM file at the time of import. See
2929-- ImportReadGroupSets for caveats.
3030--
31−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.readgroupsets.export@.
31+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.readgroupsets.export@.
3232module Network.Google.Resource.Genomics.ReadGroupSets.Export
3333 (
3434 -- * REST Resource
@@ -59,7 +59,7 @@ type ReadGroupSetsExportResource =
5959 "v1" :>
6060 "readgroupsets" :>
6161 CaptureMode "readGroupSetId" "export" Text :>
62− QueryParam "$.xgafv" Text :>
62+ QueryParam "$.xgafv" Xgafv :>
6363 QueryParam "upload_protocol" Text :>
6464 QueryParam "pp" Bool :>
6565 QueryParam "access_token" Text :>
@@ -80,7 +80,7 @@ type ReadGroupSetsExportResource =
8080--
8181-- /See:/ 'readGroupSetsExport' smart constructor.
8282data ReadGroupSetsExport = ReadGroupSetsExport'
83− { _rgseXgafv :: !(Maybe Text)
83+ { _rgseXgafv :: !(Maybe Xgafv)
8484 , _rgseReadGroupSetId :: !Text
8585 , _rgseUploadProtocol :: !(Maybe Text)
8686 , _rgsePp :: !Bool
@@ -130,7 +130,7 @@ readGroupSetsExport pRgseReadGroupSetId_ pRgsePayload_ =
130130 }
131131
132132-- | V1 error format.
133−rgseXgafv :: Lens' ReadGroupSetsExport (Maybe Text)
133+rgseXgafv :: Lens' ReadGroupSetsExport (Maybe Xgafv)
134134rgseXgafv
135135 = lens _rgseXgafv (\ s a -> s{_rgseXgafv = a})
136136
gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Get.hs+4−4
@@ -24,7 +24,7 @@
2424-- other genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.readgroupsets.get@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.readgroupsets.get@.
2828module Network.Google.Resource.Genomics.ReadGroupSets.Get
2929 (
3030 -- * REST Resource
@@ -54,7 +54,7 @@ type ReadGroupSetsGetResource =
5454 "v1" :>
5555 "readgroupsets" :>
5656 Capture "readGroupSetId" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type ReadGroupSetsGetResource =
6969--
7070-- /See:/ 'readGroupSetsGet' smart constructor.
7171data ReadGroupSetsGet = ReadGroupSetsGet'
72− { _rgsgXgafv :: !(Maybe Text)
72+ { _rgsgXgafv :: !(Maybe Xgafv)
7373 , _rgsgReadGroupSetId :: !Text
7474 , _rgsgUploadProtocol :: !(Maybe Text)
7575 , _rgsgPp :: !Bool
@@ -114,7 +114,7 @@ readGroupSetsGet pRgsgReadGroupSetId_ =
114114 }
115115
116116-- | V1 error format.
117−rgsgXgafv :: Lens' ReadGroupSetsGet (Maybe Text)
117+rgsgXgafv :: Lens' ReadGroupSetsGet (Maybe Xgafv)
118118rgsgXgafv
119119 = lens _rgsgXgafv (\ s a -> s{_rgsgXgafv = a})
120120
gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Import.hs+4−4
@@ -34,7 +34,7 @@
3434-- Unmapped reads will be stripped of positional information (reference
3535-- name and position)
3636--
37−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.readgroupsets.import@.
37+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.readgroupsets.import@.
3838module Network.Google.Resource.Genomics.ReadGroupSets.Import
3939 (
4040 -- * REST Resource
@@ -63,7 +63,7 @@ import Network.Google.Prelude
6363type ReadGroupSetsImportResource =
6464 "v1" :>
6565 "readgroupsets:import" :>
66− QueryParam "$.xgafv" Text :>
66+ QueryParam "$.xgafv" Xgafv :>
6767 QueryParam "upload_protocol" Text :>
6868 QueryParam "pp" Bool :>
6969 QueryParam "access_token" Text :>
@@ -90,7 +90,7 @@ type ReadGroupSetsImportResource =
9090--
9191-- /See:/ 'readGroupSetsImport' smart constructor.
9292data ReadGroupSetsImport = ReadGroupSetsImport'
93− { _rgsiXgafv :: !(Maybe Text)
93+ { _rgsiXgafv :: !(Maybe Xgafv)
9494 , _rgsiUploadProtocol :: !(Maybe Text)
9595 , _rgsiPp :: !Bool
9696 , _rgsiAccessToken :: !(Maybe Text)
@@ -135,7 +135,7 @@ readGroupSetsImport pRgsiPayload_ =
135135 }
136136
137137-- | V1 error format.
138−rgsiXgafv :: Lens' ReadGroupSetsImport (Maybe Text)
138+rgsiXgafv :: Lens' ReadGroupSetsImport (Maybe Xgafv)
139139rgsiXgafv
140140 = lens _rgsiXgafv (\ s a -> s{_rgsiXgafv = a})
141141
gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Patch.hs+7−7
@@ -25,7 +25,7 @@
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626-- This method supports patch semantics.
2727--
28−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.readgroupsets.patch@.
28+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.readgroupsets.patch@.
2929module Network.Google.Resource.Genomics.ReadGroupSets.Patch
3030 (
3131 -- * REST Resource
@@ -57,9 +57,9 @@ type ReadGroupSetsPatchResource =
5757 "v1" :>
5858 "readgroupsets" :>
5959 Capture "readGroupSetId" Text :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
62− QueryParam "updateMask" Text :>
62+ QueryParam "updateMask" FieldMask :>
6363 QueryParam "pp" Bool :>
6464 QueryParam "access_token" Text :>
6565 QueryParam "uploadType" Text :>
@@ -76,10 +76,10 @@ type ReadGroupSetsPatchResource =
7676--
7777-- /See:/ 'readGroupSetsPatch' smart constructor.
7878data ReadGroupSetsPatch = ReadGroupSetsPatch'
79− { _rgspXgafv :: !(Maybe Text)
79+ { _rgspXgafv :: !(Maybe Xgafv)
8080 , _rgspReadGroupSetId :: !Text
8181 , _rgspUploadProtocol :: !(Maybe Text)
82− , _rgspUpdateMask :: !(Maybe Text)
82+ , _rgspUpdateMask :: !(Maybe FieldMask)
8383 , _rgspPp :: !Bool
8484 , _rgspAccessToken :: !(Maybe Text)
8585 , _rgspUploadType :: !(Maybe Text)
@@ -130,7 +130,7 @@ readGroupSetsPatch pRgspReadGroupSetId_ pRgspPayload_ =
130130 }
131131
132132-- | V1 error format.
133−rgspXgafv :: Lens' ReadGroupSetsPatch (Maybe Text)
133+rgspXgafv :: Lens' ReadGroupSetsPatch (Maybe Xgafv)
134134rgspXgafv
135135 = lens _rgspXgafv (\ s a -> s{_rgspXgafv = a})
136136
@@ -150,7 +150,7 @@ rgspUploadProtocol
150150-- | An optional mask specifying which fields to update. Supported fields: *
151151-- name. * referenceSetId. Leaving \`updateMask\` unset is equivalent to
152152-- specifying all mutable fields.
153−rgspUpdateMask :: Lens' ReadGroupSetsPatch (Maybe Text)
153+rgspUpdateMask :: Lens' ReadGroupSetsPatch (Maybe FieldMask)
154154rgspUpdateMask
155155 = lens _rgspUpdateMask
156156 (\ s a -> s{_rgspUpdateMask = a})
gogol-genomics/gen/Network/Google/Resource/Genomics/ReadGroupSets/Search.hs+4−4
@@ -27,7 +27,7 @@
2727-- Implements
2828-- [GlobalAllianceApi.searchReadGroupSets](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/readmethods.avdl#L135).
2929--
30−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.readgroupsets.search@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.readgroupsets.search@.
3131module Network.Google.Resource.Genomics.ReadGroupSets.Search
3232 (
3333 -- * REST Resource
@@ -57,7 +57,7 @@ type ReadGroupSetsSearchResource =
5757 "v1" :>
5858 "readgroupsets" :>
5959 "search" :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
@@ -77,7 +77,7 @@ type ReadGroupSetsSearchResource =
7777--
7878-- /See:/ 'readGroupSetsSearch' smart constructor.
7979data ReadGroupSetsSearch = ReadGroupSetsSearch'
80− { _rgssXgafv :: !(Maybe Text)
80+ { _rgssXgafv :: !(Maybe Xgafv)
8181 , _rgssUploadProtocol :: !(Maybe Text)
8282 , _rgssPp :: !Bool
8383 , _rgssAccessToken :: !(Maybe Text)
@@ -122,7 +122,7 @@ readGroupSetsSearch pRgssPayload_ =
122122 }
123123
124124-- | V1 error format.
125−rgssXgafv :: Lens' ReadGroupSetsSearch (Maybe Text)
125+rgssXgafv :: Lens' ReadGroupSetsSearch (Maybe Xgafv)
126126rgssXgafv
127127 = lens _rgssXgafv (\ s a -> s{_rgssXgafv = a})
128128
gogol-genomics/gen/Network/Google/Resource/Genomics/Reads/Search.hs+4−4
@@ -38,7 +38,7 @@
3838-- respective streams of paginated responses. Implements
3939-- [GlobalAllianceApi.searchReads](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/readmethods.avdl#L85).
4040--
41−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.reads.search@.
41+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.reads.search@.
4242module Network.Google.Resource.Genomics.Reads.Search
4343 (
4444 -- * REST Resource
@@ -68,7 +68,7 @@ type ReadsSearchResource =
6868 "v1" :>
6969 "reads" :>
7070 "search" :>
71− QueryParam "$.xgafv" Text :>
71+ QueryParam "$.xgafv" Xgafv :>
7272 QueryParam "upload_protocol" Text :>
7373 QueryParam "pp" Bool :>
7474 QueryParam "access_token" Text :>
@@ -99,7 +99,7 @@ type ReadsSearchResource =
9999--
100100-- /See:/ 'readsSearch' smart constructor.
101101data ReadsSearch = ReadsSearch'
102− { _reaXgafv :: !(Maybe Text)
102+ { _reaXgafv :: !(Maybe Xgafv)
103103 , _reaUploadProtocol :: !(Maybe Text)
104104 , _reaPp :: !Bool
105105 , _reaAccessToken :: !(Maybe Text)
@@ -144,7 +144,7 @@ readsSearch pReaPayload_ =
144144 }
145145
146146-- | V1 error format.
147−reaXgafv :: Lens' ReadsSearch (Maybe Text)
147+reaXgafv :: Lens' ReadsSearch (Maybe Xgafv)
148148reaXgafv = lens _reaXgafv (\ s a -> s{_reaXgafv = a})
149149
150150-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Reads/Stream.hsdeleted−173
@@ -1,173 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.Genomics.Reads.Stream
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Returns a stream of all the reads matching the search request, ordered
24−-- by reference name, position, and ID.
25−--
26−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.reads.stream@.
27−module Network.Google.Resource.Genomics.Reads.Stream
28− (
29− -- * REST Resource
30− ReadsStreamResource
31−
32− -- * Creating a Request
33− , readsStream
34− , ReadsStream
35−
36− -- * Request Lenses
37− , rssXgafv
38− , rssUploadProtocol
39− , rssPp
40− , rssAccessToken
41− , rssUploadType
42− , rssPayload
43− , rssBearerToken
44− , rssCallback
45− ) where
46−
47−import Network.Google.Genomics.Types
48−import Network.Google.Prelude
49−
50−-- | A resource alias for @genomics.reads.stream@ method which the
51−-- 'ReadsStream' request conforms to.
52−type ReadsStreamResource =
53− "v1" :>
54− "reads:stream" :>
55− QueryParam "$.xgafv" Text :>
56− QueryParam "upload_protocol" Text :>
57− QueryParam "pp" Bool :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "bearer_token" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] StreamReadsRequest :>
64− Post '[JSON] StreamReadsResponse
65−
66−-- | Returns a stream of all the reads matching the search request, ordered
67−-- by reference name, position, and ID.
68−--
69−-- /See:/ 'readsStream' smart constructor.
70−data ReadsStream = ReadsStream'
71− { _rssXgafv :: !(Maybe Text)
72− , _rssUploadProtocol :: !(Maybe Text)
73− , _rssPp :: !Bool
74− , _rssAccessToken :: !(Maybe Text)
75− , _rssUploadType :: !(Maybe Text)
76− , _rssPayload :: !StreamReadsRequest
77− , _rssBearerToken :: !(Maybe Text)
78− , _rssCallback :: !(Maybe Text)
79− } deriving (Eq,Show,Data,Typeable,Generic)
80−
81−-- | Creates a value of 'ReadsStream' with the minimum fields required to make a request.
82−--
83−-- Use one of the following lenses to modify other fields as desired:
84−--
85−-- * 'rssXgafv'
86−--
87−-- * 'rssUploadProtocol'
88−--
89−-- * 'rssPp'
90−--
91−-- * 'rssAccessToken'
92−--
93−-- * 'rssUploadType'
94−--
95−-- * 'rssPayload'
96−--
97−-- * 'rssBearerToken'
98−--
99−-- * 'rssCallback'
100−readsStream
101− :: StreamReadsRequest -- ^ 'rssPayload'
102− -> ReadsStream
103−readsStream pRssPayload_ =
104− ReadsStream'
105− { _rssXgafv = Nothing
106− , _rssUploadProtocol = Nothing
107− , _rssPp = True
108− , _rssAccessToken = Nothing
109− , _rssUploadType = Nothing
110− , _rssPayload = pRssPayload_
111− , _rssBearerToken = Nothing
112− , _rssCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−rssXgafv :: Lens' ReadsStream (Maybe Text)
117−rssXgafv = lens _rssXgafv (\ s a -> s{_rssXgafv = a})
118−
119−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
120−rssUploadProtocol :: Lens' ReadsStream (Maybe Text)
121−rssUploadProtocol
122− = lens _rssUploadProtocol
123− (\ s a -> s{_rssUploadProtocol = a})
124−
125−-- | Pretty-print response.
126−rssPp :: Lens' ReadsStream Bool
127−rssPp = lens _rssPp (\ s a -> s{_rssPp = a})
128−
129−-- | OAuth access token.
130−rssAccessToken :: Lens' ReadsStream (Maybe Text)
131−rssAccessToken
132− = lens _rssAccessToken
133− (\ s a -> s{_rssAccessToken = a})
134−
135−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
136−rssUploadType :: Lens' ReadsStream (Maybe Text)
137−rssUploadType
138− = lens _rssUploadType
139− (\ s a -> s{_rssUploadType = a})
140−
141−-- | Multipart request metadata.
142−rssPayload :: Lens' ReadsStream StreamReadsRequest
143−rssPayload
144− = lens _rssPayload (\ s a -> s{_rssPayload = a})
145−
146−-- | OAuth bearer token.
147−rssBearerToken :: Lens' ReadsStream (Maybe Text)
148−rssBearerToken
149− = lens _rssBearerToken
150− (\ s a -> s{_rssBearerToken = a})
151−
152−-- | JSONP
153−rssCallback :: Lens' ReadsStream (Maybe Text)
154−rssCallback
155− = lens _rssCallback (\ s a -> s{_rssCallback = a})
156−
157−instance GoogleRequest ReadsStream where
158− type Rs ReadsStream = StreamReadsResponse
159− type Scopes ReadsStream =
160− '["https://www.googleapis.com/auth/cloud-platform",
161− "https://www.googleapis.com/auth/genomics"]
162− requestClient ReadsStream'{..}
163− = go _rssXgafv _rssUploadProtocol (Just _rssPp)
164− _rssAccessToken
165− _rssUploadType
166− _rssBearerToken
167− _rssCallback
168− (Just AltJSON)
169− _rssPayload
170− genomicsService
171− where go
172− = buildClient (Proxy :: Proxy ReadsStreamResource)
173− mempty
gogol-genomics/gen/Network/Google/Resource/Genomics/References/Bases/List.hs+4−4
@@ -27,7 +27,7 @@
2727-- Implements
2828-- [GlobalAllianceApi.getReferenceBases](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/referencemethods.avdl#L221).
2929--
30−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.references.bases.list@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.references.bases.list@.
3131module Network.Google.Resource.Genomics.References.Bases.List
3232 (
3333 -- * REST Resource
@@ -62,7 +62,7 @@ type ReferencesBasesListResource =
6262 "references" :>
6363 Capture "referenceId" Text :>
6464 "bases" :>
65− QueryParam "$.xgafv" Text :>
65+ QueryParam "$.xgafv" Xgafv :>
6666 QueryParam "upload_protocol" Text :>
6767 QueryParam "pp" Bool :>
6868 QueryParam "access_token" Text :>
@@ -85,7 +85,7 @@ type ReferencesBasesListResource =
8585--
8686-- /See:/ 'referencesBasesList' smart constructor.
8787data ReferencesBasesList = ReferencesBasesList'
88− { _rblXgafv :: !(Maybe Text)
88+ { _rblXgafv :: !(Maybe Xgafv)
8989 , _rblUploadProtocol :: !(Maybe Text)
9090 , _rblPp :: !Bool
9191 , _rblAccessToken :: !(Maybe Text)
@@ -146,7 +146,7 @@ referencesBasesList pRblReferenceId_ =
146146 }
147147
148148-- | V1 error format.
149−rblXgafv :: Lens' ReferencesBasesList (Maybe Text)
149+rblXgafv :: Lens' ReferencesBasesList (Maybe Xgafv)
150150rblXgafv = lens _rblXgafv (\ s a -> s{_rblXgafv = a})
151151
152152-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/References/Get.hs+4−4
@@ -26,7 +26,7 @@
2626-- Implements
2727-- [GlobalAllianceApi.getReference](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/referencemethods.avdl#L158).
2828--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.references.get@.
29+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.references.get@.
3030module Network.Google.Resource.Genomics.References.Get
3131 (
3232 -- * REST Resource
@@ -56,7 +56,7 @@ type ReferencesGetResource =
5656 "v1" :>
5757 "references" :>
5858 Capture "referenceId" Text :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
6161 QueryParam "pp" Bool :>
6262 QueryParam "access_token" Text :>
@@ -73,7 +73,7 @@ type ReferencesGetResource =
7373--
7474-- /See:/ 'referencesGet' smart constructor.
7575data ReferencesGet = ReferencesGet'
76− { _rXgafv :: !(Maybe Text)
76+ { _rXgafv :: !(Maybe Xgafv)
7777 , _rUploadProtocol :: !(Maybe Text)
7878 , _rPp :: !Bool
7979 , _rAccessToken :: !(Maybe Text)
@@ -118,7 +118,7 @@ referencesGet pRReferenceId_ =
118118 }
119119
120120-- | V1 error format.
121−rXgafv :: Lens' ReferencesGet (Maybe Text)
121+rXgafv :: Lens' ReferencesGet (Maybe Xgafv)
122122rXgafv = lens _rXgafv (\ s a -> s{_rXgafv = a})
123123
124124-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/References/Search.hs+4−4
@@ -27,7 +27,7 @@
2727-- Implements
2828-- [GlobalAllianceApi.searchReferences](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/referencemethods.avdl#L146).
2929--
30−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.references.search@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.references.search@.
3131module Network.Google.Resource.Genomics.References.Search
3232 (
3333 -- * REST Resource
@@ -57,7 +57,7 @@ type ReferencesSearchResource =
5757 "v1" :>
5858 "references" :>
5959 "search" :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
@@ -77,7 +77,7 @@ type ReferencesSearchResource =
7777--
7878-- /See:/ 'referencesSearch' smart constructor.
7979data ReferencesSearch = ReferencesSearch'
80− { _refXgafv :: !(Maybe Text)
80+ { _refXgafv :: !(Maybe Xgafv)
8181 , _refUploadProtocol :: !(Maybe Text)
8282 , _refPp :: !Bool
8383 , _refAccessToken :: !(Maybe Text)
@@ -122,7 +122,7 @@ referencesSearch pRefPayload_ =
122122 }
123123
124124-- | V1 error format.
125−refXgafv :: Lens' ReferencesSearch (Maybe Text)
125+refXgafv :: Lens' ReferencesSearch (Maybe Xgafv)
126126refXgafv = lens _refXgafv (\ s a -> s{_refXgafv = a})
127127
128128-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Referencesets/Get.hs+4−4
@@ -26,7 +26,7 @@
2626-- Implements
2727-- [GlobalAllianceApi.getReferenceSet](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/referencemethods.avdl#L83).
2828--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.referencesets.get@.
29+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.referencesets.get@.
3030module Network.Google.Resource.Genomics.Referencesets.Get
3131 (
3232 -- * REST Resource
@@ -56,7 +56,7 @@ type ReferencesetsGetResource =
5656 "v1" :>
5757 "referencesets" :>
5858 Capture "referenceSetId" Text :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
6161 QueryParam "pp" Bool :>
6262 QueryParam "access_token" Text :>
@@ -74,7 +74,7 @@ type ReferencesetsGetResource =
7474-- /See:/ 'referencesetsGet' smart constructor.
7575data ReferencesetsGet = ReferencesetsGet'
7676 { _rgReferenceSetId :: !Text
77− , _rgXgafv :: !(Maybe Text)
77+ , _rgXgafv :: !(Maybe Xgafv)
7878 , _rgUploadProtocol :: !(Maybe Text)
7979 , _rgPp :: !Bool
8080 , _rgAccessToken :: !(Maybe Text)
@@ -124,7 +124,7 @@ rgReferenceSetId
124124 (\ s a -> s{_rgReferenceSetId = a})
125125
126126-- | V1 error format.
127−rgXgafv :: Lens' ReferencesetsGet (Maybe Text)
127+rgXgafv :: Lens' ReferencesetsGet (Maybe Xgafv)
128128rgXgafv = lens _rgXgafv (\ s a -> s{_rgXgafv = a})
129129
130130-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Referencesets/Search.hs+4−4
@@ -27,7 +27,7 @@
2727-- Implements
2828-- [GlobalAllianceApi.searchReferenceSets](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/referencemethods.avdl#L71)
2929--
30−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.referencesets.search@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.referencesets.search@.
3131module Network.Google.Resource.Genomics.Referencesets.Search
3232 (
3333 -- * REST Resource
@@ -57,7 +57,7 @@ type ReferencesetsSearchResource =
5757 "v1" :>
5858 "referencesets" :>
5959 "search" :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
@@ -77,7 +77,7 @@ type ReferencesetsSearchResource =
7777--
7878-- /See:/ 'referencesetsSearch' smart constructor.
7979data ReferencesetsSearch = ReferencesetsSearch'
80− { _rsXgafv :: !(Maybe Text)
80+ { _rsXgafv :: !(Maybe Xgafv)
8181 , _rsUploadProtocol :: !(Maybe Text)
8282 , _rsPp :: !Bool
8383 , _rsAccessToken :: !(Maybe Text)
@@ -122,7 +122,7 @@ referencesetsSearch pRsPayload_ =
122122 }
123123
124124-- | V1 error format.
125−rsXgafv :: Lens' ReferencesetsSearch (Maybe Text)
125+rsXgafv :: Lens' ReferencesetsSearch (Maybe Xgafv)
126126rsXgafv = lens _rsXgafv (\ s a -> s{_rsXgafv = a})
127127
128128-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Create.hs+4−4
@@ -27,7 +27,7 @@
2727-- fields are optional. Note that the \`id\` field will be ignored, as this
2828-- is assigned by the server.
2929--
30−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variantsets.create@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variantsets.create@.
3131module Network.Google.Resource.Genomics.VariantSets.Create
3232 (
3333 -- * REST Resource
@@ -56,7 +56,7 @@ import Network.Google.Prelude
5656type VariantSetsCreateResource =
5757 "v1" :>
5858 "variantsets" :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
6161 QueryParam "pp" Bool :>
6262 QueryParam "access_token" Text :>
@@ -75,7 +75,7 @@ type VariantSetsCreateResource =
7575--
7676-- /See:/ 'variantSetsCreate' smart constructor.
7777data VariantSetsCreate = VariantSetsCreate'
78− { _vscXgafv :: !(Maybe Text)
78+ { _vscXgafv :: !(Maybe Xgafv)
7979 , _vscUploadProtocol :: !(Maybe Text)
8080 , _vscPp :: !Bool
8181 , _vscAccessToken :: !(Maybe Text)
@@ -120,7 +120,7 @@ variantSetsCreate pVscPayload_ =
120120 }
121121
122122-- | V1 error format.
123−vscXgafv :: Lens' VariantSetsCreate (Maybe Text)
123+vscXgafv :: Lens' VariantSetsCreate (Maybe Xgafv)
124124vscXgafv = lens _vscXgafv (\ s a -> s{_vscXgafv = a})
125125
126126-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Delete.hs+4−4
@@ -25,7 +25,7 @@
2525-- other genomics resources, see [Fundamentals of Google
2626-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2727--
28−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variantsets.delete@.
28+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variantsets.delete@.
2929module Network.Google.Resource.Genomics.VariantSets.Delete
3030 (
3131 -- * REST Resource
@@ -55,7 +55,7 @@ type VariantSetsDeleteResource =
5555 "v1" :>
5656 "variantsets" :>
5757 Capture "variantSetId" Text :>
58− QueryParam "$.xgafv" Text :>
58+ QueryParam "$.xgafv" Xgafv :>
5959 QueryParam "upload_protocol" Text :>
6060 QueryParam "pp" Bool :>
6161 QueryParam "access_token" Text :>
@@ -71,7 +71,7 @@ type VariantSetsDeleteResource =
7171--
7272-- /See:/ 'variantSetsDelete' smart constructor.
7373data VariantSetsDelete = VariantSetsDelete'
74− { _vsdXgafv :: !(Maybe Text)
74+ { _vsdXgafv :: !(Maybe Xgafv)
7575 , _vsdUploadProtocol :: !(Maybe Text)
7676 , _vsdPp :: !Bool
7777 , _vsdVariantSetId :: !Text
@@ -116,7 +116,7 @@ variantSetsDelete pVsdVariantSetId_ =
116116 }
117117
118118-- | V1 error format.
119−vsdXgafv :: Lens' VariantSetsDelete (Maybe Text)
119+vsdXgafv :: Lens' VariantSetsDelete (Maybe Xgafv)
120120vsdXgafv = lens _vsdXgafv (\ s a -> s{_vsdXgafv = a})
121121
122122-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Export.hs+4−4
@@ -25,7 +25,7 @@
2525-- Google
2626-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2727--
28−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variantsets.export@.
28+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variantsets.export@.
2929module Network.Google.Resource.Genomics.VariantSets.Export
3030 (
3131 -- * REST Resource
@@ -56,7 +56,7 @@ type VariantSetsExportResource =
5656 "v1" :>
5757 "variantsets" :>
5858 CaptureMode "variantSetId" "export" Text :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
6161 QueryParam "pp" Bool :>
6262 QueryParam "access_token" Text :>
@@ -74,7 +74,7 @@ type VariantSetsExportResource =
7474--
7575-- /See:/ 'variantSetsExport' smart constructor.
7676data VariantSetsExport = VariantSetsExport'
77− { _vseXgafv :: !(Maybe Text)
77+ { _vseXgafv :: !(Maybe Xgafv)
7878 , _vseUploadProtocol :: !(Maybe Text)
7979 , _vsePp :: !Bool
8080 , _vseVariantSetId :: !Text
@@ -124,7 +124,7 @@ variantSetsExport pVseVariantSetId_ pVsePayload_ =
124124 }
125125
126126-- | V1 error format.
127−vseXgafv :: Lens' VariantSetsExport (Maybe Text)
127+vseXgafv :: Lens' VariantSetsExport (Maybe Xgafv)
128128vseXgafv = lens _vseXgafv (\ s a -> s{_vseXgafv = a})
129129
130130-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Get.hs+4−4
@@ -24,7 +24,7 @@
2424-- genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variantsets.get@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variantsets.get@.
2828module Network.Google.Resource.Genomics.VariantSets.Get
2929 (
3030 -- * REST Resource
@@ -54,7 +54,7 @@ type VariantSetsGetResource =
5454 "v1" :>
5555 "variantsets" :>
5656 Capture "variantSetId" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type VariantSetsGetResource =
6969--
7070-- /See:/ 'variantSetsGet' smart constructor.
7171data VariantSetsGet = VariantSetsGet'
72− { _vsgXgafv :: !(Maybe Text)
72+ { _vsgXgafv :: !(Maybe Xgafv)
7373 , _vsgUploadProtocol :: !(Maybe Text)
7474 , _vsgPp :: !Bool
7575 , _vsgVariantSetId :: !Text
@@ -114,7 +114,7 @@ variantSetsGet pVsgVariantSetId_ =
114114 }
115115
116116-- | V1 error format.
117−vsgXgafv :: Lens' VariantSetsGet (Maybe Text)
117+vsgXgafv :: Lens' VariantSetsGet (Maybe Xgafv)
118118vsgXgafv = lens _vsgXgafv (\ s a -> s{_vsgXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Patch.hs+7−7
@@ -24,7 +24,7 @@
2424-- variant sets and other genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variantsets.patch@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variantsets.patch@.
2828module Network.Google.Resource.Genomics.VariantSets.Patch
2929 (
3030 -- * REST Resource
@@ -56,9 +56,9 @@ type VariantSetsPatchResource =
5656 "v1" :>
5757 "variantsets" :>
5858 Capture "variantSetId" Text :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
61− QueryParam "updateMask" Text :>
61+ QueryParam "updateMask" FieldMask :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
6464 QueryParam "uploadType" Text :>
@@ -74,9 +74,9 @@ type VariantSetsPatchResource =
7474--
7575-- /See:/ 'variantSetsPatch' smart constructor.
7676data VariantSetsPatch = VariantSetsPatch'
77− { _vspXgafv :: !(Maybe Text)
77+ { _vspXgafv :: !(Maybe Xgafv)
7878 , _vspUploadProtocol :: !(Maybe Text)
79− , _vspUpdateMask :: !(Maybe Text)
79+ , _vspUpdateMask :: !(Maybe FieldMask)
8080 , _vspPp :: !Bool
8181 , _vspVariantSetId :: !Text
8282 , _vspAccessToken :: !(Maybe Text)
@@ -128,7 +128,7 @@ variantSetsPatch pVspVariantSetId_ pVspPayload_ =
128128 }
129129
130130-- | V1 error format.
131−vspXgafv :: Lens' VariantSetsPatch (Maybe Text)
131+vspXgafv :: Lens' VariantSetsPatch (Maybe Xgafv)
132132vspXgafv = lens _vspXgafv (\ s a -> s{_vspXgafv = a})
133133
134134-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
@@ -140,7 +140,7 @@ vspUploadProtocol
140140-- | An optional mask specifying which fields to update. Supported fields: *
141141-- metadata. * name. * description. Leaving \`updateMask\` unset is
142142-- equivalent to specifying all mutable fields.
143−vspUpdateMask :: Lens' VariantSetsPatch (Maybe Text)
143+vspUpdateMask :: Lens' VariantSetsPatch (Maybe FieldMask)
144144vspUpdateMask
145145 = lens _vspUpdateMask
146146 (\ s a -> s{_vspUpdateMask = a})
gogol-genomics/gen/Network/Google/Resource/Genomics/VariantSets/Search.hs+4−4
@@ -27,7 +27,7 @@
2727-- Implements
2828-- [GlobalAllianceApi.searchVariantSets](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/variantmethods.avdl#L49).
2929--
30−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variantsets.search@.
30+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variantsets.search@.
3131module Network.Google.Resource.Genomics.VariantSets.Search
3232 (
3333 -- * REST Resource
@@ -57,7 +57,7 @@ type VariantSetsSearchResource =
5757 "v1" :>
5858 "variantsets" :>
5959 "search" :>
60− QueryParam "$.xgafv" Text :>
60+ QueryParam "$.xgafv" Xgafv :>
6161 QueryParam "upload_protocol" Text :>
6262 QueryParam "pp" Bool :>
6363 QueryParam "access_token" Text :>
@@ -77,7 +77,7 @@ type VariantSetsSearchResource =
7777--
7878-- /See:/ 'variantSetsSearch' smart constructor.
7979data VariantSetsSearch = VariantSetsSearch'
80− { _vssXgafv :: !(Maybe Text)
80+ { _vssXgafv :: !(Maybe Xgafv)
8181 , _vssUploadProtocol :: !(Maybe Text)
8282 , _vssPp :: !Bool
8383 , _vssAccessToken :: !(Maybe Text)
@@ -122,7 +122,7 @@ variantSetsSearch pVssPayload_ =
122122 }
123123
124124-- | V1 error format.
125−vssXgafv :: Lens' VariantSetsSearch (Maybe Text)
125+vssXgafv :: Lens' VariantSetsSearch (Maybe Xgafv)
126126vssXgafv = lens _vssXgafv (\ s a -> s{_vssXgafv = a})
127127
128128-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Create.hs+4−4
@@ -24,7 +24,7 @@
2424-- genomics resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variants.create@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variants.create@.
2828module Network.Google.Resource.Genomics.Variants.Create
2929 (
3030 -- * REST Resource
@@ -53,7 +53,7 @@ import Network.Google.Prelude
5353type VariantsCreateResource =
5454 "v1" :>
5555 "variants" :>
56− QueryParam "$.xgafv" Text :>
56+ QueryParam "$.xgafv" Xgafv :>
5757 QueryParam "upload_protocol" Text :>
5858 QueryParam "pp" Bool :>
5959 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type VariantsCreateResource =
6969--
7070-- /See:/ 'variantsCreate' smart constructor.
7171data VariantsCreate = VariantsCreate'
72− { _vcXgafv :: !(Maybe Text)
72+ { _vcXgafv :: !(Maybe Xgafv)
7373 , _vcUploadProtocol :: !(Maybe Text)
7474 , _vcPp :: !Bool
7575 , _vcAccessToken :: !(Maybe Text)
@@ -114,7 +114,7 @@ variantsCreate pVcPayload_ =
114114 }
115115
116116-- | V1 error format.
117−vcXgafv :: Lens' VariantsCreate (Maybe Text)
117+vcXgafv :: Lens' VariantsCreate (Maybe Xgafv)
118118vcXgafv = lens _vcXgafv (\ s a -> s{_vcXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Delete.hs+4−4
@@ -24,7 +24,7 @@
2424-- resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variants.delete@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variants.delete@.
2828module Network.Google.Resource.Genomics.Variants.Delete
2929 (
3030 -- * REST Resource
@@ -54,7 +54,7 @@ type VariantsDeleteResource =
5454 "v1" :>
5555 "variants" :>
5656 Capture "variantId" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type VariantsDeleteResource =
6969--
7070-- /See:/ 'variantsDelete' smart constructor.
7171data VariantsDelete = VariantsDelete'
72− { _vdXgafv :: !(Maybe Text)
72+ { _vdXgafv :: !(Maybe Xgafv)
7373 , _vdUploadProtocol :: !(Maybe Text)
7474 , _vdPp :: !Bool
7575 , _vdAccessToken :: !(Maybe Text)
@@ -114,7 +114,7 @@ variantsDelete pVdVariantId_ =
114114 }
115115
116116-- | V1 error format.
117−vdXgafv :: Lens' VariantsDelete (Maybe Text)
117+vdXgafv :: Lens' VariantsDelete (Maybe Xgafv)
118118vdXgafv = lens _vdXgafv (\ s a -> s{_vdXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Get.hs+4−4
@@ -24,7 +24,7 @@
2424-- resources, see [Fundamentals of Google
2525-- Genomics](https:\/\/cloud.google.com\/genomics\/fundamentals-of-google-genomics)
2626--
27−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variants.get@.
27+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variants.get@.
2828module Network.Google.Resource.Genomics.Variants.Get
2929 (
3030 -- * REST Resource
@@ -54,7 +54,7 @@ type VariantsGetResource =
5454 "v1" :>
5555 "variants" :>
5656 Capture "variantId" Text :>
57− QueryParam "$.xgafv" Text :>
57+ QueryParam "$.xgafv" Xgafv :>
5858 QueryParam "upload_protocol" Text :>
5959 QueryParam "pp" Bool :>
6060 QueryParam "access_token" Text :>
@@ -69,7 +69,7 @@ type VariantsGetResource =
6969--
7070-- /See:/ 'variantsGet' smart constructor.
7171data VariantsGet = VariantsGet'
72− { _vgXgafv :: !(Maybe Text)
72+ { _vgXgafv :: !(Maybe Xgafv)
7373 , _vgUploadProtocol :: !(Maybe Text)
7474 , _vgPp :: !Bool
7575 , _vgAccessToken :: !(Maybe Text)
@@ -114,7 +114,7 @@ variantsGet pVgVariantId_ =
114114 }
115115
116116-- | V1 error format.
117−vgXgafv :: Lens' VariantsGet (Maybe Text)
117+vgXgafv :: Lens' VariantsGet (Maybe Xgafv)
118118vgXgafv = lens _vgXgafv (\ s a -> s{_vgXgafv = a})
119119
120120-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Import.hs+4−4
@@ -34,7 +34,7 @@
3434-- sometimes interpreted in a call-specific context. Imported VCF headers
3535-- are appended to the metadata already in a variant set.
3636--
37−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variants.import@.
37+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variants.import@.
3838module Network.Google.Resource.Genomics.Variants.Import
3939 (
4040 -- * REST Resource
@@ -63,7 +63,7 @@ import Network.Google.Prelude
6363type VariantsImportResource =
6464 "v1" :>
6565 "variants:import" :>
66− QueryParam "$.xgafv" Text :>
66+ QueryParam "$.xgafv" Xgafv :>
6767 QueryParam "upload_protocol" Text :>
6868 QueryParam "pp" Bool :>
6969 QueryParam "access_token" Text :>
@@ -90,7 +90,7 @@ type VariantsImportResource =
9090--
9191-- /See:/ 'variantsImport' smart constructor.
9292data VariantsImport = VariantsImport'
93− { _viXgafv :: !(Maybe Text)
93+ { _viXgafv :: !(Maybe Xgafv)
9494 , _viUploadProtocol :: !(Maybe Text)
9595 , _viPp :: !Bool
9696 , _viAccessToken :: !(Maybe Text)
@@ -135,7 +135,7 @@ variantsImport pViPayload_ =
135135 }
136136
137137-- | V1 error format.
138−viXgafv :: Lens' VariantsImport (Maybe Text)
138+viXgafv :: Lens' VariantsImport (Maybe Xgafv)
139139viXgafv = lens _viXgafv (\ s a -> s{_viXgafv = a})
140140
141141-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Merge.hs+4−4
@@ -51,7 +51,7 @@
5151-- [ 1, 1 ], } ] } This may be the desired outcome, but it is up to the
5252-- user to determine if if that is indeed the case.
5353--
54−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variants.merge@.
54+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variants.merge@.
5555module Network.Google.Resource.Genomics.Variants.Merge
5656 (
5757 -- * REST Resource
@@ -80,7 +80,7 @@ import Network.Google.Prelude
8080type VariantsMergeResource =
8181 "v1" :>
8282 "variants:merge" :>
83− QueryParam "$.xgafv" Text :>
83+ QueryParam "$.xgafv" Xgafv :>
8484 QueryParam "upload_protocol" Text :>
8585 QueryParam "pp" Bool :>
8686 QueryParam "access_token" Text :>
@@ -124,7 +124,7 @@ type VariantsMergeResource =
124124--
125125-- /See:/ 'variantsMerge' smart constructor.
126126data VariantsMerge = VariantsMerge'
127− { _vmXgafv :: !(Maybe Text)
127+ { _vmXgafv :: !(Maybe Xgafv)
128128 , _vmUploadProtocol :: !(Maybe Text)
129129 , _vmPp :: !Bool
130130 , _vmAccessToken :: !(Maybe Text)
@@ -169,7 +169,7 @@ variantsMerge pVmPayload_ =
169169 }
170170
171171-- | V1 error format.
172−vmXgafv :: Lens' VariantsMerge (Maybe Text)
172+vmXgafv :: Lens' VariantsMerge (Maybe Xgafv)
173173vmXgafv = lens _vmXgafv (\ s a -> s{_vmXgafv = a})
174174
175175-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Patch.hs+7−7
@@ -26,7 +26,7 @@
2626-- This method supports patch semantics. Returns the modified variant
2727-- without its calls.
2828--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variants.patch@.
29+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variants.patch@.
3030module Network.Google.Resource.Genomics.Variants.Patch
3131 (
3232 -- * REST Resource
@@ -58,9 +58,9 @@ type VariantsPatchResource =
5858 "v1" :>
5959 "variants" :>
6060 Capture "variantId" Text :>
61− QueryParam "$.xgafv" Text :>
61+ QueryParam "$.xgafv" Xgafv :>
6262 QueryParam "upload_protocol" Text :>
63− QueryParam "updateMask" Text :>
63+ QueryParam "updateMask" FieldMask :>
6464 QueryParam "pp" Bool :>
6565 QueryParam "access_token" Text :>
6666 QueryParam "uploadType" Text :>
@@ -77,9 +77,9 @@ type VariantsPatchResource =
7777--
7878-- /See:/ 'variantsPatch' smart constructor.
7979data VariantsPatch = VariantsPatch'
80− { _vpXgafv :: !(Maybe Text)
80+ { _vpXgafv :: !(Maybe Xgafv)
8181 , _vpUploadProtocol :: !(Maybe Text)
82− , _vpUpdateMask :: !(Maybe Text)
82+ , _vpUpdateMask :: !(Maybe FieldMask)
8383 , _vpPp :: !Bool
8484 , _vpAccessToken :: !(Maybe Text)
8585 , _vpUploadType :: !(Maybe Text)
@@ -131,7 +131,7 @@ variantsPatch pVpPayload_ pVpVariantId_ =
131131 }
132132
133133-- | V1 error format.
134−vpXgafv :: Lens' VariantsPatch (Maybe Text)
134+vpXgafv :: Lens' VariantsPatch (Maybe Xgafv)
135135vpXgafv = lens _vpXgafv (\ s a -> s{_vpXgafv = a})
136136
137137-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
@@ -143,7 +143,7 @@ vpUploadProtocol
143143-- | An optional mask specifying which fields to update. At this time,
144144-- mutable fields are names and info. Acceptable values are \"names\" and
145145-- \"info\". If unspecified, all mutable fields will be updated.
146−vpUpdateMask :: Lens' VariantsPatch (Maybe Text)
146+vpUpdateMask :: Lens' VariantsPatch (Maybe FieldMask)
147147vpUpdateMask
148148 = lens _vpUpdateMask (\ s a -> s{_vpUpdateMask = a})
149149
gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Search.hs+4−4
@@ -26,7 +26,7 @@
2626-- Implements
2727-- [GlobalAllianceApi.searchVariants](https:\/\/github.com\/ga4gh\/schemas\/blob\/v0.5.1\/src\/main\/resources\/avro\/variantmethods.avdl#L126).
2828--
29−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variants.search@.
29+-- /See:/ <https://cloud.google.com/genomics Genomics API Reference> for @genomics.variants.search@.
3030module Network.Google.Resource.Genomics.Variants.Search
3131 (
3232 -- * REST Resource
@@ -56,7 +56,7 @@ type VariantsSearchResource =
5656 "v1" :>
5757 "variants" :>
5858 "search" :>
59− QueryParam "$.xgafv" Text :>
59+ QueryParam "$.xgafv" Xgafv :>
6060 QueryParam "upload_protocol" Text :>
6161 QueryParam "pp" Bool :>
6262 QueryParam "access_token" Text :>
@@ -75,7 +75,7 @@ type VariantsSearchResource =
7575--
7676-- /See:/ 'variantsSearch' smart constructor.
7777data VariantsSearch = VariantsSearch'
78− { _vsXgafv :: !(Maybe Text)
78+ { _vsXgafv :: !(Maybe Xgafv)
7979 , _vsUploadProtocol :: !(Maybe Text)
8080 , _vsPp :: !Bool
8181 , _vsAccessToken :: !(Maybe Text)
@@ -120,7 +120,7 @@ variantsSearch pVsPayload_ =
120120 }
121121
122122-- | V1 error format.
123−vsXgafv :: Lens' VariantsSearch (Maybe Text)
123+vsXgafv :: Lens' VariantsSearch (Maybe Xgafv)
124124vsXgafv = lens _vsXgafv (\ s a -> s{_vsXgafv = a})
125125
126126-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
gogol-genomics/gen/Network/Google/Resource/Genomics/Variants/Stream.hsdeleted−169
@@ -1,169 +0,0 @@
1−{-# LANGUAGE DataKinds #-}
2−{-# LANGUAGE DeriveDataTypeable #-}
3−{-# LANGUAGE DeriveGeneric #-}
4−{-# LANGUAGE FlexibleInstances #-}
5−{-# LANGUAGE NoImplicitPrelude #-}
6−{-# LANGUAGE OverloadedStrings #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE TypeFamilies #-}
9−{-# LANGUAGE TypeOperators #-}
10−
11−{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
12−{-# OPTIONS_GHC -fno-warn-unused-binds #-}
13−{-# OPTIONS_GHC -fno-warn-unused-imports #-}
14−
15−-- |
16−-- Module : Network.Google.Resource.Genomics.Variants.Stream
17−-- Copyright : (c) 2015-2016 Brendan Hay
18−-- License : Mozilla Public License, v. 2.0.
19−-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
20−-- Stability : auto-generated
21−-- Portability : non-portable (GHC extensions)
22−--
23−-- Returns a stream of all the variants matching the search request,
24−-- ordered by reference name, position, and ID.
25−--
26−-- /See:/ <https://cloud.google.com/genomics/ Genomics API Reference> for @genomics.variants.stream@.
27−module Network.Google.Resource.Genomics.Variants.Stream
28− (
29− -- * REST Resource
30− VariantsStreamResource
31−
32− -- * Creating a Request
33− , variantsStream
34− , VariantsStream
35−
36− -- * Request Lenses
37− , vXgafv
38− , vUploadProtocol
39− , vPp
40− , vAccessToken
41− , vUploadType
42− , vPayload
43− , vBearerToken
44− , vCallback
45− ) where
46−
47−import Network.Google.Genomics.Types
48−import Network.Google.Prelude
49−
50−-- | A resource alias for @genomics.variants.stream@ method which the
51−-- 'VariantsStream' request conforms to.
52−type VariantsStreamResource =
53− "v1" :>
54− "variants:stream" :>
55− QueryParam "$.xgafv" Text :>
56− QueryParam "upload_protocol" Text :>
57− QueryParam "pp" Bool :>
58− QueryParam "access_token" Text :>
59− QueryParam "uploadType" Text :>
60− QueryParam "bearer_token" Text :>
61− QueryParam "callback" Text :>
62− QueryParam "alt" AltJSON :>
63− ReqBody '[JSON] StreamVariantsRequest :>
64− Post '[JSON] StreamVariantsResponse
65−
66−-- | Returns a stream of all the variants matching the search request,
67−-- ordered by reference name, position, and ID.
68−--
69−-- /See:/ 'variantsStream' smart constructor.
70−data VariantsStream = VariantsStream'
71− { _vXgafv :: !(Maybe Text)
72− , _vUploadProtocol :: !(Maybe Text)
73− , _vPp :: !Bool
74− , _vAccessToken :: !(Maybe Text)
75− , _vUploadType :: !(Maybe Text)
76− , _vPayload :: !StreamVariantsRequest
77− , _vBearerToken :: !(Maybe Text)
78− , _vCallback :: !(Maybe Text)
79− } deriving (Eq,Show,Data,Typeable,Generic)
80−
81−-- | Creates a value of 'VariantsStream' with the minimum fields required to make a request.
82−--
83−-- Use one of the following lenses to modify other fields as desired:
84−--
85−-- * 'vXgafv'
86−--
87−-- * 'vUploadProtocol'
88−--
89−-- * 'vPp'
90−--
91−-- * 'vAccessToken'
92−--
93−-- * 'vUploadType'
94−--
95−-- * 'vPayload'
96−--
97−-- * 'vBearerToken'
98−--
99−-- * 'vCallback'
100−variantsStream
101− :: StreamVariantsRequest -- ^ 'vPayload'
102− -> VariantsStream
103−variantsStream pVPayload_ =
104− VariantsStream'
105− { _vXgafv = Nothing
106− , _vUploadProtocol = Nothing
107− , _vPp = True
108− , _vAccessToken = Nothing
109− , _vUploadType = Nothing
110− , _vPayload = pVPayload_
111− , _vBearerToken = Nothing
112− , _vCallback = Nothing
113− }
114−
115−-- | V1 error format.
116−vXgafv :: Lens' VariantsStream (Maybe Text)
117−vXgafv = lens _vXgafv (\ s a -> s{_vXgafv = a})
118−
119−-- | Upload protocol for media (e.g. \"raw\", \"multipart\").
120−vUploadProtocol :: Lens' VariantsStream (Maybe Text)
121−vUploadProtocol
122− = lens _vUploadProtocol
123− (\ s a -> s{_vUploadProtocol = a})
124−
125−-- | Pretty-print response.
126−vPp :: Lens' VariantsStream Bool
127−vPp = lens _vPp (\ s a -> s{_vPp = a})
128−
129−-- | OAuth access token.
130−vAccessToken :: Lens' VariantsStream (Maybe Text)
131−vAccessToken
132− = lens _vAccessToken (\ s a -> s{_vAccessToken = a})
133−
134−-- | Legacy upload protocol for media (e.g. \"media\", \"multipart\").
135−vUploadType :: Lens' VariantsStream (Maybe Text)
136−vUploadType
137− = lens _vUploadType (\ s a -> s{_vUploadType = a})
138−
139−-- | Multipart request metadata.
140−vPayload :: Lens' VariantsStream StreamVariantsRequest
141−vPayload = lens _vPayload (\ s a -> s{_vPayload = a})
142−
143−-- | OAuth bearer token.
144−vBearerToken :: Lens' VariantsStream (Maybe Text)
145−vBearerToken
146− = lens _vBearerToken (\ s a -> s{_vBearerToken = a})
147−
148−-- | JSONP
149−vCallback :: Lens' VariantsStream (Maybe Text)
150−vCallback
151− = lens _vCallback (\ s a -> s{_vCallback = a})
152−
153−instance GoogleRequest VariantsStream where
154− type Rs VariantsStream = StreamVariantsResponse
155− type Scopes VariantsStream =
156− '["https://www.googleapis.com/auth/cloud-platform",
157− "https://www.googleapis.com/auth/genomics"]
158− requestClient VariantsStream'{..}
159− = go _vXgafv _vUploadProtocol (Just _vPp)
160− _vAccessToken
161− _vUploadType
162− _vBearerToken
163− _vCallback
164− (Just AltJSON)
165− _vPayload
166− genomicsService
167− where go
168− = buildClient (Proxy :: Proxy VariantsStreamResource)
169− mempty
gogol-genomics/gogol-genomics.cabal+1−3
@@ -14,7 +14,7 @@ cabal-version: >= 1.10
1414extra-source-files: README.md src/.gitkeep
1515
1616description:
17− Stores, processes, explores and shares genomic data.
17+ Upload, process, query, and search Genomics data in the cloud.
1818 .
1919 /Warning:/ This is an experimental prototype/preview release which is still
2020 under exploratory development and not intended for public use, caveat emptor!
@@ -71,7 +71,6 @@ library
7171 , Network.Google.Resource.Genomics.ReadGroupSets.Patch
7272 , Network.Google.Resource.Genomics.ReadGroupSets.Search
7373 , Network.Google.Resource.Genomics.Reads.Search
74− , Network.Google.Resource.Genomics.Reads.Stream
7574 , Network.Google.Resource.Genomics.References.Bases.List
7675 , Network.Google.Resource.Genomics.References.Get
7776 , Network.Google.Resource.Genomics.References.Search
@@ -90,7 +89,6 @@ library
9089 , Network.Google.Resource.Genomics.Variants.Merge
9190 , Network.Google.Resource.Genomics.Variants.Patch
9291 , Network.Google.Resource.Genomics.Variants.Search
93− , Network.Google.Resource.Genomics.Variants.Stream
9492
9593 other-modules:
9694 Network.Google.Genomics.Types.Product