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 an existing group. You can change any group attributes except name.
See: Stackdriver Monitoring API Reference for monitoring.projects.groups.update
.
Synopsis
- type ProjectsGroupsUpdateResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "validateOnly" Bool :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Put '[JSON] Group)))))))))
- projectsGroupsUpdate :: Group -> Text -> ProjectsGroupsUpdate
- data ProjectsGroupsUpdate
- pguXgafv :: Lens' ProjectsGroupsUpdate (Maybe Xgafv)
- pguValidateOnly :: Lens' ProjectsGroupsUpdate (Maybe Bool)
- pguUploadProtocol :: Lens' ProjectsGroupsUpdate (Maybe Text)
- pguAccessToken :: Lens' ProjectsGroupsUpdate (Maybe Text)
- pguUploadType :: Lens' ProjectsGroupsUpdate (Maybe Text)
- pguPayload :: Lens' ProjectsGroupsUpdate Group
- pguName :: Lens' ProjectsGroupsUpdate Text
- pguCallback :: Lens' ProjectsGroupsUpdate (Maybe Text)
REST Resource
type ProjectsGroupsUpdateResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "validateOnly" Bool :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Put '[JSON] Group))))))))) Source #
A resource alias for monitoring.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 #
Updates an existing group. You can change any group attributes except name.
See: projectsGroupsUpdate
smart constructor.
Instances
Request Lenses
pguValidateOnly :: Lens' ProjectsGroupsUpdate (Maybe Bool) Source #
If true, validate this request but do not update the existing group.
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 Group Source #
Multipart request metadata.
pguName :: Lens' ProjectsGroupsUpdate Text Source #
Output only. The name of this group. The format is "projects/{project_id_or_number}/groups/{group_id}". When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique {group_id} that is generated automatically.
pguCallback :: Lens' ProjectsGroupsUpdate (Maybe Text) Source #
JSONP