gogol-iap-0.4.0: Google Cloud Identity-Aware Proxy 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.IAP.Projects.IapWeb.SetIAMPolicy

Contents

Description

Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api

See: Cloud Identity-Aware Proxy API Reference for iap.projects.iap_web.setIamPolicy.

Synopsis

REST Resource

type ProjectsIapWebSetIAMPolicyResource = "v1" :> (CaptureMode "resource" "setIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #

A resource alias for iap.projects.iap_web.setIamPolicy method which the ProjectsIapWebSetIAMPolicy request conforms to.

Creating a Request

data ProjectsIapWebSetIAMPolicy Source #

Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api

See: projectsIapWebSetIAMPolicy smart constructor.

Instances
Eq ProjectsIapWebSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy

Data ProjectsIapWebSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy

Methods

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

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

toConstr :: ProjectsIapWebSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsIapWebSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsIapWebSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy

Generic ProjectsIapWebSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy

Associated Types

type Rep ProjectsIapWebSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsIapWebSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy

type Rep ProjectsIapWebSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy

type Rep ProjectsIapWebSetIAMPolicy = D1 (MetaData "ProjectsIapWebSetIAMPolicy" "Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy" "gogol-iap-0.4.0-EsvJTg6W8MxApwSUQuf3pN" False) (C1 (MetaCons "ProjectsIapWebSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_piwsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_piwsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piwsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_piwsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piwsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_piwsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_piwsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsIapWebSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy

type Scopes ProjectsIapWebSetIAMPolicy = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsIapWebSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapWeb.SetIAMPolicy

Request Lenses

piwsipUploadProtocol :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text) Source #

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

piwsipUploadType :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text) Source #

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

piwsipResource :: Lens' ProjectsIapWebSetIAMPolicy Text Source #

REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.