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 for the specified project.
See: Container Analysis API Reference for containeranalysis.projects.occurrences.list
.
Synopsis
- type ProjectsOccurrencesListResource = "v1beta1" :> (Capture "parent" 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] ListOccurrencesResponse)))))))))))
- projectsOccurrencesList :: Text -> ProjectsOccurrencesList
- data ProjectsOccurrencesList
- polParent :: Lens' ProjectsOccurrencesList Text
- polXgafv :: Lens' ProjectsOccurrencesList (Maybe Xgafv)
- polUploadProtocol :: Lens' ProjectsOccurrencesList (Maybe Text)
- polAccessToken :: Lens' ProjectsOccurrencesList (Maybe Text)
- polUploadType :: Lens' ProjectsOccurrencesList (Maybe Text)
- polFilter :: Lens' ProjectsOccurrencesList (Maybe Text)
- polPageToken :: Lens' ProjectsOccurrencesList (Maybe Text)
- polPageSize :: Lens' ProjectsOccurrencesList (Maybe Int32)
- polCallback :: Lens' ProjectsOccurrencesList (Maybe Text)
REST Resource
type ProjectsOccurrencesListResource = "v1beta1" :> (Capture "parent" 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] ListOccurrencesResponse))))))))))) Source #
A resource alias for containeranalysis.projects.occurrences.list
method which the
ProjectsOccurrencesList
request conforms to.
Creating a Request
projectsOccurrencesList Source #
Creates a value of ProjectsOccurrencesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsOccurrencesList Source #
Lists occurrences for the specified project.
See: projectsOccurrencesList
smart constructor.
Instances
Request Lenses
polParent :: Lens' ProjectsOccurrencesList Text Source #
The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`.
polUploadProtocol :: Lens' ProjectsOccurrencesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
polAccessToken :: Lens' ProjectsOccurrencesList (Maybe Text) Source #
OAuth access token.
polUploadType :: Lens' ProjectsOccurrencesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
polPageToken :: Lens' ProjectsOccurrencesList (Maybe Text) Source #
Token to provide to skip to a particular spot in the list.
polPageSize :: Lens' ProjectsOccurrencesList (Maybe Int32) Source #
Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.
polCallback :: Lens' ProjectsOccurrencesList (Maybe Text) Source #
JSONP