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 |
Synopsis
- appStateService :: ServiceConfig
- appStateScope :: Proxy '["https://www.googleapis.com/auth/appstate"]
- data WriteResult
- writeResult :: WriteResult
- wrCurrentStateVersion :: Lens' WriteResult (Maybe Text)
- wrKind :: Lens' WriteResult Text
- wrStateKey :: Lens' WriteResult (Maybe Int32)
- data ListResponse
- listResponse :: ListResponse
- lrMaximumKeyCount :: Lens' ListResponse (Maybe Int32)
- lrKind :: Lens' ListResponse Text
- lrItems :: Lens' ListResponse [GetResponse]
- data GetResponse
- getResponse :: GetResponse
- grCurrentStateVersion :: Lens' GetResponse (Maybe Text)
- grKind :: Lens' GetResponse Text
- grData :: Lens' GetResponse (Maybe Text)
- grStateKey :: Lens' GetResponse (Maybe Int32)
- data UpdateRequest
- updateRequest :: UpdateRequest
- urKind :: Lens' UpdateRequest Text
- urData :: Lens' UpdateRequest (Maybe Text)
Service Configuration
appStateService :: ServiceConfig Source #
Default request referring to version v1
of the Google App State API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
appStateScope :: Proxy '["https://www.googleapis.com/auth/appstate"] Source #
View and manage your data for this application
WriteResult
data WriteResult Source #
This is a JSON template for an app state write result.
See: writeResult
smart constructor.
Instances
writeResult :: WriteResult Source #
Creates a value of WriteResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
wrCurrentStateVersion :: Lens' WriteResult (Maybe Text) Source #
The version of the data for this key on the server.
wrKind :: Lens' WriteResult Text Source #
Uniquely identifies the type of this resource. Value is always the fixed string appstate#writeResult.
wrStateKey :: Lens' WriteResult (Maybe Int32) Source #
The written key.
ListResponse
data ListResponse Source #
This is a JSON template to convert a list-response for app state.
See: listResponse
smart constructor.
Instances
listResponse :: ListResponse Source #
Creates a value of ListResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrMaximumKeyCount :: Lens' ListResponse (Maybe Int32) Source #
The maximum number of keys allowed for this user.
lrKind :: Lens' ListResponse Text Source #
Uniquely identifies the type of this resource. Value is always the fixed string appstate#listResponse.
lrItems :: Lens' ListResponse [GetResponse] Source #
The app state data.
GetResponse
data GetResponse Source #
This is a JSON template for an app state resource.
See: getResponse
smart constructor.
Instances
getResponse :: GetResponse Source #
Creates a value of GetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grCurrentStateVersion :: Lens' GetResponse (Maybe Text) Source #
The current app state version.
grKind :: Lens' GetResponse Text Source #
Uniquely identifies the type of this resource. Value is always the fixed string appstate#getResponse.
grStateKey :: Lens' GetResponse (Maybe Int32) Source #
The key for the data.
UpdateRequest
data UpdateRequest Source #
This is a JSON template for a requests which update app state
See: updateRequest
smart constructor.
Instances
updateRequest :: UpdateRequest Source #
Creates a value of UpdateRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired: