Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::GameServerConfigsService::Client.
Client for the GameServerConfigsService service.
The game server config configures the game servers in an Agones fleet.
Inherits
- Object
Methods
.configure
def self.configure() { |config| ... } -> Client::ConfigurationConfigure the GameServerConfigsService Client class.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
# Modify the configuration for all GameServerConfigsService clients ::Google::Cloud::Gaming::V1::GameServerConfigsService::Client.configure do |config| config.timeout = 10.0 end
#configure
def configure() { |config| ... } -> Client::ConfigurationConfigure the GameServerConfigsService Client instance.
The configuration is set to the derived mode, meaning that values can be changed, but structural changes (adding new fields, etc.) are not allowed. Structural changes should be made on Client.configure.
See Configuration for a description of the configuration fields.
- (config) — Configure the Client client.
- config (Client::Configuration)
#create_game_server_config
def create_game_server_config(request, options = nil) -> ::Gapic::Operation
def create_game_server_config(parent: nil, config_id: nil, game_server_config: nil) -> ::Gapic::OperationCreates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied