class Google::Apis::GameservicesV1beta::GameServerConfig
A game server config resource.
Attributes
Output only. The creation time. Corresponds to the JSON property `createTime` @return [String]
The description of the game server config. Corresponds to the JSON property `description` @return [String]
FleetConfig
contains a list of Agones fleet specs. Only one FleetConfig
is allowed. Corresponds to the JSON property `fleetConfigs` @return [Array<Google::Apis::GameservicesV1beta::FleetConfig>]
The labels associated with this game server config. Each label is a key-value pair. Corresponds to the JSON property `labels` @return [Hash<String,String>]
The resource name of the game server config, in the following form: `projects/` project`/locations/`location`/gameServerDeployments/`deployment`/configs/` config“. For example, `projects/my-project/locations/global/ gameServerDeployments/my-game/configs/my-config`. Corresponds to the JSON property `name` @return [String]
The autoscaling settings. Corresponds to the JSON property `scalingConfigs` @return [Array<Google::Apis::GameservicesV1beta::ScalingConfig>]
Output only. The last-modified time. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/gameservices_v1beta/classes.rb, line 823 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gameservices_v1beta/classes.rb, line 828 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @fleet_configs = args[:fleet_configs] if args.key?(:fleet_configs) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @scaling_configs = args[:scaling_configs] if args.key?(:scaling_configs) @update_time = args[:update_time] if args.key?(:update_time) end