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 |
Returns customer-level settings.
See: G Suite Alert Center API Reference for alertcenter.getSettings
.
Synopsis
- type GetSettingsResource = "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 :> Get '[JSON] Settings))))))))
- getSettings :: GetSettings
- data GetSettings
- gsXgafv :: Lens' GetSettings (Maybe Xgafv)
- gsUploadProtocol :: Lens' GetSettings (Maybe Text)
- gsAccessToken :: Lens' GetSettings (Maybe Text)
- gsUploadType :: Lens' GetSettings (Maybe Text)
- gsCustomerId :: Lens' GetSettings (Maybe Text)
- gsCallback :: Lens' GetSettings (Maybe Text)
REST Resource
type GetSettingsResource = "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 :> Get '[JSON] Settings)))))))) Source #
A resource alias for alertcenter.getSettings
method which the
GetSettings
request conforms to.
Creating a Request
getSettings :: GetSettings Source #
Creates a value of GetSettings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetSettings Source #
Returns customer-level settings.
See: getSettings
smart constructor.
Instances
Request Lenses
gsUploadProtocol :: Lens' GetSettings (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gsAccessToken :: Lens' GetSettings (Maybe Text) Source #
OAuth access token.
gsUploadType :: Lens' GetSettings (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gsCustomerId :: Lens' GetSettings (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.
gsCallback :: Lens' GetSettings (Maybe Text) Source #
JSONP