public sealed class GameServerClustersServiceClientImpl : GameServerClustersServiceClient
Reference documentation and code samples for the Google Cloud for Games v1beta API class GameServerClustersServiceClientImpl.
GameServerClustersService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Gaming.V1BetaAssembly
Google.Cloud.Gaming.V1Beta.dll
Remarks
The game server cluster maps to Kubernetes clusters running Agones and is used to manage fleets within clusters.
Constructors
GameServerClustersServiceClientImpl(GameServerClustersServiceClient, GameServerClustersServiceSettings, ILogger)
public GameServerClustersServiceClientImpl(GameServerClustersService.GameServerClustersServiceClient grpcClient, GameServerClustersServiceSettings settings, ILogger logger)
Constructs a client wrapper for the GameServerClustersService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | GameServerClustersServiceGameServerClustersServiceClient The underlying gRPC client. |
settings | GameServerClustersServiceSettings The base GameServerClustersServiceSettings used within this client. |
logger | ILogger Optional ILogger to use 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 |
GameServerClustersServiceGameServerClustersServiceClient |
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 |
OperationGameServerClusterOperationMetadata | 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 |
TaskOperationGameServerClusterOperationMetadata | 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 |
OperationEmptyOperationMetadata | 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 |
TaskOperationEmptyOperationMetadata | 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 |
TaskGameServerCluster | 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 |
PagedEnumerableListGameServerClustersResponseGameServerCluster | 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 |
PagedAsyncEnumerableListGameServerClustersResponseGameServerCluster | 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 |
TaskPreviewCreateGameServerClusterResponse | 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 |
TaskPreviewDeleteGameServerClusterResponse | 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 |
TaskPreviewUpdateGameServerClusterResponse | 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 |
OperationGameServerClusterOperationMetadata | 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 |
TaskOperationGameServerClusterOperationMetadata | A Task containing the RPC response. |