gogol-dataproc-0.4.0: Google Cloud Dataproc 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.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

Contents

Description

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: Cloud Dataproc API Reference for dataproc.projects.regions.clusters.getIamPolicy.

Synopsis

REST Resource

type ProjectsRegionsClustersGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #

A resource alias for dataproc.projects.regions.clusters.getIamPolicy method which the ProjectsRegionsClustersGetIAMPolicy request conforms to.

Creating a Request

data ProjectsRegionsClustersGetIAMPolicy Source #

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: projectsRegionsClustersGetIAMPolicy smart constructor.

Instances
Eq ProjectsRegionsClustersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

Data ProjectsRegionsClustersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

Methods

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

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

toConstr :: ProjectsRegionsClustersGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsRegionsClustersGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsClustersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

Generic ProjectsRegionsClustersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

GoogleRequest ProjectsRegionsClustersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

type Rep ProjectsRegionsClustersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

type Rep ProjectsRegionsClustersGetIAMPolicy = D1 (MetaData "ProjectsRegionsClustersGetIAMPolicy" "Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsClustersGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_prcgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prcgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prcgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prcgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prcgipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_prcgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prcgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsClustersGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

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

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Clusters.GetIAMPolicy

Request Lenses

prcgipUploadProtocol :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

prcgipUploadType :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

prcgipResource :: Lens' ProjectsRegionsClustersGetIAMPolicy Text Source #

REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.