Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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

§
achievementId?: string
[src]

The achievement this update is being applied to.

§

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.

§
updateType?: "REVEAL" | "UNLOCK" | "INCREMENT" | "SET_STEPS_AT_LEAST"
[src]

The type of update being applied.