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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gameservices_v1/classes.rb,
lib/google/apis/gameservices_v1/representations.rb,
lib/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.



2096
2097
2098
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2096

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



2082
2083
2084
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2082

def fleet_details
  @fleet_details
end

#game_server_cluster_nameString

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

Returns:

  • (String)


2088
2089
2090
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2088

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/ locationId/gameServerDeployments/deploymentId`. Corresponds to the JSON propertygameServerDeploymentName`

Returns:

  • (String)


2094
2095
2096
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2094

def game_server_deployment_name
  @game_server_deployment_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2101
2102
2103
2104
2105
# File 'lib/google/apis/gameservices_v1/classes.rb', line 2101

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