gogol-iap-0.5.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.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.setIamPolicy.

Synopsis

REST Resource

type SetIAMPolicyResource = "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.setIamPolicy method which the SetIAMPolicy request conforms to.

Creating a Request

setIAMPolicy Source #

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

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

data SetIAMPolicy 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: setIAMPolicy smart constructor.

Instances
Eq SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.SetIAMPolicy

Data SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.SetIAMPolicy

Methods

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

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

toConstr :: SetIAMPolicy -> Constr #

dataTypeOf :: SetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.SetIAMPolicy

Generic SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.SetIAMPolicy

Associated Types

type Rep SetIAMPolicy :: Type -> Type #

GoogleRequest SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.SetIAMPolicy

Associated Types

type Rs SetIAMPolicy :: Type #

type Scopes SetIAMPolicy :: [Symbol] #

type Rep SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.SetIAMPolicy

type Scopes SetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.SetIAMPolicy

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

Defined in Network.Google.Resource.IAP.SetIAMPolicy

Request Lenses

sipUploadProtocol :: Lens' SetIAMPolicy (Maybe Text) Source #

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

sipUploadType :: Lens' SetIAMPolicy (Maybe Text) Source #

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

sipResource :: Lens' SetIAMPolicy Text Source #

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