Google Cloud for Games v1beta API - Class GameServerClustersService.GameServerClustersServiceClient (2.0.0-beta03)

public class GameServerClustersService.GameServerClustersServiceClient : ClientBase<GameServerClustersService.GameServerClustersServiceClient>

Reference documentation and code samples for the Google Cloud for Games v1beta API class GameServerClustersService.GameServerClustersServiceClient.

Client for GameServerClustersService

Inheritance

object > ClientBase > ClientBaseGameServerClustersServiceGameServerClustersServiceClient > GameServerClustersService.GameServerClustersServiceClient

Namespace

Google.Cloud.Gaming.V1Beta

Assembly

Google.Cloud.Gaming.V1Beta.dll

Constructors

GameServerClustersServiceClient()

protected GameServerClustersServiceClient()

Protected parameterless constructor to allow creation of test doubles.

GameServerClustersServiceClient(CallInvoker)

public GameServerClustersServiceClient(CallInvoker callInvoker)

Creates a new client for GameServerClustersService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

GameServerClustersServiceClient(ChannelBase)

public GameServerClustersServiceClient(ChannelBase channel)

Creates a new client for GameServerClustersService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

GameServerClustersServiceClient(ClientBaseConfiguration)

protected GameServerClustersServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateGameServerCluster(CreateGameServerClusterRequest, CallOptions)

public virtual Operation CreateGameServerCluster(CreateGameServerClusterRequest request, CallOptions options)

Creates a new game server cluster in a given project and location.

Parameters
NameDescription
requestCreateGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateGameServerCluster(CreateGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation CreateGameServerCluster(CreateGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new game server cluster in a given project and location.

Parameters
NameDescription
requestCreateGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateGameServerClusterAsync(CreateGameServerClusterRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateGameServerClusterAsync(CreateGameServerClusterRequest request, CallOptions options)

Creates a new game server cluster in a given project and location.

Parameters
NameDescription
requestCreateGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateGameServerClusterAsync(CreateGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateGameServerClusterAsync(CreateGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new game server cluster in a given project and location.

Parameters
NameDescription
requestCreateGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteGameServerCluster(DeleteGameServerClusterRequest, CallOptions)

public virtual Operation DeleteGameServerCluster(DeleteGameServerClusterRequest request, CallOptions options)

Deletes a single game server cluster.

Parameters
NameDescription
requestDeleteGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteGameServerCluster(DeleteGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteGameServerCluster(DeleteGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single game server cluster.

Parameters
NameDescription
requestDeleteGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteGameServerClusterAsync(DeleteGameServerClusterRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteGameServerClusterAsync(DeleteGameServerClusterRequest request, CallOptions options)

Deletes a single game server cluster.

Parameters
NameDescription
requestDeleteGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteGameServerClusterAsync(DeleteGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteGameServerClusterAsync(DeleteGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a single game server cluster.

Parameters
NameDescription
requestDeleteGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetGameServerCluster(GetGameServerClusterRequest, CallOptions)

public virtual GameServerCluster GetGameServerCluster(GetGameServerClusterRequest request, CallOptions options)

Gets details of a single game server cluster.

Parameters
NameDescription
requestGetGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
GameServerCluster

The response received from the server.

GetGameServerCluster(GetGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual GameServerCluster GetGameServerCluster(GetGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single game server cluster.

Parameters
NameDescription
requestGetGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
GameServerCluster

The response received from the server.

GetGameServerClusterAsync(GetGameServerClusterRequest, CallOptions)

public virtual AsyncUnaryCall<GameServerCluster> GetGameServerClusterAsync(GetGameServerClusterRequest request, CallOptions options)

Gets details of a single game server cluster.

Parameters
NameDescription
requestGetGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallGameServerCluster

The call object.

GetGameServerClusterAsync(GetGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<GameServerCluster> GetGameServerClusterAsync(GetGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single game server cluster.

Parameters
NameDescription
requestGetGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallGameServerCluster

The call object.

ListGameServerClusters(ListGameServerClustersRequest, CallOptions)

public virtual ListGameServerClustersResponse ListGameServerClusters(ListGameServerClustersRequest request, CallOptions options)

Lists game server clusters in a given project and location.

Parameters
NameDescription
requestListGameServerClustersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListGameServerClustersResponse

The response received from the server.

ListGameServerClusters(ListGameServerClustersRequest, Metadata, DateTime?, CancellationToken)

public virtual ListGameServerClustersResponse ListGameServerClusters(ListGameServerClustersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists game server clusters in a given project and location.

Parameters
NameDescription
requestListGameServerClustersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListGameServerClustersResponse

The response received from the server.

ListGameServerClustersAsync(ListGameServerClustersRequest, CallOptions)

public virtual AsyncUnaryCall<ListGameServerClustersResponse> ListGameServerClustersAsync(ListGameServerClustersRequest request, CallOptions options)

Lists game server clusters in a given project and location.

Parameters
NameDescription
requestListGameServerClustersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListGameServerClustersResponse

The call object.

ListGameServerClustersAsync(ListGameServerClustersRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListGameServerClustersResponse> ListGameServerClustersAsync(ListGameServerClustersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists game server clusters in a given project and location.

Parameters
NameDescription
requestListGameServerClustersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListGameServerClustersResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override GameServerClustersService.GameServerClustersServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
GameServerClustersServiceGameServerClustersServiceClient
Overrides

PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest, CallOptions)

public virtual PreviewCreateGameServerClusterResponse PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest request, CallOptions options)

Previews creation of a new game server cluster in a given project and location.

Parameters
NameDescription
requestPreviewCreateGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PreviewCreateGameServerClusterResponse

The response received from the server.

PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual PreviewCreateGameServerClusterResponse PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Previews creation of a new game server cluster in a given project and location.

Parameters
NameDescription
requestPreviewCreateGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
PreviewCreateGameServerClusterResponse

The response received from the server.

PreviewCreateGameServerClusterAsync(PreviewCreateGameServerClusterRequest, CallOptions)

public virtual AsyncUnaryCall<PreviewCreateGameServerClusterResponse> PreviewCreateGameServerClusterAsync(PreviewCreateGameServerClusterRequest request, CallOptions options)

Previews creation of a new game server cluster in a given project and location.

Parameters
NameDescription
requestPreviewCreateGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPreviewCreateGameServerClusterResponse

The call object.

PreviewCreateGameServerClusterAsync(PreviewCreateGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PreviewCreateGameServerClusterResponse> PreviewCreateGameServerClusterAsync(PreviewCreateGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Previews creation of a new game server cluster in a given project and location.

Parameters
NameDescription
requestPreviewCreateGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPreviewCreateGameServerClusterResponse

The call object.

PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest, CallOptions)

public virtual PreviewDeleteGameServerClusterResponse PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest request, CallOptions options)

Previews deletion of a single game server cluster.

Parameters
NameDescription
requestPreviewDeleteGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PreviewDeleteGameServerClusterResponse

The response received from the server.

PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual PreviewDeleteGameServerClusterResponse PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Previews deletion of a single game server cluster.

Parameters
NameDescription
requestPreviewDeleteGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
PreviewDeleteGameServerClusterResponse

The response received from the server.

PreviewDeleteGameServerClusterAsync(PreviewDeleteGameServerClusterRequest, CallOptions)

public virtual AsyncUnaryCall<PreviewDeleteGameServerClusterResponse> PreviewDeleteGameServerClusterAsync(PreviewDeleteGameServerClusterRequest request, CallOptions options)

Previews deletion of a single game server cluster.

Parameters
NameDescription
requestPreviewDeleteGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPreviewDeleteGameServerClusterResponse

The call object.

PreviewDeleteGameServerClusterAsync(PreviewDeleteGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PreviewDeleteGameServerClusterResponse> PreviewDeleteGameServerClusterAsync(PreviewDeleteGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Previews deletion of a single game server cluster.

Parameters
NameDescription
requestPreviewDeleteGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPreviewDeleteGameServerClusterResponse

The call object.

PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest, CallOptions)

public virtual PreviewUpdateGameServerClusterResponse PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest request, CallOptions options)

Previews updating a GameServerCluster.

Parameters
NameDescription
requestPreviewUpdateGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
PreviewUpdateGameServerClusterResponse

The response received from the server.

PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual PreviewUpdateGameServerClusterResponse PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Previews updating a GameServerCluster.

Parameters
NameDescription
requestPreviewUpdateGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
PreviewUpdateGameServerClusterResponse

The response received from the server.

PreviewUpdateGameServerClusterAsync(PreviewUpdateGameServerClusterRequest, CallOptions)

public virtual AsyncUnaryCall<PreviewUpdateGameServerClusterResponse> PreviewUpdateGameServerClusterAsync(PreviewUpdateGameServerClusterRequest request, CallOptions options)

Previews updating a GameServerCluster.

Parameters
NameDescription
requestPreviewUpdateGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPreviewUpdateGameServerClusterResponse

The call object.

PreviewUpdateGameServerClusterAsync(PreviewUpdateGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<PreviewUpdateGameServerClusterResponse> PreviewUpdateGameServerClusterAsync(PreviewUpdateGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Previews updating a GameServerCluster.

Parameters
NameDescription
requestPreviewUpdateGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPreviewUpdateGameServerClusterResponse

The call object.

UpdateGameServerCluster(UpdateGameServerClusterRequest, CallOptions)

public virtual Operation UpdateGameServerCluster(UpdateGameServerClusterRequest request, CallOptions options)

Patches a single game server cluster.

Parameters
NameDescription
requestUpdateGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateGameServerCluster(UpdateGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation UpdateGameServerCluster(UpdateGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Patches a single game server cluster.

Parameters
NameDescription
requestUpdateGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateGameServerClusterAsync(UpdateGameServerClusterRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateGameServerClusterAsync(UpdateGameServerClusterRequest request, CallOptions options)

Patches a single game server cluster.

Parameters
NameDescription
requestUpdateGameServerClusterRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateGameServerClusterAsync(UpdateGameServerClusterRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateGameServerClusterAsync(UpdateGameServerClusterRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Patches a single game server cluster.

Parameters
NameDescription
requestUpdateGameServerClusterRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.