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::OperationBaseline implementation for the create_game_server_cluster REST call
- request_pb (::Google::Cloud::Gaming::V1::CreateGameServerClusterRequest) โ 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_cluster
def delete_game_server_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_game_server_cluster REST call
- request_pb (::Google::Cloud::Gaming::V1::DeleteGameServerClusterRequest) โ 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)
#get_game_server_cluster
def get_game_server_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Gaming::V1::GameServerClusterBaseline implementation for the get_game_server_cluster REST call
- request_pb (::Google::Cloud::Gaming::V1::GetGameServerClusterRequest) โ 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::GameServerCluster)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::GameServerCluster) โ 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_clusters
def list_game_server_clusters(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Gaming::V1::ListGameServerClustersResponseBaseline implementation for the list_game_server_clusters REST call
- request_pb (::Google::Cloud::Gaming::V1::ListGameServerClustersRequest) โ 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::ListGameServerClustersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::ListGameServerClustersResponse) โ A result object deserialized from the server's reply
- (::ArgumentError)
#preview_create_game_server_cluster
def preview_create_game_server_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Gaming::V1::PreviewCreateGameServerClusterResponseBaseline implementation for the preview_create_game_server_cluster REST call
- request_pb (::Google::Cloud::Gaming::V1::PreviewCreateGameServerClusterRequest) โ 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::PreviewCreateGameServerClusterResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::PreviewCreateGameServerClusterResponse) โ A result object deserialized from the server's reply
- (::ArgumentError)
#preview_delete_game_server_cluster
def preview_delete_game_server_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Gaming::V1::PreviewDeleteGameServerClusterResponseBaseline implementation for the preview_delete_game_server_cluster REST call
- request_pb (::Google::Cloud::Gaming::V1::PreviewDeleteGameServerClusterRequest) โ 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::PreviewDeleteGameServerClusterResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::PreviewDeleteGameServerClusterResponse) โ A result object deserialized from the server's reply
- (::ArgumentError)
#preview_update_game_server_cluster
def preview_update_game_server_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Gaming::V1::PreviewUpdateGameServerClusterResponseBaseline implementation for the preview_update_game_server_cluster REST call
- request_pb (::Google::Cloud::Gaming::V1::PreviewUpdateGameServerClusterRequest) โ 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::PreviewUpdateGameServerClusterResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Gaming::V1::PreviewUpdateGameServerClusterResponse) โ A result object deserialized from the server's reply
- (::ArgumentError)
#update_game_server_cluster
def update_game_server_cluster(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_game_server_cluster REST call
- request_pb (::Google::Cloud::Gaming::V1::UpdateGameServerClusterRequest) โ 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)