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.Notes.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.notes.testIamPermissions.

Synopsis

REST Resource

type ProjectsNotesTestIAMPermissionsResource = "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.notes.testIamPermissions method which the ProjectsNotesTestIAMPermissions request conforms to.

Creating a Request

data ProjectsNotesTestIAMPermissions 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: projectsNotesTestIAMPermissions smart constructor.

Instances
Eq ProjectsNotesTestIAMPermissions Source # 
Instance details

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

Data ProjectsNotesTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsNotesTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsNotesTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsNotesTestIAMPermissions Source # 
Instance details

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

Generic ProjectsNotesTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep ProjectsNotesTestIAMPermissions :: Type -> Type #

GoogleRequest ProjectsNotesTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsNotesTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsNotesTestIAMPermissions = D1 (MetaData "ProjectsNotesTestIAMPermissions" "Network.Google.Resource.ContainerAnalysis.Projects.Notes.TestIAMPermissions" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "ProjectsNotesTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_pntipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pntipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pntipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pntipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pntipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_pntipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pntipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsNotesTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

pntipUploadProtocol :: Lens' ProjectsNotesTestIAMPermissions (Maybe Text) Source #

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

pntipUploadType :: Lens' ProjectsNotesTestIAMPermissions (Maybe Text) Source #

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

pntipResource :: Lens' ProjectsNotesTestIAMPermissions Text Source #

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