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 |
Lists notes for the specified project.
See: Container Analysis API Reference for containeranalysis.projects.notes.list
.
Synopsis
- type ProjectsNotesListResource = "v1beta1" :> (Capture "parent" Text :> ("notes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListNotesResponse)))))))))))
- projectsNotesList :: Text -> ProjectsNotesList
- data ProjectsNotesList
- pnlParent :: Lens' ProjectsNotesList Text
- pnlXgafv :: Lens' ProjectsNotesList (Maybe Xgafv)
- pnlUploadProtocol :: Lens' ProjectsNotesList (Maybe Text)
- pnlAccessToken :: Lens' ProjectsNotesList (Maybe Text)
- pnlUploadType :: Lens' ProjectsNotesList (Maybe Text)
- pnlFilter :: Lens' ProjectsNotesList (Maybe Text)
- pnlPageToken :: Lens' ProjectsNotesList (Maybe Text)
- pnlPageSize :: Lens' ProjectsNotesList (Maybe Int32)
- pnlCallback :: Lens' ProjectsNotesList (Maybe Text)
REST Resource
type ProjectsNotesListResource = "v1beta1" :> (Capture "parent" Text :> ("notes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListNotesResponse))))))))))) Source #
A resource alias for containeranalysis.projects.notes.list
method which the
ProjectsNotesList
request conforms to.
Creating a Request
Creates a value of ProjectsNotesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotesList Source #
Lists notes for the specified project.
See: projectsNotesList
smart constructor.
Instances
Request Lenses
pnlParent :: Lens' ProjectsNotesList Text Source #
The name of the project to list notes for in the form of `projects/[PROJECT_ID]`.
pnlUploadProtocol :: Lens' ProjectsNotesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pnlAccessToken :: Lens' ProjectsNotesList (Maybe Text) Source #
OAuth access token.
pnlUploadType :: Lens' ProjectsNotesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pnlPageToken :: Lens' ProjectsNotesList (Maybe Text) Source #
Token to provide to skip to a particular spot in the list.
pnlPageSize :: Lens' ProjectsNotesList (Maybe Int32) Source #
Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.
pnlCallback :: Lens' ProjectsNotesList (Maybe Text) Source #
JSONP