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.IapTunnel.Zones.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_tunnel.zones.setIamPolicy.

Synopsis

REST Resource

type ProjectsIapTunnelZonesSetIAMPolicyResource = "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_tunnel.zones.setIamPolicy method which the ProjectsIapTunnelZonesSetIAMPolicy request conforms to.

Creating a Request

data ProjectsIapTunnelZonesSetIAMPolicy 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: projectsIapTunnelZonesSetIAMPolicy smart constructor.

Instances
Eq ProjectsIapTunnelZonesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy

Data ProjectsIapTunnelZonesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy

Methods

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

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

toConstr :: ProjectsIapTunnelZonesSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsIapTunnelZonesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsIapTunnelZonesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy

Generic ProjectsIapTunnelZonesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy

Associated Types

type Rep ProjectsIapTunnelZonesSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsIapTunnelZonesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy

type Rep ProjectsIapTunnelZonesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy

type Rep ProjectsIapTunnelZonesSetIAMPolicy = D1 (MetaData "ProjectsIapTunnelZonesSetIAMPolicy" "Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy" "gogol-iap-0.4.0-EsvJTg6W8MxApwSUQuf3pN" False) (C1 (MetaCons "ProjectsIapTunnelZonesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pitzsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pitzsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitzsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pitzsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitzsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pitzsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pitzsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsIapTunnelZonesSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy

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

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.Zones.SetIAMPolicy

Request Lenses

pitzsipUploadProtocol :: Lens' ProjectsIapTunnelZonesSetIAMPolicy (Maybe Text) Source #

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

pitzsipUploadType :: Lens' ProjectsIapTunnelZonesSetIAMPolicy (Maybe Text) Source #

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

pitzsipResource :: Lens' ProjectsIapTunnelZonesSetIAMPolicy Text Source #

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