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

Contents

Description

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

See: Cloud Machine Learning Engine Reference for ml.projects.jobs.testIamPermissions.

Synopsis

REST Resource

type ProjectsJobsTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleIAMV1__TestIAMPermissionsRequest :> Post '[JSON] GoogleIAMV1__TestIAMPermissionsResponse)))))))) Source #

A resource alias for ml.projects.jobs.testIamPermissions method which the ProjectsJobsTestIAMPermissions request conforms to.

Creating a Request

data ProjectsJobsTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

See: projectsJobsTestIAMPermissions smart constructor.

Instances
Eq ProjectsJobsTestIAMPermissions Source # 
Instance details

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

Data ProjectsJobsTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsJobsTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsJobsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsJobsTestIAMPermissions Source # 
Instance details

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

Generic ProjectsJobsTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep ProjectsJobsTestIAMPermissions :: Type -> Type #

GoogleRequest ProjectsJobsTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsJobsTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsJobsTestIAMPermissions = D1 (MetaData "ProjectsJobsTestIAMPermissions" "Network.Google.Resource.Ml.Projects.Jobs.TestIAMPermissions" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsJobsTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_pjtipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pjtipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjtipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pjtipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjtipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleIAMV1__TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_pjtipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pjtipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsJobsTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

pjtipUploadProtocol :: Lens' ProjectsJobsTestIAMPermissions (Maybe Text) Source #

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

pjtipUploadType :: Lens' ProjectsJobsTestIAMPermissions (Maybe Text) Source #

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

pjtipResource :: Lens' ProjectsJobsTestIAMPermissions Text Source #

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