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 |
Gets the specified occurrence.
See: Container Analysis API Reference for containeranalysis.projects.occurrences.get
.
Synopsis
- type ProjectsOccurrencesGetResource = "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] Occurrence)))))))
- projectsOccurrencesGet :: Text -> ProjectsOccurrencesGet
- data ProjectsOccurrencesGet
- pogXgafv :: Lens' ProjectsOccurrencesGet (Maybe Xgafv)
- pogUploadProtocol :: Lens' ProjectsOccurrencesGet (Maybe Text)
- pogAccessToken :: Lens' ProjectsOccurrencesGet (Maybe Text)
- pogUploadType :: Lens' ProjectsOccurrencesGet (Maybe Text)
- pogName :: Lens' ProjectsOccurrencesGet Text
- pogCallback :: Lens' ProjectsOccurrencesGet (Maybe Text)
REST Resource
type ProjectsOccurrencesGetResource = "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] Occurrence))))))) Source #
A resource alias for containeranalysis.projects.occurrences.get
method which the
ProjectsOccurrencesGet
request conforms to.
Creating a Request
projectsOccurrencesGet Source #
Creates a value of ProjectsOccurrencesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsOccurrencesGet Source #
Gets the specified occurrence.
See: projectsOccurrencesGet
smart constructor.
Instances
Request Lenses
pogUploadProtocol :: Lens' ProjectsOccurrencesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pogAccessToken :: Lens' ProjectsOccurrencesGet (Maybe Text) Source #
OAuth access token.
pogUploadType :: Lens' ProjectsOccurrencesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pogName :: Lens' ProjectsOccurrencesGet Text Source #
The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
pogCallback :: Lens' ProjectsOccurrencesGet (Maybe Text) Source #
JSONP