gogol-containeranalysis-0.4.0: Google Container Analysis 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.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

Contents

Description

Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.

See: Container Analysis API Reference for containeranalysis.projects.occurrences.testIamPermissions.

Synopsis

REST Resource

type ProjectsOccurrencesTestIAMPermissionsResource = "v1beta1" :> (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] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #

A resource alias for containeranalysis.projects.occurrences.testIamPermissions method which the ProjectsOccurrencesTestIAMPermissions request conforms to.

Creating a Request

data ProjectsOccurrencesTestIAMPermissions Source #

Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.

See: projectsOccurrencesTestIAMPermissions smart constructor.

Instances
Eq ProjectsOccurrencesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

Data ProjectsOccurrencesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

Methods

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

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

toConstr :: ProjectsOccurrencesTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsOccurrencesTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsOccurrencesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

Generic ProjectsOccurrencesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

GoogleRequest ProjectsOccurrencesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

type Rep ProjectsOccurrencesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

type Rep ProjectsOccurrencesTestIAMPermissions = D1 (MetaData "ProjectsOccurrencesTestIAMPermissions" "Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "ProjectsOccurrencesTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_potipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_potipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_potipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_potipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_potipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_potipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_potipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsOccurrencesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

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

Defined in Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.TestIAMPermissions

Request Lenses

potipUploadProtocol :: Lens' ProjectsOccurrencesTestIAMPermissions (Maybe Text) Source #

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

potipUploadType :: Lens' ProjectsOccurrencesTestIAMPermissions (Maybe Text) Source #

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

potipResource :: Lens' ProjectsOccurrencesTestIAMPermissions Text Source #

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