Class: Google::Apis::GameservicesV1beta::GameServerConfigOverride
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1beta::GameServerConfigOverride
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gameservices_v1beta/classes.rb,
generated/google/apis/gameservices_v1beta/representations.rb,
generated/google/apis/gameservices_v1beta/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::GameservicesV1beta::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 'generated/google/apis/gameservices_v1beta/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 'generated/google/apis/gameservices_v1beta/classes.rb', line 824 def config_version @config_version end |
#realms_selector ⇒ Google::Apis::GameservicesV1beta::RealmSelector
The realm selector, used to match realm resources.
Corresponds to the JSON property realmsSelector
829 830 831 |
# File 'generated/google/apis/gameservices_v1beta/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_v1beta/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 |