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

GamesConfiguration

import { GamesConfiguration } from "https://googleapis.deno.dev/v1/gamesConfiguration:v1configuration.ts";

The Google Play Game Services Publishing API allows developers to configure their games in Game Services.

class GamesConfiguration {
constructor(client?: CredentialsClient, baseUrl?: string);
async achievementConfigurationsDelete(achievementId: string): Promise<void>;
async achievementConfigurationsGet(achievementId: string): Promise<AchievementConfiguration>;
async achievementConfigurationsInsert(applicationId: string, req: AchievementConfiguration): Promise<AchievementConfiguration>;
async achievementConfigurationsList(applicationId: string, opts?: AchievementConfigurationsListOptions): Promise<AchievementConfigurationListResponse>;
async achievementConfigurationsUpdate(achievementId: string, req: AchievementConfiguration): Promise<AchievementConfiguration>;
async leaderboardConfigurationsDelete(leaderboardId: string): Promise<void>;
async leaderboardConfigurationsGet(leaderboardId: string): Promise<LeaderboardConfiguration>;
async leaderboardConfigurationsInsert(applicationId: string, req: LeaderboardConfiguration): Promise<LeaderboardConfiguration>;
async leaderboardConfigurationsList(applicationId: string, opts?: LeaderboardConfigurationsListOptions): Promise<LeaderboardConfigurationListResponse>;
async leaderboardConfigurationsUpdate(leaderboardId: string, req: LeaderboardConfiguration): Promise<LeaderboardConfiguration>;
}

§Constructors

§
new GamesConfiguration(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
achievementConfigurationsDelete(achievementId: string): Promise<void>
[src]

Delete the achievement configuration with the given ID.

@param achievementId

The ID of the achievement used by this method.

§
achievementConfigurationsGet(achievementId: string): Promise<AchievementConfiguration>
[src]

Retrieves the metadata of the achievement configuration with the given ID.

@param achievementId

The ID of the achievement used by this method.

§
achievementConfigurationsInsert(applicationId: string, req: AchievementConfiguration): Promise<AchievementConfiguration>
[src]

Insert a new achievement configuration in this application.

@param applicationId

The application ID from the Google Play developer console.

§
achievementConfigurationsList(applicationId: string, opts?: AchievementConfigurationsListOptions): Promise<AchievementConfigurationListResponse>
[src]

Returns a list of the achievement configurations in this application.

@param applicationId

The application ID from the Google Play developer console.

§
achievementConfigurationsUpdate(achievementId: string, req: AchievementConfiguration): Promise<AchievementConfiguration>
[src]

Update the metadata of the achievement configuration with the given ID.

@param achievementId

The ID of the achievement used by this method.

§
leaderboardConfigurationsDelete(leaderboardId: string): Promise<void>
[src]

Delete the leaderboard configuration with the given ID.

@param leaderboardId

The ID of the leaderboard.

§
leaderboardConfigurationsGet(leaderboardId: string): Promise<LeaderboardConfiguration>
[src]

Retrieves the metadata of the leaderboard configuration with the given ID.

@param leaderboardId

The ID of the leaderboard.

§
leaderboardConfigurationsInsert(applicationId: string, req: LeaderboardConfiguration): Promise<LeaderboardConfiguration>
[src]

Insert a new leaderboard configuration in this application.

@param applicationId

The application ID from the Google Play developer console.

§
leaderboardConfigurationsList(applicationId: string, opts?: LeaderboardConfigurationsListOptions): Promise<LeaderboardConfigurationListResponse>
[src]

Returns a list of the leaderboard configurations in this application.

@param applicationId

The application ID from the Google Play developer console.

§
leaderboardConfigurationsUpdate(leaderboardId: string, req: LeaderboardConfiguration): Promise<LeaderboardConfiguration>
[src]

Update the metadata of the leaderboard configuration with the given ID.

@param leaderboardId

The ID of the leaderboard.