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.NodeGroups.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on the specified resource.

See: Compute Engine API Reference for compute.nodeGroups.testIamPermissions.

Synopsis

REST Resource

type NodeGroupsTestIAMPermissionsResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("nodeGroups" :> (Capture "resource" Text :> ("testIamPermissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestPermissionsRequest :> Post '[JSON] TestPermissionsResponse)))))))))) Source #

A resource alias for compute.nodeGroups.testIamPermissions method which the NodeGroupsTestIAMPermissions request conforms to.

Creating a Request

nodeGroupsTestIAMPermissions Source #

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

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

data NodeGroupsTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: nodeGroupsTestIAMPermissions smart constructor.

Instances
Eq NodeGroupsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions

Data NodeGroupsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions

Methods

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

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

toConstr :: NodeGroupsTestIAMPermissions -> Constr #

dataTypeOf :: NodeGroupsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NodeGroupsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions

Generic NodeGroupsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions

Associated Types

type Rep NodeGroupsTestIAMPermissions :: Type -> Type #

GoogleRequest NodeGroupsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions

type Rep NodeGroupsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions

type Rep NodeGroupsTestIAMPermissions = D1 (MetaData "NodeGroupsTestIAMPermissions" "Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "NodeGroupsTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_ngtipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ngtipZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ngtipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestPermissionsRequest) :*: S1 (MetaSel (Just "_ngtipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes NodeGroupsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions

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

Defined in Network.Google.Resource.Compute.NodeGroups.TestIAMPermissions

Request Lenses

ngtipZone :: Lens' NodeGroupsTestIAMPermissions Text Source #

The name of the zone for this request.

ngtipResource :: Lens' NodeGroupsTestIAMPermissions Text Source #

Name or id of the resource for this request.