gogol-compute-0.4.0: Google Compute Engine 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.Compute.Instances.GetIAMPolicy

Contents

Description

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

See: Compute Engine API Reference for compute.instances.getIamPolicy.

Synopsis

REST Resource

type InstancesGetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("instances" :> (Capture "resource" Text :> ("getIamPolicy" :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))))) Source #

A resource alias for compute.instances.getIamPolicy method which the InstancesGetIAMPolicy request conforms to.

Creating a Request

instancesGetIAMPolicy Source #

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

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

data InstancesGetIAMPolicy Source #

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

See: instancesGetIAMPolicy smart constructor.

Instances
Eq InstancesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.GetIAMPolicy

Data InstancesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.GetIAMPolicy

Methods

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

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

toConstr :: InstancesGetIAMPolicy -> Constr #

dataTypeOf :: InstancesGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.GetIAMPolicy

Generic InstancesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.GetIAMPolicy

Associated Types

type Rep InstancesGetIAMPolicy :: Type -> Type #

GoogleRequest InstancesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.GetIAMPolicy

type Rep InstancesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.GetIAMPolicy

type Rep InstancesGetIAMPolicy = D1 (MetaData "InstancesGetIAMPolicy" "Network.Google.Resource.Compute.Instances.GetIAMPolicy" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "InstancesGetIAMPolicy'" PrefixI True) (S1 (MetaSel (Just "_igiampProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_igiampZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_igiampResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes InstancesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Instances.GetIAMPolicy

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

Defined in Network.Google.Resource.Compute.Instances.GetIAMPolicy

Request Lenses

igiampProject :: Lens' InstancesGetIAMPolicy Text Source #

Project ID for this request.

igiampZone :: Lens' InstancesGetIAMPolicy Text Source #

The name of the zone for this request.

igiampResource :: Lens' InstancesGetIAMPolicy Text Source #

Name or id of the resource for this request.