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.Licenses.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.licenses.getIamPolicy.

Synopsis

REST Resource

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

A resource alias for compute.licenses.getIamPolicy method which the LicensesGetIAMPolicy request conforms to.

Creating a Request

licensesGetIAMPolicy Source #

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

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

data LicensesGetIAMPolicy Source #

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

See: licensesGetIAMPolicy smart constructor.

Instances
Eq LicensesGetIAMPolicy Source # 
Instance details

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

Data LicensesGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: LicensesGetIAMPolicy -> Constr #

dataTypeOf :: LicensesGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicensesGetIAMPolicy Source # 
Instance details

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

Generic LicensesGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep LicensesGetIAMPolicy :: Type -> Type #

GoogleRequest LicensesGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rs LicensesGetIAMPolicy :: Type #

type Scopes LicensesGetIAMPolicy :: [Symbol] #

type Rep LicensesGetIAMPolicy Source # 
Instance details

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

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

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

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

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

Request Lenses

lgipProject :: Lens' LicensesGetIAMPolicy Text Source #

Project ID for this request.

lgipResource :: Lens' LicensesGetIAMPolicy Text Source #

Name or id of the resource for this request.