gogol-genomics-0.3.0: Google Genomics SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Genomics.Annotations.Search

Contents

Description

Searches for annotations that match the given criteria. Results are ordered by genomic coordinate (by reference sequence, then position). Annotations with equivalent genomic coordinates are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield annotations in the same order across their respective streams of paginated responses. Caller must have READ permission for the queried annotation sets.

See: Genomics API Reference for genomics.annotations.search.

Synopsis

REST Resource

type AnnotationsSearchResource = "v1" :> ("annotations" :> ("search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchAnnotationsRequest :> Post '[JSON] SearchAnnotationsResponse))))))))))) Source #

A resource alias for genomics.annotations.search method which the AnnotationsSearch request conforms to.

Creating a Request

annotationsSearch Source #

Creates a value of AnnotationsSearch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AnnotationsSearch Source #

Searches for annotations that match the given criteria. Results are ordered by genomic coordinate (by reference sequence, then position). Annotations with equivalent genomic coordinates are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield annotations in the same order across their respective streams of paginated responses. Caller must have READ permission for the queried annotation sets.

See: annotationsSearch smart constructor.

Instances

Eq AnnotationsSearch Source # 
Data AnnotationsSearch Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AnnotationsSearch -> c AnnotationsSearch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AnnotationsSearch #

toConstr :: AnnotationsSearch -> Constr #

dataTypeOf :: AnnotationsSearch -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AnnotationsSearch) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AnnotationsSearch) #

gmapT :: (forall b. Data b => b -> b) -> AnnotationsSearch -> AnnotationsSearch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AnnotationsSearch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AnnotationsSearch -> r #

gmapQ :: (forall d. Data d => d -> u) -> AnnotationsSearch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AnnotationsSearch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AnnotationsSearch -> m AnnotationsSearch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AnnotationsSearch -> m AnnotationsSearch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AnnotationsSearch -> m AnnotationsSearch #

Show AnnotationsSearch Source # 
Generic AnnotationsSearch Source # 
GoogleRequest AnnotationsSearch Source # 
type Rep AnnotationsSearch Source # 
type Scopes AnnotationsSearch Source # 
type Scopes AnnotationsSearch = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/genomics" ((:) Symbol "https://www.googleapis.com/auth/genomics.readonly" ([] Symbol)))
type Rs AnnotationsSearch Source # 

Request Lenses

asUploadProtocol :: Lens' AnnotationsSearch (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

asPp :: Lens' AnnotationsSearch Bool Source #

Pretty-print response.

asUploadType :: Lens' AnnotationsSearch (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").