| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.ContainerAnalysis.Projects.Occurrences.GetNotes
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
- 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))))))))
- projectsOccurrencesGetNotes :: Text -> ProjectsOccurrencesGetNotes
- data ProjectsOccurrencesGetNotes
- pognXgafv :: Lens' ProjectsOccurrencesGetNotes (Maybe Xgafv)
- pognUploadProtocol :: Lens' ProjectsOccurrencesGetNotes (Maybe Text)
- pognAccessToken :: Lens' ProjectsOccurrencesGetNotes (Maybe Text)
- pognUploadType :: Lens' ProjectsOccurrencesGetNotes (Maybe Text)
- pognName :: Lens' ProjectsOccurrencesGetNotes Text
- pognCallback :: Lens' ProjectsOccurrencesGetNotes (Maybe Text)
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 #
Arguments
| :: Text | |
| -> ProjectsOccurrencesGetNotes |
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
Request Lenses
pognUploadProtocol :: Lens' ProjectsOccurrencesGetNotes (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pognAccessToken :: Lens' ProjectsOccurrencesGetNotes (Maybe Text) Source #
OAuth access token.
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]`.
pognCallback :: Lens' ProjectsOccurrencesGetNotes (Maybe Text) Source #
JSONP