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 |
Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information.
See: Cloud Build API Reference for cloudbuild.projects.builds.get
.
Synopsis
- type ProjectsBuildsGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("builds" :> (Capture "id" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Build))))))))))
- projectsBuildsGet :: Text -> Text -> ProjectsBuildsGet
- data ProjectsBuildsGet
- pbgXgafv :: Lens' ProjectsBuildsGet (Maybe Xgafv)
- pbgUploadProtocol :: Lens' ProjectsBuildsGet (Maybe Text)
- pbgAccessToken :: Lens' ProjectsBuildsGet (Maybe Text)
- pbgUploadType :: Lens' ProjectsBuildsGet (Maybe Text)
- pbgId :: Lens' ProjectsBuildsGet Text
- pbgProjectId :: Lens' ProjectsBuildsGet Text
- pbgCallback :: Lens' ProjectsBuildsGet (Maybe Text)
REST Resource
type ProjectsBuildsGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("builds" :> (Capture "id" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Build)))))))))) Source #
A resource alias for cloudbuild.projects.builds.get
method which the
ProjectsBuildsGet
request conforms to.
Creating a Request
Creates a value of ProjectsBuildsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsBuildsGet Source #
Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information.
See: projectsBuildsGet
smart constructor.
Instances
Request Lenses
pbgUploadProtocol :: Lens' ProjectsBuildsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pbgAccessToken :: Lens' ProjectsBuildsGet (Maybe Text) Source #
OAuth access token.
pbgUploadType :: Lens' ProjectsBuildsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pbgProjectId :: Lens' ProjectsBuildsGet Text Source #
ID of the project.
pbgCallback :: Lens' ProjectsBuildsGet (Maybe Text) Source #
JSONP