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

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

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

Inherits

  • Object

Methods

#create_game_server_deployment

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

Baseline implementation for the create_game_server_deployment REST call

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

#delete_game_server_deployment

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

Baseline implementation for the delete_game_server_deployment REST call

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

#fetch_deployment_state

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

Baseline implementation for the fetch_deployment_state REST call

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

#get_game_server_deployment

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

Baseline implementation for the get_game_server_deployment REST call

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

#get_game_server_deployment_rollout

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

Baseline implementation for the get_game_server_deployment_rollout 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_deployments

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

Baseline implementation for the list_game_server_deployments REST call

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

#preview_game_server_deployment_rollout

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

Baseline implementation for the preview_game_server_deployment_rollout REST call

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

#update_game_server_deployment

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

Baseline implementation for the update_game_server_deployment REST call

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

#update_game_server_deployment_rollout

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

Baseline implementation for the update_game_server_deployment_rollout REST call

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