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.Snapshots.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.snapshots.getIamPolicy.

Synopsis

REST Resource

type SnapshotsGetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("snapshots" :> (Capture "resource" Text :> ("getIamPolicy" :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy)))))))) Source #

A resource alias for compute.snapshots.getIamPolicy method which the SnapshotsGetIAMPolicy request conforms to.

Creating a Request

snapshotsGetIAMPolicy Source #

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

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

data SnapshotsGetIAMPolicy Source #

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

See: snapshotsGetIAMPolicy smart constructor.

Instances
Eq SnapshotsGetIAMPolicy Source # 
Instance details

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

Data SnapshotsGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: SnapshotsGetIAMPolicy -> Constr #

dataTypeOf :: SnapshotsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SnapshotsGetIAMPolicy Source # 
Instance details

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

Generic SnapshotsGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep SnapshotsGetIAMPolicy :: Type -> Type #

GoogleRequest SnapshotsGetIAMPolicy Source # 
Instance details

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

type Rep SnapshotsGetIAMPolicy Source # 
Instance details

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

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

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

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

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

Request Lenses

sgiampProject :: Lens' SnapshotsGetIAMPolicy Text Source #

Project ID for this request.

sgiampResource :: Lens' SnapshotsGetIAMPolicy Text Source #

Name or id of the resource for this request.