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
- request_pb (::Google::Cloud::Gaming::V1::CreateGameServerDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Gaming::V1::DeleteGameServerDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Gaming::V1::FetchDeploymentStateRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Gaming::V1::FetchDeploymentStateResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::FetchDeploymentStateResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Gaming::V1::GetGameServerDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Gaming::V1::GameServerDeployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::GameServerDeployment) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Gaming::V1::GetGameServerDeploymentRolloutRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Gaming::V1::GameServerDeploymentRollout)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::GameServerDeploymentRollout) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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
- request_pb (::Google::Cloud::Gaming::V1::ListGameServerDeploymentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Gaming::V1::ListGameServerDeploymentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::ListGameServerDeploymentsResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Gaming::V1::PreviewGameServerDeploymentRolloutRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Gaming::V1::PreviewGameServerDeploymentRolloutResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::PreviewGameServerDeploymentRolloutResponse) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Gaming::V1::UpdateGameServerDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::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
- request_pb (::Google::Cloud::Gaming::V1::UpdateGameServerDeploymentRolloutRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)