public class GameServerClustersService.GameServerClustersServiceClient : ClientBase<GameServerClustersService.GameServerClustersServiceClient>Reference documentation and code samples for the Game Services v1 API class GameServerClustersService.GameServerClustersServiceClient.
Client for GameServerClustersService
Inheritance
object > ClientBase > ClientBaseGameServerClustersServiceGameServerClustersServiceClient > GameServerClustersService.GameServerClustersServiceClientNamespace
Google.Cloud.Gaming.V1Assembly
Google.Cloud.Gaming.V1.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 | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
GameServerClustersServiceClient(ChannelBase)
public GameServerClustersServiceClient(ChannelBase channel)Creates a new client for GameServerClustersService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
GameServerClustersServiceClient(ClientBaseConfiguration)
protected GameServerClustersServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe 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 | |
|---|---|
| Name | Description |
request |
CreateGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreateGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreateGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
CreateGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
GetGameServerCluster(GetGameServerClusterRequest, CallOptions)
public virtual GameServerCluster GetGameServerCluster(GetGameServerClusterRequest request, CallOptions options)Gets details of a single game server cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListGameServerClustersRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListGameServerClustersRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListGameServerClustersRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListGameServerClustersRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListGameServerClustersResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override GameServerClustersService.GameServerClustersServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
GameServerClustersServiceGameServerClustersServiceClient |
|
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 | |
|---|---|
| Name | Description |
request |
PreviewCreateGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PreviewCreateGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PreviewCreateGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PreviewCreateGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPreviewCreateGameServerClusterResponse |
The call object. |
PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest, CallOptions)
public virtual PreviewDeleteGameServerClusterResponse PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest request, CallOptions options)Previews deletion of a single game server cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewDeleteGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PreviewDeleteGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PreviewDeleteGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PreviewDeleteGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPreviewDeleteGameServerClusterResponse |
The call object. |
PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest, CallOptions)
public virtual PreviewUpdateGameServerClusterResponse PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest request, CallOptions options)Previews updating a GameServerCluster.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewUpdateGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PreviewUpdateGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
PreviewUpdateGameServerClusterResponse |
The response received from the server. |
PreviewUpdateGameServerClusterAsync(PreviewUpdateGameServerClusterRequest, CallOptions)
public virtual AsyncUnaryCall<PreviewUpdateGameServerClusterResponse> PreviewUpdateGameServerClusterAsync(PreviewUpdateGameServerClusterRequest request, CallOptions options)Previews updating a GameServerCluster.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewUpdateGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
PreviewUpdateGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPreviewUpdateGameServerClusterResponse |
The call object. |
UpdateGameServerCluster(UpdateGameServerClusterRequest, CallOptions)
public virtual Operation UpdateGameServerCluster(UpdateGameServerClusterRequest request, CallOptions options)Patches a single game server cluster.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateGameServerClusterRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
UpdateGameServerClusterRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |