public sealed class GameServerClustersServiceClientImpl : GameServerClustersServiceClient
GameServerClustersService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Gaming.V1Assembly
Google.Cloud.Gaming.V1.dll
Remarks
The game server cluster maps to Kubernetes clusters running Agones and is used to manage fleets within clusters.
Constructors
GameServerClustersServiceClientImpl(GameServerClustersService.GameServerClustersServiceClient, GameServerClustersServiceSettings)
public GameServerClustersServiceClientImpl(GameServerClustersService.GameServerClustersServiceClient grpcClient, GameServerClustersServiceSettings settings)
Constructs a client wrapper for the GameServerClustersService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | GameServerClustersService.GameServerClustersServiceClient The underlying gRPC client. |
settings | GameServerClustersServiceSettings The base GameServerClustersServiceSettings used within this client. |
Properties
CreateGameServerClusterOperationsClient
public override OperationsClient CreateGameServerClusterOperationsClient { get; }
The long-running operations client for CreateGameServerCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteGameServerClusterOperationsClient
public override OperationsClient DeleteGameServerClusterOperationsClient { get; }
The long-running operations client for DeleteGameServerCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override GameServerClustersService.GameServerClustersServiceClient GrpcClient { get; }
The underlying gRPC GameServerClustersService client
Property Value | |
---|---|
Type | Description |
GameServerClustersService.GameServerClustersServiceClient |
UpdateGameServerClusterOperationsClient
public override OperationsClient UpdateGameServerClusterOperationsClient { get; }
The long-running operations client for UpdateGameServerCluster
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CreateGameServerCluster(CreateGameServerClusterRequest, CallSettings)
public override Operation<GameServerCluster, OperationMetadata> CreateGameServerCluster(CreateGameServerClusterRequest request, CallSettings callSettings = null)
Creates a new game server cluster in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<GameServerCluster, OperationMetadata> | The RPC response. |
CreateGameServerClusterAsync(CreateGameServerClusterRequest, CallSettings)
public override Task<Operation<GameServerCluster, OperationMetadata>> CreateGameServerClusterAsync(CreateGameServerClusterRequest request, CallSettings callSettings = null)
Creates a new game server cluster in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<GameServerCluster, OperationMetadata>> | A Task containing the RPC response. |
DeleteGameServerCluster(DeleteGameServerClusterRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteGameServerCluster(DeleteGameServerClusterRequest request, CallSettings callSettings = null)
Deletes a single game server cluster.
Parameters | |
---|---|
Name | Description |
request | DeleteGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<Empty, OperationMetadata> | The RPC response. |
DeleteGameServerClusterAsync(DeleteGameServerClusterRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteGameServerClusterAsync(DeleteGameServerClusterRequest request, CallSettings callSettings = null)
Deletes a single game server cluster.
Parameters | |
---|---|
Name | Description |
request | DeleteGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
GetGameServerCluster(GetGameServerClusterRequest, CallSettings)
public override GameServerCluster GetGameServerCluster(GetGameServerClusterRequest request, CallSettings callSettings = null)
Gets details of a single game server cluster.
Parameters | |
---|---|
Name | Description |
request | GetGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
GameServerCluster | The RPC response. |
GetGameServerClusterAsync(GetGameServerClusterRequest, CallSettings)
public override Task<GameServerCluster> GetGameServerClusterAsync(GetGameServerClusterRequest request, CallSettings callSettings = null)
Gets details of a single game server cluster.
Parameters | |
---|---|
Name | Description |
request | GetGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<GameServerCluster> | A Task containing the RPC response. |
ListGameServerClusters(ListGameServerClustersRequest, CallSettings)
public override PagedEnumerable<ListGameServerClustersResponse, GameServerCluster> ListGameServerClusters(ListGameServerClustersRequest request, CallSettings callSettings = null)
Lists game server clusters in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListGameServerClustersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListGameServerClustersResponse, GameServerCluster> | A pageable sequence of GameServerCluster resources. |
ListGameServerClustersAsync(ListGameServerClustersRequest, CallSettings)
public override PagedAsyncEnumerable<ListGameServerClustersResponse, GameServerCluster> ListGameServerClustersAsync(ListGameServerClustersRequest request, CallSettings callSettings = null)
Lists game server clusters in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListGameServerClustersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListGameServerClustersResponse, GameServerCluster> | A pageable asynchronous sequence of GameServerCluster resources. |
PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest, CallSettings)
public override PreviewCreateGameServerClusterResponse PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest request, CallSettings callSettings = null)
Previews creation of a new game server cluster in a given project and location.
Parameters | |
---|---|
Name | Description |
request | PreviewCreateGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PreviewCreateGameServerClusterResponse | The RPC response. |
PreviewCreateGameServerClusterAsync(PreviewCreateGameServerClusterRequest, CallSettings)
public override Task<PreviewCreateGameServerClusterResponse> PreviewCreateGameServerClusterAsync(PreviewCreateGameServerClusterRequest request, CallSettings callSettings = null)
Previews creation of a new game server cluster in a given project and location.
Parameters | |
---|---|
Name | Description |
request | PreviewCreateGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<PreviewCreateGameServerClusterResponse> | A Task containing the RPC response. |
PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest, CallSettings)
public override PreviewDeleteGameServerClusterResponse PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest request, CallSettings callSettings = null)
Previews deletion of a single game server cluster.
Parameters | |
---|---|
Name | Description |
request | PreviewDeleteGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PreviewDeleteGameServerClusterResponse | The RPC response. |
PreviewDeleteGameServerClusterAsync(PreviewDeleteGameServerClusterRequest, CallSettings)
public override Task<PreviewDeleteGameServerClusterResponse> PreviewDeleteGameServerClusterAsync(PreviewDeleteGameServerClusterRequest request, CallSettings callSettings = null)
Previews deletion of a single game server cluster.
Parameters | |
---|---|
Name | Description |
request | PreviewDeleteGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<PreviewDeleteGameServerClusterResponse> | A Task containing the RPC response. |
PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest, CallSettings)
public override PreviewUpdateGameServerClusterResponse PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest request, CallSettings callSettings = null)
Previews updating a GameServerCluster.
Parameters | |
---|---|
Name | Description |
request | PreviewUpdateGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PreviewUpdateGameServerClusterResponse | The RPC response. |
PreviewUpdateGameServerClusterAsync(PreviewUpdateGameServerClusterRequest, CallSettings)
public override Task<PreviewUpdateGameServerClusterResponse> PreviewUpdateGameServerClusterAsync(PreviewUpdateGameServerClusterRequest request, CallSettings callSettings = null)
Previews updating a GameServerCluster.
Parameters | |
---|---|
Name | Description |
request | PreviewUpdateGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<PreviewUpdateGameServerClusterResponse> | A Task containing the RPC response. |
UpdateGameServerCluster(UpdateGameServerClusterRequest, CallSettings)
public override Operation<GameServerCluster, OperationMetadata> UpdateGameServerCluster(UpdateGameServerClusterRequest request, CallSettings callSettings = null)
Patches a single game server cluster.
Parameters | |
---|---|
Name | Description |
request | UpdateGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<GameServerCluster, OperationMetadata> | The RPC response. |
UpdateGameServerClusterAsync(UpdateGameServerClusterRequest, CallSettings)
public override Task<Operation<GameServerCluster, OperationMetadata>> UpdateGameServerClusterAsync(UpdateGameServerClusterRequest request, CallSettings callSettings = null)
Patches a single game server cluster.
Parameters | |
---|---|
Name | Description |
request | UpdateGameServerClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<GameServerCluster, OperationMetadata>> | A Task containing the RPC response. |