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 |
Updates the Cloud Source Repositories configuration of the project.
See: Cloud Source Repositories API Reference for sourcerepo.projects.updateConfig
.
Synopsis
- type ProjectsUpdateConfigResource = "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 :> (ReqBody '[JSON] UpdateProjectConfigRequest :> Patch '[JSON] ProjectConfig)))))))))
- projectsUpdateConfig :: UpdateProjectConfigRequest -> Text -> ProjectsUpdateConfig
- data ProjectsUpdateConfig
- pucXgafv :: Lens' ProjectsUpdateConfig (Maybe Xgafv)
- pucUploadProtocol :: Lens' ProjectsUpdateConfig (Maybe Text)
- pucAccessToken :: Lens' ProjectsUpdateConfig (Maybe Text)
- pucUploadType :: Lens' ProjectsUpdateConfig (Maybe Text)
- pucPayload :: Lens' ProjectsUpdateConfig UpdateProjectConfigRequest
- pucName :: Lens' ProjectsUpdateConfig Text
- pucCallback :: Lens' ProjectsUpdateConfig (Maybe Text)
REST Resource
type ProjectsUpdateConfigResource = "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 :> (ReqBody '[JSON] UpdateProjectConfigRequest :> Patch '[JSON] ProjectConfig))))))))) Source #
A resource alias for sourcerepo.projects.updateConfig
method which the
ProjectsUpdateConfig
request conforms to.
Creating a Request
Creates a value of ProjectsUpdateConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsUpdateConfig Source #
Updates the Cloud Source Repositories configuration of the project.
See: projectsUpdateConfig
smart constructor.
Instances
Request Lenses
pucUploadProtocol :: Lens' ProjectsUpdateConfig (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pucAccessToken :: Lens' ProjectsUpdateConfig (Maybe Text) Source #
OAuth access token.
pucUploadType :: Lens' ProjectsUpdateConfig (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pucPayload :: Lens' ProjectsUpdateConfig UpdateProjectConfigRequest Source #
Multipart request metadata.
pucName :: Lens' ProjectsUpdateConfig Text Source #
The name of the requested project. Values are of the form `projects/`.
pucCallback :: Lens' ProjectsUpdateConfig (Maybe Text) Source #
JSONP