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.Instances.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.instances.setIamPolicy.

Synopsis

REST Resource

type ProjectsIapTunnelZonesInstancesSetIAMPolicyResource = "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.instances.setIamPolicy method which the ProjectsIapTunnelZonesInstancesSetIAMPolicy request conforms to.

Creating a Request

data ProjectsIapTunnelZonesInstancesSetIAMPolicy 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: projectsIapTunnelZonesInstancesSetIAMPolicy smart constructor.

Instances
Eq ProjectsIapTunnelZonesInstancesSetIAMPolicy Source # 
Instance details

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

Data ProjectsIapTunnelZonesInstancesSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsIapTunnelZonesInstancesSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsIapTunnelZonesInstancesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsIapTunnelZonesInstancesSetIAMPolicy Source # 
Instance details

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

Generic ProjectsIapTunnelZonesInstancesSetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsIapTunnelZonesInstancesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsIapTunnelZonesInstancesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsIapTunnelZonesInstancesSetIAMPolicy = D1 (MetaData "ProjectsIapTunnelZonesInstancesSetIAMPolicy" "Network.Google.Resource.IAP.Projects.IapTunnel.Zones.Instances.SetIAMPolicy" "gogol-iap-0.4.0-EsvJTg6W8MxApwSUQuf3pN" False) (C1 (MetaCons "ProjectsIapTunnelZonesInstancesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pitzisipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pitzisipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitzisipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pitzisipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitzisipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pitzisipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pitzisipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsIapTunnelZonesInstancesSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

pitzisipUploadProtocol :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy (Maybe Text) Source #

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

pitzisipUploadType :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy (Maybe Text) Source #

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

pitzisipResource :: Lens' ProjectsIapTunnelZonesInstancesSetIAMPolicy Text Source #

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