Logs bad playable location reports submitted by players.
Reports are not partially saved; either all reports are saved and this request succeeds, or no reports are saved, and this request fails.
HTTP request
POST https://playablelocations.googleapis.com/v3:logPlayerReports
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{ "playerReports": [ { object ( |
Fields | |
---|---|
playerReports[] |
Required. Player reports. The maximum number of player reports that you can log at once is 50. |
requestId |
Required. A string that uniquely identifies the log player reports request. This allows you to detect duplicate requests. We recommend that you use UUIDs for this value. The value must not exceed 50 characters. You should reuse the |
clientInfo |
Required. Information about the client device (for example, device model and operating system). |
Response body
If successful, the response body will be empty.
PlayerReport
A report submitted by a player about a playable location that is considered inappropriate for use in the game.
JSON representation | |
---|---|
{
"locationName": string,
"reasons": [
enum ( |
Fields | |
---|---|
locationName |
Required. The name of the playable location. |
reasons[] |
Required. One or more reasons why this playable location is considered bad. |
reasonDetails |
Required. A free-form description detailing why the playable location is considered bad. |
languageCode |
Language code (in BCP-47 format) indicating the language of the freeform description provided in |
BadLocationReason
The reason why the playable location is considered bad.
Enums | |
---|---|
BAD_LOCATION_REASON_UNSPECIFIED |
Unspecified reason. Do not use. |
OTHER |
The reason isn't one of the reasons in this enumeration. |
NOT_PEDESTRIAN_ACCESSIBLE |
The playable location isn't accessible to pedestrians. For example, if it's in the middle of a highway. |
NOT_OPEN_TO_PUBLIC |
The playable location isn't open to the public. For example, a private office building. |
PERMANENTLY_CLOSED |
The playable location is permanently closed. For example, when a business has been shut down. |
TEMPORARILY_INACCESSIBLE |
The playable location is temporarily inaccessible. For example, when a business has closed for renovations. |