google-apis-games_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module GamesV1
18
+ # Version of the google-apis-games_v1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201203"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1199 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module GamesV1
24
+
25
+ class AchievementDefinition
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class ListAchievementDefinitionsResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AchievementIncrementResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AchievementRevealResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AchievementSetStepsAtLeastResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AchievementUnlockResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AchievementUpdateMultipleRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class AchievementUpdateMultipleResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class UpdateAchievementRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class UpdateAchievementResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Application
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ApplicationCategory
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ApplicationVerifyResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Category
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListCategoryResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class EndPoint
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class EventBatchRecordFailure
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class EventChild
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class EventDefinition
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListEventDefinitionResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class EventPeriodRange
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class EventPeriodUpdate
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class EventRecordFailure
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class EventRecordRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class UpdateEventRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class UpdateEventResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GamesAchievementIncrement
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GamesAchievementSetStepsAtLeast
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ImageAsset
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Instance
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class InstanceAndroidDetails
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class InstanceIosDetails
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class InstanceWebDetails
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Leaderboard
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class LeaderboardEntry
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class ListLeaderboardResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class LeaderboardScoreRank
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class LeaderboardScores
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class MetagameConfig
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Player
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ class Name
263
+ class Representation < Google::Apis::Core::JsonRepresentation; end
264
+
265
+ include Google::Apis::Core::JsonObjectSupport
266
+ end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class PlayerAchievement
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ListPlayerAchievementResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class PlayerEvent
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ListPlayerEventResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class PlayerExperienceInfo
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class PlayerLeaderboardScore
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class ListPlayerLeaderboardScoreResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class PlayerLevel
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ListPlayerResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class PlayerScore
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class ListPlayerScoreResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class PlayerScoreResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class PlayerScoreSubmissionList
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class ProfileSettings
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class ResolveSnapshotHeadRequest
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class ResolveSnapshotHeadResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class CheckRevisionResponse
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class ScoreSubmission
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class Snapshot
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class SnapshotCoverImageResource
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class SnapshotDataResource
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class SnapshotExtended
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class SnapshotImage
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class ListSnapshotResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class SnapshotMetadata
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class SnapshotRevision
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class StatsResponse
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class AchievementDefinition
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :achievement_type, as: 'achievementType'
437
+ property :description, as: 'description'
438
+ property :experience_points, :numeric_string => true, as: 'experiencePoints'
439
+ property :formatted_total_steps, as: 'formattedTotalSteps'
440
+ property :id, as: 'id'
441
+ property :initial_state, as: 'initialState'
442
+ property :is_revealed_icon_url_default, as: 'isRevealedIconUrlDefault'
443
+ property :is_unlocked_icon_url_default, as: 'isUnlockedIconUrlDefault'
444
+ property :kind, as: 'kind'
445
+ property :name, as: 'name'
446
+ property :revealed_icon_url, as: 'revealedIconUrl'
447
+ property :total_steps, as: 'totalSteps'
448
+ property :unlocked_icon_url, as: 'unlockedIconUrl'
449
+ end
450
+ end
451
+
452
+ class ListAchievementDefinitionsResponse
453
+ # @private
454
+ class Representation < Google::Apis::Core::JsonRepresentation
455
+ collection :items, as: 'items', class: Google::Apis::GamesV1::AchievementDefinition, decorator: Google::Apis::GamesV1::AchievementDefinition::Representation
456
+
457
+ property :kind, as: 'kind'
458
+ property :next_page_token, as: 'nextPageToken'
459
+ end
460
+ end
461
+
462
+ class AchievementIncrementResponse
463
+ # @private
464
+ class Representation < Google::Apis::Core::JsonRepresentation
465
+ property :current_steps, as: 'currentSteps'
466
+ property :kind, as: 'kind'
467
+ property :newly_unlocked, as: 'newlyUnlocked'
468
+ end
469
+ end
470
+
471
+ class AchievementRevealResponse
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :current_state, as: 'currentState'
475
+ property :kind, as: 'kind'
476
+ end
477
+ end
478
+
479
+ class AchievementSetStepsAtLeastResponse
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ property :current_steps, as: 'currentSteps'
483
+ property :kind, as: 'kind'
484
+ property :newly_unlocked, as: 'newlyUnlocked'
485
+ end
486
+ end
487
+
488
+ class AchievementUnlockResponse
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ property :kind, as: 'kind'
492
+ property :newly_unlocked, as: 'newlyUnlocked'
493
+ end
494
+ end
495
+
496
+ class AchievementUpdateMultipleRequest
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :kind, as: 'kind'
500
+ collection :updates, as: 'updates', class: Google::Apis::GamesV1::UpdateAchievementRequest, decorator: Google::Apis::GamesV1::UpdateAchievementRequest::Representation
501
+
502
+ end
503
+ end
504
+
505
+ class AchievementUpdateMultipleResponse
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ property :kind, as: 'kind'
509
+ collection :updated_achievements, as: 'updatedAchievements', class: Google::Apis::GamesV1::UpdateAchievementResponse, decorator: Google::Apis::GamesV1::UpdateAchievementResponse::Representation
510
+
511
+ end
512
+ end
513
+
514
+ class UpdateAchievementRequest
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :achievement_id, as: 'achievementId'
518
+ property :increment_payload, as: 'incrementPayload', class: Google::Apis::GamesV1::GamesAchievementIncrement, decorator: Google::Apis::GamesV1::GamesAchievementIncrement::Representation
519
+
520
+ property :kind, as: 'kind'
521
+ property :set_steps_at_least_payload, as: 'setStepsAtLeastPayload', class: Google::Apis::GamesV1::GamesAchievementSetStepsAtLeast, decorator: Google::Apis::GamesV1::GamesAchievementSetStepsAtLeast::Representation
522
+
523
+ property :update_type, as: 'updateType'
524
+ end
525
+ end
526
+
527
+ class UpdateAchievementResponse
528
+ # @private
529
+ class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :achievement_id, as: 'achievementId'
531
+ property :current_state, as: 'currentState'
532
+ property :current_steps, as: 'currentSteps'
533
+ property :kind, as: 'kind'
534
+ property :newly_unlocked, as: 'newlyUnlocked'
535
+ property :update_occurred, as: 'updateOccurred'
536
+ end
537
+ end
538
+
539
+ class Application
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ property :achievement_count, as: 'achievement_count'
543
+ collection :assets, as: 'assets', class: Google::Apis::GamesV1::ImageAsset, decorator: Google::Apis::GamesV1::ImageAsset::Representation
544
+
545
+ property :author, as: 'author'
546
+ property :category, as: 'category', class: Google::Apis::GamesV1::ApplicationCategory, decorator: Google::Apis::GamesV1::ApplicationCategory::Representation
547
+
548
+ property :description, as: 'description'
549
+ collection :enabled_features, as: 'enabledFeatures'
550
+ property :id, as: 'id'
551
+ collection :instances, as: 'instances', class: Google::Apis::GamesV1::Instance, decorator: Google::Apis::GamesV1::Instance::Representation
552
+
553
+ property :kind, as: 'kind'
554
+ property :last_updated_timestamp, :numeric_string => true, as: 'lastUpdatedTimestamp'
555
+ property :leaderboard_count, as: 'leaderboard_count'
556
+ property :name, as: 'name'
557
+ property :theme_color, as: 'themeColor'
558
+ end
559
+ end
560
+
561
+ class ApplicationCategory
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :kind, as: 'kind'
565
+ property :primary, as: 'primary'
566
+ property :secondary, as: 'secondary'
567
+ end
568
+ end
569
+
570
+ class ApplicationVerifyResponse
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :alternate_player_id, as: 'alternate_player_id'
574
+ property :kind, as: 'kind'
575
+ property :player_id, as: 'player_id'
576
+ end
577
+ end
578
+
579
+ class Category
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :category, as: 'category'
583
+ property :experience_points, :numeric_string => true, as: 'experiencePoints'
584
+ property :kind, as: 'kind'
585
+ end
586
+ end
587
+
588
+ class ListCategoryResponse
589
+ # @private
590
+ class Representation < Google::Apis::Core::JsonRepresentation
591
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Category, decorator: Google::Apis::GamesV1::Category::Representation
592
+
593
+ property :kind, as: 'kind'
594
+ property :next_page_token, as: 'nextPageToken'
595
+ end
596
+ end
597
+
598
+ class EndPoint
599
+ # @private
600
+ class Representation < Google::Apis::Core::JsonRepresentation
601
+ property :url, as: 'url'
602
+ end
603
+ end
604
+
605
+ class EventBatchRecordFailure
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :failure_cause, as: 'failureCause'
609
+ property :kind, as: 'kind'
610
+ property :range, as: 'range', class: Google::Apis::GamesV1::EventPeriodRange, decorator: Google::Apis::GamesV1::EventPeriodRange::Representation
611
+
612
+ end
613
+ end
614
+
615
+ class EventChild
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ property :child_id, as: 'childId'
619
+ property :kind, as: 'kind'
620
+ end
621
+ end
622
+
623
+ class EventDefinition
624
+ # @private
625
+ class Representation < Google::Apis::Core::JsonRepresentation
626
+ collection :child_events, as: 'childEvents', class: Google::Apis::GamesV1::EventChild, decorator: Google::Apis::GamesV1::EventChild::Representation
627
+
628
+ property :description, as: 'description'
629
+ property :display_name, as: 'displayName'
630
+ property :id, as: 'id'
631
+ property :image_url, as: 'imageUrl'
632
+ property :is_default_image_url, as: 'isDefaultImageUrl'
633
+ property :kind, as: 'kind'
634
+ property :visibility, as: 'visibility'
635
+ end
636
+ end
637
+
638
+ class ListEventDefinitionResponse
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ collection :items, as: 'items', class: Google::Apis::GamesV1::EventDefinition, decorator: Google::Apis::GamesV1::EventDefinition::Representation
642
+
643
+ property :kind, as: 'kind'
644
+ property :next_page_token, as: 'nextPageToken'
645
+ end
646
+ end
647
+
648
+ class EventPeriodRange
649
+ # @private
650
+ class Representation < Google::Apis::Core::JsonRepresentation
651
+ property :kind, as: 'kind'
652
+ property :period_end_millis, :numeric_string => true, as: 'periodEndMillis'
653
+ property :period_start_millis, :numeric_string => true, as: 'periodStartMillis'
654
+ end
655
+ end
656
+
657
+ class EventPeriodUpdate
658
+ # @private
659
+ class Representation < Google::Apis::Core::JsonRepresentation
660
+ property :kind, as: 'kind'
661
+ property :time_period, as: 'timePeriod', class: Google::Apis::GamesV1::EventPeriodRange, decorator: Google::Apis::GamesV1::EventPeriodRange::Representation
662
+
663
+ collection :updates, as: 'updates', class: Google::Apis::GamesV1::UpdateEventRequest, decorator: Google::Apis::GamesV1::UpdateEventRequest::Representation
664
+
665
+ end
666
+ end
667
+
668
+ class EventRecordFailure
669
+ # @private
670
+ class Representation < Google::Apis::Core::JsonRepresentation
671
+ property :event_id, as: 'eventId'
672
+ property :failure_cause, as: 'failureCause'
673
+ property :kind, as: 'kind'
674
+ end
675
+ end
676
+
677
+ class EventRecordRequest
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :current_time_millis, :numeric_string => true, as: 'currentTimeMillis'
681
+ property :kind, as: 'kind'
682
+ property :request_id, :numeric_string => true, as: 'requestId'
683
+ collection :time_periods, as: 'timePeriods', class: Google::Apis::GamesV1::EventPeriodUpdate, decorator: Google::Apis::GamesV1::EventPeriodUpdate::Representation
684
+
685
+ end
686
+ end
687
+
688
+ class UpdateEventRequest
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :definition_id, as: 'definitionId'
692
+ property :kind, as: 'kind'
693
+ property :update_count, :numeric_string => true, as: 'updateCount'
694
+ end
695
+ end
696
+
697
+ class UpdateEventResponse
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ collection :batch_failures, as: 'batchFailures', class: Google::Apis::GamesV1::EventBatchRecordFailure, decorator: Google::Apis::GamesV1::EventBatchRecordFailure::Representation
701
+
702
+ collection :event_failures, as: 'eventFailures', class: Google::Apis::GamesV1::EventRecordFailure, decorator: Google::Apis::GamesV1::EventRecordFailure::Representation
703
+
704
+ property :kind, as: 'kind'
705
+ collection :player_events, as: 'playerEvents', class: Google::Apis::GamesV1::PlayerEvent, decorator: Google::Apis::GamesV1::PlayerEvent::Representation
706
+
707
+ end
708
+ end
709
+
710
+ class GamesAchievementIncrement
711
+ # @private
712
+ class Representation < Google::Apis::Core::JsonRepresentation
713
+ property :kind, as: 'kind'
714
+ property :request_id, :numeric_string => true, as: 'requestId'
715
+ property :steps, as: 'steps'
716
+ end
717
+ end
718
+
719
+ class GamesAchievementSetStepsAtLeast
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :kind, as: 'kind'
723
+ property :steps, as: 'steps'
724
+ end
725
+ end
726
+
727
+ class ImageAsset
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :height, as: 'height'
731
+ property :kind, as: 'kind'
732
+ property :name, as: 'name'
733
+ property :url, as: 'url'
734
+ property :width, as: 'width'
735
+ end
736
+ end
737
+
738
+ class Instance
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :acquisition_uri, as: 'acquisitionUri'
742
+ property :android_instance, as: 'androidInstance', class: Google::Apis::GamesV1::InstanceAndroidDetails, decorator: Google::Apis::GamesV1::InstanceAndroidDetails::Representation
743
+
744
+ property :ios_instance, as: 'iosInstance', class: Google::Apis::GamesV1::InstanceIosDetails, decorator: Google::Apis::GamesV1::InstanceIosDetails::Representation
745
+
746
+ property :kind, as: 'kind'
747
+ property :name, as: 'name'
748
+ property :platform_type, as: 'platformType'
749
+ property :realtime_play, as: 'realtimePlay'
750
+ property :turn_based_play, as: 'turnBasedPlay'
751
+ property :web_instance, as: 'webInstance', class: Google::Apis::GamesV1::InstanceWebDetails, decorator: Google::Apis::GamesV1::InstanceWebDetails::Representation
752
+
753
+ end
754
+ end
755
+
756
+ class InstanceAndroidDetails
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ property :enable_piracy_check, as: 'enablePiracyCheck'
760
+ property :kind, as: 'kind'
761
+ property :package_name, as: 'packageName'
762
+ property :preferred, as: 'preferred'
763
+ end
764
+ end
765
+
766
+ class InstanceIosDetails
767
+ # @private
768
+ class Representation < Google::Apis::Core::JsonRepresentation
769
+ property :bundle_identifier, as: 'bundleIdentifier'
770
+ property :itunes_app_id, as: 'itunesAppId'
771
+ property :kind, as: 'kind'
772
+ property :preferred_for_ipad, as: 'preferredForIpad'
773
+ property :preferred_for_iphone, as: 'preferredForIphone'
774
+ property :support_ipad, as: 'supportIpad'
775
+ property :support_iphone, as: 'supportIphone'
776
+ end
777
+ end
778
+
779
+ class InstanceWebDetails
780
+ # @private
781
+ class Representation < Google::Apis::Core::JsonRepresentation
782
+ property :kind, as: 'kind'
783
+ property :launch_url, as: 'launchUrl'
784
+ property :preferred, as: 'preferred'
785
+ end
786
+ end
787
+
788
+ class Leaderboard
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :icon_url, as: 'iconUrl'
792
+ property :id, as: 'id'
793
+ property :is_icon_url_default, as: 'isIconUrlDefault'
794
+ property :kind, as: 'kind'
795
+ property :name, as: 'name'
796
+ property :order, as: 'order'
797
+ end
798
+ end
799
+
800
+ class LeaderboardEntry
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ property :formatted_score, as: 'formattedScore'
804
+ property :formatted_score_rank, as: 'formattedScoreRank'
805
+ property :kind, as: 'kind'
806
+ property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
807
+
808
+ property :score_rank, :numeric_string => true, as: 'scoreRank'
809
+ property :score_tag, as: 'scoreTag'
810
+ property :score_value, :numeric_string => true, as: 'scoreValue'
811
+ property :time_span, as: 'timeSpan'
812
+ property :write_timestamp_millis, :numeric_string => true, as: 'writeTimestampMillis'
813
+ end
814
+ end
815
+
816
+ class ListLeaderboardResponse
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Leaderboard, decorator: Google::Apis::GamesV1::Leaderboard::Representation
820
+
821
+ property :kind, as: 'kind'
822
+ property :next_page_token, as: 'nextPageToken'
823
+ end
824
+ end
825
+
826
+ class LeaderboardScoreRank
827
+ # @private
828
+ class Representation < Google::Apis::Core::JsonRepresentation
829
+ property :formatted_num_scores, as: 'formattedNumScores'
830
+ property :formatted_rank, as: 'formattedRank'
831
+ property :kind, as: 'kind'
832
+ property :num_scores, :numeric_string => true, as: 'numScores'
833
+ property :rank, :numeric_string => true, as: 'rank'
834
+ end
835
+ end
836
+
837
+ class LeaderboardScores
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ collection :items, as: 'items', class: Google::Apis::GamesV1::LeaderboardEntry, decorator: Google::Apis::GamesV1::LeaderboardEntry::Representation
841
+
842
+ property :kind, as: 'kind'
843
+ property :next_page_token, as: 'nextPageToken'
844
+ property :num_scores, :numeric_string => true, as: 'numScores'
845
+ property :player_score, as: 'playerScore', class: Google::Apis::GamesV1::LeaderboardEntry, decorator: Google::Apis::GamesV1::LeaderboardEntry::Representation
846
+
847
+ property :prev_page_token, as: 'prevPageToken'
848
+ end
849
+ end
850
+
851
+ class MetagameConfig
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :current_version, as: 'currentVersion'
855
+ property :kind, as: 'kind'
856
+ collection :player_levels, as: 'playerLevels', class: Google::Apis::GamesV1::PlayerLevel, decorator: Google::Apis::GamesV1::PlayerLevel::Representation
857
+
858
+ end
859
+ end
860
+
861
+ class Player
862
+ # @private
863
+ class Representation < Google::Apis::Core::JsonRepresentation
864
+ property :avatar_image_url, as: 'avatarImageUrl'
865
+ property :banner_url_landscape, as: 'bannerUrlLandscape'
866
+ property :banner_url_portrait, as: 'bannerUrlPortrait'
867
+ property :display_name, as: 'displayName'
868
+ property :experience_info, as: 'experienceInfo', class: Google::Apis::GamesV1::PlayerExperienceInfo, decorator: Google::Apis::GamesV1::PlayerExperienceInfo::Representation
869
+
870
+ property :friend_status, as: 'friendStatus'
871
+ property :kind, as: 'kind'
872
+ property :name, as: 'name', class: Google::Apis::GamesV1::Player::Name, decorator: Google::Apis::GamesV1::Player::Name::Representation
873
+
874
+ property :original_player_id, as: 'originalPlayerId'
875
+ property :player_id, as: 'playerId'
876
+ property :profile_settings, as: 'profileSettings', class: Google::Apis::GamesV1::ProfileSettings, decorator: Google::Apis::GamesV1::ProfileSettings::Representation
877
+
878
+ property :title, as: 'title'
879
+ end
880
+
881
+ class Name
882
+ # @private
883
+ class Representation < Google::Apis::Core::JsonRepresentation
884
+ property :family_name, as: 'familyName'
885
+ property :given_name, as: 'givenName'
886
+ end
887
+ end
888
+ end
889
+
890
+ class PlayerAchievement
891
+ # @private
892
+ class Representation < Google::Apis::Core::JsonRepresentation
893
+ property :achievement_state, as: 'achievementState'
894
+ property :current_steps, as: 'currentSteps'
895
+ property :experience_points, :numeric_string => true, as: 'experiencePoints'
896
+ property :formatted_current_steps_string, as: 'formattedCurrentStepsString'
897
+ property :id, as: 'id'
898
+ property :kind, as: 'kind'
899
+ property :last_updated_timestamp, :numeric_string => true, as: 'lastUpdatedTimestamp'
900
+ end
901
+ end
902
+
903
+ class ListPlayerAchievementResponse
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ collection :items, as: 'items', class: Google::Apis::GamesV1::PlayerAchievement, decorator: Google::Apis::GamesV1::PlayerAchievement::Representation
907
+
908
+ property :kind, as: 'kind'
909
+ property :next_page_token, as: 'nextPageToken'
910
+ end
911
+ end
912
+
913
+ class PlayerEvent
914
+ # @private
915
+ class Representation < Google::Apis::Core::JsonRepresentation
916
+ property :definition_id, as: 'definitionId'
917
+ property :formatted_num_events, as: 'formattedNumEvents'
918
+ property :kind, as: 'kind'
919
+ property :num_events, :numeric_string => true, as: 'numEvents'
920
+ property :player_id, as: 'playerId'
921
+ end
922
+ end
923
+
924
+ class ListPlayerEventResponse
925
+ # @private
926
+ class Representation < Google::Apis::Core::JsonRepresentation
927
+ collection :items, as: 'items', class: Google::Apis::GamesV1::PlayerEvent, decorator: Google::Apis::GamesV1::PlayerEvent::Representation
928
+
929
+ property :kind, as: 'kind'
930
+ property :next_page_token, as: 'nextPageToken'
931
+ end
932
+ end
933
+
934
+ class PlayerExperienceInfo
935
+ # @private
936
+ class Representation < Google::Apis::Core::JsonRepresentation
937
+ property :current_experience_points, :numeric_string => true, as: 'currentExperiencePoints'
938
+ property :current_level, as: 'currentLevel', class: Google::Apis::GamesV1::PlayerLevel, decorator: Google::Apis::GamesV1::PlayerLevel::Representation
939
+
940
+ property :kind, as: 'kind'
941
+ property :last_level_up_timestamp_millis, :numeric_string => true, as: 'lastLevelUpTimestampMillis'
942
+ property :next_level, as: 'nextLevel', class: Google::Apis::GamesV1::PlayerLevel, decorator: Google::Apis::GamesV1::PlayerLevel::Representation
943
+
944
+ end
945
+ end
946
+
947
+ class PlayerLeaderboardScore
948
+ # @private
949
+ class Representation < Google::Apis::Core::JsonRepresentation
950
+ property :friends_rank, as: 'friendsRank', class: Google::Apis::GamesV1::LeaderboardScoreRank, decorator: Google::Apis::GamesV1::LeaderboardScoreRank::Representation
951
+
952
+ property :kind, as: 'kind'
953
+ property :leaderboard_id, as: 'leaderboard_id'
954
+ property :public_rank, as: 'publicRank', class: Google::Apis::GamesV1::LeaderboardScoreRank, decorator: Google::Apis::GamesV1::LeaderboardScoreRank::Representation
955
+
956
+ property :score_string, as: 'scoreString'
957
+ property :score_tag, as: 'scoreTag'
958
+ property :score_value, :numeric_string => true, as: 'scoreValue'
959
+ property :social_rank, as: 'socialRank', class: Google::Apis::GamesV1::LeaderboardScoreRank, decorator: Google::Apis::GamesV1::LeaderboardScoreRank::Representation
960
+
961
+ property :time_span, as: 'timeSpan'
962
+ property :write_timestamp, :numeric_string => true, as: 'writeTimestamp'
963
+ end
964
+ end
965
+
966
+ class ListPlayerLeaderboardScoreResponse
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ collection :items, as: 'items', class: Google::Apis::GamesV1::PlayerLeaderboardScore, decorator: Google::Apis::GamesV1::PlayerLeaderboardScore::Representation
970
+
971
+ property :kind, as: 'kind'
972
+ property :next_page_token, as: 'nextPageToken'
973
+ property :player, as: 'player', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
974
+
975
+ end
976
+ end
977
+
978
+ class PlayerLevel
979
+ # @private
980
+ class Representation < Google::Apis::Core::JsonRepresentation
981
+ property :kind, as: 'kind'
982
+ property :level, as: 'level'
983
+ property :max_experience_points, :numeric_string => true, as: 'maxExperiencePoints'
984
+ property :min_experience_points, :numeric_string => true, as: 'minExperiencePoints'
985
+ end
986
+ end
987
+
988
+ class ListPlayerResponse
989
+ # @private
990
+ class Representation < Google::Apis::Core::JsonRepresentation
991
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Player, decorator: Google::Apis::GamesV1::Player::Representation
992
+
993
+ property :kind, as: 'kind'
994
+ property :next_page_token, as: 'nextPageToken'
995
+ end
996
+ end
997
+
998
+ class PlayerScore
999
+ # @private
1000
+ class Representation < Google::Apis::Core::JsonRepresentation
1001
+ property :formatted_score, as: 'formattedScore'
1002
+ property :kind, as: 'kind'
1003
+ property :score, :numeric_string => true, as: 'score'
1004
+ property :score_tag, as: 'scoreTag'
1005
+ property :time_span, as: 'timeSpan'
1006
+ end
1007
+ end
1008
+
1009
+ class ListPlayerScoreResponse
1010
+ # @private
1011
+ class Representation < Google::Apis::Core::JsonRepresentation
1012
+ property :kind, as: 'kind'
1013
+ collection :submitted_scores, as: 'submittedScores', class: Google::Apis::GamesV1::PlayerScoreResponse, decorator: Google::Apis::GamesV1::PlayerScoreResponse::Representation
1014
+
1015
+ end
1016
+ end
1017
+
1018
+ class PlayerScoreResponse
1019
+ # @private
1020
+ class Representation < Google::Apis::Core::JsonRepresentation
1021
+ collection :beaten_score_time_spans, as: 'beatenScoreTimeSpans'
1022
+ property :formatted_score, as: 'formattedScore'
1023
+ property :kind, as: 'kind'
1024
+ property :leaderboard_id, as: 'leaderboardId'
1025
+ property :score_tag, as: 'scoreTag'
1026
+ collection :unbeaten_scores, as: 'unbeatenScores', class: Google::Apis::GamesV1::PlayerScore, decorator: Google::Apis::GamesV1::PlayerScore::Representation
1027
+
1028
+ end
1029
+ end
1030
+
1031
+ class PlayerScoreSubmissionList
1032
+ # @private
1033
+ class Representation < Google::Apis::Core::JsonRepresentation
1034
+ property :kind, as: 'kind'
1035
+ collection :scores, as: 'scores', class: Google::Apis::GamesV1::ScoreSubmission, decorator: Google::Apis::GamesV1::ScoreSubmission::Representation
1036
+
1037
+ end
1038
+ end
1039
+
1040
+ class ProfileSettings
1041
+ # @private
1042
+ class Representation < Google::Apis::Core::JsonRepresentation
1043
+ property :friends_list_visibility, as: 'friendsListVisibility'
1044
+ property :kind, as: 'kind'
1045
+ property :profile_visible, as: 'profileVisible'
1046
+ end
1047
+ end
1048
+
1049
+ class ResolveSnapshotHeadRequest
1050
+ # @private
1051
+ class Representation < Google::Apis::Core::JsonRepresentation
1052
+ property :resolution_policy, as: 'resolutionPolicy'
1053
+ end
1054
+ end
1055
+
1056
+ class ResolveSnapshotHeadResponse
1057
+ # @private
1058
+ class Representation < Google::Apis::Core::JsonRepresentation
1059
+ property :snapshot, as: 'snapshot', class: Google::Apis::GamesV1::SnapshotExtended, decorator: Google::Apis::GamesV1::SnapshotExtended::Representation
1060
+
1061
+ end
1062
+ end
1063
+
1064
+ class CheckRevisionResponse
1065
+ # @private
1066
+ class Representation < Google::Apis::Core::JsonRepresentation
1067
+ property :api_version, as: 'apiVersion'
1068
+ property :kind, as: 'kind'
1069
+ property :revision_status, as: 'revisionStatus'
1070
+ end
1071
+ end
1072
+
1073
+ class ScoreSubmission
1074
+ # @private
1075
+ class Representation < Google::Apis::Core::JsonRepresentation
1076
+ property :kind, as: 'kind'
1077
+ property :leaderboard_id, as: 'leaderboardId'
1078
+ property :score, :numeric_string => true, as: 'score'
1079
+ property :score_tag, as: 'scoreTag'
1080
+ property :signature, as: 'signature'
1081
+ end
1082
+ end
1083
+
1084
+ class Snapshot
1085
+ # @private
1086
+ class Representation < Google::Apis::Core::JsonRepresentation
1087
+ property :cover_image, as: 'coverImage', class: Google::Apis::GamesV1::SnapshotImage, decorator: Google::Apis::GamesV1::SnapshotImage::Representation
1088
+
1089
+ property :description, as: 'description'
1090
+ property :drive_id, as: 'driveId'
1091
+ property :duration_millis, :numeric_string => true, as: 'durationMillis'
1092
+ property :id, as: 'id'
1093
+ property :kind, as: 'kind'
1094
+ property :last_modified_millis, :numeric_string => true, as: 'lastModifiedMillis'
1095
+ property :progress_value, :numeric_string => true, as: 'progressValue'
1096
+ property :title, as: 'title'
1097
+ property :type, as: 'type'
1098
+ property :unique_name, as: 'uniqueName'
1099
+ end
1100
+ end
1101
+
1102
+ class SnapshotCoverImageResource
1103
+ # @private
1104
+ class Representation < Google::Apis::Core::JsonRepresentation
1105
+ property :content_hash, as: 'contentHash'
1106
+ property :download_url, as: 'downloadUrl'
1107
+ property :height, as: 'height'
1108
+ property :mime_type, as: 'mimeType'
1109
+ property :resource_id, as: 'resourceId'
1110
+ property :width, as: 'width'
1111
+ end
1112
+ end
1113
+
1114
+ class SnapshotDataResource
1115
+ # @private
1116
+ class Representation < Google::Apis::Core::JsonRepresentation
1117
+ property :content_hash, as: 'contentHash'
1118
+ property :download_url, as: 'downloadUrl'
1119
+ property :resource_id, as: 'resourceId'
1120
+ property :size, :numeric_string => true, as: 'size'
1121
+ end
1122
+ end
1123
+
1124
+ class SnapshotExtended
1125
+ # @private
1126
+ class Representation < Google::Apis::Core::JsonRepresentation
1127
+ collection :conflicting_revisions, as: 'conflictingRevisions', class: Google::Apis::GamesV1::SnapshotRevision, decorator: Google::Apis::GamesV1::SnapshotRevision::Representation
1128
+
1129
+ property :has_conflicting_revisions, as: 'hasConflictingRevisions'
1130
+ property :head_revision, as: 'headRevision', class: Google::Apis::GamesV1::SnapshotRevision, decorator: Google::Apis::GamesV1::SnapshotRevision::Representation
1131
+
1132
+ property :snapshot_name, as: 'snapshotName'
1133
+ end
1134
+ end
1135
+
1136
+ class SnapshotImage
1137
+ # @private
1138
+ class Representation < Google::Apis::Core::JsonRepresentation
1139
+ property :height, as: 'height'
1140
+ property :kind, as: 'kind'
1141
+ property :mime_type, as: 'mime_type'
1142
+ property :url, as: 'url'
1143
+ property :width, as: 'width'
1144
+ end
1145
+ end
1146
+
1147
+ class ListSnapshotResponse
1148
+ # @private
1149
+ class Representation < Google::Apis::Core::JsonRepresentation
1150
+ collection :items, as: 'items', class: Google::Apis::GamesV1::Snapshot, decorator: Google::Apis::GamesV1::Snapshot::Representation
1151
+
1152
+ property :kind, as: 'kind'
1153
+ property :next_page_token, as: 'nextPageToken'
1154
+ end
1155
+ end
1156
+
1157
+ class SnapshotMetadata
1158
+ # @private
1159
+ class Representation < Google::Apis::Core::JsonRepresentation
1160
+ property :description, as: 'description'
1161
+ property :device_name, as: 'deviceName'
1162
+ property :gameplay_duration, as: 'gameplayDuration'
1163
+ property :last_modify_time, as: 'lastModifyTime'
1164
+ property :progress_value, :numeric_string => true, as: 'progressValue'
1165
+ end
1166
+ end
1167
+
1168
+ class SnapshotRevision
1169
+ # @private
1170
+ class Representation < Google::Apis::Core::JsonRepresentation
1171
+ property :blob, as: 'blob', class: Google::Apis::GamesV1::SnapshotDataResource, decorator: Google::Apis::GamesV1::SnapshotDataResource::Representation
1172
+
1173
+ property :cover_image, as: 'coverImage', class: Google::Apis::GamesV1::SnapshotCoverImageResource, decorator: Google::Apis::GamesV1::SnapshotCoverImageResource::Representation
1174
+
1175
+ property :id, as: 'id'
1176
+ property :metadata, as: 'metadata', class: Google::Apis::GamesV1::SnapshotMetadata, decorator: Google::Apis::GamesV1::SnapshotMetadata::Representation
1177
+
1178
+ end
1179
+ end
1180
+
1181
+ class StatsResponse
1182
+ # @private
1183
+ class Representation < Google::Apis::Core::JsonRepresentation
1184
+ property :avg_session_length_minutes, as: 'avg_session_length_minutes'
1185
+ property :churn_probability, as: 'churn_probability'
1186
+ property :days_since_last_played, as: 'days_since_last_played'
1187
+ property :high_spender_probability, as: 'high_spender_probability'
1188
+ property :kind, as: 'kind'
1189
+ property :num_purchases, as: 'num_purchases'
1190
+ property :num_sessions, as: 'num_sessions'
1191
+ property :num_sessions_percentile, as: 'num_sessions_percentile'
1192
+ property :spend_percentile, as: 'spend_percentile'
1193
+ property :spend_probability, as: 'spend_probability'
1194
+ property :total_spend_next_28_days, as: 'total_spend_next_28_days'
1195
+ end
1196
+ end
1197
+ end
1198
+ end
1199
+ end