google-apis-gameservices_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 GameservicesV1
18
+ # Version of the google-apis-gameservices_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 = "20201208"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,972 @@
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 GameservicesV1
24
+
25
+ class AuditConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AuditLogConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AuthorizationLoggingOptions
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Binding
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CancelOperationRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CloudAuditOptions
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Condition
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CounterOptions
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CustomField
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class DataAccessOptions
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DeployedClusterState
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DeployedFleet
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DeployedFleetAutoscaler
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DeployedFleetDetails
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DeployedFleetStatus
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Empty
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class Expr
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class FetchDeploymentStateRequest
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class FetchDeploymentStateResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class FleetConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GameServerCluster
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GameServerClusterConnectionInfo
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GameServerConfig
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GameServerConfigOverride
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GameServerDeployment
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GameServerDeploymentRollout
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GkeClusterReference
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class LabelSelector
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ListGameServerClustersResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListGameServerConfigsResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ListGameServerDeploymentsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListLocationsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ListOperationsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class ListRealmsResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Location
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class LogConfig
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Operation
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class OperationMetadata
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class OperationStatus
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Policy
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class PreviewCreateGameServerClusterResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class PreviewDeleteGameServerClusterResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class PreviewGameServerDeploymentRolloutResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class PreviewRealmUpdateResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class PreviewUpdateGameServerClusterResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class Realm
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class RealmSelector
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class Rule
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ScalingConfig
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class Schedule
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class SetIamPolicyRequest
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class SpecSource
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Status
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class TargetDetails
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class TargetFleet
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class TargetFleetAutoscaler
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class TargetFleetDetails
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class TargetState
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class TestIamPermissionsRequest
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class TestIamPermissionsResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class AuditConfig
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::GameservicesV1::AuditLogConfig, decorator: Google::Apis::GameservicesV1::AuditLogConfig::Representation
389
+
390
+ collection :exempted_members, as: 'exemptedMembers'
391
+ property :service, as: 'service'
392
+ end
393
+ end
394
+
395
+ class AuditLogConfig
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ collection :exempted_members, as: 'exemptedMembers'
399
+ property :ignore_child_exemptions, as: 'ignoreChildExemptions'
400
+ property :log_type, as: 'logType'
401
+ end
402
+ end
403
+
404
+ class AuthorizationLoggingOptions
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :permission_type, as: 'permissionType'
408
+ end
409
+ end
410
+
411
+ class Binding
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ property :binding_id, as: 'bindingId'
415
+ property :condition, as: 'condition', class: Google::Apis::GameservicesV1::Expr, decorator: Google::Apis::GameservicesV1::Expr::Representation
416
+
417
+ collection :members, as: 'members'
418
+ property :role, as: 'role'
419
+ end
420
+ end
421
+
422
+ class CancelOperationRequest
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ end
426
+ end
427
+
428
+ class CloudAuditOptions
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :authorization_logging_options, as: 'authorizationLoggingOptions', class: Google::Apis::GameservicesV1::AuthorizationLoggingOptions, decorator: Google::Apis::GameservicesV1::AuthorizationLoggingOptions::Representation
432
+
433
+ property :log_name, as: 'logName'
434
+ end
435
+ end
436
+
437
+ class Condition
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :iam, as: 'iam'
441
+ property :op, as: 'op'
442
+ property :svc, as: 'svc'
443
+ property :sys, as: 'sys'
444
+ collection :values, as: 'values'
445
+ end
446
+ end
447
+
448
+ class CounterOptions
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ collection :custom_fields, as: 'customFields', class: Google::Apis::GameservicesV1::CustomField, decorator: Google::Apis::GameservicesV1::CustomField::Representation
452
+
453
+ property :field, as: 'field'
454
+ property :metric, as: 'metric'
455
+ end
456
+ end
457
+
458
+ class CustomField
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :name, as: 'name'
462
+ property :value, as: 'value'
463
+ end
464
+ end
465
+
466
+ class DataAccessOptions
467
+ # @private
468
+ class Representation < Google::Apis::Core::JsonRepresentation
469
+ property :log_mode, as: 'logMode'
470
+ end
471
+ end
472
+
473
+ class DeployedClusterState
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :cluster, as: 'cluster'
477
+ collection :fleet_details, as: 'fleetDetails', class: Google::Apis::GameservicesV1::DeployedFleetDetails, decorator: Google::Apis::GameservicesV1::DeployedFleetDetails::Representation
478
+
479
+ end
480
+ end
481
+
482
+ class DeployedFleet
483
+ # @private
484
+ class Representation < Google::Apis::Core::JsonRepresentation
485
+ property :fleet, as: 'fleet'
486
+ property :fleet_spec, as: 'fleetSpec'
487
+ property :spec_source, as: 'specSource', class: Google::Apis::GameservicesV1::SpecSource, decorator: Google::Apis::GameservicesV1::SpecSource::Representation
488
+
489
+ property :status, as: 'status', class: Google::Apis::GameservicesV1::DeployedFleetStatus, decorator: Google::Apis::GameservicesV1::DeployedFleetStatus::Representation
490
+
491
+ end
492
+ end
493
+
494
+ class DeployedFleetAutoscaler
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :autoscaler, as: 'autoscaler'
498
+ property :fleet_autoscaler_spec, as: 'fleetAutoscalerSpec'
499
+ property :spec_source, as: 'specSource', class: Google::Apis::GameservicesV1::SpecSource, decorator: Google::Apis::GameservicesV1::SpecSource::Representation
500
+
501
+ end
502
+ end
503
+
504
+ class DeployedFleetDetails
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ property :deployed_autoscaler, as: 'deployedAutoscaler', class: Google::Apis::GameservicesV1::DeployedFleetAutoscaler, decorator: Google::Apis::GameservicesV1::DeployedFleetAutoscaler::Representation
508
+
509
+ property :deployed_fleet, as: 'deployedFleet', class: Google::Apis::GameservicesV1::DeployedFleet, decorator: Google::Apis::GameservicesV1::DeployedFleet::Representation
510
+
511
+ end
512
+ end
513
+
514
+ class DeployedFleetStatus
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :allocated_replicas, :numeric_string => true, as: 'allocatedReplicas'
518
+ property :ready_replicas, :numeric_string => true, as: 'readyReplicas'
519
+ property :replicas, :numeric_string => true, as: 'replicas'
520
+ property :reserved_replicas, :numeric_string => true, as: 'reservedReplicas'
521
+ end
522
+ end
523
+
524
+ class Empty
525
+ # @private
526
+ class Representation < Google::Apis::Core::JsonRepresentation
527
+ end
528
+ end
529
+
530
+ class Expr
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ property :description, as: 'description'
534
+ property :expression, as: 'expression'
535
+ property :location, as: 'location'
536
+ property :title, as: 'title'
537
+ end
538
+ end
539
+
540
+ class FetchDeploymentStateRequest
541
+ # @private
542
+ class Representation < Google::Apis::Core::JsonRepresentation
543
+ end
544
+ end
545
+
546
+ class FetchDeploymentStateResponse
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ collection :cluster_state, as: 'clusterState', class: Google::Apis::GameservicesV1::DeployedClusterState, decorator: Google::Apis::GameservicesV1::DeployedClusterState::Representation
550
+
551
+ collection :unavailable, as: 'unavailable'
552
+ end
553
+ end
554
+
555
+ class FleetConfig
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ property :fleet_spec, as: 'fleetSpec'
559
+ property :name, as: 'name'
560
+ end
561
+ end
562
+
563
+ class GameServerCluster
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :connection_info, as: 'connectionInfo', class: Google::Apis::GameservicesV1::GameServerClusterConnectionInfo, decorator: Google::Apis::GameservicesV1::GameServerClusterConnectionInfo::Representation
567
+
568
+ property :create_time, as: 'createTime'
569
+ property :description, as: 'description'
570
+ property :etag, as: 'etag'
571
+ hash :labels, as: 'labels'
572
+ property :name, as: 'name'
573
+ property :update_time, as: 'updateTime'
574
+ end
575
+ end
576
+
577
+ class GameServerClusterConnectionInfo
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ property :gke_cluster_reference, as: 'gkeClusterReference', class: Google::Apis::GameservicesV1::GkeClusterReference, decorator: Google::Apis::GameservicesV1::GkeClusterReference::Representation
581
+
582
+ property :namespace, as: 'namespace'
583
+ end
584
+ end
585
+
586
+ class GameServerConfig
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :create_time, as: 'createTime'
590
+ property :description, as: 'description'
591
+ collection :fleet_configs, as: 'fleetConfigs', class: Google::Apis::GameservicesV1::FleetConfig, decorator: Google::Apis::GameservicesV1::FleetConfig::Representation
592
+
593
+ hash :labels, as: 'labels'
594
+ property :name, as: 'name'
595
+ collection :scaling_configs, as: 'scalingConfigs', class: Google::Apis::GameservicesV1::ScalingConfig, decorator: Google::Apis::GameservicesV1::ScalingConfig::Representation
596
+
597
+ property :update_time, as: 'updateTime'
598
+ end
599
+ end
600
+
601
+ class GameServerConfigOverride
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :config_version, as: 'configVersion'
605
+ property :realms_selector, as: 'realmsSelector', class: Google::Apis::GameservicesV1::RealmSelector, decorator: Google::Apis::GameservicesV1::RealmSelector::Representation
606
+
607
+ end
608
+ end
609
+
610
+ class GameServerDeployment
611
+ # @private
612
+ class Representation < Google::Apis::Core::JsonRepresentation
613
+ property :create_time, as: 'createTime'
614
+ property :description, as: 'description'
615
+ property :etag, as: 'etag'
616
+ hash :labels, as: 'labels'
617
+ property :name, as: 'name'
618
+ property :update_time, as: 'updateTime'
619
+ end
620
+ end
621
+
622
+ class GameServerDeploymentRollout
623
+ # @private
624
+ class Representation < Google::Apis::Core::JsonRepresentation
625
+ property :create_time, as: 'createTime'
626
+ property :default_game_server_config, as: 'defaultGameServerConfig'
627
+ property :etag, as: 'etag'
628
+ collection :game_server_config_overrides, as: 'gameServerConfigOverrides', class: Google::Apis::GameservicesV1::GameServerConfigOverride, decorator: Google::Apis::GameservicesV1::GameServerConfigOverride::Representation
629
+
630
+ property :name, as: 'name'
631
+ property :update_time, as: 'updateTime'
632
+ end
633
+ end
634
+
635
+ class GkeClusterReference
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :cluster, as: 'cluster'
639
+ end
640
+ end
641
+
642
+ class LabelSelector
643
+ # @private
644
+ class Representation < Google::Apis::Core::JsonRepresentation
645
+ hash :labels, as: 'labels'
646
+ end
647
+ end
648
+
649
+ class ListGameServerClustersResponse
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ collection :game_server_clusters, as: 'gameServerClusters', class: Google::Apis::GameservicesV1::GameServerCluster, decorator: Google::Apis::GameservicesV1::GameServerCluster::Representation
653
+
654
+ property :next_page_token, as: 'nextPageToken'
655
+ collection :unreachable, as: 'unreachable'
656
+ end
657
+ end
658
+
659
+ class ListGameServerConfigsResponse
660
+ # @private
661
+ class Representation < Google::Apis::Core::JsonRepresentation
662
+ collection :game_server_configs, as: 'gameServerConfigs', class: Google::Apis::GameservicesV1::GameServerConfig, decorator: Google::Apis::GameservicesV1::GameServerConfig::Representation
663
+
664
+ property :next_page_token, as: 'nextPageToken'
665
+ collection :unreachable, as: 'unreachable'
666
+ end
667
+ end
668
+
669
+ class ListGameServerDeploymentsResponse
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ collection :game_server_deployments, as: 'gameServerDeployments', class: Google::Apis::GameservicesV1::GameServerDeployment, decorator: Google::Apis::GameservicesV1::GameServerDeployment::Representation
673
+
674
+ property :next_page_token, as: 'nextPageToken'
675
+ collection :unreachable, as: 'unreachable'
676
+ end
677
+ end
678
+
679
+ class ListLocationsResponse
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ collection :locations, as: 'locations', class: Google::Apis::GameservicesV1::Location, decorator: Google::Apis::GameservicesV1::Location::Representation
683
+
684
+ property :next_page_token, as: 'nextPageToken'
685
+ end
686
+ end
687
+
688
+ class ListOperationsResponse
689
+ # @private
690
+ class Representation < Google::Apis::Core::JsonRepresentation
691
+ property :next_page_token, as: 'nextPageToken'
692
+ collection :operations, as: 'operations', class: Google::Apis::GameservicesV1::Operation, decorator: Google::Apis::GameservicesV1::Operation::Representation
693
+
694
+ end
695
+ end
696
+
697
+ class ListRealmsResponse
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :next_page_token, as: 'nextPageToken'
701
+ collection :realms, as: 'realms', class: Google::Apis::GameservicesV1::Realm, decorator: Google::Apis::GameservicesV1::Realm::Representation
702
+
703
+ collection :unreachable, as: 'unreachable'
704
+ end
705
+ end
706
+
707
+ class Location
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :display_name, as: 'displayName'
711
+ hash :labels, as: 'labels'
712
+ property :location_id, as: 'locationId'
713
+ hash :metadata, as: 'metadata'
714
+ property :name, as: 'name'
715
+ end
716
+ end
717
+
718
+ class LogConfig
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :cloud_audit, as: 'cloudAudit', class: Google::Apis::GameservicesV1::CloudAuditOptions, decorator: Google::Apis::GameservicesV1::CloudAuditOptions::Representation
722
+
723
+ property :counter, as: 'counter', class: Google::Apis::GameservicesV1::CounterOptions, decorator: Google::Apis::GameservicesV1::CounterOptions::Representation
724
+
725
+ property :data_access, as: 'dataAccess', class: Google::Apis::GameservicesV1::DataAccessOptions, decorator: Google::Apis::GameservicesV1::DataAccessOptions::Representation
726
+
727
+ end
728
+ end
729
+
730
+ class Operation
731
+ # @private
732
+ class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :done, as: 'done'
734
+ property :error, as: 'error', class: Google::Apis::GameservicesV1::Status, decorator: Google::Apis::GameservicesV1::Status::Representation
735
+
736
+ hash :metadata, as: 'metadata'
737
+ property :name, as: 'name'
738
+ hash :response, as: 'response'
739
+ end
740
+ end
741
+
742
+ class OperationMetadata
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ property :api_version, as: 'apiVersion'
746
+ property :create_time, as: 'createTime'
747
+ property :end_time, as: 'endTime'
748
+ hash :operation_status, as: 'operationStatus', class: Google::Apis::GameservicesV1::OperationStatus, decorator: Google::Apis::GameservicesV1::OperationStatus::Representation
749
+
750
+ property :requested_cancellation, as: 'requestedCancellation'
751
+ property :status_message, as: 'statusMessage'
752
+ property :target, as: 'target'
753
+ collection :unreachable, as: 'unreachable'
754
+ property :verb, as: 'verb'
755
+ end
756
+ end
757
+
758
+ class OperationStatus
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :done, as: 'done'
762
+ property :error_code, as: 'errorCode'
763
+ property :error_message, as: 'errorMessage'
764
+ end
765
+ end
766
+
767
+ class Policy
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::GameservicesV1::AuditConfig, decorator: Google::Apis::GameservicesV1::AuditConfig::Representation
771
+
772
+ collection :bindings, as: 'bindings', class: Google::Apis::GameservicesV1::Binding, decorator: Google::Apis::GameservicesV1::Binding::Representation
773
+
774
+ property :etag, :base64 => true, as: 'etag'
775
+ property :iam_owned, as: 'iamOwned'
776
+ collection :rules, as: 'rules', class: Google::Apis::GameservicesV1::Rule, decorator: Google::Apis::GameservicesV1::Rule::Representation
777
+
778
+ property :version, as: 'version'
779
+ end
780
+ end
781
+
782
+ class PreviewCreateGameServerClusterResponse
783
+ # @private
784
+ class Representation < Google::Apis::Core::JsonRepresentation
785
+ property :etag, as: 'etag'
786
+ property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
787
+
788
+ end
789
+ end
790
+
791
+ class PreviewDeleteGameServerClusterResponse
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :etag, as: 'etag'
795
+ property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
796
+
797
+ end
798
+ end
799
+
800
+ class PreviewGameServerDeploymentRolloutResponse
801
+ # @private
802
+ class Representation < Google::Apis::Core::JsonRepresentation
803
+ property :etag, as: 'etag'
804
+ property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
805
+
806
+ collection :unavailable, as: 'unavailable'
807
+ end
808
+ end
809
+
810
+ class PreviewRealmUpdateResponse
811
+ # @private
812
+ class Representation < Google::Apis::Core::JsonRepresentation
813
+ property :etag, as: 'etag'
814
+ property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
815
+
816
+ end
817
+ end
818
+
819
+ class PreviewUpdateGameServerClusterResponse
820
+ # @private
821
+ class Representation < Google::Apis::Core::JsonRepresentation
822
+ property :etag, as: 'etag'
823
+ property :target_state, as: 'targetState', class: Google::Apis::GameservicesV1::TargetState, decorator: Google::Apis::GameservicesV1::TargetState::Representation
824
+
825
+ end
826
+ end
827
+
828
+ class Realm
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :create_time, as: 'createTime'
832
+ property :description, as: 'description'
833
+ property :etag, as: 'etag'
834
+ hash :labels, as: 'labels'
835
+ property :name, as: 'name'
836
+ property :time_zone, as: 'timeZone'
837
+ property :update_time, as: 'updateTime'
838
+ end
839
+ end
840
+
841
+ class RealmSelector
842
+ # @private
843
+ class Representation < Google::Apis::Core::JsonRepresentation
844
+ collection :realms, as: 'realms'
845
+ end
846
+ end
847
+
848
+ class Rule
849
+ # @private
850
+ class Representation < Google::Apis::Core::JsonRepresentation
851
+ property :action, as: 'action'
852
+ collection :conditions, as: 'conditions', class: Google::Apis::GameservicesV1::Condition, decorator: Google::Apis::GameservicesV1::Condition::Representation
853
+
854
+ property :description, as: 'description'
855
+ collection :in, as: 'in'
856
+ collection :log_config, as: 'logConfig', class: Google::Apis::GameservicesV1::LogConfig, decorator: Google::Apis::GameservicesV1::LogConfig::Representation
857
+
858
+ collection :not_in, as: 'notIn'
859
+ collection :permissions, as: 'permissions'
860
+ end
861
+ end
862
+
863
+ class ScalingConfig
864
+ # @private
865
+ class Representation < Google::Apis::Core::JsonRepresentation
866
+ property :fleet_autoscaler_spec, as: 'fleetAutoscalerSpec'
867
+ property :name, as: 'name'
868
+ collection :schedules, as: 'schedules', class: Google::Apis::GameservicesV1::Schedule, decorator: Google::Apis::GameservicesV1::Schedule::Representation
869
+
870
+ collection :selectors, as: 'selectors', class: Google::Apis::GameservicesV1::LabelSelector, decorator: Google::Apis::GameservicesV1::LabelSelector::Representation
871
+
872
+ end
873
+ end
874
+
875
+ class Schedule
876
+ # @private
877
+ class Representation < Google::Apis::Core::JsonRepresentation
878
+ property :cron_job_duration, as: 'cronJobDuration'
879
+ property :cron_spec, as: 'cronSpec'
880
+ property :end_time, as: 'endTime'
881
+ property :start_time, as: 'startTime'
882
+ end
883
+ end
884
+
885
+ class SetIamPolicyRequest
886
+ # @private
887
+ class Representation < Google::Apis::Core::JsonRepresentation
888
+ property :policy, as: 'policy', class: Google::Apis::GameservicesV1::Policy, decorator: Google::Apis::GameservicesV1::Policy::Representation
889
+
890
+ property :update_mask, as: 'updateMask'
891
+ end
892
+ end
893
+
894
+ class SpecSource
895
+ # @private
896
+ class Representation < Google::Apis::Core::JsonRepresentation
897
+ property :game_server_config_name, as: 'gameServerConfigName'
898
+ property :name, as: 'name'
899
+ end
900
+ end
901
+
902
+ class Status
903
+ # @private
904
+ class Representation < Google::Apis::Core::JsonRepresentation
905
+ property :code, as: 'code'
906
+ collection :details, as: 'details'
907
+ property :message, as: 'message'
908
+ end
909
+ end
910
+
911
+ class TargetDetails
912
+ # @private
913
+ class Representation < Google::Apis::Core::JsonRepresentation
914
+ collection :fleet_details, as: 'fleetDetails', class: Google::Apis::GameservicesV1::TargetFleetDetails, decorator: Google::Apis::GameservicesV1::TargetFleetDetails::Representation
915
+
916
+ property :game_server_cluster_name, as: 'gameServerClusterName'
917
+ property :game_server_deployment_name, as: 'gameServerDeploymentName'
918
+ end
919
+ end
920
+
921
+ class TargetFleet
922
+ # @private
923
+ class Representation < Google::Apis::Core::JsonRepresentation
924
+ property :name, as: 'name'
925
+ property :spec_source, as: 'specSource', class: Google::Apis::GameservicesV1::SpecSource, decorator: Google::Apis::GameservicesV1::SpecSource::Representation
926
+
927
+ end
928
+ end
929
+
930
+ class TargetFleetAutoscaler
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :name, as: 'name'
934
+ property :spec_source, as: 'specSource', class: Google::Apis::GameservicesV1::SpecSource, decorator: Google::Apis::GameservicesV1::SpecSource::Representation
935
+
936
+ end
937
+ end
938
+
939
+ class TargetFleetDetails
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :autoscaler, as: 'autoscaler', class: Google::Apis::GameservicesV1::TargetFleetAutoscaler, decorator: Google::Apis::GameservicesV1::TargetFleetAutoscaler::Representation
943
+
944
+ property :fleet, as: 'fleet', class: Google::Apis::GameservicesV1::TargetFleet, decorator: Google::Apis::GameservicesV1::TargetFleet::Representation
945
+
946
+ end
947
+ end
948
+
949
+ class TargetState
950
+ # @private
951
+ class Representation < Google::Apis::Core::JsonRepresentation
952
+ collection :details, as: 'details', class: Google::Apis::GameservicesV1::TargetDetails, decorator: Google::Apis::GameservicesV1::TargetDetails::Representation
953
+
954
+ end
955
+ end
956
+
957
+ class TestIamPermissionsRequest
958
+ # @private
959
+ class Representation < Google::Apis::Core::JsonRepresentation
960
+ collection :permissions, as: 'permissions'
961
+ end
962
+ end
963
+
964
+ class TestIamPermissionsResponse
965
+ # @private
966
+ class Representation < Google::Apis::Core::JsonRepresentation
967
+ collection :permissions, as: 'permissions'
968
+ end
969
+ end
970
+ end
971
+ end
972
+ end