Class: Google::Apis::GameservicesV1beta::GameServerConfigOverride

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_versionString

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

Returns:

  • (String)


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

def config_version
  @config_version
end

#realms_selectorGoogle::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