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 previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
See: Cloud Build API Reference for cloudbuild.projects.builds.list
.
Synopsis
- type ProjectsBuildsListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("builds" :> (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] ListBuildsResponse))))))))))))
- projectsBuildsList :: Text -> ProjectsBuildsList
- data ProjectsBuildsList
- pblXgafv :: Lens' ProjectsBuildsList (Maybe Xgafv)
- pblUploadProtocol :: Lens' ProjectsBuildsList (Maybe Text)
- pblAccessToken :: Lens' ProjectsBuildsList (Maybe Text)
- pblUploadType :: Lens' ProjectsBuildsList (Maybe Text)
- pblFilter :: Lens' ProjectsBuildsList (Maybe Text)
- pblPageToken :: Lens' ProjectsBuildsList (Maybe Text)
- pblProjectId :: Lens' ProjectsBuildsList Text
- pblPageSize :: Lens' ProjectsBuildsList (Maybe Int32)
- pblCallback :: Lens' ProjectsBuildsList (Maybe Text)
REST Resource
type ProjectsBuildsListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("builds" :> (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] ListBuildsResponse)))))))))))) Source #
A resource alias for cloudbuild.projects.builds.list
method which the
ProjectsBuildsList
request conforms to.
Creating a Request
Creates a value of ProjectsBuildsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsBuildsList Source #
Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.
See: projectsBuildsList
smart constructor.
Instances
Request Lenses
pblUploadProtocol :: Lens' ProjectsBuildsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pblAccessToken :: Lens' ProjectsBuildsList (Maybe Text) Source #
OAuth access token.
pblUploadType :: Lens' ProjectsBuildsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pblFilter :: Lens' ProjectsBuildsList (Maybe Text) Source #
The raw filter text to constrain the results.
pblPageToken :: Lens' ProjectsBuildsList (Maybe Text) Source #
Token to provide to skip to a particular spot in the list.
pblProjectId :: Lens' ProjectsBuildsList Text Source #
ID of the project.
pblPageSize :: Lens' ProjectsBuildsList (Maybe Int32) Source #
Number of results to return in the list.
pblCallback :: Lens' ProjectsBuildsList (Maybe Text) Source #
JSONP