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 (e.g., success or failure, or in-progress), and timing information.
See: Google Cloud Container Builder API Reference for cloudbuild.projects.builds.get
.
- type ProjectsBuildsGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("builds" :> (Capture "id" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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)
- pbgPp :: Lens' ProjectsBuildsGet Bool
- pbgAccessToken :: Lens' ProjectsBuildsGet (Maybe Text)
- pbgUploadType :: Lens' ProjectsBuildsGet (Maybe Text)
- pbgBearerToken :: 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 "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 (e.g., success or failure, or in-progress), and timing information.
See: projectsBuildsGet
smart constructor.
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").
pbgBearerToken :: Lens' ProjectsBuildsGet (Maybe Text) Source #
OAuth bearer token.
pbgProjectId :: Lens' ProjectsBuildsGet Text Source #
ID of the project.
pbgCallback :: Lens' ProjectsBuildsGet (Maybe Text) Source #
JSONP