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.Disks.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.disks.getIamPolicy.

Synopsis

REST Resource

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

A resource alias for compute.disks.getIamPolicy method which the DisksGetIAMPolicy request conforms to.

Creating a Request

disksGetIAMPolicy Source #

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

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

data DisksGetIAMPolicy Source #

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

See: disksGetIAMPolicy smart constructor.

Instances
Eq DisksGetIAMPolicy Source # 
Instance details

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

Data DisksGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: DisksGetIAMPolicy -> Constr #

dataTypeOf :: DisksGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DisksGetIAMPolicy Source # 
Instance details

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

Generic DisksGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep DisksGetIAMPolicy :: Type -> Type #

GoogleRequest DisksGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rs DisksGetIAMPolicy :: Type #

type Scopes DisksGetIAMPolicy :: [Symbol] #

type Rep DisksGetIAMPolicy Source # 
Instance details

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

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

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

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

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

Request Lenses

dgipProject :: Lens' DisksGetIAMPolicy Text Source #

Project ID for this request.

dgipZone :: Lens' DisksGetIAMPolicy Text Source #

The name of the zone for this request.

dgipResource :: Lens' DisksGetIAMPolicy Text Source #

Name or id of the resource for this request.