Skip to content

Commit

Permalink
feat(games): update the API
Browse files Browse the repository at this point in the history
#### games:v1
The following keys were added:
- schemas.AchievementUpdateMultipleResponse.description

The following keys were changed:
- baseUrl
- batchPath
- mtlsRootUrl
- rootUrl
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 23, 2020
1 parent a0834b5 commit 63e7160
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 34 deletions.
11 changes: 6 additions & 5 deletions discovery/games-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
}
},
"basePath": "",
"baseUrl": "https://www.googleapis.com/",
"batchPath": "batch/games/v1",
"baseUrl": "https://games.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Games",
"description": "The Google Play games service allows developers to enhance games with social leaderboards,\n achievements, game state, sign-in with Google, and more.",
"discoveryVersion": "v1",
Expand All @@ -24,7 +24,7 @@
},
"id": "games:v1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://www.mtls.googleapis.com/",
"mtlsRootUrl": "https://games.mtls.googleapis.com/",
"name": "games",
"ownerDomain": "google.com",
"ownerName": "Google",
Expand Down Expand Up @@ -1128,8 +1128,8 @@
}
}
},
"revision": "20200701",
"rootUrl": "https://www.googleapis.com/",
"revision": "20200720",
"rootUrl": "https://games.googleapis.com/",
"schemas": {
"AchievementDefinition": {
"description": "An achievement definition object.",
Expand Down Expand Up @@ -1335,6 +1335,7 @@
"type": "object"
},
"AchievementUpdateMultipleResponse": {
"description": "Response message for UpdateMultipleAchievements rpc.",
"id": "AchievementUpdateMultipleResponse",
"properties": {
"kind": {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/games/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# games

> The API for Google Play Game Services.
> The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.
## Installation

Expand Down
59 changes: 31 additions & 28 deletions src/apis/games/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ export namespace games_v1 {
*/
updates?: Schema$AchievementUpdateRequest[];
}
/**
* Response message for UpdateMultipleAchievements rpc.
*/
export interface Schema$AchievementUpdateMultipleResponse {
/**
* Uniquely identifies the type of this resource. Value is always the fixed string `games#achievementUpdateMultipleResponse`.
Expand Down Expand Up @@ -1678,7 +1681,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -1851,7 +1854,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -2008,7 +2011,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -2148,7 +2151,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -2290,7 +2293,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -2430,7 +2433,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -2574,7 +2577,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -2802,7 +2805,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -2922,7 +2925,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -3062,7 +3065,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -3240,7 +3243,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -3385,7 +3388,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -3533,7 +3536,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -3717,7 +3720,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -3863,7 +3866,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -4027,7 +4030,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -4182,7 +4185,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -4359,7 +4362,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -4505,7 +4508,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -4681,7 +4684,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -4858,7 +4861,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -5015,7 +5018,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -5181,7 +5184,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -5335,7 +5338,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -5483,7 +5486,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -5758,7 +5761,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -5910,7 +5913,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down Expand Up @@ -6082,7 +6085,7 @@ export namespace games_v1 {
options = {};
}

const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
const rootUrl = options.rootUrl || 'https://games.googleapis.com/';
const parameters = {
options: Object.assign(
{
Expand Down

0 comments on commit 63e7160

Please sign in to comment.