gogol-genomics-0.2.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.DataSets.GetIAMPolicy

Contents

Description

Gets the access control policy for the dataset. This is empty if the policy or resource does not exist. See Getting a Policy for more information. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics

See: Genomics API Reference for genomics.datasets.getIamPolicy.

Synopsis

REST Resource

type DataSetsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" 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 :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy)))))))))) Source #

A resource alias for genomics.datasets.getIamPolicy method which the DataSetsGetIAMPolicy request conforms to.

Creating a Request

dataSetsGetIAMPolicy Source #

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

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

data DataSetsGetIAMPolicy Source #

Gets the access control policy for the dataset. This is empty if the policy or resource does not exist. See Getting a Policy for more information. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics

See: dataSetsGetIAMPolicy smart constructor.

Instances

Eq DataSetsGetIAMPolicy Source # 
Data DataSetsGetIAMPolicy Source # 

Methods

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

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

toConstr :: DataSetsGetIAMPolicy -> Constr #

dataTypeOf :: DataSetsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

dsgipUploadProtocol :: Lens' DataSetsGetIAMPolicy (Maybe Text) Source #

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

dsgipPp :: Lens' DataSetsGetIAMPolicy Bool Source #

Pretty-print response.

dsgipUploadType :: Lens' DataSetsGetIAMPolicy (Maybe Text) Source #

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

dsgipResource :: Lens' DataSetsGetIAMPolicy Text Source #

REQUIRED: The resource for which policy is being specified. Format is `datasets/`.