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.Get

Contents

Description

Gets an annotation. Caller must have READ permission for the associated annotation set.

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

Synopsis

REST Resource

type AnnotationsGetResource = "v1" :> ("annotations" :> (Capture "annotationId" Text :> (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 :> Get '[JSON] Annotation)))))))))) Source #

A resource alias for genomics.annotations.get method which the AnnotationsGet request conforms to.

Creating a Request

annotationsGet Source #

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

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

data AnnotationsGet Source #

Gets an annotation. Caller must have READ permission for the associated annotation set.

See: annotationsGet smart constructor.

Instances

Eq AnnotationsGet Source # 
Data AnnotationsGet Source # 

Methods

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

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

toConstr :: AnnotationsGet -> Constr #

dataTypeOf :: AnnotationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AnnotationsGet Source # 
Generic AnnotationsGet Source # 

Associated Types

type Rep AnnotationsGet :: * -> * #

GoogleRequest AnnotationsGet Source # 
type Rep AnnotationsGet Source # 
type Scopes AnnotationsGet Source # 
type Scopes AnnotationsGet = (:) 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 AnnotationsGet Source # 

Request Lenses

agUploadProtocol :: Lens' AnnotationsGet (Maybe Text) Source #

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

agPp :: Lens' AnnotationsGet Bool Source #

Pretty-print response.

agUploadType :: Lens' AnnotationsGet (Maybe Text) Source #

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

agAnnotationId :: Lens' AnnotationsGet Text Source #

The ID of the annotation to be retrieved.