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 |
Replace the data for the specified group. Fails if the group does not exist.
See: Stackdriver Error Reporting API Reference for clouderrorreporting.projects.groups.update
.
Synopsis
- type ProjectsGroupsUpdateResource = "v1beta1" :> (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] ErrorGroup :> Put '[JSON] ErrorGroup))))))))
- projectsGroupsUpdate :: ErrorGroup -> Text -> ProjectsGroupsUpdate
- data ProjectsGroupsUpdate
- pguXgafv :: Lens' ProjectsGroupsUpdate (Maybe Xgafv)
- pguUploadProtocol :: Lens' ProjectsGroupsUpdate (Maybe Text)
- pguAccessToken :: Lens' ProjectsGroupsUpdate (Maybe Text)
- pguUploadType :: Lens' ProjectsGroupsUpdate (Maybe Text)
- pguPayload :: Lens' ProjectsGroupsUpdate ErrorGroup
- pguName :: Lens' ProjectsGroupsUpdate Text
- pguCallback :: Lens' ProjectsGroupsUpdate (Maybe Text)
REST Resource
type ProjectsGroupsUpdateResource = "v1beta1" :> (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] ErrorGroup :> Put '[JSON] ErrorGroup)))))))) Source #
A resource alias for clouderrorreporting.projects.groups.update
method which the
ProjectsGroupsUpdate
request conforms to.
Creating a Request
Creates a value of ProjectsGroupsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsGroupsUpdate Source #
Replace the data for the specified group. Fails if the group does not exist.
See: projectsGroupsUpdate
smart constructor.
Instances
Request Lenses
pguUploadProtocol :: Lens' ProjectsGroupsUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pguAccessToken :: Lens' ProjectsGroupsUpdate (Maybe Text) Source #
OAuth access token.
pguUploadType :: Lens' ProjectsGroupsUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pguPayload :: Lens' ProjectsGroupsUpdate ErrorGroup Source #
Multipart request metadata.
pguName :: Lens' ProjectsGroupsUpdate Text Source #
The group resource name. Example: 'projects\/my-project-123\/groups\/my-groupid'
pguCallback :: Lens' ProjectsGroupsUpdate (Maybe Text) Source #
JSONP