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 the customer-level settings.
See: G Suite Alert Center API Reference for alertcenter.updateSettings
.
Synopsis
- type UpdateSettingsResource = "v1beta1" :> ("settings" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "customerId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Settings :> Patch '[JSON] Settings)))))))))
- updateSettings :: Settings -> UpdateSettings
- data UpdateSettings
- usXgafv :: Lens' UpdateSettings (Maybe Xgafv)
- usUploadProtocol :: Lens' UpdateSettings (Maybe Text)
- usAccessToken :: Lens' UpdateSettings (Maybe Text)
- usUploadType :: Lens' UpdateSettings (Maybe Text)
- usPayload :: Lens' UpdateSettings Settings
- usCustomerId :: Lens' UpdateSettings (Maybe Text)
- usCallback :: Lens' UpdateSettings (Maybe Text)
REST Resource
type UpdateSettingsResource = "v1beta1" :> ("settings" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "customerId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Settings :> Patch '[JSON] Settings))))))))) Source #
A resource alias for alertcenter.updateSettings
method which the
UpdateSettings
request conforms to.
Creating a Request
Creates a value of UpdateSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateSettings Source #
Update the customer-level settings.
See: updateSettings
smart constructor.
Instances
Request Lenses
usUploadProtocol :: Lens' UpdateSettings (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
usAccessToken :: Lens' UpdateSettings (Maybe Text) Source #
OAuth access token.
usUploadType :: Lens' UpdateSettings (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
usCustomerId :: Lens' UpdateSettings (Maybe Text) Source #
Optional. The unique identifier of the G Suite organization account of the customer the alert settings are associated with. Inferred from the caller identity if not provided.
usCallback :: Lens' UpdateSettings (Maybe Text) Source #
JSONP