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.Models.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.models.getIamPolicy.

Synopsis

REST Resource

type ProjectsModelsGetIAMPolicyResource = "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.models.getIamPolicy method which the ProjectsModelsGetIAMPolicy request conforms to.

Creating a Request

projectsModelsGetIAMPolicy Source #

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

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

data ProjectsModelsGetIAMPolicy 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: projectsModelsGetIAMPolicy smart constructor.

Instances
Eq ProjectsModelsGetIAMPolicy Source # 
Instance details

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

Data ProjectsModelsGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsModelsGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsModelsGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsModelsGetIAMPolicy Source # 
Instance details

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

Generic ProjectsModelsGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsModelsGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsModelsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsModelsGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsModelsGetIAMPolicy = D1 (MetaData "ProjectsModelsGetIAMPolicy" "Network.Google.Resource.Ml.Projects.Models.GetIAMPolicy" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsModelsGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pmgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pmgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pmgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsModelsGetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

pmgipUploadProtocol :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text) Source #

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

pmgipUploadType :: Lens' ProjectsModelsGetIAMPolicy (Maybe Text) Source #

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

pmgipResource :: Lens' ProjectsModelsGetIAMPolicy Text Source #

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