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 occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.
See: Container Analysis API Reference for containeranalysis.projects.notes.occurrences.list
.
Synopsis
- type ProjectsNotesOccurrencesListResource = "v1beta1" :> (Capture "name" Text :> ("occurrences" :> (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] ListNoteOccurrencesResponse)))))))))))
- projectsNotesOccurrencesList :: Text -> ProjectsNotesOccurrencesList
- data ProjectsNotesOccurrencesList
- pnolXgafv :: Lens' ProjectsNotesOccurrencesList (Maybe Xgafv)
- pnolUploadProtocol :: Lens' ProjectsNotesOccurrencesList (Maybe Text)
- pnolAccessToken :: Lens' ProjectsNotesOccurrencesList (Maybe Text)
- pnolUploadType :: Lens' ProjectsNotesOccurrencesList (Maybe Text)
- pnolName :: Lens' ProjectsNotesOccurrencesList Text
- pnolFilter :: Lens' ProjectsNotesOccurrencesList (Maybe Text)
- pnolPageToken :: Lens' ProjectsNotesOccurrencesList (Maybe Text)
- pnolPageSize :: Lens' ProjectsNotesOccurrencesList (Maybe Int32)
- pnolCallback :: Lens' ProjectsNotesOccurrencesList (Maybe Text)
REST Resource
type ProjectsNotesOccurrencesListResource = "v1beta1" :> (Capture "name" Text :> ("occurrences" :> (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] ListNoteOccurrencesResponse))))))))))) Source #
A resource alias for containeranalysis.projects.notes.occurrences.list
method which the
ProjectsNotesOccurrencesList
request conforms to.
Creating a Request
projectsNotesOccurrencesList Source #
Creates a value of ProjectsNotesOccurrencesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotesOccurrencesList Source #
Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.
See: projectsNotesOccurrencesList
smart constructor.
Instances
Request Lenses
pnolUploadProtocol :: Lens' ProjectsNotesOccurrencesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pnolAccessToken :: Lens' ProjectsNotesOccurrencesList (Maybe Text) Source #
OAuth access token.
pnolUploadType :: Lens' ProjectsNotesOccurrencesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pnolName :: Lens' ProjectsNotesOccurrencesList Text Source #
The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
pnolFilter :: Lens' ProjectsNotesOccurrencesList (Maybe Text) Source #
The filter expression.
pnolPageToken :: Lens' ProjectsNotesOccurrencesList (Maybe Text) Source #
Token to provide to skip to a particular spot in the list.
pnolPageSize :: Lens' ProjectsNotesOccurrencesList (Maybe Int32) Source #
Number of occurrences to return in the list.
pnolCallback :: Lens' ProjectsNotesOccurrencesList (Maybe Text) Source #
JSONP