class Google::Apis::GameservicesV1beta::SpecSource
Encapsulates Agones fleet spec and Agones autoscaler spec sources.
Attributes
game_server_config_name[RW]
The game server config resource. Uses the form: `projects/`project`/locations/` location`/gameServerDeployments/`deployment_id`/configs/`config_id“. Corresponds to the JSON property `gameServerConfigName` @return [String]
name[RW]
The name of the Agones leet config or Agones scaling config used to derive the Agones fleet or Agones autoscaler spec. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gameservices_v1beta/classes.rb, line 2072 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/gameservices_v1beta/classes.rb, line 2077 def update!(**args) @game_server_config_name = args[:game_server_config_name] if args.key?(:game_server_config_name) @name = args[:name] if args.key?(:name) end