"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
"description":"Clears (sets to empty) the data for the passed key if and only if the passed version matches the currently stored version. This method results in a conflict error on version mismatch.",
"httpMethod":"POST",
"id":"appstate.states.clear",
"parameterOrder":[
"stateKey"
],
"parameters":{
"currentDataVersion":{
"description":"The version of the data to be cleared. Version strings are returned by the server.",
"location":"query",
"type":"string"
},
"stateKey":{
"description":"The key for the data to be retrieved.",
"format":"int32",
"location":"path",
"maximum":"3",
"minimum":"0",
"required":true,
"type":"integer"
}
},
"path":"states/{stateKey}/clear",
"response":{
"$ref":"WriteResult"
},
"scopes":[
"https://www.googleapis.com/auth/appstate"
]
},
"delete":{
"description":"Deletes a key and the data associated with it. The key is removed and no longer counts against the key quota. Note that since this method is not safe in the face of concurrent modifications, it should only be used for development and testing purposes. Invoking this method in shipping code can result in data loss and data corruption.",
"httpMethod":"DELETE",
"id":"appstate.states.delete",
"parameterOrder":[
"stateKey"
],
"parameters":{
"stateKey":{
"description":"The key for the data to be retrieved.",
"format":"int32",
"location":"path",
"maximum":"3",
"minimum":"0",
"required":true,
"type":"integer"
}
},
"path":"states/{stateKey}",
"scopes":[
"https://www.googleapis.com/auth/appstate"
]
},
"get":{
"description":"Retrieves the data corresponding to the passed key. If the key does not exist on the server, an HTTP 404 will be returned.",
"httpMethod":"GET",
"id":"appstate.states.get",
"parameterOrder":[
"stateKey"
],
"parameters":{
"stateKey":{
"description":"The key for the data to be retrieved.",
"format":"int32",
"location":"path",
"maximum":"3",
"minimum":"0",
"required":true,
"type":"integer"
}
},
"path":"states/{stateKey}",
"response":{
"$ref":"GetResponse"
},
"scopes":[
"https://www.googleapis.com/auth/appstate"
]
},
"list":{
"description":"Lists all the states keys, and optionally the state data.",
"httpMethod":"GET",
"id":"appstate.states.list",
"parameters":{
"includeData":{
"default":"false",
"description":"Whether to include the full data in addition to the version number",
"location":"query",
"type":"boolean"
}
},
"path":"states",
"response":{
"$ref":"ListResponse"
},
"scopes":[
"https://www.googleapis.com/auth/appstate"
]
},
"update":{
"description":"Update the data associated with the input key if and only if the passed version matches the currently stored version. This method is safe in the face of concurrent writes. Maximum per-key size is 128KB.",
"httpMethod":"PUT",
"id":"appstate.states.update",
"parameterOrder":[
"stateKey"
],
"parameters":{
"currentStateVersion":{
"description":"The version of the app state your application is attempting to update. If this does not match the current version, this method will return a conflict error. If there is no data stored on the server for this key, the update will succeed irrespective of the value of this parameter.",
"location":"query",
"type":"string"
},
"stateKey":{
"description":"The key for the data to be retrieved.",