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 existing `BuildTrigger`s. This API is experimental.
See: Cloud Build API Reference for cloudbuild.projects.triggers.list
.
Synopsis
- type ProjectsTriggersListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("triggers" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListBuildTriggersResponse)))))))))
- projectsTriggersList :: Text -> ProjectsTriggersList
- data ProjectsTriggersList
- ptlXgafv :: Lens' ProjectsTriggersList (Maybe Xgafv)
- ptlUploadProtocol :: Lens' ProjectsTriggersList (Maybe Text)
- ptlAccessToken :: Lens' ProjectsTriggersList (Maybe Text)
- ptlUploadType :: Lens' ProjectsTriggersList (Maybe Text)
- ptlProjectId :: Lens' ProjectsTriggersList Text
- ptlCallback :: Lens' ProjectsTriggersList (Maybe Text)
REST Resource
type ProjectsTriggersListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("triggers" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListBuildTriggersResponse))))))))) Source #
A resource alias for cloudbuild.projects.triggers.list
method which the
ProjectsTriggersList
request conforms to.
Creating a Request
Creates a value of ProjectsTriggersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTriggersList Source #
Lists existing `BuildTrigger`s. This API is experimental.
See: projectsTriggersList
smart constructor.
Instances
Request Lenses
ptlUploadProtocol :: Lens' ProjectsTriggersList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptlAccessToken :: Lens' ProjectsTriggersList (Maybe Text) Source #
OAuth access token.
ptlUploadType :: Lens' ProjectsTriggersList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptlProjectId :: Lens' ProjectsTriggersList Text Source #
ID of the project for which to list BuildTriggers.
ptlCallback :: Lens' ProjectsTriggersList (Maybe Text) Source #
JSONP