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 |
Update a `Release` via PATCH. Only updates to the `ruleset_name` and `test_suite_name` fields will be honored. `Release` rename is not supported. To create a `Release` use the CreateRelease method.
See: Firebase Rules API Reference for firebaserules.projects.releases.patch
.
Synopsis
- type ProjectsReleasesPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateReleaseRequest :> Patch '[JSON] Release))))))))
- projectsReleasesPatch :: UpdateReleaseRequest -> Text -> ProjectsReleasesPatch
- data ProjectsReleasesPatch
- prpXgafv :: Lens' ProjectsReleasesPatch (Maybe Xgafv)
- prpUploadProtocol :: Lens' ProjectsReleasesPatch (Maybe Text)
- prpAccessToken :: Lens' ProjectsReleasesPatch (Maybe Text)
- prpUploadType :: Lens' ProjectsReleasesPatch (Maybe Text)
- prpPayload :: Lens' ProjectsReleasesPatch UpdateReleaseRequest
- prpName :: Lens' ProjectsReleasesPatch Text
- prpCallback :: Lens' ProjectsReleasesPatch (Maybe Text)
REST Resource
type ProjectsReleasesPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateReleaseRequest :> Patch '[JSON] Release)))))))) Source #
A resource alias for firebaserules.projects.releases.patch
method which the
ProjectsReleasesPatch
request conforms to.
Creating a Request
projectsReleasesPatch Source #
Creates a value of ProjectsReleasesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsReleasesPatch Source #
Update a `Release` via PATCH. Only updates to the `ruleset_name` and `test_suite_name` fields will be honored. `Release` rename is not supported. To create a `Release` use the CreateRelease method.
See: projectsReleasesPatch
smart constructor.
Instances
Request Lenses
prpUploadProtocol :: Lens' ProjectsReleasesPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prpAccessToken :: Lens' ProjectsReleasesPatch (Maybe Text) Source #
OAuth access token.
prpUploadType :: Lens' ProjectsReleasesPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prpPayload :: Lens' ProjectsReleasesPatch UpdateReleaseRequest Source #
Multipart request metadata.
prpName :: Lens' ProjectsReleasesPatch Text Source #
Resource name for the project which owns this `Release`. Format: `projects/{project_id}`
prpCallback :: Lens' ProjectsReleasesPatch (Maybe Text) Source #
JSONP