| 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.Notes.Get
Description
Gets the specified note.
See: Container Analysis API Reference for containeranalysis.projects.notes.get.
Synopsis
- type ProjectsNotesGetResource = "v1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Note)))))))
- projectsNotesGet :: Text -> ProjectsNotesGet
- data ProjectsNotesGet
- pngXgafv :: Lens' ProjectsNotesGet (Maybe Xgafv)
- pngUploadProtocol :: Lens' ProjectsNotesGet (Maybe Text)
- pngAccessToken :: Lens' ProjectsNotesGet (Maybe Text)
- pngUploadType :: Lens' ProjectsNotesGet (Maybe Text)
- pngName :: Lens' ProjectsNotesGet Text
- pngCallback :: Lens' ProjectsNotesGet (Maybe Text)
REST Resource
type ProjectsNotesGetResource = "v1beta1" :> (Capture "name" Text :> (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.notes.get method which the
ProjectsNotesGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> ProjectsNotesGet |
Creates a value of ProjectsNotesGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotesGet Source #
Gets the specified note.
See: projectsNotesGet smart constructor.
Instances
Request Lenses
pngUploadProtocol :: Lens' ProjectsNotesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pngAccessToken :: Lens' ProjectsNotesGet (Maybe Text) Source #
OAuth access token.
pngUploadType :: Lens' ProjectsNotesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pngName :: Lens' ProjectsNotesGet Text Source #
The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
pngCallback :: Lens' ProjectsNotesGet (Maybe Text) Source #
JSONP