public sealed class GameServerDeploymentsServiceClientImpl : GameServerDeploymentsServiceClient
Reference documentation and code samples for the Game Services v1 API class GameServerDeploymentsServiceClientImpl.
GameServerDeploymentsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Gaming.V1Assembly
Google.Cloud.Gaming.V1.dll
Remarks
The game server deployment is used to control the deployment of Agones fleets.
Constructors
GameServerDeploymentsServiceClientImpl(GameServerDeploymentsServiceClient, GameServerDeploymentsServiceSettings, ILogger)
public GameServerDeploymentsServiceClientImpl(GameServerDeploymentsService.GameServerDeploymentsServiceClient grpcClient, GameServerDeploymentsServiceSettings settings, ILogger logger)
Constructs a client wrapper for the GameServerDeploymentsService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | GameServerDeploymentsServiceGameServerDeploymentsServiceClient The underlying gRPC client. |
settings | GameServerDeploymentsServiceSettings The base GameServerDeploymentsServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateGameServerDeploymentOperationsClient
public override OperationsClient CreateGameServerDeploymentOperationsClient { get; }
The long-running operations client for CreateGameServerDeployment
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteGameServerDeploymentOperationsClient
public override OperationsClient DeleteGameServerDeploymentOperationsClient { get; }
The long-running operations client for DeleteGameServerDeployment
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override GameServerDeploymentsService.GameServerDeploymentsServiceClient GrpcClient { get; }
The underlying gRPC GameServerDeploymentsService client
Property Value | |
---|---|
Type | Description |
GameServerDeploymentsServiceGameServerDeploymentsServiceClient |
UpdateGameServerDeploymentOperationsClient
public override OperationsClient UpdateGameServerDeploymentOperationsClient { get; }
The long-running operations client for UpdateGameServerDeployment
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateGameServerDeploymentRolloutOperationsClient
public override OperationsClient UpdateGameServerDeploymentRolloutOperationsClient { get; }
The long-running operations client for UpdateGameServerDeploymentRollout
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
CreateGameServerDeployment(CreateGameServerDeploymentRequest, CallSettings)
public override Operation<GameServerDeployment, OperationMetadata> CreateGameServerDeployment(CreateGameServerDeploymentRequest request, CallSettings callSettings = null)
Creates a new game server deployment in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateGameServerDeploymentRequest 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 |
OperationGameServerDeploymentOperationMetadata | The RPC response. |
CreateGameServerDeploymentAsync(CreateGameServerDeploymentRequest, CallSettings)
public override Task<Operation<GameServerDeployment, OperationMetadata>> CreateGameServerDeploymentAsync(CreateGameServerDeploymentRequest request, CallSettings callSettings = null)
Creates a new game server deployment in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateGameServerDeploymentRequest 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 |
TaskOperationGameServerDeploymentOperationMetadata | A Task containing the RPC response. |
DeleteGameServerDeployment(DeleteGameServerDeploymentRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteGameServerDeployment(DeleteGameServerDeploymentRequest request, CallSettings callSettings = null)
Deletes a single game server deployment.
Parameters | |
---|---|
Name | Description |
request | DeleteGameServerDeploymentRequest 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. |
DeleteGameServerDeploymentAsync(DeleteGameServerDeploymentRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteGameServerDeploymentAsync(DeleteGameServerDeploymentRequest request, CallSettings callSettings = null)
Deletes a single game server deployment.
Parameters | |
---|---|
Name | Description |
request | DeleteGameServerDeploymentRequest 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. |
FetchDeploymentState(FetchDeploymentStateRequest, CallSettings)
public override FetchDeploymentStateResponse FetchDeploymentState(FetchDeploymentStateRequest request, CallSettings callSettings = null)
Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.
Parameters | |
---|---|
Name | Description |
request | FetchDeploymentStateRequest 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 |
FetchDeploymentStateResponse | The RPC response. |
FetchDeploymentStateAsync(FetchDeploymentStateRequest, CallSettings)
public override Task<FetchDeploymentStateResponse> FetchDeploymentStateAsync(FetchDeploymentStateRequest request, CallSettings callSettings = null)
Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.
Parameters | |
---|---|
Name | Description |
request | FetchDeploymentStateRequest 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 |
TaskFetchDeploymentStateResponse | A Task containing the RPC response. |
GetGameServerDeployment(GetGameServerDeploymentRequest, CallSettings)
public override GameServerDeployment GetGameServerDeployment(GetGameServerDeploymentRequest request, CallSettings callSettings = null)
Gets details of a single game server deployment.
Parameters | |
---|---|
Name | Description |
request | GetGameServerDeploymentRequest 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 |
GameServerDeployment | The RPC response. |
GetGameServerDeploymentAsync(GetGameServerDeploymentRequest, CallSettings)
public override Task<GameServerDeployment> GetGameServerDeploymentAsync(GetGameServerDeploymentRequest request, CallSettings callSettings = null)
Gets details of a single game server deployment.
Parameters | |
---|---|
Name | Description |
request | GetGameServerDeploymentRequest 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 |
TaskGameServerDeployment | A Task containing the RPC response. |
GetGameServerDeploymentRollout(GetGameServerDeploymentRolloutRequest, CallSettings)
public override GameServerDeploymentRollout GetGameServerDeploymentRollout(GetGameServerDeploymentRolloutRequest request, CallSettings callSettings = null)
Gets details a single game server deployment rollout.
Parameters | |
---|---|
Name | Description |
request | GetGameServerDeploymentRolloutRequest 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 |
GameServerDeploymentRollout | The RPC response. |
GetGameServerDeploymentRolloutAsync(GetGameServerDeploymentRolloutRequest, CallSettings)
public override Task<GameServerDeploymentRollout> GetGameServerDeploymentRolloutAsync(GetGameServerDeploymentRolloutRequest request, CallSettings callSettings = null)
Gets details a single game server deployment rollout.
Parameters | |
---|---|
Name | Description |
request | GetGameServerDeploymentRolloutRequest 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 |
TaskGameServerDeploymentRollout | A Task containing the RPC response. |
ListGameServerDeployments(ListGameServerDeploymentsRequest, CallSettings)
public override PagedEnumerable<ListGameServerDeploymentsResponse, GameServerDeployment> ListGameServerDeployments(ListGameServerDeploymentsRequest request, CallSettings callSettings = null)
Lists game server deployments in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListGameServerDeploymentsRequest 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 |
PagedEnumerableListGameServerDeploymentsResponseGameServerDeployment | A pageable sequence of GameServerDeployment resources. |
ListGameServerDeploymentsAsync(ListGameServerDeploymentsRequest, CallSettings)
public override PagedAsyncEnumerable<ListGameServerDeploymentsResponse, GameServerDeployment> ListGameServerDeploymentsAsync(ListGameServerDeploymentsRequest request, CallSettings callSettings = null)
Lists game server deployments in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListGameServerDeploymentsRequest 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 |
PagedAsyncEnumerableListGameServerDeploymentsResponseGameServerDeployment | A pageable asynchronous sequence of GameServerDeployment resources. |
PreviewGameServerDeploymentRollout(PreviewGameServerDeploymentRolloutRequest, CallSettings)
public override PreviewGameServerDeploymentRolloutResponse PreviewGameServerDeploymentRollout(PreviewGameServerDeploymentRolloutRequest request, CallSettings callSettings = null)
Previews the game server deployment rollout. This API does not mutate the rollout resource.
Parameters | |
---|---|
Name | Description |
request | PreviewGameServerDeploymentRolloutRequest 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 |
PreviewGameServerDeploymentRolloutResponse | The RPC response. |
PreviewGameServerDeploymentRolloutAsync(PreviewGameServerDeploymentRolloutRequest, CallSettings)
public override Task<PreviewGameServerDeploymentRolloutResponse> PreviewGameServerDeploymentRolloutAsync(PreviewGameServerDeploymentRolloutRequest request, CallSettings callSettings = null)
Previews the game server deployment rollout. This API does not mutate the rollout resource.
Parameters | |
---|---|
Name | Description |
request | PreviewGameServerDeploymentRolloutRequest 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 |
TaskPreviewGameServerDeploymentRolloutResponse | A Task containing the RPC response. |
UpdateGameServerDeployment(UpdateGameServerDeploymentRequest, CallSettings)
public override Operation<GameServerDeployment, OperationMetadata> UpdateGameServerDeployment(UpdateGameServerDeploymentRequest request, CallSettings callSettings = null)
Patches a game server deployment.
Parameters | |
---|---|
Name | Description |
request | UpdateGameServerDeploymentRequest 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 |
OperationGameServerDeploymentOperationMetadata | The RPC response. |
UpdateGameServerDeploymentAsync(UpdateGameServerDeploymentRequest, CallSettings)
public override Task<Operation<GameServerDeployment, OperationMetadata>> UpdateGameServerDeploymentAsync(UpdateGameServerDeploymentRequest request, CallSettings callSettings = null)
Patches a game server deployment.
Parameters | |
---|---|
Name | Description |
request | UpdateGameServerDeploymentRequest 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 |
TaskOperationGameServerDeploymentOperationMetadata | A Task containing the RPC response. |
UpdateGameServerDeploymentRollout(UpdateGameServerDeploymentRolloutRequest, CallSettings)
public override Operation<GameServerDeployment, OperationMetadata> UpdateGameServerDeploymentRollout(UpdateGameServerDeploymentRolloutRequest request, CallSettings callSettings = null)
Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example - if the default_game_server_config is changed but all existing realms use the override, that is valid. Similarly, if a non existing realm is explicitly called out in game_server_config_overrides field, that will also not result in an error.
Parameters | |
---|---|
Name | Description |
request | UpdateGameServerDeploymentRolloutRequest 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 |
OperationGameServerDeploymentOperationMetadata | The RPC response. |
UpdateGameServerDeploymentRolloutAsync(UpdateGameServerDeploymentRolloutRequest, CallSettings)
public override Task<Operation<GameServerDeployment, OperationMetadata>> UpdateGameServerDeploymentRolloutAsync(UpdateGameServerDeploymentRolloutRequest request, CallSettings callSettings = null)
Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example - if the default_game_server_config is changed but all existing realms use the override, that is valid. Similarly, if a non existing realm is explicitly called out in game_server_config_overrides field, that will also not result in an error.
Parameters | |
---|---|
Name | Description |
request | UpdateGameServerDeploymentRolloutRequest 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 |
TaskOperationGameServerDeploymentOperationMetadata | A Task containing the RPC response. |