From 63e7160953231bdb3cffb8e799ce3b3064c76a67 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Thu, 23 Jul 2020 12:59:28 -0700 Subject: [PATCH] feat(games): update the API #### games:v1 The following keys were added: - schemas.AchievementUpdateMultipleResponse.description The following keys were changed: - baseUrl - batchPath - mtlsRootUrl - rootUrl --- discovery/games-v1.json | 11 ++++---- src/apis/games/README.md | 2 +- src/apis/games/v1.ts | 59 +++++++++++++++++++++------------------- 3 files changed, 38 insertions(+), 34 deletions(-) diff --git a/discovery/games-v1.json b/discovery/games-v1.json index 5151a8a90b..14c7c81a5c 100644 --- a/discovery/games-v1.json +++ b/discovery/games-v1.json @@ -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", @@ -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", @@ -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.", @@ -1335,6 +1335,7 @@ "type": "object" }, "AchievementUpdateMultipleResponse": { + "description": "Response message for UpdateMultipleAchievements rpc.", "id": "AchievementUpdateMultipleResponse", "properties": { "kind": { diff --git a/src/apis/games/README.md b/src/apis/games/README.md index e2927ef7b8..bce964888b 100644 --- a/src/apis/games/README.md +++ b/src/apis/games/README.md @@ -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 diff --git a/src/apis/games/v1.ts b/src/apis/games/v1.ts index 5e6c39fd68..d6a2fe81fb 100644 --- a/src/apis/games/v1.ts +++ b/src/apis/games/v1.ts @@ -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`. @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( { @@ -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( {