v1configuration.d.ts
36.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
/**
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { OAuth2Client, JWT, Compute, UserRefreshClient } from 'google-auth-library';
import { GoogleConfigurable, MethodOptions, GlobalOptions, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
import { GaxiosPromise } from 'gaxios';
export declare namespace gamesConfiguration_v1configuration {
export interface Options extends GlobalOptions {
version: 'v1configuration';
}
interface StandardParameters {
/**
* Data format for the response.
*/
alt?: string;
/**
* Selector specifying which fields to include in a partial response.
*/
fields?: string;
/**
* API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
*/
key?: string;
/**
* OAuth 2.0 token for the current user.
*/
oauth_token?: string;
/**
* Returns response with indentations and line breaks.
*/
prettyPrint?: boolean;
/**
* An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
*/
quotaUser?: string;
/**
* Deprecated. Please use quotaUser instead.
*/
userIp?: string;
}
/**
* Google Play Game Services Publishing API
*
* The Publishing API for Google Play Game Services.
*
* @example
* const {google} = require('googleapis');
* const gamesConfiguration = google.gamesConfiguration('v1configuration');
*
* @namespace gamesConfiguration
* @type {Function}
* @version v1configuration
* @variation v1configuration
* @param {object=} options Options for Gamesconfiguration
*/
export class Gamesconfiguration {
context: APIRequestContext;
achievementConfigurations: Resource$Achievementconfigurations;
imageConfigurations: Resource$Imageconfigurations;
leaderboardConfigurations: Resource$Leaderboardconfigurations;
constructor(options: GlobalOptions, google?: GoogleConfigurable);
}
/**
* This is a JSON template for an achievement configuration resource.
*/
export interface Schema$AchievementConfiguration {
/**
* The type of the achievement. Possible values are: - "STANDARD" - Achievement is either locked or unlocked. - "INCREMENTAL" - Achievement is incremental.
*/
achievementType?: string | null;
/**
* The draft data of the achievement.
*/
draft?: Schema$AchievementConfigurationDetail;
/**
* The ID of the achievement.
*/
id?: string | null;
/**
* The initial state of the achievement. Possible values are: - "HIDDEN" - Achievement is hidden. - "REVEALED" - Achievement is revealed. - "UNLOCKED" - Achievement is unlocked.
*/
initialState?: string | null;
/**
* Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.
*/
kind?: string | null;
/**
* The read-only published data of the achievement.
*/
published?: Schema$AchievementConfigurationDetail;
/**
* Steps to unlock. Only applicable to incremental achievements.
*/
stepsToUnlock?: number | null;
/**
* The token for this resource.
*/
token?: string | null;
}
/**
* This is a JSON template for an achievement configuration detail.
*/
export interface Schema$AchievementConfigurationDetail {
/**
* Localized strings for the achievement description.
*/
description?: Schema$LocalizedStringBundle;
/**
* The icon url of this achievement. Writes to this field are ignored.
*/
iconUrl?: string | null;
/**
* Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfigurationDetail.
*/
kind?: string | null;
/**
* Localized strings for the achievement name.
*/
name?: Schema$LocalizedStringBundle;
/**
* Point value for the achievement.
*/
pointValue?: number | null;
/**
* The sort rank of this achievement. Writes to this field are ignored.
*/
sortRank?: number | null;
}
/**
* This is a JSON template for a ListConfigurations response.
*/
export interface Schema$AchievementConfigurationListResponse {
/**
* The achievement configurations.
*/
items?: Schema$AchievementConfiguration[];
/**
* Uniquely identifies the type of this resource. Value is always the fixed string games#achievementConfigurationListResponse.
*/
kind?: string | null;
/**
* The pagination token for the next page of results.
*/
nextPageToken?: string | null;
}
/**
* This is a JSON template for a number affix resource.
*/
export interface Schema$GamesNumberAffixConfiguration {
/**
* When the language requires special treatment of "small" numbers (as with 2, 3, and 4 in Czech; or numbers ending 2, 3, or 4 but not 12, 13, or 14 in Polish).
*/
few?: Schema$LocalizedStringBundle;
/**
* When the language requires special treatment of "large" numbers (as with numbers ending 11-99 in Maltese).
*/
many?: Schema$LocalizedStringBundle;
/**
* When the language requires special treatment of numbers like one (as with the number 1 in English and most other languages; in Russian, any number ending in 1 but not ending in 11 is in this class).
*/
one?: Schema$LocalizedStringBundle;
/**
* When the language does not require special treatment of the given quantity (as with all numbers in Chinese, or 42 in English).
*/
other?: Schema$LocalizedStringBundle;
/**
* When the language requires special treatment of numbers like two (as with 2 in Welsh, or 102 in Slovenian).
*/
two?: Schema$LocalizedStringBundle;
/**
* When the language requires special treatment of the number 0 (as in Arabic).
*/
zero?: Schema$LocalizedStringBundle;
}
/**
* This is a JSON template for a number format resource.
*/
export interface Schema$GamesNumberFormatConfiguration {
/**
* The curreny code string. Only used for CURRENCY format type.
*/
currencyCode?: string | null;
/**
* The formatting for the number. Possible values are: - "NUMERIC" - Numbers are formatted to have no digits or a fixed number of digits after the decimal point according to locale. An optional custom unit can be added. - "TIME_DURATION" - Numbers are formatted to hours, minutes and seconds. - "CURRENCY" - Numbers are formatted to currency according to locale.
*/
numberFormatType?: string | null;
/**
* The number of decimal places for number. Only used for NUMERIC format type.
*/
numDecimalPlaces?: number | null;
/**
* An optional suffix for the NUMERIC format type. These strings follow the same plural rules as all Android string resources.
*/
suffix?: Schema$GamesNumberAffixConfiguration;
}
/**
* This is a JSON template for an image configuration resource.
*/
export interface Schema$ImageConfiguration {
/**
* The image type for the image.
*/
imageType?: string | null;
/**
* Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#imageConfiguration.
*/
kind?: string | null;
/**
* The resource ID of resource which the image belongs to.
*/
resourceId?: string | null;
/**
* The url for this image.
*/
url?: string | null;
}
/**
* This is a JSON template for an leaderboard configuration resource.
*/
export interface Schema$LeaderboardConfiguration {
/**
* The draft data of the leaderboard.
*/
draft?: Schema$LeaderboardConfigurationDetail;
/**
* The ID of the leaderboard.
*/
id?: string | null;
/**
* Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfiguration.
*/
kind?: string | null;
/**
* The read-only published data of the leaderboard.
*/
published?: Schema$LeaderboardConfigurationDetail;
/**
* Maximum score that can be posted to this leaderboard.
*/
scoreMax?: string | null;
/**
* Minimum score that can be posted to this leaderboard.
*/
scoreMin?: string | null;
/**
* The type of the leaderboard. Possible values are: - "LARGER_IS_BETTER" - Larger scores posted are ranked higher. - "SMALLER_IS_BETTER" - Smaller scores posted are ranked higher.
*/
scoreOrder?: string | null;
/**
* The token for this resource.
*/
token?: string | null;
}
/**
* This is a JSON template for a leaderboard configuration detail.
*/
export interface Schema$LeaderboardConfigurationDetail {
/**
* The icon url of this leaderboard. Writes to this field are ignored.
*/
iconUrl?: string | null;
/**
* Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
*/
kind?: string | null;
/**
* Localized strings for the leaderboard name.
*/
name?: Schema$LocalizedStringBundle;
/**
* The score formatting for the leaderboard.
*/
scoreFormat?: Schema$GamesNumberFormatConfiguration;
/**
* The sort rank of this leaderboard. Writes to this field are ignored.
*/
sortRank?: number | null;
}
/**
* This is a JSON template for a ListConfigurations response.
*/
export interface Schema$LeaderboardConfigurationListResponse {
/**
* The leaderboard configurations.
*/
items?: Schema$LeaderboardConfiguration[];
/**
* Uniquely identifies the type of this resource. Value is always the fixed string games#leaderboardConfigurationListResponse.
*/
kind?: string | null;
/**
* The pagination token for the next page of results.
*/
nextPageToken?: string | null;
}
/**
* This is a JSON template for a localized string resource.
*/
export interface Schema$LocalizedString {
/**
* Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedString.
*/
kind?: string | null;
/**
* The locale string.
*/
locale?: string | null;
/**
* The string value.
*/
value?: string | null;
}
/**
* This is a JSON template for a localized string bundle resource.
*/
export interface Schema$LocalizedStringBundle {
/**
* Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#localizedStringBundle.
*/
kind?: string | null;
/**
* The locale strings.
*/
translations?: Schema$LocalizedString[];
}
export class Resource$Achievementconfigurations {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* gamesConfiguration.achievementConfigurations.delete
* @desc Delete the achievement configuration with the given ID.
* @alias gamesConfiguration.achievementConfigurations.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.achievementId The ID of the achievement used by this method.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params?: Params$Resource$Achievementconfigurations$Delete, options?: MethodOptions): GaxiosPromise<void>;
delete(params: Params$Resource$Achievementconfigurations$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
delete(params: Params$Resource$Achievementconfigurations$Delete, callback: BodyResponseCallback<void>): void;
delete(callback: BodyResponseCallback<void>): void;
/**
* gamesConfiguration.achievementConfigurations.get
* @desc Retrieves the metadata of the achievement configuration with the given ID.
* @alias gamesConfiguration.achievementConfigurations.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.achievementId The ID of the achievement used by this method.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Achievementconfigurations$Get, options?: MethodOptions): GaxiosPromise<Schema$AchievementConfiguration>;
get(params: Params$Resource$Achievementconfigurations$Get, options: MethodOptions | BodyResponseCallback<Schema$AchievementConfiguration>, callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
get(params: Params$Resource$Achievementconfigurations$Get, callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
get(callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
/**
* gamesConfiguration.achievementConfigurations.insert
* @desc Insert a new achievement configuration in this application.
* @alias gamesConfiguration.achievementConfigurations.insert
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.applicationId The application ID from the Google Play developer console.
* @param {().AchievementConfiguration} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
insert(params?: Params$Resource$Achievementconfigurations$Insert, options?: MethodOptions): GaxiosPromise<Schema$AchievementConfiguration>;
insert(params: Params$Resource$Achievementconfigurations$Insert, options: MethodOptions | BodyResponseCallback<Schema$AchievementConfiguration>, callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
insert(params: Params$Resource$Achievementconfigurations$Insert, callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
insert(callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
/**
* gamesConfiguration.achievementConfigurations.list
* @desc Returns a list of the achievement configurations in this application.
* @alias gamesConfiguration.achievementConfigurations.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.applicationId The application ID from the Google Play developer console.
* @param {integer=} params.maxResults The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified maxResults.
* @param {string=} params.pageToken The token returned by the previous request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Achievementconfigurations$List, options?: MethodOptions): GaxiosPromise<Schema$AchievementConfigurationListResponse>;
list(params: Params$Resource$Achievementconfigurations$List, options: MethodOptions | BodyResponseCallback<Schema$AchievementConfigurationListResponse>, callback: BodyResponseCallback<Schema$AchievementConfigurationListResponse>): void;
list(params: Params$Resource$Achievementconfigurations$List, callback: BodyResponseCallback<Schema$AchievementConfigurationListResponse>): void;
list(callback: BodyResponseCallback<Schema$AchievementConfigurationListResponse>): void;
/**
* gamesConfiguration.achievementConfigurations.patch
* @desc Update the metadata of the achievement configuration with the given ID. This method supports patch semantics.
* @alias gamesConfiguration.achievementConfigurations.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.achievementId The ID of the achievement used by this method.
* @param {().AchievementConfiguration} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params?: Params$Resource$Achievementconfigurations$Patch, options?: MethodOptions): GaxiosPromise<Schema$AchievementConfiguration>;
patch(params: Params$Resource$Achievementconfigurations$Patch, options: MethodOptions | BodyResponseCallback<Schema$AchievementConfiguration>, callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
patch(params: Params$Resource$Achievementconfigurations$Patch, callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
patch(callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
/**
* gamesConfiguration.achievementConfigurations.update
* @desc Update the metadata of the achievement configuration with the given ID.
* @alias gamesConfiguration.achievementConfigurations.update
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.achievementId The ID of the achievement used by this method.
* @param {().AchievementConfiguration} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
update(params?: Params$Resource$Achievementconfigurations$Update, options?: MethodOptions): GaxiosPromise<Schema$AchievementConfiguration>;
update(params: Params$Resource$Achievementconfigurations$Update, options: MethodOptions | BodyResponseCallback<Schema$AchievementConfiguration>, callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
update(params: Params$Resource$Achievementconfigurations$Update, callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
update(callback: BodyResponseCallback<Schema$AchievementConfiguration>): void;
}
export interface Params$Resource$Achievementconfigurations$Delete extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The ID of the achievement used by this method.
*/
achievementId?: string;
}
export interface Params$Resource$Achievementconfigurations$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The ID of the achievement used by this method.
*/
achievementId?: string;
}
export interface Params$Resource$Achievementconfigurations$Insert extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The application ID from the Google Play developer console.
*/
applicationId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$AchievementConfiguration;
}
export interface Params$Resource$Achievementconfigurations$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The application ID from the Google Play developer console.
*/
applicationId?: string;
/**
* The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified maxResults.
*/
maxResults?: number;
/**
* The token returned by the previous request.
*/
pageToken?: string;
}
export interface Params$Resource$Achievementconfigurations$Patch extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The ID of the achievement used by this method.
*/
achievementId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$AchievementConfiguration;
}
export interface Params$Resource$Achievementconfigurations$Update extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The ID of the achievement used by this method.
*/
achievementId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$AchievementConfiguration;
}
export class Resource$Imageconfigurations {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* gamesConfiguration.imageConfigurations.upload
* @desc Uploads an image for a resource with the given ID and image type.
* @alias gamesConfiguration.imageConfigurations.upload
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.imageType Selects which image in a resource for this method.
* @param {string} params.resourceId The ID of the resource used by this method.
* @param {object} params.media Media object
* @param {string} params.media.mimeType Media mime-type
* @param {string|object} params.media.body Media body contents
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
upload(params?: Params$Resource$Imageconfigurations$Upload, options?: MethodOptions): GaxiosPromise<Schema$ImageConfiguration>;
upload(params: Params$Resource$Imageconfigurations$Upload, options: MethodOptions | BodyResponseCallback<Schema$ImageConfiguration>, callback: BodyResponseCallback<Schema$ImageConfiguration>): void;
upload(params: Params$Resource$Imageconfigurations$Upload, callback: BodyResponseCallback<Schema$ImageConfiguration>): void;
upload(callback: BodyResponseCallback<Schema$ImageConfiguration>): void;
}
export interface Params$Resource$Imageconfigurations$Upload extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* Selects which image in a resource for this method.
*/
imageType?: string;
/**
* The ID of the resource used by this method.
*/
resourceId?: string;
/**
* Media metadata
*/
media?: {
/**
* Media mime-type
*/
mimeType?: string;
/**
* Media body contents
*/
body?: any;
};
}
export class Resource$Leaderboardconfigurations {
context: APIRequestContext;
constructor(context: APIRequestContext);
/**
* gamesConfiguration.leaderboardConfigurations.delete
* @desc Delete the leaderboard configuration with the given ID.
* @alias gamesConfiguration.leaderboardConfigurations.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.leaderboardId The ID of the leaderboard.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params?: Params$Resource$Leaderboardconfigurations$Delete, options?: MethodOptions): GaxiosPromise<void>;
delete(params: Params$Resource$Leaderboardconfigurations$Delete, options: MethodOptions | BodyResponseCallback<void>, callback: BodyResponseCallback<void>): void;
delete(params: Params$Resource$Leaderboardconfigurations$Delete, callback: BodyResponseCallback<void>): void;
delete(callback: BodyResponseCallback<void>): void;
/**
* gamesConfiguration.leaderboardConfigurations.get
* @desc Retrieves the metadata of the leaderboard configuration with the given ID.
* @alias gamesConfiguration.leaderboardConfigurations.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.leaderboardId The ID of the leaderboard.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params?: Params$Resource$Leaderboardconfigurations$Get, options?: MethodOptions): GaxiosPromise<Schema$LeaderboardConfiguration>;
get(params: Params$Resource$Leaderboardconfigurations$Get, options: MethodOptions | BodyResponseCallback<Schema$LeaderboardConfiguration>, callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
get(params: Params$Resource$Leaderboardconfigurations$Get, callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
get(callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
/**
* gamesConfiguration.leaderboardConfigurations.insert
* @desc Insert a new leaderboard configuration in this application.
* @alias gamesConfiguration.leaderboardConfigurations.insert
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.applicationId The application ID from the Google Play developer console.
* @param {().LeaderboardConfiguration} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
insert(params?: Params$Resource$Leaderboardconfigurations$Insert, options?: MethodOptions): GaxiosPromise<Schema$LeaderboardConfiguration>;
insert(params: Params$Resource$Leaderboardconfigurations$Insert, options: MethodOptions | BodyResponseCallback<Schema$LeaderboardConfiguration>, callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
insert(params: Params$Resource$Leaderboardconfigurations$Insert, callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
insert(callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
/**
* gamesConfiguration.leaderboardConfigurations.list
* @desc Returns a list of the leaderboard configurations in this application.
* @alias gamesConfiguration.leaderboardConfigurations.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.applicationId The application ID from the Google Play developer console.
* @param {integer=} params.maxResults The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified maxResults.
* @param {string=} params.pageToken The token returned by the previous request.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params?: Params$Resource$Leaderboardconfigurations$List, options?: MethodOptions): GaxiosPromise<Schema$LeaderboardConfigurationListResponse>;
list(params: Params$Resource$Leaderboardconfigurations$List, options: MethodOptions | BodyResponseCallback<Schema$LeaderboardConfigurationListResponse>, callback: BodyResponseCallback<Schema$LeaderboardConfigurationListResponse>): void;
list(params: Params$Resource$Leaderboardconfigurations$List, callback: BodyResponseCallback<Schema$LeaderboardConfigurationListResponse>): void;
list(callback: BodyResponseCallback<Schema$LeaderboardConfigurationListResponse>): void;
/**
* gamesConfiguration.leaderboardConfigurations.patch
* @desc Update the metadata of the leaderboard configuration with the given ID. This method supports patch semantics.
* @alias gamesConfiguration.leaderboardConfigurations.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.leaderboardId The ID of the leaderboard.
* @param {().LeaderboardConfiguration} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params?: Params$Resource$Leaderboardconfigurations$Patch, options?: MethodOptions): GaxiosPromise<Schema$LeaderboardConfiguration>;
patch(params: Params$Resource$Leaderboardconfigurations$Patch, options: MethodOptions | BodyResponseCallback<Schema$LeaderboardConfiguration>, callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
patch(params: Params$Resource$Leaderboardconfigurations$Patch, callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
patch(callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
/**
* gamesConfiguration.leaderboardConfigurations.update
* @desc Update the metadata of the leaderboard configuration with the given ID.
* @alias gamesConfiguration.leaderboardConfigurations.update
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.leaderboardId The ID of the leaderboard.
* @param {().LeaderboardConfiguration} params.resource Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
update(params?: Params$Resource$Leaderboardconfigurations$Update, options?: MethodOptions): GaxiosPromise<Schema$LeaderboardConfiguration>;
update(params: Params$Resource$Leaderboardconfigurations$Update, options: MethodOptions | BodyResponseCallback<Schema$LeaderboardConfiguration>, callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
update(params: Params$Resource$Leaderboardconfigurations$Update, callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
update(callback: BodyResponseCallback<Schema$LeaderboardConfiguration>): void;
}
export interface Params$Resource$Leaderboardconfigurations$Delete extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The ID of the leaderboard.
*/
leaderboardId?: string;
}
export interface Params$Resource$Leaderboardconfigurations$Get extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The ID of the leaderboard.
*/
leaderboardId?: string;
}
export interface Params$Resource$Leaderboardconfigurations$Insert extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The application ID from the Google Play developer console.
*/
applicationId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$LeaderboardConfiguration;
}
export interface Params$Resource$Leaderboardconfigurations$List extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The application ID from the Google Play developer console.
*/
applicationId?: string;
/**
* The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified maxResults.
*/
maxResults?: number;
/**
* The token returned by the previous request.
*/
pageToken?: string;
}
export interface Params$Resource$Leaderboardconfigurations$Patch extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The ID of the leaderboard.
*/
leaderboardId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$LeaderboardConfiguration;
}
export interface Params$Resource$Leaderboardconfigurations$Update extends StandardParameters {
/**
* Auth client or API Key for the request
*/
auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient;
/**
* The ID of the leaderboard.
*/
leaderboardId?: string;
/**
* Request body metadata
*/
requestBody?: Schema$LeaderboardConfiguration;
}
export {};
}