Class: Google::Apis::GameservicesV1::GameServerConfigOverride

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

A game server config override.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GameServerConfigOverride

Returns a new instance of GameServerConfigOverride.



831
832
833
# File 'generated/google/apis/gameservices_v1/classes.rb', line 831

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

Instance Attribute Details

#config_versionString

The game server config for this override. Corresponds to the JSON property configVersion

Returns:

  • (String)


824
825
826
# File 'generated/google/apis/gameservices_v1/classes.rb', line 824

def config_version
  @config_version
end

#realms_selectorGoogle::Apis::GameservicesV1::RealmSelector

The realm selector, used to match realm resources. Corresponds to the JSON property realmsSelector



829
830
831
# File 'generated/google/apis/gameservices_v1/classes.rb', line 829

def realms_selector
  @realms_selector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



836
837
838
839
# File 'generated/google/apis/gameservices_v1/classes.rb', line 836

def update!(**args)
  @config_version = args[:config_version] if args.key?(:config_version)
  @realms_selector = args[:realms_selector] if args.key?(:realms_selector)
end