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.DataSets.SetIAMPolicy

Contents

Description

Sets the access control policy on the specified dataset. Replaces any existing policy. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics See Setting a Policy for more information.

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

Synopsis

REST Resource

type DataSetsSetIAMPolicyResource = "v1" :> (CaptureMode "resource" "setIamPolicy" 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] SetIAMPolicyRequest :> Post '[JSON] Policy)))))))))) #

A resource alias for genomics.datasets.setIamPolicy method which the DataSetsSetIAMPolicy request conforms to.

Creating a Request

dataSetsSetIAMPolicy #

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

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

data DataSetsSetIAMPolicy #

Sets the access control policy on the specified dataset. Replaces any existing policy. For the definitions of datasets and other genomics resources, see Fundamentals of Google Genomics See Setting a Policy for more information.

See: dataSetsSetIAMPolicy smart constructor.

Instances

Eq DataSetsSetIAMPolicy # 
Data DataSetsSetIAMPolicy # 

Methods

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

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

toConstr :: DataSetsSetIAMPolicy -> Constr #

dataTypeOf :: DataSetsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

dssipUploadProtocol :: Lens' DataSetsSetIAMPolicy (Maybe Text) #

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

dssipPp :: Lens' DataSetsSetIAMPolicy Bool #

Pretty-print response.

dssipUploadType :: Lens' DataSetsSetIAMPolicy (Maybe Text) #

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

dssipResource :: Lens' DataSetsSetIAMPolicy Text #

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