Class: Google::Apis::GameservicesV1beta::TargetDetails
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::TargetDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gameservices_v1beta/classes.rb,
generated/google/apis/gameservices_v1beta/representations.rb,
generated/google/apis/gameservices_v1beta/representations.rb
Overview
Details about the Agones resources.
Instance Attribute Summary collapse
-
#fleet_details ⇒ Array<Google::Apis::GameservicesV1beta::TargetFleetDetails>
Agones fleet details for game server clusters and game server deployments.
-
#game_server_cluster_name ⇒ String
The game server cluster name.
-
#game_server_deployment_name ⇒ String
The game server deployment name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetDetails
constructor
A new instance of TargetDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetDetails
Returns a new instance of TargetDetails.
2035 2036 2037 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 2035 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fleet_details ⇒ Array<Google::Apis::GameservicesV1beta::TargetFleetDetails>
Agones fleet details for game server clusters and game server deployments.
Corresponds to the JSON property fleetDetails
2021 2022 2023 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 2021 def fleet_details @fleet_details end |
#game_server_cluster_name ⇒ String
The game server cluster name. Uses the form: projects/
project/locations/
location/realms/
realm/gameServerClusters/
cluster`.
Corresponds to the JSON property
gameServerClusterName`
2027 2028 2029 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 2027 def game_server_cluster_name @game_server_cluster_name end |
#game_server_deployment_name ⇒ String
The game server deployment name. Uses the form: projects/
project/locations/
location/gameServerDeployments/
deployment_id`.
Corresponds to the JSON property
gameServerDeploymentName`
2033 2034 2035 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 2033 def game_server_deployment_name @game_server_deployment_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2040 2041 2042 2043 2044 |
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 2040 def update!(**args) @fleet_details = args[:fleet_details] if args.key?(:fleet_details) @game_server_cluster_name = args[:game_server_cluster_name] if args.key?(:game_server_cluster_name) @game_server_deployment_name = args[:game_server_deployment_name] if args.key?(:game_server_deployment_name) end |