AchievementUpdateRequest
import type { AchievementUpdateRequest } from "https://googleapis.deno.dev/v1/games:v1.ts";
A request to update an achievement.
interface AchievementUpdateRequest {
achievementId?: string;
incrementPayload?: GamesAchievementIncrement;
kind?: string;
setStepsAtLeastPayload?: GamesAchievementSetStepsAtLeast;
updateType?:
} | "REVEAL"
| "UNLOCK"
| "INCREMENT"
| "SET_STEPS_AT_LEAST";
§Properties
§
incrementPayload?: GamesAchievementIncrement
[src]The payload if an update of type INCREMENT
was requested for the
achievement.
§
kind?: string
[src]Uniquely identifies the type of this resource. Value is always the fixed
string games#achievementUpdateRequest
.
§
setStepsAtLeastPayload?: GamesAchievementSetStepsAtLeast
[src]The payload if an update of type SET_STEPS_AT_LEAST
was requested for
the achievement.