gogol-ml-0.4.0: Google Cloud Machine Learning 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.Ml.Projects.Jobs.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 Machine Learning Engine Reference for ml.projects.jobs.getIamPolicy.

Synopsis

REST Resource

type ProjectsJobsGetIAMPolicyResource = "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 :> Get '[JSON] GoogleIAMV1__Policy))))))) Source #

A resource alias for ml.projects.jobs.getIamPolicy method which the ProjectsJobsGetIAMPolicy request conforms to.

Creating a Request

projectsJobsGetIAMPolicy Source #

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

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

data ProjectsJobsGetIAMPolicy 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: projectsJobsGetIAMPolicy smart constructor.

Instances
Eq ProjectsJobsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy

Data ProjectsJobsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy

Methods

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

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

toConstr :: ProjectsJobsGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsJobsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsJobsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy

Generic ProjectsJobsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy

Associated Types

type Rep ProjectsJobsGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsJobsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy

type Rep ProjectsJobsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy

type Rep ProjectsJobsGetIAMPolicy = D1 (MetaData "ProjectsJobsGetIAMPolicy" "Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsJobsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pjgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pjgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pjgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pjgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pjgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsJobsGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy

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

Defined in Network.Google.Resource.Ml.Projects.Jobs.GetIAMPolicy

Request Lenses

pjgipUploadProtocol :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text) Source #

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

pjgipUploadType :: Lens' ProjectsJobsGetIAMPolicy (Maybe Text) Source #

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

pjgipResource :: Lens' ProjectsJobsGetIAMPolicy Text Source #

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