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 a Group.
See: Cloud Identity API Reference for cloudidentity.groups.patch
.
Synopsis
- type GroupsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Patch '[JSON] Operation)))))))))
- groupsPatch :: Group -> Text -> GroupsPatch
- data GroupsPatch
- gpXgafv :: Lens' GroupsPatch (Maybe Xgafv)
- gpUploadProtocol :: Lens' GroupsPatch (Maybe Text)
- gpUpdateMask :: Lens' GroupsPatch (Maybe GFieldMask)
- gpAccessToken :: Lens' GroupsPatch (Maybe Text)
- gpUploadType :: Lens' GroupsPatch (Maybe Text)
- gpPayload :: Lens' GroupsPatch Group
- gpName :: Lens' GroupsPatch Text
- gpCallback :: Lens' GroupsPatch (Maybe Text)
REST Resource
type GroupsPatchResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Patch '[JSON] Operation))))))))) Source #
A resource alias for cloudidentity.groups.patch
method which the
GroupsPatch
request conforms to.
Creating a Request
:: Group | |
-> Text | |
-> GroupsPatch |
Creates a value of GroupsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsPatch Source #
Updates a Group.
See: groupsPatch
smart constructor.
Instances
Request Lenses
gpUploadProtocol :: Lens' GroupsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gpUpdateMask :: Lens' GroupsPatch (Maybe GFieldMask) Source #
Editable fields: `display_name`, `description`
gpAccessToken :: Lens' GroupsPatch (Maybe Text) Source #
OAuth access token.
gpUploadType :: Lens' GroupsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gpName :: Lens' GroupsPatch Text Source #
Resource name of the Group in the format: `groups/{group_id}`, where group_id is the unique ID assigned to the Group. Must be left blank while creating a Group.
gpCallback :: Lens' GroupsPatch (Maybe Text) Source #
JSONP