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.Services.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.services.setIamPolicy.

Synopsis

REST Resource

type ProjectsIapWebServicesSetIAMPolicyResource = "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.services.setIamPolicy method which the ProjectsIapWebServicesSetIAMPolicy request conforms to.

Creating a Request

data ProjectsIapWebServicesSetIAMPolicy 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: projectsIapWebServicesSetIAMPolicy smart constructor.

Instances
Eq ProjectsIapWebServicesSetIAMPolicy Source # 
Instance details

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

Data ProjectsIapWebServicesSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsIapWebServicesSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsIapWebServicesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsIapWebServicesSetIAMPolicy Source # 
Instance details

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

Generic ProjectsIapWebServicesSetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsIapWebServicesSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsIapWebServicesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsIapWebServicesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsIapWebServicesSetIAMPolicy = D1 (MetaData "ProjectsIapWebServicesSetIAMPolicy" "Network.Google.Resource.IAP.Projects.IapWeb.Services.SetIAMPolicy" "gogol-iap-0.4.0-EsvJTg6W8MxApwSUQuf3pN" False) (C1 (MetaCons "ProjectsIapWebServicesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_piwssipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_piwssipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piwssipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_piwssipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piwssipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_piwssipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_piwssipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsIapWebServicesSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

piwssipUploadProtocol :: Lens' ProjectsIapWebServicesSetIAMPolicy (Maybe Text) Source #

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

piwssipUploadType :: Lens' ProjectsIapWebServicesSetIAMPolicy (Maybe Text) Source #

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

piwssipResource :: Lens' ProjectsIapWebServicesSetIAMPolicy Text Source #

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