01README
Google Cloud games infrastructure models
02Models
@swamp/gcp/games/achievementdefinitionsv2026.04.23.1achievementdefinitions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a achievementDefinitions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the achievementDefinitions |
fn sync()
Sync achievementDefinitions state from GCP
Resources
state(infinite)— An achievement definition object.
@swamp/gcp/games/achievementsv2026.04.23.1achievements.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a achievements
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the achievements |
fn sync()
Sync achievements state from GCP
fn increment()
increment
fn reveal()
reveal
fn set_steps_at_least()
set steps at least
fn unlock()
unlock
fn update_multiple(kind?: any, updates?: any)
update multiple
| Argument | Type | Description |
|---|---|---|
| kind? | any | |
| updates? | any |
Resources
state(infinite)— An achievement object.
@swamp/gcp/games/applicationsv2026.04.23.1applications.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a applications
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the applications |
fn sync()
Sync applications state from GCP
fn get_end_point()
get end point
fn played()
played
fn verify()
verify
Resources
state(infinite)— The Application resource.
@swamp/gcp/games/leaderboardsv2026.04.23.1leaderboards.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a leaderboards
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the leaderboards |
fn sync()
Sync leaderboards state from GCP
Resources
state(infinite)— The Leaderboard resource.
@swamp/gcp/games/playersv2026.04.23.1players.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a players
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the players |
fn sync()
Sync players state from GCP
fn get_multiple_application_player_ids()
get multiple application player ids
fn get_scoped_player_ids()
get scoped player ids
Resources
state(infinite)— A Player resource.
@swamp/gcp/games/scoresv2026.04.23.1scores.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a scores
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the scores |
fn sync()
Sync scores state from GCP
fn list_window()
list window
fn submit()
submit
fn submit_multiple(kind?: any, scores?: any)
submit multiple
| Argument | Type | Description |
|---|---|---|
| kind? | any | |
| scores? | any |
Resources
state(infinite)— A list of player leaderboard scores.
@swamp/gcp/games/snapshotsv2026.04.23.1snapshots.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a snapshots
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the snapshots |
fn sync()
Sync snapshots state from GCP
Resources
state(infinite)— An snapshot object.
@swamp/gcp/games/statsv2026.04.23.1stats.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a stats
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the stats |
fn sync()
Sync stats state from GCP
Resources
state(infinite)— A third party stats resource.
03Previous Versions
2026.04.03.3Apr 3, 2026
- Updated: achievementdefinitions, achievements, applications, leaderboards, players, scores, snapshots, stats
2026.04.03.1Apr 3, 2026
- Updated: achievementdefinitions, achievements, applications, leaderboards, players, scores, snapshots, stats
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
- Added: achievementdefinitions, achievements, applications, leaderboards, players, scores, snapshots, stats
04Stats
A
100 / 100
Downloads
0
Archive size
22.6 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels