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.Versions.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.versions.setIamPolicy.

Synopsis

REST Resource

type ProjectsIapWebServicesVersionsSetIAMPolicyResource = "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.versions.setIamPolicy method which the ProjectsIapWebServicesVersionsSetIAMPolicy request conforms to.

Creating a Request

data ProjectsIapWebServicesVersionsSetIAMPolicy 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: projectsIapWebServicesVersionsSetIAMPolicy smart constructor.

Instances
Eq ProjectsIapWebServicesVersionsSetIAMPolicy Source # 
Instance details

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

Data ProjectsIapWebServicesVersionsSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsIapWebServicesVersionsSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsIapWebServicesVersionsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsIapWebServicesVersionsSetIAMPolicy Source # 
Instance details

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

Generic ProjectsIapWebServicesVersionsSetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsIapWebServicesVersionsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsIapWebServicesVersionsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsIapWebServicesVersionsSetIAMPolicy = D1 (MetaData "ProjectsIapWebServicesVersionsSetIAMPolicy" "Network.Google.Resource.IAP.Projects.IapWeb.Services.Versions.SetIAMPolicy" "gogol-iap-0.4.0-EsvJTg6W8MxApwSUQuf3pN" False) (C1 (MetaCons "ProjectsIapWebServicesVersionsSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_piwsvsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_piwsvsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piwsvsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_piwsvsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_piwsvsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_piwsvsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_piwsvsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsIapWebServicesVersionsSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

piwsvsipUploadProtocol :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text) Source #

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

piwsvsipUploadType :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text) Source #

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

piwsvsipResource :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy Text Source #

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