class Google::Apis::GameservicesV1beta::GameServerConfig

A game server config resource.

Attributes

create_time[RW]

Output only. The creation time. Corresponds to the JSON property `createTime` @return [String]

description[RW]

The description of the game server config. Corresponds to the JSON property `description` @return [String]

fleet_configs[RW]

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>]

labels[RW]

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>]

name[RW]

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]

scaling_configs[RW]

The autoscaling settings. Corresponds to the JSON property `scalingConfigs` @return [Array<Google::Apis::GameservicesV1beta::ScalingConfig>]

update_time[RW]

Output only. The last-modified time. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gameservices_v1beta/classes.rb, line 823
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 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