Cloud Gaming V1 API - Class Google::Cloud::Gaming::V1::GameServerClustersService::Rest::ServiceStub (v0.7.0)

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

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

Inherits

  • Object

Methods

#create_game_server_cluster

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

Baseline implementation for the create_game_server_cluster REST call

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

#delete_game_server_cluster

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

Baseline implementation for the delete_game_server_cluster REST call

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

#get_game_server_cluster

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

Baseline implementation for the get_game_server_cluster 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_clusters

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

Baseline implementation for the list_game_server_clusters REST call

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

#preview_create_game_server_cluster

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

Baseline implementation for the preview_create_game_server_cluster REST call

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

#preview_delete_game_server_cluster

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

Baseline implementation for the preview_delete_game_server_cluster REST call

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

#preview_update_game_server_cluster

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

Baseline implementation for the preview_update_game_server_cluster REST call

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

#update_game_server_cluster

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

Baseline implementation for the update_game_server_cluster REST call

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