Cloud Gaming V1 API - Class Google::Cloud::Gaming::V1::GameServerConfigsService::Rest::ServiceStub (v0.6.0)

Reference documentation and code samples for the Cloud Gaming V1 API class Google::Cloud::Gaming::V1::GameServerConfigsService::Rest::ServiceStub.

REST service stub for the GameServerConfigsService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#create_game_server_config

def create_game_server_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_game_server_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_game_server_config

def delete_game_server_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_game_server_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#get_game_server_config

def get_game_server_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Gaming::V1::GameServerConfig

Baseline implementation for the get_game_server_config REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#list_game_server_configs

def list_game_server_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Gaming::V1::ListGameServerConfigsResponse

Baseline implementation for the list_game_server_configs REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)