google-apis-gameservices_v1beta 0.23.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -367,166 +367,6 @@ module Google
367
367
  end
368
368
  end
369
369
 
370
- # The game server cluster changes made by the game server deployment.
371
- class DeployedClusterState
372
- include Google::Apis::Core::Hashable
373
-
374
- # The name of the cluster.
375
- # Corresponds to the JSON property `cluster`
376
- # @return [String]
377
- attr_accessor :cluster
378
-
379
- # The details about the Agones fleets and autoscalers created in the game server
380
- # cluster.
381
- # Corresponds to the JSON property `fleetDetails`
382
- # @return [Array<Google::Apis::GameservicesV1beta::DeployedFleetDetails>]
383
- attr_accessor :fleet_details
384
-
385
- def initialize(**args)
386
- update!(**args)
387
- end
388
-
389
- # Update properties of this object
390
- def update!(**args)
391
- @cluster = args[:cluster] if args.key?(:cluster)
392
- @fleet_details = args[:fleet_details] if args.key?(:fleet_details)
393
- end
394
- end
395
-
396
- # Agones fleet specification and details.
397
- class DeployedFleet
398
- include Google::Apis::Core::Hashable
399
-
400
- # The name of the Agones fleet.
401
- # Corresponds to the JSON property `fleet`
402
- # @return [String]
403
- attr_accessor :fleet
404
-
405
- # The fleet spec retrieved from the Agones fleet.
406
- # Corresponds to the JSON property `fleetSpec`
407
- # @return [String]
408
- attr_accessor :fleet_spec
409
-
410
- # Encapsulates Agones fleet spec and Agones autoscaler spec sources.
411
- # Corresponds to the JSON property `specSource`
412
- # @return [Google::Apis::GameservicesV1beta::SpecSource]
413
- attr_accessor :spec_source
414
-
415
- # DeployedFleetStatus has details about the Agones fleets, such as how many are
416
- # running, how many are allocated, and so on.
417
- # Corresponds to the JSON property `status`
418
- # @return [Google::Apis::GameservicesV1beta::DeployedFleetStatus]
419
- attr_accessor :status
420
-
421
- def initialize(**args)
422
- update!(**args)
423
- end
424
-
425
- # Update properties of this object
426
- def update!(**args)
427
- @fleet = args[:fleet] if args.key?(:fleet)
428
- @fleet_spec = args[:fleet_spec] if args.key?(:fleet_spec)
429
- @spec_source = args[:spec_source] if args.key?(:spec_source)
430
- @status = args[:status] if args.key?(:status)
431
- end
432
- end
433
-
434
- # Details about the Agones autoscaler.
435
- class DeployedFleetAutoscaler
436
- include Google::Apis::Core::Hashable
437
-
438
- # The name of the Agones autoscaler.
439
- # Corresponds to the JSON property `autoscaler`
440
- # @return [String]
441
- attr_accessor :autoscaler
442
-
443
- # The autoscaler spec retrieved from Agones.
444
- # Corresponds to the JSON property `fleetAutoscalerSpec`
445
- # @return [String]
446
- attr_accessor :fleet_autoscaler_spec
447
-
448
- # Encapsulates Agones fleet spec and Agones autoscaler spec sources.
449
- # Corresponds to the JSON property `specSource`
450
- # @return [Google::Apis::GameservicesV1beta::SpecSource]
451
- attr_accessor :spec_source
452
-
453
- def initialize(**args)
454
- update!(**args)
455
- end
456
-
457
- # Update properties of this object
458
- def update!(**args)
459
- @autoscaler = args[:autoscaler] if args.key?(:autoscaler)
460
- @fleet_autoscaler_spec = args[:fleet_autoscaler_spec] if args.key?(:fleet_autoscaler_spec)
461
- @spec_source = args[:spec_source] if args.key?(:spec_source)
462
- end
463
- end
464
-
465
- # Details of the deployed Agones fleet.
466
- class DeployedFleetDetails
467
- include Google::Apis::Core::Hashable
468
-
469
- # Details about the Agones autoscaler.
470
- # Corresponds to the JSON property `deployedAutoscaler`
471
- # @return [Google::Apis::GameservicesV1beta::DeployedFleetAutoscaler]
472
- attr_accessor :deployed_autoscaler
473
-
474
- # Agones fleet specification and details.
475
- # Corresponds to the JSON property `deployedFleet`
476
- # @return [Google::Apis::GameservicesV1beta::DeployedFleet]
477
- attr_accessor :deployed_fleet
478
-
479
- def initialize(**args)
480
- update!(**args)
481
- end
482
-
483
- # Update properties of this object
484
- def update!(**args)
485
- @deployed_autoscaler = args[:deployed_autoscaler] if args.key?(:deployed_autoscaler)
486
- @deployed_fleet = args[:deployed_fleet] if args.key?(:deployed_fleet)
487
- end
488
- end
489
-
490
- # DeployedFleetStatus has details about the Agones fleets, such as how many are
491
- # running, how many are allocated, and so on.
492
- class DeployedFleetStatus
493
- include Google::Apis::Core::Hashable
494
-
495
- # The number of GameServer replicas in the ALLOCATED state in this fleet.
496
- # Corresponds to the JSON property `allocatedReplicas`
497
- # @return [Fixnum]
498
- attr_accessor :allocated_replicas
499
-
500
- # The number of GameServer replicas in the READY state in this fleet.
501
- # Corresponds to the JSON property `readyReplicas`
502
- # @return [Fixnum]
503
- attr_accessor :ready_replicas
504
-
505
- # The total number of current GameServer replicas in this fleet.
506
- # Corresponds to the JSON property `replicas`
507
- # @return [Fixnum]
508
- attr_accessor :replicas
509
-
510
- # The number of GameServer replicas in the RESERVED state in this fleet.
511
- # Reserved instances won't be deleted on scale down, but won't cause an
512
- # autoscaler to scale up.
513
- # Corresponds to the JSON property `reservedReplicas`
514
- # @return [Fixnum]
515
- attr_accessor :reserved_replicas
516
-
517
- def initialize(**args)
518
- update!(**args)
519
- end
520
-
521
- # Update properties of this object
522
- def update!(**args)
523
- @allocated_replicas = args[:allocated_replicas] if args.key?(:allocated_replicas)
524
- @ready_replicas = args[:ready_replicas] if args.key?(:ready_replicas)
525
- @replicas = args[:replicas] if args.key?(:replicas)
526
- @reserved_replicas = args[:reserved_replicas] if args.key?(:reserved_replicas)
527
- end
528
- end
529
-
530
370
  # A generic empty message that you can re-use to avoid defining duplicated empty
531
371
  # messages in your APIs. A typical example is to use it as the request or the
532
372
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -597,32 +437,19 @@ module Google
597
437
  end
598
438
  end
599
439
 
600
- # Request message for GameServerDeploymentsService.FetchDeploymentState.
601
- class FetchDeploymentStateRequest
602
- include Google::Apis::Core::Hashable
603
-
604
- def initialize(**args)
605
- update!(**args)
606
- end
607
-
608
- # Update properties of this object
609
- def update!(**args)
610
- end
611
- end
612
-
613
- # Response message for GameServerDeploymentsService.FetchDeploymentState.
614
- class FetchDeploymentStateResponse
440
+ # The response message for Locations.ListLocations.
441
+ class ListLocationsResponse
615
442
  include Google::Apis::Core::Hashable
616
443
 
617
- # The state of the game server deployment in each game server cluster.
618
- # Corresponds to the JSON property `clusterState`
619
- # @return [Array<Google::Apis::GameservicesV1beta::DeployedClusterState>]
620
- attr_accessor :cluster_state
444
+ # A list of locations that matches the specified filter in the request.
445
+ # Corresponds to the JSON property `locations`
446
+ # @return [Array<Google::Apis::GameservicesV1beta::Location>]
447
+ attr_accessor :locations
621
448
 
622
- # List of locations that could not be reached.
623
- # Corresponds to the JSON property `unavailable`
624
- # @return [Array<String>]
625
- attr_accessor :unavailable
449
+ # The standard List next-page token.
450
+ # Corresponds to the JSON property `nextPageToken`
451
+ # @return [String]
452
+ attr_accessor :next_page_token
626
453
 
627
454
  def initialize(**args)
628
455
  update!(**args)
@@ -630,25 +457,24 @@ module Google
630
457
 
631
458
  # Update properties of this object
632
459
  def update!(**args)
633
- @cluster_state = args[:cluster_state] if args.key?(:cluster_state)
634
- @unavailable = args[:unavailable] if args.key?(:unavailable)
460
+ @locations = args[:locations] if args.key?(:locations)
461
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
635
462
  end
636
463
  end
637
464
 
638
- # Fleet configs for Agones.
639
- class FleetConfig
465
+ # The response message for Operations.ListOperations.
466
+ class ListOperationsResponse
640
467
  include Google::Apis::Core::Hashable
641
468
 
642
- # Agones fleet spec (see [example spec](https://agones.dev/site/docs/reference/
643
- # fleet/)).
644
- # Corresponds to the JSON property `fleetSpec`
469
+ # The standard List next-page token.
470
+ # Corresponds to the JSON property `nextPageToken`
645
471
  # @return [String]
646
- attr_accessor :fleet_spec
472
+ attr_accessor :next_page_token
647
473
 
648
- # The name of the FleetConfig.
649
- # Corresponds to the JSON property `name`
650
- # @return [String]
651
- attr_accessor :name
474
+ # A list of operations that matches the specified filter in the request.
475
+ # Corresponds to the JSON property `operations`
476
+ # @return [Array<Google::Apis::GameservicesV1beta::Operation>]
477
+ attr_accessor :operations
652
478
 
653
479
  def initialize(**args)
654
480
  update!(**args)
@@ -656,177 +482,87 @@ module Google
656
482
 
657
483
  # Update properties of this object
658
484
  def update!(**args)
659
- @fleet_spec = args[:fleet_spec] if args.key?(:fleet_spec)
660
- @name = args[:name] if args.key?(:name)
485
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
486
+ @operations = args[:operations] if args.key?(:operations)
661
487
  end
662
488
  end
663
489
 
664
- # A game server cluster resource.
665
- class GameServerCluster
490
+ # A resource that represents Google Cloud Platform location.
491
+ class Location
666
492
  include Google::Apis::Core::Hashable
667
493
 
668
- # The state of the Kubernetes cluster.
669
- # Corresponds to the JSON property `clusterState`
670
- # @return [Google::Apis::GameservicesV1beta::KubernetesClusterState]
671
- attr_accessor :cluster_state
672
-
673
- # The game server cluster connection information.
674
- # Corresponds to the JSON property `connectionInfo`
675
- # @return [Google::Apis::GameservicesV1beta::GameServerClusterConnectionInfo]
676
- attr_accessor :connection_info
677
-
678
- # Output only. The creation time.
679
- # Corresponds to the JSON property `createTime`
680
- # @return [String]
681
- attr_accessor :create_time
682
-
683
- # Human readable description of the cluster.
684
- # Corresponds to the JSON property `description`
685
- # @return [String]
686
- attr_accessor :description
687
-
688
- # Used to perform consistent read-modify-write updates. If not set, a blind "
689
- # overwrite" update happens.
690
- # Corresponds to the JSON property `etag`
494
+ # The friendly name for this location, typically a nearby city name. For example,
495
+ # "Tokyo".
496
+ # Corresponds to the JSON property `displayName`
691
497
  # @return [String]
692
- attr_accessor :etag
498
+ attr_accessor :display_name
693
499
 
694
- # The labels associated with this game server cluster. Each label is a key-value
695
- # pair.
500
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
501
+ # region": "us-east1"`
696
502
  # Corresponds to the JSON property `labels`
697
503
  # @return [Hash<String,String>]
698
504
  attr_accessor :labels
699
505
 
700
- # Required. The resource name of the game server cluster, in the following form:
701
- # `projects/`project`/locations/`locationId`/realms/`realmId`/gameServerClusters/
702
- # `gameServerClusterId``. For example, `projects/my-project/locations/global/
703
- # realms/zanzibar/gameServerClusters/my-gke-cluster`.
704
- # Corresponds to the JSON property `name`
705
- # @return [String]
706
- attr_accessor :name
707
-
708
- # Output only. The last-modified time.
709
- # Corresponds to the JSON property `updateTime`
710
- # @return [String]
711
- attr_accessor :update_time
712
-
713
- def initialize(**args)
714
- update!(**args)
715
- end
716
-
717
- # Update properties of this object
718
- def update!(**args)
719
- @cluster_state = args[:cluster_state] if args.key?(:cluster_state)
720
- @connection_info = args[:connection_info] if args.key?(:connection_info)
721
- @create_time = args[:create_time] if args.key?(:create_time)
722
- @description = args[:description] if args.key?(:description)
723
- @etag = args[:etag] if args.key?(:etag)
724
- @labels = args[:labels] if args.key?(:labels)
725
- @name = args[:name] if args.key?(:name)
726
- @update_time = args[:update_time] if args.key?(:update_time)
727
- end
728
- end
729
-
730
- # The game server cluster connection information.
731
- class GameServerClusterConnectionInfo
732
- include Google::Apis::Core::Hashable
733
-
734
- # A reference to a GKE cluster.
735
- # Corresponds to the JSON property `gkeClusterReference`
736
- # @return [Google::Apis::GameservicesV1beta::GkeClusterReference]
737
- attr_accessor :gke_cluster_reference
738
-
739
- # Namespace designated on the game server cluster where the Agones game server
740
- # instances will be created. Existence of the namespace will be validated during
741
- # creation.
742
- # Corresponds to the JSON property `namespace`
743
- # @return [String]
744
- attr_accessor :namespace
745
-
746
- def initialize(**args)
747
- update!(**args)
748
- end
749
-
750
- # Update properties of this object
751
- def update!(**args)
752
- @gke_cluster_reference = args[:gke_cluster_reference] if args.key?(:gke_cluster_reference)
753
- @namespace = args[:namespace] if args.key?(:namespace)
754
- end
755
- end
756
-
757
- # A game server config resource.
758
- class GameServerConfig
759
- include Google::Apis::Core::Hashable
760
-
761
- # Output only. The creation time.
762
- # Corresponds to the JSON property `createTime`
763
- # @return [String]
764
- attr_accessor :create_time
765
-
766
- # The description of the game server config.
767
- # Corresponds to the JSON property `description`
506
+ # The canonical id for this location. For example: `"us-east1"`.
507
+ # Corresponds to the JSON property `locationId`
768
508
  # @return [String]
769
- attr_accessor :description
770
-
771
- # FleetConfig contains a list of Agones fleet specs. Only one FleetConfig is
772
- # allowed.
773
- # Corresponds to the JSON property `fleetConfigs`
774
- # @return [Array<Google::Apis::GameservicesV1beta::FleetConfig>]
775
- attr_accessor :fleet_configs
509
+ attr_accessor :location_id
776
510
 
777
- # The labels associated with this game server config. Each label is a key-value
778
- # pair.
779
- # Corresponds to the JSON property `labels`
780
- # @return [Hash<String,String>]
781
- attr_accessor :labels
511
+ # Service-specific metadata. For example the available capacity at the given
512
+ # location.
513
+ # Corresponds to the JSON property `metadata`
514
+ # @return [Hash<String,Object>]
515
+ attr_accessor :metadata
782
516
 
783
- # The resource name of the game server config, in the following form: `projects/`
784
- # project`/locations/`locationId`/gameServerDeployments/`deploymentId`/configs/`
785
- # configId``. For example, `projects/my-project/locations/global/
786
- # gameServerDeployments/my-game/configs/my-config`.
517
+ # Resource name for the location, which may vary between implementations. For
518
+ # example: `"projects/example-project/locations/us-east1"`
787
519
  # Corresponds to the JSON property `name`
788
520
  # @return [String]
789
521
  attr_accessor :name
790
522
 
791
- # The autoscaling settings.
792
- # Corresponds to the JSON property `scalingConfigs`
793
- # @return [Array<Google::Apis::GameservicesV1beta::ScalingConfig>]
794
- attr_accessor :scaling_configs
795
-
796
- # Output only. The last-modified time.
797
- # Corresponds to the JSON property `updateTime`
798
- # @return [String]
799
- attr_accessor :update_time
800
-
801
523
  def initialize(**args)
802
524
  update!(**args)
803
525
  end
804
526
 
805
527
  # Update properties of this object
806
528
  def update!(**args)
807
- @create_time = args[:create_time] if args.key?(:create_time)
808
- @description = args[:description] if args.key?(:description)
809
- @fleet_configs = args[:fleet_configs] if args.key?(:fleet_configs)
529
+ @display_name = args[:display_name] if args.key?(:display_name)
810
530
  @labels = args[:labels] if args.key?(:labels)
531
+ @location_id = args[:location_id] if args.key?(:location_id)
532
+ @metadata = args[:metadata] if args.key?(:metadata)
811
533
  @name = args[:name] if args.key?(:name)
812
- @scaling_configs = args[:scaling_configs] if args.key?(:scaling_configs)
813
- @update_time = args[:update_time] if args.key?(:update_time)
814
534
  end
815
535
  end
816
536
 
817
- # A game server config override.
818
- class GameServerConfigOverride
537
+ # Specifies what kind of log the caller must write
538
+ class LogConfig
819
539
  include Google::Apis::Core::Hashable
820
540
 
821
- # The game server config for this override.
822
- # Corresponds to the JSON property `configVersion`
823
- # @return [String]
824
- attr_accessor :config_version
541
+ # Write a Cloud Audit log
542
+ # Corresponds to the JSON property `cloudAudit`
543
+ # @return [Google::Apis::GameservicesV1beta::CloudAuditOptions]
544
+ attr_accessor :cloud_audit
545
+
546
+ # Increment a streamz counter with the specified metric and field names. Metric
547
+ # names should start with a '/', generally be lowercase-only, and end in "_count"
548
+ # . Field names should not contain an initial slash. The actual exported metric
549
+ # names will have "/iam/policy" prepended. Field names correspond to IAM request
550
+ # parameters and field values are their respective values. Supported field names:
551
+ # - "authority", which is "[token]" if IAMContext.token is present, otherwise
552
+ # the value of IAMContext.authority_selector if present, and otherwise a
553
+ # representation of IAMContext.principal; or - "iam_principal", a representation
554
+ # of IAMContext.principal even if a token or authority selector is present; or -
555
+ # "" (empty string), resulting in a counter with no fields. Examples: counter `
556
+ # metric: "/debug_access_count" field: "iam_principal" ` ==> increment counter /
557
+ # iam/policy/debug_access_count `iam_principal=[value of IAMContext.principal]`
558
+ # Corresponds to the JSON property `counter`
559
+ # @return [Google::Apis::GameservicesV1beta::CounterOptions]
560
+ attr_accessor :counter
825
561
 
826
- # The realm selector, used to match realm resources.
827
- # Corresponds to the JSON property `realmsSelector`
828
- # @return [Google::Apis::GameservicesV1beta::RealmSelector]
829
- attr_accessor :realms_selector
562
+ # Write a Data Access (Gin) log
563
+ # Corresponds to the JSON property `dataAccess`
564
+ # @return [Google::Apis::GameservicesV1beta::DataAccessOptions]
565
+ attr_accessor :data_access
830
566
 
831
567
  def initialize(**args)
832
568
  update!(**args)
@@ -834,941 +570,59 @@ module Google
834
570
 
835
571
  # Update properties of this object
836
572
  def update!(**args)
837
- @config_version = args[:config_version] if args.key?(:config_version)
838
- @realms_selector = args[:realms_selector] if args.key?(:realms_selector)
573
+ @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
574
+ @counter = args[:counter] if args.key?(:counter)
575
+ @data_access = args[:data_access] if args.key?(:data_access)
839
576
  end
840
577
  end
841
578
 
842
- # A game server deployment resource.
843
- class GameServerDeployment
579
+ # This resource represents a long-running operation that is the result of a
580
+ # network API call.
581
+ class Operation
844
582
  include Google::Apis::Core::Hashable
845
583
 
846
- # Output only. The creation time.
847
- # Corresponds to the JSON property `createTime`
848
- # @return [String]
849
- attr_accessor :create_time
850
-
851
- # Human readable description of the game server deployment.
852
- # Corresponds to the JSON property `description`
853
- # @return [String]
854
- attr_accessor :description
855
-
856
- # Used to perform consistent read-modify-write updates. If not set, a blind "
857
- # overwrite" update happens.
858
- # Corresponds to the JSON property `etag`
859
- # @return [String]
860
- attr_accessor :etag
584
+ # If the value is `false`, it means the operation is still in progress. If `true`
585
+ # , the operation is completed, and either `error` or `response` is available.
586
+ # Corresponds to the JSON property `done`
587
+ # @return [Boolean]
588
+ attr_accessor :done
589
+ alias_method :done?, :done
861
590
 
862
- # The labels associated with this game server deployment. Each label is a key-
863
- # value pair.
864
- # Corresponds to the JSON property `labels`
865
- # @return [Hash<String,String>]
866
- attr_accessor :labels
591
+ # The `Status` type defines a logical error model that is suitable for different
592
+ # programming environments, including REST APIs and RPC APIs. It is used by [
593
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
594
+ # data: error code, error message, and error details. You can find out more
595
+ # about this error model and how to work with it in the [API Design Guide](https:
596
+ # //cloud.google.com/apis/design/errors).
597
+ # Corresponds to the JSON property `error`
598
+ # @return [Google::Apis::GameservicesV1beta::Status]
599
+ attr_accessor :error
867
600
 
868
- # The resource name of the game server deployment, in the following form: `
869
- # projects/`project`/locations/`locationId`/gameServerDeployments/`deploymentId``
870
- # . For example, `projects/my-project/locations/global/gameServerDeployments/my-
871
- # deployment`.
872
- # Corresponds to the JSON property `name`
873
- # @return [String]
874
- attr_accessor :name
875
-
876
- # Output only. The last-modified time.
877
- # Corresponds to the JSON property `updateTime`
878
- # @return [String]
879
- attr_accessor :update_time
880
-
881
- def initialize(**args)
882
- update!(**args)
883
- end
884
-
885
- # Update properties of this object
886
- def update!(**args)
887
- @create_time = args[:create_time] if args.key?(:create_time)
888
- @description = args[:description] if args.key?(:description)
889
- @etag = args[:etag] if args.key?(:etag)
890
- @labels = args[:labels] if args.key?(:labels)
891
- @name = args[:name] if args.key?(:name)
892
- @update_time = args[:update_time] if args.key?(:update_time)
893
- end
894
- end
895
-
896
- # The game server deployment rollout which represents the desired rollout state.
897
- class GameServerDeploymentRollout
898
- include Google::Apis::Core::Hashable
899
-
900
- # Output only. The creation time.
901
- # Corresponds to the JSON property `createTime`
902
- # @return [String]
903
- attr_accessor :create_time
904
-
905
- # The default game server config is applied to all realms unless overridden in
906
- # the rollout. For example, `projects/my-project/locations/global/
907
- # gameServerDeployments/my-game/configs/my-config`.
908
- # Corresponds to the JSON property `defaultGameServerConfig`
909
- # @return [String]
910
- attr_accessor :default_game_server_config
911
-
912
- # ETag of the resource.
913
- # Corresponds to the JSON property `etag`
914
- # @return [String]
915
- attr_accessor :etag
916
-
917
- # Contains the game server config rollout overrides. Overrides are processed in
918
- # the order they are listed. Once a match is found for a realm, the rest of the
919
- # list is not processed.
920
- # Corresponds to the JSON property `gameServerConfigOverrides`
921
- # @return [Array<Google::Apis::GameservicesV1beta::GameServerConfigOverride>]
922
- attr_accessor :game_server_config_overrides
923
-
924
- # The resource name of the game server deployment rollout, in the following form:
925
- # `projects/`project`/locations/`locationId`/gameServerDeployments/`
926
- # deploymentId`/rollout`. For example, `projects/my-project/locations/global/
927
- # gameServerDeployments/my-deployment/rollout`.
928
- # Corresponds to the JSON property `name`
929
- # @return [String]
930
- attr_accessor :name
931
-
932
- # Output only. The last-modified time.
933
- # Corresponds to the JSON property `updateTime`
934
- # @return [String]
935
- attr_accessor :update_time
936
-
937
- def initialize(**args)
938
- update!(**args)
939
- end
940
-
941
- # Update properties of this object
942
- def update!(**args)
943
- @create_time = args[:create_time] if args.key?(:create_time)
944
- @default_game_server_config = args[:default_game_server_config] if args.key?(:default_game_server_config)
945
- @etag = args[:etag] if args.key?(:etag)
946
- @game_server_config_overrides = args[:game_server_config_overrides] if args.key?(:game_server_config_overrides)
947
- @name = args[:name] if args.key?(:name)
948
- @update_time = args[:update_time] if args.key?(:update_time)
949
- end
950
- end
951
-
952
- # A reference to a GKE cluster.
953
- class GkeClusterReference
954
- include Google::Apis::Core::Hashable
955
-
956
- # The full or partial name of a GKE cluster, using one of the following forms: *
957
- # `projects/`project`/locations/`locationId`/clusters/`cluster`` * `locations/`
958
- # locationId`/clusters/`cluster`` * ``cluster`` If project and location are not
959
- # specified, the project and location of the GameServerCluster resource are used
960
- # to generate the full name of the GKE cluster.
961
- # Corresponds to the JSON property `cluster`
962
- # @return [String]
963
- attr_accessor :cluster
964
-
965
- def initialize(**args)
966
- update!(**args)
967
- end
968
-
969
- # Update properties of this object
970
- def update!(**args)
971
- @cluster = args[:cluster] if args.key?(:cluster)
972
- end
973
- end
974
-
975
- # The state of the Kubernetes cluster.
976
- class KubernetesClusterState
977
- include Google::Apis::Core::Hashable
978
-
979
- # Output only. The version of Agones currently installed in the registered
980
- # Kubernetes cluster.
981
- # Corresponds to the JSON property `agonesVersionInstalled`
982
- # @return [String]
983
- attr_accessor :agones_version_installed
984
-
985
- # Output only. The version of Agones that is targeted to be installed in the
986
- # cluster.
987
- # Corresponds to the JSON property `agonesVersionTargeted`
988
- # @return [String]
989
- attr_accessor :agones_version_targeted
990
-
991
- # Output only. The state for the installed versions of Agones/Kubernetes.
992
- # Corresponds to the JSON property `installationState`
993
- # @return [String]
994
- attr_accessor :installation_state
995
-
996
- # Output only. The version of Kubernetes that is currently used in the
997
- # registered Kubernetes cluster (as detected by the Cloud Game Servers service).
998
- # Corresponds to the JSON property `kubernetesVersionInstalled`
999
- # @return [String]
1000
- attr_accessor :kubernetes_version_installed
1001
-
1002
- # Output only. The cloud provider type reported by the first node's `providerID`
1003
- # in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that
1004
- # support zero-node clusters (like GKE-on-GCP), the provider type will be empty.
1005
- # Corresponds to the JSON property `provider`
1006
- # @return [String]
1007
- attr_accessor :provider
1008
-
1009
- # Output only. The detailed error message for the installed versions of Agones/
1010
- # Kubernetes.
1011
- # Corresponds to the JSON property `versionInstalledErrorMessage`
1012
- # @return [String]
1013
- attr_accessor :version_installed_error_message
1014
-
1015
- def initialize(**args)
1016
- update!(**args)
1017
- end
1018
-
1019
- # Update properties of this object
1020
- def update!(**args)
1021
- @agones_version_installed = args[:agones_version_installed] if args.key?(:agones_version_installed)
1022
- @agones_version_targeted = args[:agones_version_targeted] if args.key?(:agones_version_targeted)
1023
- @installation_state = args[:installation_state] if args.key?(:installation_state)
1024
- @kubernetes_version_installed = args[:kubernetes_version_installed] if args.key?(:kubernetes_version_installed)
1025
- @provider = args[:provider] if args.key?(:provider)
1026
- @version_installed_error_message = args[:version_installed_error_message] if args.key?(:version_installed_error_message)
1027
- end
1028
- end
1029
-
1030
- # The label selector, used to group labels on the resources.
1031
- class LabelSelector
1032
- include Google::Apis::Core::Hashable
1033
-
1034
- # Resource labels for this selector.
1035
- # Corresponds to the JSON property `labels`
1036
- # @return [Hash<String,String>]
1037
- attr_accessor :labels
1038
-
1039
- def initialize(**args)
1040
- update!(**args)
1041
- end
1042
-
1043
- # Update properties of this object
1044
- def update!(**args)
1045
- @labels = args[:labels] if args.key?(:labels)
1046
- end
1047
- end
1048
-
1049
- # Response message for GameServerClustersService.ListGameServerClusters.
1050
- class ListGameServerClustersResponse
1051
- include Google::Apis::Core::Hashable
1052
-
1053
- # The list of game server clusters.
1054
- # Corresponds to the JSON property `gameServerClusters`
1055
- # @return [Array<Google::Apis::GameservicesV1beta::GameServerCluster>]
1056
- attr_accessor :game_server_clusters
1057
-
1058
- # Token to retrieve the next page of results, or empty if there are no more
1059
- # results in the list.
1060
- # Corresponds to the JSON property `nextPageToken`
1061
- # @return [String]
1062
- attr_accessor :next_page_token
1063
-
1064
- # List of locations that could not be reached.
1065
- # Corresponds to the JSON property `unreachable`
1066
- # @return [Array<String>]
1067
- attr_accessor :unreachable
1068
-
1069
- def initialize(**args)
1070
- update!(**args)
1071
- end
1072
-
1073
- # Update properties of this object
1074
- def update!(**args)
1075
- @game_server_clusters = args[:game_server_clusters] if args.key?(:game_server_clusters)
1076
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1077
- @unreachable = args[:unreachable] if args.key?(:unreachable)
1078
- end
1079
- end
1080
-
1081
- # Response message for GameServerConfigsService.ListGameServerConfigs.
1082
- class ListGameServerConfigsResponse
1083
- include Google::Apis::Core::Hashable
1084
-
1085
- # The list of game server configs.
1086
- # Corresponds to the JSON property `gameServerConfigs`
1087
- # @return [Array<Google::Apis::GameservicesV1beta::GameServerConfig>]
1088
- attr_accessor :game_server_configs
1089
-
1090
- # Token to retrieve the next page of results, or empty if there are no more
1091
- # results in the list.
1092
- # Corresponds to the JSON property `nextPageToken`
1093
- # @return [String]
1094
- attr_accessor :next_page_token
1095
-
1096
- # List of locations that could not be reached.
1097
- # Corresponds to the JSON property `unreachable`
1098
- # @return [Array<String>]
1099
- attr_accessor :unreachable
1100
-
1101
- def initialize(**args)
1102
- update!(**args)
1103
- end
1104
-
1105
- # Update properties of this object
1106
- def update!(**args)
1107
- @game_server_configs = args[:game_server_configs] if args.key?(:game_server_configs)
1108
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1109
- @unreachable = args[:unreachable] if args.key?(:unreachable)
1110
- end
1111
- end
1112
-
1113
- # Response message for GameServerDeploymentsService.ListGameServerDeployments.
1114
- class ListGameServerDeploymentsResponse
1115
- include Google::Apis::Core::Hashable
1116
-
1117
- # The list of game server deployments.
1118
- # Corresponds to the JSON property `gameServerDeployments`
1119
- # @return [Array<Google::Apis::GameservicesV1beta::GameServerDeployment>]
1120
- attr_accessor :game_server_deployments
1121
-
1122
- # Token to retrieve the next page of results, or empty if there are no more
1123
- # results in the list.
1124
- # Corresponds to the JSON property `nextPageToken`
1125
- # @return [String]
1126
- attr_accessor :next_page_token
1127
-
1128
- # List of locations that could not be reached.
1129
- # Corresponds to the JSON property `unreachable`
1130
- # @return [Array<String>]
1131
- attr_accessor :unreachable
1132
-
1133
- def initialize(**args)
1134
- update!(**args)
1135
- end
1136
-
1137
- # Update properties of this object
1138
- def update!(**args)
1139
- @game_server_deployments = args[:game_server_deployments] if args.key?(:game_server_deployments)
1140
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1141
- @unreachable = args[:unreachable] if args.key?(:unreachable)
1142
- end
1143
- end
1144
-
1145
- # The response message for Locations.ListLocations.
1146
- class ListLocationsResponse
1147
- include Google::Apis::Core::Hashable
1148
-
1149
- # A list of locations that matches the specified filter in the request.
1150
- # Corresponds to the JSON property `locations`
1151
- # @return [Array<Google::Apis::GameservicesV1beta::Location>]
1152
- attr_accessor :locations
1153
-
1154
- # The standard List next-page token.
1155
- # Corresponds to the JSON property `nextPageToken`
1156
- # @return [String]
1157
- attr_accessor :next_page_token
1158
-
1159
- def initialize(**args)
1160
- update!(**args)
1161
- end
1162
-
1163
- # Update properties of this object
1164
- def update!(**args)
1165
- @locations = args[:locations] if args.key?(:locations)
1166
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1167
- end
1168
- end
1169
-
1170
- # The response message for Operations.ListOperations.
1171
- class ListOperationsResponse
1172
- include Google::Apis::Core::Hashable
1173
-
1174
- # The standard List next-page token.
1175
- # Corresponds to the JSON property `nextPageToken`
1176
- # @return [String]
1177
- attr_accessor :next_page_token
1178
-
1179
- # A list of operations that matches the specified filter in the request.
1180
- # Corresponds to the JSON property `operations`
1181
- # @return [Array<Google::Apis::GameservicesV1beta::Operation>]
1182
- attr_accessor :operations
1183
-
1184
- def initialize(**args)
1185
- update!(**args)
1186
- end
1187
-
1188
- # Update properties of this object
1189
- def update!(**args)
1190
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1191
- @operations = args[:operations] if args.key?(:operations)
1192
- end
1193
- end
1194
-
1195
- # Response message for RealmsService.ListRealms.
1196
- class ListRealmsResponse
1197
- include Google::Apis::Core::Hashable
1198
-
1199
- # Token to retrieve the next page of results, or empty if there are no more
1200
- # results in the list.
1201
- # Corresponds to the JSON property `nextPageToken`
1202
- # @return [String]
1203
- attr_accessor :next_page_token
1204
-
1205
- # The list of realms.
1206
- # Corresponds to the JSON property `realms`
1207
- # @return [Array<Google::Apis::GameservicesV1beta::Realm>]
1208
- attr_accessor :realms
1209
-
1210
- # List of locations that could not be reached.
1211
- # Corresponds to the JSON property `unreachable`
1212
- # @return [Array<String>]
1213
- attr_accessor :unreachable
1214
-
1215
- def initialize(**args)
1216
- update!(**args)
1217
- end
1218
-
1219
- # Update properties of this object
1220
- def update!(**args)
1221
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1222
- @realms = args[:realms] if args.key?(:realms)
1223
- @unreachable = args[:unreachable] if args.key?(:unreachable)
1224
- end
1225
- end
1226
-
1227
- # A resource that represents Google Cloud Platform location.
1228
- class Location
1229
- include Google::Apis::Core::Hashable
1230
-
1231
- # The friendly name for this location, typically a nearby city name. For example,
1232
- # "Tokyo".
1233
- # Corresponds to the JSON property `displayName`
1234
- # @return [String]
1235
- attr_accessor :display_name
1236
-
1237
- # Cross-service attributes for the location. For example `"cloud.googleapis.com/
1238
- # region": "us-east1"`
1239
- # Corresponds to the JSON property `labels`
1240
- # @return [Hash<String,String>]
1241
- attr_accessor :labels
1242
-
1243
- # The canonical id for this location. For example: `"us-east1"`.
1244
- # Corresponds to the JSON property `locationId`
1245
- # @return [String]
1246
- attr_accessor :location_id
1247
-
1248
- # Service-specific metadata. For example the available capacity at the given
1249
- # location.
601
+ # Service-specific metadata associated with the operation. It typically contains
602
+ # progress information and common metadata such as create time. Some services
603
+ # might not provide such metadata. Any method that returns a long-running
604
+ # operation should document the metadata type, if any.
1250
605
  # Corresponds to the JSON property `metadata`
1251
- # @return [Hash<String,Object>]
1252
- attr_accessor :metadata
1253
-
1254
- # Resource name for the location, which may vary between implementations. For
1255
- # example: `"projects/example-project/locations/us-east1"`
1256
- # Corresponds to the JSON property `name`
1257
- # @return [String]
1258
- attr_accessor :name
1259
-
1260
- def initialize(**args)
1261
- update!(**args)
1262
- end
1263
-
1264
- # Update properties of this object
1265
- def update!(**args)
1266
- @display_name = args[:display_name] if args.key?(:display_name)
1267
- @labels = args[:labels] if args.key?(:labels)
1268
- @location_id = args[:location_id] if args.key?(:location_id)
1269
- @metadata = args[:metadata] if args.key?(:metadata)
1270
- @name = args[:name] if args.key?(:name)
1271
- end
1272
- end
1273
-
1274
- # Specifies what kind of log the caller must write
1275
- class LogConfig
1276
- include Google::Apis::Core::Hashable
1277
-
1278
- # Write a Cloud Audit log
1279
- # Corresponds to the JSON property `cloudAudit`
1280
- # @return [Google::Apis::GameservicesV1beta::CloudAuditOptions]
1281
- attr_accessor :cloud_audit
1282
-
1283
- # Increment a streamz counter with the specified metric and field names. Metric
1284
- # names should start with a '/', generally be lowercase-only, and end in "_count"
1285
- # . Field names should not contain an initial slash. The actual exported metric
1286
- # names will have "/iam/policy" prepended. Field names correspond to IAM request
1287
- # parameters and field values are their respective values. Supported field names:
1288
- # - "authority", which is "[token]" if IAMContext.token is present, otherwise
1289
- # the value of IAMContext.authority_selector if present, and otherwise a
1290
- # representation of IAMContext.principal; or - "iam_principal", a representation
1291
- # of IAMContext.principal even if a token or authority selector is present; or -
1292
- # "" (empty string), resulting in a counter with no fields. Examples: counter `
1293
- # metric: "/debug_access_count" field: "iam_principal" ` ==> increment counter /
1294
- # iam/policy/debug_access_count `iam_principal=[value of IAMContext.principal]`
1295
- # Corresponds to the JSON property `counter`
1296
- # @return [Google::Apis::GameservicesV1beta::CounterOptions]
1297
- attr_accessor :counter
1298
-
1299
- # Write a Data Access (Gin) log
1300
- # Corresponds to the JSON property `dataAccess`
1301
- # @return [Google::Apis::GameservicesV1beta::DataAccessOptions]
1302
- attr_accessor :data_access
1303
-
1304
- def initialize(**args)
1305
- update!(**args)
1306
- end
1307
-
1308
- # Update properties of this object
1309
- def update!(**args)
1310
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
1311
- @counter = args[:counter] if args.key?(:counter)
1312
- @data_access = args[:data_access] if args.key?(:data_access)
1313
- end
1314
- end
1315
-
1316
- # This resource represents a long-running operation that is the result of a
1317
- # network API call.
1318
- class Operation
1319
- include Google::Apis::Core::Hashable
1320
-
1321
- # If the value is `false`, it means the operation is still in progress. If `true`
1322
- # , the operation is completed, and either `error` or `response` is available.
1323
- # Corresponds to the JSON property `done`
1324
- # @return [Boolean]
1325
- attr_accessor :done
1326
- alias_method :done?, :done
1327
-
1328
- # The `Status` type defines a logical error model that is suitable for different
1329
- # programming environments, including REST APIs and RPC APIs. It is used by [
1330
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1331
- # data: error code, error message, and error details. You can find out more
1332
- # about this error model and how to work with it in the [API Design Guide](https:
1333
- # //cloud.google.com/apis/design/errors).
1334
- # Corresponds to the JSON property `error`
1335
- # @return [Google::Apis::GameservicesV1beta::Status]
1336
- attr_accessor :error
1337
-
1338
- # Service-specific metadata associated with the operation. It typically contains
1339
- # progress information and common metadata such as create time. Some services
1340
- # might not provide such metadata. Any method that returns a long-running
1341
- # operation should document the metadata type, if any.
1342
- # Corresponds to the JSON property `metadata`
1343
- # @return [Hash<String,Object>]
1344
- attr_accessor :metadata
1345
-
1346
- # The server-assigned name, which is only unique within the same service that
1347
- # originally returns it. If you use the default HTTP mapping, the `name` should
1348
- # be a resource name ending with `operations/`unique_id``.
1349
- # Corresponds to the JSON property `name`
1350
- # @return [String]
1351
- attr_accessor :name
1352
-
1353
- # The normal response of the operation in case of success. If the original
1354
- # method returns no data on success, such as `Delete`, the response is `google.
1355
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1356
- # the response should be the resource. For other methods, the response should
1357
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1358
- # example, if the original method name is `TakeSnapshot()`, the inferred
1359
- # response type is `TakeSnapshotResponse`.
1360
- # Corresponds to the JSON property `response`
1361
- # @return [Hash<String,Object>]
1362
- attr_accessor :response
1363
-
1364
- def initialize(**args)
1365
- update!(**args)
1366
- end
1367
-
1368
- # Update properties of this object
1369
- def update!(**args)
1370
- @done = args[:done] if args.key?(:done)
1371
- @error = args[:error] if args.key?(:error)
1372
- @metadata = args[:metadata] if args.key?(:metadata)
1373
- @name = args[:name] if args.key?(:name)
1374
- @response = args[:response] if args.key?(:response)
1375
- end
1376
- end
1377
-
1378
- # Represents the metadata of the long-running operation.
1379
- class OperationMetadata
1380
- include Google::Apis::Core::Hashable
1381
-
1382
- # Output only. API version used to start the operation.
1383
- # Corresponds to the JSON property `apiVersion`
1384
- # @return [String]
1385
- attr_accessor :api_version
1386
-
1387
- # Output only. The time the operation was created.
1388
- # Corresponds to the JSON property `createTime`
1389
- # @return [String]
1390
- attr_accessor :create_time
1391
-
1392
- # Output only. The time the operation finished running.
1393
- # Corresponds to the JSON property `endTime`
1394
- # @return [String]
1395
- attr_accessor :end_time
1396
-
1397
- # Output only. Operation status for Game Services API operations. Operation
1398
- # status is in the form of key-value pairs where keys are resource IDs and the
1399
- # values show the status of the operation. In case of failures, the value
1400
- # includes an error code and error message.
1401
- # Corresponds to the JSON property `operationStatus`
1402
- # @return [Hash<String,Google::Apis::GameservicesV1beta::OperationStatus>]
1403
- attr_accessor :operation_status
1404
-
1405
- # Output only. Identifies whether the user has requested cancellation of the
1406
- # operation. Operations that have successfully been cancelled have Operation.
1407
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1408
- # CANCELLED`.
1409
- # Corresponds to the JSON property `requestedCancellation`
1410
- # @return [Boolean]
1411
- attr_accessor :requested_cancellation
1412
- alias_method :requested_cancellation?, :requested_cancellation
1413
-
1414
- # Output only. Human-readable status of the operation, if any.
1415
- # Corresponds to the JSON property `statusMessage`
1416
- # @return [String]
1417
- attr_accessor :status_message
1418
-
1419
- # Output only. Server-defined resource path for the target of the operation.
1420
- # Corresponds to the JSON property `target`
1421
- # @return [String]
1422
- attr_accessor :target
1423
-
1424
- # Output only. List of Locations that could not be reached.
1425
- # Corresponds to the JSON property `unreachable`
1426
- # @return [Array<String>]
1427
- attr_accessor :unreachable
1428
-
1429
- # Output only. Name of the verb executed by the operation.
1430
- # Corresponds to the JSON property `verb`
1431
- # @return [String]
1432
- attr_accessor :verb
1433
-
1434
- def initialize(**args)
1435
- update!(**args)
1436
- end
1437
-
1438
- # Update properties of this object
1439
- def update!(**args)
1440
- @api_version = args[:api_version] if args.key?(:api_version)
1441
- @create_time = args[:create_time] if args.key?(:create_time)
1442
- @end_time = args[:end_time] if args.key?(:end_time)
1443
- @operation_status = args[:operation_status] if args.key?(:operation_status)
1444
- @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
1445
- @status_message = args[:status_message] if args.key?(:status_message)
1446
- @target = args[:target] if args.key?(:target)
1447
- @unreachable = args[:unreachable] if args.key?(:unreachable)
1448
- @verb = args[:verb] if args.key?(:verb)
1449
- end
1450
- end
1451
-
1452
- #
1453
- class OperationStatus
1454
- include Google::Apis::Core::Hashable
1455
-
1456
- # Output only. Whether the operation is done or still in progress.
1457
- # Corresponds to the JSON property `done`
1458
- # @return [Boolean]
1459
- attr_accessor :done
1460
- alias_method :done?, :done
1461
-
1462
- # The error code in case of failures.
1463
- # Corresponds to the JSON property `errorCode`
1464
- # @return [String]
1465
- attr_accessor :error_code
1466
-
1467
- # The human-readable error message.
1468
- # Corresponds to the JSON property `errorMessage`
1469
- # @return [String]
1470
- attr_accessor :error_message
1471
-
1472
- def initialize(**args)
1473
- update!(**args)
1474
- end
1475
-
1476
- # Update properties of this object
1477
- def update!(**args)
1478
- @done = args[:done] if args.key?(:done)
1479
- @error_code = args[:error_code] if args.key?(:error_code)
1480
- @error_message = args[:error_message] if args.key?(:error_message)
1481
- end
1482
- end
1483
-
1484
- # An Identity and Access Management (IAM) policy, which specifies access
1485
- # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1486
- # A `binding` binds one or more `members`, or principals, to a single `role`.
1487
- # Principals can be user accounts, service accounts, Google groups, and domains (
1488
- # such as G Suite). A `role` is a named list of permissions; each `role` can be
1489
- # an IAM predefined role or a user-created custom role. For some types of Google
1490
- # Cloud resources, a `binding` can also specify a `condition`, which is a
1491
- # logical expression that allows access to a resource only if the expression
1492
- # evaluates to `true`. A condition can add constraints based on attributes of
1493
- # the request, the resource, or both. To learn which resources support
1494
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1495
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1496
- # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1497
- # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1498
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1499
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1500
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
1501
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1502
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1503
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1504
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1505
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1506
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1507
- # access description: Does not grant access after Sep 2020 expression: request.
1508
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1509
- # a description of IAM and its features, see the [IAM documentation](https://
1510
- # cloud.google.com/iam/docs/).
1511
- class Policy
1512
- include Google::Apis::Core::Hashable
1513
-
1514
- # Specifies cloud audit logging configuration for this policy.
1515
- # Corresponds to the JSON property `auditConfigs`
1516
- # @return [Array<Google::Apis::GameservicesV1beta::AuditConfig>]
1517
- attr_accessor :audit_configs
1518
-
1519
- # Associates a list of `members`, or principals, with a `role`. Optionally, may
1520
- # specify a `condition` that determines how and when the `bindings` are applied.
1521
- # Each of the `bindings` must contain at least one principal. The `bindings` in
1522
- # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1523
- # can be Google groups. Each occurrence of a principal counts towards these
1524
- # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1525
- # example.com`, and not to any other principal, then you can add another 1,450
1526
- # principals to the `bindings` in the `Policy`.
1527
- # Corresponds to the JSON property `bindings`
1528
- # @return [Array<Google::Apis::GameservicesV1beta::Binding>]
1529
- attr_accessor :bindings
1530
-
1531
- # `etag` is used for optimistic concurrency control as a way to help prevent
1532
- # simultaneous updates of a policy from overwriting each other. It is strongly
1533
- # suggested that systems make use of the `etag` in the read-modify-write cycle
1534
- # to perform policy updates in order to avoid race conditions: An `etag` is
1535
- # returned in the response to `getIamPolicy`, and systems are expected to put
1536
- # that etag in the request to `setIamPolicy` to ensure that their change will be
1537
- # applied to the same version of the policy. **Important:** If you use IAM
1538
- # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1539
- # If you omit this field, then IAM allows you to overwrite a version `3` policy
1540
- # with a version `1` policy, and all of the conditions in the version `3` policy
1541
- # are lost.
1542
- # Corresponds to the JSON property `etag`
1543
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
1544
- # @return [String]
1545
- attr_accessor :etag
1546
-
1547
- # If more than one rule is specified, the rules are applied in the following
1548
- # manner: - All matching LOG rules are always applied. - If any DENY/
1549
- # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
1550
- # one or more matching rule requires logging. - Otherwise, if any ALLOW/
1551
- # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
1552
- # one or more matching rule requires logging. - Otherwise, if no rule applies,
1553
- # permission is denied.
1554
- # Corresponds to the JSON property `rules`
1555
- # @return [Array<Google::Apis::GameservicesV1beta::Rule>]
1556
- attr_accessor :rules
1557
-
1558
- # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1559
- # Requests that specify an invalid value are rejected. Any operation that
1560
- # affects conditional role bindings must specify version `3`. This requirement
1561
- # applies to the following operations: * Getting a policy that includes a
1562
- # conditional role binding * Adding a conditional role binding to a policy *
1563
- # Changing a conditional role binding in a policy * Removing any role binding,
1564
- # with or without a condition, from a policy that includes conditions **
1565
- # Important:** If you use IAM Conditions, you must include the `etag` field
1566
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1567
- # to overwrite a version `3` policy with a version `1` policy, and all of the
1568
- # conditions in the version `3` policy are lost. If a policy does not include
1569
- # any conditions, operations on that policy may specify any valid version or
1570
- # leave the field unset. To learn which resources support conditions in their
1571
- # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1572
- # conditions/resource-policies).
1573
- # Corresponds to the JSON property `version`
1574
- # @return [Fixnum]
1575
- attr_accessor :version
1576
-
1577
- def initialize(**args)
1578
- update!(**args)
1579
- end
1580
-
1581
- # Update properties of this object
1582
- def update!(**args)
1583
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1584
- @bindings = args[:bindings] if args.key?(:bindings)
1585
- @etag = args[:etag] if args.key?(:etag)
1586
- @rules = args[:rules] if args.key?(:rules)
1587
- @version = args[:version] if args.key?(:version)
1588
- end
1589
- end
1590
-
1591
- # Response message for GameServerClustersService.PreviewCreateGameServerCluster.
1592
- class PreviewCreateGameServerClusterResponse
1593
- include Google::Apis::Core::Hashable
1594
-
1595
- # The state of the Kubernetes cluster.
1596
- # Corresponds to the JSON property `clusterState`
1597
- # @return [Google::Apis::GameservicesV1beta::KubernetesClusterState]
1598
- attr_accessor :cluster_state
1599
-
1600
- # The ETag of the game server cluster.
1601
- # Corresponds to the JSON property `etag`
1602
- # @return [String]
1603
- attr_accessor :etag
1604
-
1605
- # Encapsulates the Target state.
1606
- # Corresponds to the JSON property `targetState`
1607
- # @return [Google::Apis::GameservicesV1beta::TargetState]
1608
- attr_accessor :target_state
1609
-
1610
- def initialize(**args)
1611
- update!(**args)
1612
- end
1613
-
1614
- # Update properties of this object
1615
- def update!(**args)
1616
- @cluster_state = args[:cluster_state] if args.key?(:cluster_state)
1617
- @etag = args[:etag] if args.key?(:etag)
1618
- @target_state = args[:target_state] if args.key?(:target_state)
1619
- end
1620
- end
1621
-
1622
- # Response message for GameServerClustersService.PreviewDeleteGameServerCluster.
1623
- class PreviewDeleteGameServerClusterResponse
1624
- include Google::Apis::Core::Hashable
1625
-
1626
- # The ETag of the game server cluster.
1627
- # Corresponds to the JSON property `etag`
1628
- # @return [String]
1629
- attr_accessor :etag
1630
-
1631
- # Encapsulates the Target state.
1632
- # Corresponds to the JSON property `targetState`
1633
- # @return [Google::Apis::GameservicesV1beta::TargetState]
1634
- attr_accessor :target_state
1635
-
1636
- def initialize(**args)
1637
- update!(**args)
1638
- end
1639
-
1640
- # Update properties of this object
1641
- def update!(**args)
1642
- @etag = args[:etag] if args.key?(:etag)
1643
- @target_state = args[:target_state] if args.key?(:target_state)
1644
- end
1645
- end
1646
-
1647
- # Response message for PreviewGameServerDeploymentRollout. This has details
1648
- # about the Agones fleet and autoscaler to be actuated.
1649
- class PreviewGameServerDeploymentRolloutResponse
1650
- include Google::Apis::Core::Hashable
1651
-
1652
- # ETag of the game server deployment.
1653
- # Corresponds to the JSON property `etag`
1654
- # @return [String]
1655
- attr_accessor :etag
1656
-
1657
- # Encapsulates the Target state.
1658
- # Corresponds to the JSON property `targetState`
1659
- # @return [Google::Apis::GameservicesV1beta::TargetState]
1660
- attr_accessor :target_state
1661
-
1662
- # Locations that could not be reached on this request.
1663
- # Corresponds to the JSON property `unavailable`
1664
- # @return [Array<String>]
1665
- attr_accessor :unavailable
1666
-
1667
- def initialize(**args)
1668
- update!(**args)
1669
- end
1670
-
1671
- # Update properties of this object
1672
- def update!(**args)
1673
- @etag = args[:etag] if args.key?(:etag)
1674
- @target_state = args[:target_state] if args.key?(:target_state)
1675
- @unavailable = args[:unavailable] if args.key?(:unavailable)
1676
- end
1677
- end
1678
-
1679
- # Response message for RealmsService.PreviewRealmUpdate.
1680
- class PreviewRealmUpdateResponse
1681
- include Google::Apis::Core::Hashable
1682
-
1683
- # ETag of the realm.
1684
- # Corresponds to the JSON property `etag`
1685
- # @return [String]
1686
- attr_accessor :etag
1687
-
1688
- # Encapsulates the Target state.
1689
- # Corresponds to the JSON property `targetState`
1690
- # @return [Google::Apis::GameservicesV1beta::TargetState]
1691
- attr_accessor :target_state
1692
-
1693
- def initialize(**args)
1694
- update!(**args)
1695
- end
1696
-
1697
- # Update properties of this object
1698
- def update!(**args)
1699
- @etag = args[:etag] if args.key?(:etag)
1700
- @target_state = args[:target_state] if args.key?(:target_state)
1701
- end
1702
- end
1703
-
1704
- # Response message for GameServerClustersService.PreviewUpdateGameServerCluster
1705
- class PreviewUpdateGameServerClusterResponse
1706
- include Google::Apis::Core::Hashable
1707
-
1708
- # The ETag of the game server cluster.
1709
- # Corresponds to the JSON property `etag`
1710
- # @return [String]
1711
- attr_accessor :etag
1712
-
1713
- # Encapsulates the Target state.
1714
- # Corresponds to the JSON property `targetState`
1715
- # @return [Google::Apis::GameservicesV1beta::TargetState]
1716
- attr_accessor :target_state
1717
-
1718
- def initialize(**args)
1719
- update!(**args)
1720
- end
1721
-
1722
- # Update properties of this object
1723
- def update!(**args)
1724
- @etag = args[:etag] if args.key?(:etag)
1725
- @target_state = args[:target_state] if args.key?(:target_state)
1726
- end
1727
- end
1728
-
1729
- # A realm resource.
1730
- class Realm
1731
- include Google::Apis::Core::Hashable
1732
-
1733
- # Output only. The creation time.
1734
- # Corresponds to the JSON property `createTime`
1735
- # @return [String]
1736
- attr_accessor :create_time
1737
-
1738
- # Human readable description of the realm.
1739
- # Corresponds to the JSON property `description`
1740
- # @return [String]
1741
- attr_accessor :description
1742
-
1743
- # Used to perform consistent read-modify-write updates. If not set, a blind "
1744
- # overwrite" update happens.
1745
- # Corresponds to the JSON property `etag`
1746
- # @return [String]
1747
- attr_accessor :etag
1748
-
1749
- # The labels associated with this realm. Each label is a key-value pair.
1750
- # Corresponds to the JSON property `labels`
1751
- # @return [Hash<String,String>]
1752
- attr_accessor :labels
606
+ # @return [Hash<String,Object>]
607
+ attr_accessor :metadata
1753
608
 
1754
- # The resource name of the realm, in the following form: `projects/`project`/
1755
- # locations/`locationId`/realms/`realmId``. For example, `projects/my-project/
1756
- # locations/global/realms/my-realm`.
609
+ # The server-assigned name, which is only unique within the same service that
610
+ # originally returns it. If you use the default HTTP mapping, the `name` should
611
+ # be a resource name ending with `operations/`unique_id``.
1757
612
  # Corresponds to the JSON property `name`
1758
613
  # @return [String]
1759
614
  attr_accessor :name
1760
615
 
1761
- # Required. Time zone where all policies targeting this realm are evaluated. The
1762
- # value of this field must be from the [IANA time zone database](https://www.
1763
- # iana.org/time-zones).
1764
- # Corresponds to the JSON property `timeZone`
1765
- # @return [String]
1766
- attr_accessor :time_zone
1767
-
1768
- # Output only. The last-modified time.
1769
- # Corresponds to the JSON property `updateTime`
1770
- # @return [String]
1771
- attr_accessor :update_time
616
+ # The normal response of the operation in case of success. If the original
617
+ # method returns no data on success, such as `Delete`, the response is `google.
618
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
619
+ # the response should be the resource. For other methods, the response should
620
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
621
+ # example, if the original method name is `TakeSnapshot()`, the inferred
622
+ # response type is `TakeSnapshotResponse`.
623
+ # Corresponds to the JSON property `response`
624
+ # @return [Hash<String,Object>]
625
+ attr_accessor :response
1772
626
 
1773
627
  def initialize(**args)
1774
628
  update!(**args)
@@ -1776,24 +630,106 @@ module Google
1776
630
 
1777
631
  # Update properties of this object
1778
632
  def update!(**args)
1779
- @create_time = args[:create_time] if args.key?(:create_time)
1780
- @description = args[:description] if args.key?(:description)
1781
- @etag = args[:etag] if args.key?(:etag)
1782
- @labels = args[:labels] if args.key?(:labels)
633
+ @done = args[:done] if args.key?(:done)
634
+ @error = args[:error] if args.key?(:error)
635
+ @metadata = args[:metadata] if args.key?(:metadata)
1783
636
  @name = args[:name] if args.key?(:name)
1784
- @time_zone = args[:time_zone] if args.key?(:time_zone)
1785
- @update_time = args[:update_time] if args.key?(:update_time)
637
+ @response = args[:response] if args.key?(:response)
1786
638
  end
1787
639
  end
1788
640
 
1789
- # The realm selector, used to match realm resources.
1790
- class RealmSelector
641
+ # An Identity and Access Management (IAM) policy, which specifies access
642
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
643
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
644
+ # Principals can be user accounts, service accounts, Google groups, and domains (
645
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
646
+ # an IAM predefined role or a user-created custom role. For some types of Google
647
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
648
+ # logical expression that allows access to a resource only if the expression
649
+ # evaluates to `true`. A condition can add constraints based on attributes of
650
+ # the request, the resource, or both. To learn which resources support
651
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
652
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
653
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
654
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
655
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
656
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
657
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
658
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
659
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
660
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
661
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
662
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
663
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
664
+ # access description: Does not grant access after Sep 2020 expression: request.
665
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
666
+ # a description of IAM and its features, see the [IAM documentation](https://
667
+ # cloud.google.com/iam/docs/).
668
+ class Policy
1791
669
  include Google::Apis::Core::Hashable
1792
670
 
1793
- # List of realms to match.
1794
- # Corresponds to the JSON property `realms`
1795
- # @return [Array<String>]
1796
- attr_accessor :realms
671
+ # Specifies cloud audit logging configuration for this policy.
672
+ # Corresponds to the JSON property `auditConfigs`
673
+ # @return [Array<Google::Apis::GameservicesV1beta::AuditConfig>]
674
+ attr_accessor :audit_configs
675
+
676
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
677
+ # specify a `condition` that determines how and when the `bindings` are applied.
678
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
679
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
680
+ # can be Google groups. Each occurrence of a principal counts towards these
681
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
682
+ # example.com`, and not to any other principal, then you can add another 1,450
683
+ # principals to the `bindings` in the `Policy`.
684
+ # Corresponds to the JSON property `bindings`
685
+ # @return [Array<Google::Apis::GameservicesV1beta::Binding>]
686
+ attr_accessor :bindings
687
+
688
+ # `etag` is used for optimistic concurrency control as a way to help prevent
689
+ # simultaneous updates of a policy from overwriting each other. It is strongly
690
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
691
+ # to perform policy updates in order to avoid race conditions: An `etag` is
692
+ # returned in the response to `getIamPolicy`, and systems are expected to put
693
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
694
+ # applied to the same version of the policy. **Important:** If you use IAM
695
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
696
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
697
+ # with a version `1` policy, and all of the conditions in the version `3` policy
698
+ # are lost.
699
+ # Corresponds to the JSON property `etag`
700
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
701
+ # @return [String]
702
+ attr_accessor :etag
703
+
704
+ # If more than one rule is specified, the rules are applied in the following
705
+ # manner: - All matching LOG rules are always applied. - If any DENY/
706
+ # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
707
+ # one or more matching rule requires logging. - Otherwise, if any ALLOW/
708
+ # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
709
+ # one or more matching rule requires logging. - Otherwise, if no rule applies,
710
+ # permission is denied.
711
+ # Corresponds to the JSON property `rules`
712
+ # @return [Array<Google::Apis::GameservicesV1beta::Rule>]
713
+ attr_accessor :rules
714
+
715
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
716
+ # Requests that specify an invalid value are rejected. Any operation that
717
+ # affects conditional role bindings must specify version `3`. This requirement
718
+ # applies to the following operations: * Getting a policy that includes a
719
+ # conditional role binding * Adding a conditional role binding to a policy *
720
+ # Changing a conditional role binding in a policy * Removing any role binding,
721
+ # with or without a condition, from a policy that includes conditions **
722
+ # Important:** If you use IAM Conditions, you must include the `etag` field
723
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
724
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
725
+ # conditions in the version `3` policy are lost. If a policy does not include
726
+ # any conditions, operations on that policy may specify any valid version or
727
+ # leave the field unset. To learn which resources support conditions in their
728
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
729
+ # conditions/resource-policies).
730
+ # Corresponds to the JSON property `version`
731
+ # @return [Fixnum]
732
+ attr_accessor :version
1797
733
 
1798
734
  def initialize(**args)
1799
735
  update!(**args)
@@ -1801,7 +737,11 @@ module Google
1801
737
 
1802
738
  # Update properties of this object
1803
739
  def update!(**args)
1804
- @realms = args[:realms] if args.key?(:realms)
740
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
741
+ @bindings = args[:bindings] if args.key?(:bindings)
742
+ @etag = args[:etag] if args.key?(:etag)
743
+ @rules = args[:rules] if args.key?(:rules)
744
+ @version = args[:version] if args.key?(:version)
1805
745
  end
1806
746
  end
1807
747
 
@@ -1868,91 +808,6 @@ module Google
1868
808
  end
1869
809
  end
1870
810
 
1871
- # Autoscaling config for an Agones fleet.
1872
- class ScalingConfig
1873
- include Google::Apis::Core::Hashable
1874
-
1875
- # Required. Agones fleet autoscaler spec (see [example spec](https://agones.dev/
1876
- # site/docs/reference/fleetautoscaler/)).
1877
- # Corresponds to the JSON property `fleetAutoscalerSpec`
1878
- # @return [String]
1879
- attr_accessor :fleet_autoscaler_spec
1880
-
1881
- # Required. The name of the scaling config.
1882
- # Corresponds to the JSON property `name`
1883
- # @return [String]
1884
- attr_accessor :name
1885
-
1886
- # The schedules to which this scaling config applies.
1887
- # Corresponds to the JSON property `schedules`
1888
- # @return [Array<Google::Apis::GameservicesV1beta::Schedule>]
1889
- attr_accessor :schedules
1890
-
1891
- # Labels used to identify the game server clusters to which this Agones scaling
1892
- # config applies. A game server cluster is subject to this Agones scaling config
1893
- # if its labels match any of the selector entries.
1894
- # Corresponds to the JSON property `selectors`
1895
- # @return [Array<Google::Apis::GameservicesV1beta::LabelSelector>]
1896
- attr_accessor :selectors
1897
-
1898
- def initialize(**args)
1899
- update!(**args)
1900
- end
1901
-
1902
- # Update properties of this object
1903
- def update!(**args)
1904
- @fleet_autoscaler_spec = args[:fleet_autoscaler_spec] if args.key?(:fleet_autoscaler_spec)
1905
- @name = args[:name] if args.key?(:name)
1906
- @schedules = args[:schedules] if args.key?(:schedules)
1907
- @selectors = args[:selectors] if args.key?(:selectors)
1908
- end
1909
- end
1910
-
1911
- # The schedule of a recurring or one time event. The event's time span is
1912
- # specified by start_time and end_time. If the scheduled event's timespan is
1913
- # larger than cron_spec added with cron_job_duration, the event is recurring. If
1914
- # only cron_spec and cron_job_duration are specified, the event starts at the
1915
- # local time specified by cron_spec, and is recurring. ``` start_time|-------[
1916
- # cron job]-------[cron job]-------[cron job]---|end_time cron job: cron spec
1917
- # start time + duration ```
1918
- class Schedule
1919
- include Google::Apis::Core::Hashable
1920
-
1921
- # The duration for the cron job event. The duration of the event is effective
1922
- # after the cron job's start time.
1923
- # Corresponds to the JSON property `cronJobDuration`
1924
- # @return [String]
1925
- attr_accessor :cron_job_duration
1926
-
1927
- # The cron definition of the scheduled event. See https://en.wikipedia.org/wiki/
1928
- # Cron. The cron spec specifies the local time as defined by the realm.
1929
- # Corresponds to the JSON property `cronSpec`
1930
- # @return [String]
1931
- attr_accessor :cron_spec
1932
-
1933
- # The end time of the event.
1934
- # Corresponds to the JSON property `endTime`
1935
- # @return [String]
1936
- attr_accessor :end_time
1937
-
1938
- # The start time of the event.
1939
- # Corresponds to the JSON property `startTime`
1940
- # @return [String]
1941
- attr_accessor :start_time
1942
-
1943
- def initialize(**args)
1944
- update!(**args)
1945
- end
1946
-
1947
- # Update properties of this object
1948
- def update!(**args)
1949
- @cron_job_duration = args[:cron_job_duration] if args.key?(:cron_job_duration)
1950
- @cron_spec = args[:cron_spec] if args.key?(:cron_spec)
1951
- @end_time = args[:end_time] if args.key?(:end_time)
1952
- @start_time = args[:start_time] if args.key?(:start_time)
1953
- end
1954
- end
1955
-
1956
811
  # Request message for `SetIamPolicy` method.
1957
812
  class SetIamPolicyRequest
1958
813
  include Google::Apis::Core::Hashable
@@ -2006,33 +861,6 @@ module Google
2006
861
  end
2007
862
  end
2008
863
 
2009
- # Encapsulates Agones fleet spec and Agones autoscaler spec sources.
2010
- class SpecSource
2011
- include Google::Apis::Core::Hashable
2012
-
2013
- # The game server config resource. Uses the form: `projects/`project`/locations/`
2014
- # locationId`/gameServerDeployments/`deploymentId`/configs/`configId``.
2015
- # Corresponds to the JSON property `gameServerConfigName`
2016
- # @return [String]
2017
- attr_accessor :game_server_config_name
2018
-
2019
- # The name of the Agones fleet config or Agones scaling config used to derive
2020
- # the Agones fleet or Agones autoscaler spec.
2021
- # Corresponds to the JSON property `name`
2022
- # @return [String]
2023
- attr_accessor :name
2024
-
2025
- def initialize(**args)
2026
- update!(**args)
2027
- end
2028
-
2029
- # Update properties of this object
2030
- def update!(**args)
2031
- @game_server_config_name = args[:game_server_config_name] if args.key?(:game_server_config_name)
2032
- @name = args[:name] if args.key?(:name)
2033
- end
2034
- end
2035
-
2036
864
  # The `Status` type defines a logical error model that is suitable for different
2037
865
  # programming environments, including REST APIs and RPC APIs. It is used by [
2038
866
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -2072,133 +900,6 @@ module Google
2072
900
  end
2073
901
  end
2074
902
 
2075
- # Details about the Agones resources.
2076
- class TargetDetails
2077
- include Google::Apis::Core::Hashable
2078
-
2079
- # Agones fleet details for game server clusters and game server deployments.
2080
- # Corresponds to the JSON property `fleetDetails`
2081
- # @return [Array<Google::Apis::GameservicesV1beta::TargetFleetDetails>]
2082
- attr_accessor :fleet_details
2083
-
2084
- # The game server cluster name. Uses the form: `projects/`project`/locations/`
2085
- # locationId`/realms/`realmId`/gameServerClusters/`gameServerClusterId``.
2086
- # Corresponds to the JSON property `gameServerClusterName`
2087
- # @return [String]
2088
- attr_accessor :game_server_cluster_name
2089
-
2090
- # The game server deployment name. Uses the form: `projects/`project`/locations/`
2091
- # locationId`/gameServerDeployments/`deploymentId``.
2092
- # Corresponds to the JSON property `gameServerDeploymentName`
2093
- # @return [String]
2094
- attr_accessor :game_server_deployment_name
2095
-
2096
- def initialize(**args)
2097
- update!(**args)
2098
- end
2099
-
2100
- # Update properties of this object
2101
- def update!(**args)
2102
- @fleet_details = args[:fleet_details] if args.key?(:fleet_details)
2103
- @game_server_cluster_name = args[:game_server_cluster_name] if args.key?(:game_server_cluster_name)
2104
- @game_server_deployment_name = args[:game_server_deployment_name] if args.key?(:game_server_deployment_name)
2105
- end
2106
- end
2107
-
2108
- # Target Agones fleet specification.
2109
- class TargetFleet
2110
- include Google::Apis::Core::Hashable
2111
-
2112
- # The name of the Agones fleet.
2113
- # Corresponds to the JSON property `name`
2114
- # @return [String]
2115
- attr_accessor :name
2116
-
2117
- # Encapsulates Agones fleet spec and Agones autoscaler spec sources.
2118
- # Corresponds to the JSON property `specSource`
2119
- # @return [Google::Apis::GameservicesV1beta::SpecSource]
2120
- attr_accessor :spec_source
2121
-
2122
- def initialize(**args)
2123
- update!(**args)
2124
- end
2125
-
2126
- # Update properties of this object
2127
- def update!(**args)
2128
- @name = args[:name] if args.key?(:name)
2129
- @spec_source = args[:spec_source] if args.key?(:spec_source)
2130
- end
2131
- end
2132
-
2133
- # Target Agones autoscaler policy reference.
2134
- class TargetFleetAutoscaler
2135
- include Google::Apis::Core::Hashable
2136
-
2137
- # The name of the Agones autoscaler.
2138
- # Corresponds to the JSON property `name`
2139
- # @return [String]
2140
- attr_accessor :name
2141
-
2142
- # Encapsulates Agones fleet spec and Agones autoscaler spec sources.
2143
- # Corresponds to the JSON property `specSource`
2144
- # @return [Google::Apis::GameservicesV1beta::SpecSource]
2145
- attr_accessor :spec_source
2146
-
2147
- def initialize(**args)
2148
- update!(**args)
2149
- end
2150
-
2151
- # Update properties of this object
2152
- def update!(**args)
2153
- @name = args[:name] if args.key?(:name)
2154
- @spec_source = args[:spec_source] if args.key?(:spec_source)
2155
- end
2156
- end
2157
-
2158
- # Details of the target Agones fleet.
2159
- class TargetFleetDetails
2160
- include Google::Apis::Core::Hashable
2161
-
2162
- # Target Agones autoscaler policy reference.
2163
- # Corresponds to the JSON property `autoscaler`
2164
- # @return [Google::Apis::GameservicesV1beta::TargetFleetAutoscaler]
2165
- attr_accessor :autoscaler
2166
-
2167
- # Target Agones fleet specification.
2168
- # Corresponds to the JSON property `fleet`
2169
- # @return [Google::Apis::GameservicesV1beta::TargetFleet]
2170
- attr_accessor :fleet
2171
-
2172
- def initialize(**args)
2173
- update!(**args)
2174
- end
2175
-
2176
- # Update properties of this object
2177
- def update!(**args)
2178
- @autoscaler = args[:autoscaler] if args.key?(:autoscaler)
2179
- @fleet = args[:fleet] if args.key?(:fleet)
2180
- end
2181
- end
2182
-
2183
- # Encapsulates the Target state.
2184
- class TargetState
2185
- include Google::Apis::Core::Hashable
2186
-
2187
- # Details about Agones fleets.
2188
- # Corresponds to the JSON property `details`
2189
- # @return [Array<Google::Apis::GameservicesV1beta::TargetDetails>]
2190
- attr_accessor :details
2191
-
2192
- def initialize(**args)
2193
- update!(**args)
2194
- end
2195
-
2196
- # Update properties of this object
2197
- def update!(**args)
2198
- @details = args[:details] if args.key?(:details)
2199
- end
2200
- end
2201
-
2202
903
  # Request message for `TestIamPermissions` method.
2203
904
  class TestIamPermissionsRequest
2204
905
  include Google::Apis::Core::Hashable