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

Contents

Description

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

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

Synopsis

REST Resource

type ProjectsOccurrencesGetNotesResource = "v1beta1" :> (Capture "name" Text :> ("notes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Note)))))))) Source #

A resource alias for containeranalysis.projects.occurrences.getNotes method which the ProjectsOccurrencesGetNotes request conforms to.

Creating a Request

projectsOccurrencesGetNotes Source #

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

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

data ProjectsOccurrencesGetNotes Source #

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

See: projectsOccurrencesGetNotes smart constructor.

Instances
Eq ProjectsOccurrencesGetNotes Source # 
Instance details

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

Data ProjectsOccurrencesGetNotes Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsOccurrencesGetNotes -> Constr #

dataTypeOf :: ProjectsOccurrencesGetNotes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsOccurrencesGetNotes Source # 
Instance details

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

Generic ProjectsOccurrencesGetNotes Source # 
Instance details

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

Associated Types

type Rep ProjectsOccurrencesGetNotes :: Type -> Type #

GoogleRequest ProjectsOccurrencesGetNotes Source # 
Instance details

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

type Rep ProjectsOccurrencesGetNotes Source # 
Instance details

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

type Rep ProjectsOccurrencesGetNotes = D1 (MetaData "ProjectsOccurrencesGetNotes" "Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetNotes" "gogol-containeranalysis-0.4.0-3wkxC3MNsjpAG6P3o2ozxx" False) (C1 (MetaCons "ProjectsOccurrencesGetNotes'" PrefixI True) ((S1 (MetaSel (Just "_pognXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pognUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pognAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pognUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pognName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pognCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsOccurrencesGetNotes Source # 
Instance details

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

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

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

Request Lenses

pognUploadProtocol :: Lens' ProjectsOccurrencesGetNotes (Maybe Text) Source #

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

pognUploadType :: Lens' ProjectsOccurrencesGetNotes (Maybe Text) Source #

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

pognName :: Lens' ProjectsOccurrencesGetNotes Text Source #

The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.