Class: Google::Apis::GameservicesV1::TargetDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/gameservices_v1/classes.rb,
generated/google/apis/gameservices_v1/representations.rb,
generated/google/apis/gameservices_v1/representations.rb

Overview

Details about the Agones resources.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TargetDetails

Returns a new instance of TargetDetails.



2035
2036
2037
# File 'generated/google/apis/gameservices_v1/classes.rb', line 2035

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fleet_detailsArray<Google::Apis::GameservicesV1::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_v1/classes.rb', line 2021

def fleet_details
  @fleet_details
end

#game_server_cluster_nameString

The game server cluster name. Uses the form: projects/project/locations/ location/realms/realm/gameServerClusters/cluster`. Corresponds to the JSON propertygameServerClusterName`

Returns:

  • (String)


2027
2028
2029
# File 'generated/google/apis/gameservices_v1/classes.rb', line 2027

def game_server_cluster_name
  @game_server_cluster_name
end

#game_server_deployment_nameString

The game server deployment name. Uses the form: projects/project/locations/ location/gameServerDeployments/deployment_id`. Corresponds to the JSON propertygameServerDeploymentName`

Returns:

  • (String)


2033
2034
2035
# File 'generated/google/apis/gameservices_v1/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_v1/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