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

Contents

Description

Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. 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.getIamPolicy.

Synopsis

REST Resource

type ProjectsOccurrencesGetIAMPolicyResource = "v1beta1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #

A resource alias for containeranalysis.projects.occurrences.getIamPolicy method which the ProjectsOccurrencesGetIAMPolicy request conforms to.

Creating a Request

data ProjectsOccurrencesGetIAMPolicy Source #

Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.

See: projectsOccurrencesGetIAMPolicy smart constructor.

Instances
Eq ProjectsOccurrencesGetIAMPolicy Source # 
Instance details

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

Data ProjectsOccurrencesGetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsOccurrencesGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsOccurrencesGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsOccurrencesGetIAMPolicy Source # 
Instance details

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

Generic ProjectsOccurrencesGetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsOccurrencesGetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsOccurrencesGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsOccurrencesGetIAMPolicy Source # 
Instance details

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

type Rep ProjectsOccurrencesGetIAMPolicy = D1 (MetaData "ProjectsOccurrencesGetIAMPolicy" "Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetIAMPolicy" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "ProjectsOccurrencesGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pogipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pogipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pogipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pogipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pogipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pogipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pogipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsOccurrencesGetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

pogipUploadProtocol :: Lens' ProjectsOccurrencesGetIAMPolicy (Maybe Text) Source #

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

pogipUploadType :: Lens' ProjectsOccurrencesGetIAMPolicy (Maybe Text) Source #

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

pogipResource :: Lens' ProjectsOccurrencesGetIAMPolicy Text Source #

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