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 the Cloud Source Repositories configuration of the project.
See: Cloud Source Repositories API Reference for sourcerepo.projects.getConfig
.
Synopsis
- type ProjectsGetConfigResource = "v1" :> (Capture "name" Text :> ("config" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ProjectConfig))))))))
- projectsGetConfig :: Text -> ProjectsGetConfig
- data ProjectsGetConfig
- pgcXgafv :: Lens' ProjectsGetConfig (Maybe Xgafv)
- pgcUploadProtocol :: Lens' ProjectsGetConfig (Maybe Text)
- pgcAccessToken :: Lens' ProjectsGetConfig (Maybe Text)
- pgcUploadType :: Lens' ProjectsGetConfig (Maybe Text)
- pgcName :: Lens' ProjectsGetConfig Text
- pgcCallback :: Lens' ProjectsGetConfig (Maybe Text)
REST Resource
type ProjectsGetConfigResource = "v1" :> (Capture "name" Text :> ("config" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ProjectConfig)))))))) Source #
A resource alias for sourcerepo.projects.getConfig
method which the
ProjectsGetConfig
request conforms to.
Creating a Request
Creates a value of ProjectsGetConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsGetConfig Source #
Returns the Cloud Source Repositories configuration of the project.
See: projectsGetConfig
smart constructor.
Instances
Request Lenses
pgcUploadProtocol :: Lens' ProjectsGetConfig (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pgcAccessToken :: Lens' ProjectsGetConfig (Maybe Text) Source #
OAuth access token.
pgcUploadType :: Lens' ProjectsGetConfig (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pgcName :: Lens' ProjectsGetConfig Text Source #
The name of the requested project. Values are of the form `projects/`.
pgcCallback :: Lens' ProjectsGetConfig (Maybe Text) Source #
JSONP