Class: Google::Apis::GameservicesV1::GameServerConfigOverride
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::GameServerConfigOverride
- 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
A game server config override.
Instance Attribute Summary collapse
-
#config_version ⇒ String
The game server config for this override.
-
#realms_selector ⇒ Google::Apis::GameservicesV1::RealmSelector
The realm selector, used to match realm resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GameServerConfigOverride
constructor
A new instance of GameServerConfigOverride.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GameServerConfigOverride
Returns a new instance of GameServerConfigOverride.
831 832 833 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 831 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config_version ⇒ String
The game server config for this override.
Corresponds to the JSON property configVersion
824 825 826 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 824 def config_version @config_version end |
#realms_selector ⇒ Google::Apis::GameservicesV1::RealmSelector
The realm selector, used to match realm resources.
Corresponds to the JSON property realmsSelector
829 830 831 |
# File 'lib/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 'lib/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 |