public sealed class GameServerConfigsServiceClientImpl : GameServerConfigsServiceClient
GameServerConfigsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Gaming.V1Assembly
Google.Cloud.Gaming.V1.dll
Remarks
The game server config configures the game servers in an Agones fleet.
Constructors
GameServerConfigsServiceClientImpl(GameServerConfigsService.GameServerConfigsServiceClient, GameServerConfigsServiceSettings)
public GameServerConfigsServiceClientImpl(GameServerConfigsService.GameServerConfigsServiceClient grpcClient, GameServerConfigsServiceSettings settings)
Constructs a client wrapper for the GameServerConfigsService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | GameServerConfigsService.GameServerConfigsServiceClient The underlying gRPC client. |
settings | GameServerConfigsServiceSettings The base GameServerConfigsServiceSettings used within this client. |
Properties
CreateGameServerConfigOperationsClient
public override OperationsClient CreateGameServerConfigOperationsClient { get; }
The long-running operations client for CreateGameServerConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteGameServerConfigOperationsClient
public override OperationsClient DeleteGameServerConfigOperationsClient { get; }
The long-running operations client for DeleteGameServerConfig
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override GameServerConfigsService.GameServerConfigsServiceClient GrpcClient { get; }
The underlying gRPC GameServerConfigsService client
Property Value | |
---|---|
Type | Description |
GameServerConfigsService.GameServerConfigsServiceClient |
Methods
CreateGameServerConfig(CreateGameServerConfigRequest, CallSettings)
public override Operation<GameServerConfig, OperationMetadata> CreateGameServerConfig(CreateGameServerConfigRequest request, CallSettings callSettings = null)
Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.
Parameters | |
---|---|
Name | Description |
request | CreateGameServerConfigRequest 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<GameServerConfig, OperationMetadata> | The RPC response. |
CreateGameServerConfigAsync(CreateGameServerConfigRequest, CallSettings)
public override Task<Operation<GameServerConfig, OperationMetadata>> CreateGameServerConfigAsync(CreateGameServerConfigRequest request, CallSettings callSettings = null)
Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.
Parameters | |
---|---|
Name | Description |
request | CreateGameServerConfigRequest 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<GameServerConfig, OperationMetadata>> | A Task containing the RPC response. |
DeleteGameServerConfig(DeleteGameServerConfigRequest, CallSettings)
public override Operation<Empty, OperationMetadata> DeleteGameServerConfig(DeleteGameServerConfigRequest request, CallSettings callSettings = null)
Deletes a single game server config. The deletion will fail if the game server config is referenced in a game server deployment rollout.
Parameters | |
---|---|
Name | Description |
request | DeleteGameServerConfigRequest 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. |
DeleteGameServerConfigAsync(DeleteGameServerConfigRequest, CallSettings)
public override Task<Operation<Empty, OperationMetadata>> DeleteGameServerConfigAsync(DeleteGameServerConfigRequest request, CallSettings callSettings = null)
Deletes a single game server config. The deletion will fail if the game server config is referenced in a game server deployment rollout.
Parameters | |
---|---|
Name | Description |
request | DeleteGameServerConfigRequest 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. |
GetGameServerConfig(GetGameServerConfigRequest, CallSettings)
public override GameServerConfig GetGameServerConfig(GetGameServerConfigRequest request, CallSettings callSettings = null)
Gets details of a single game server config.
Parameters | |
---|---|
Name | Description |
request | GetGameServerConfigRequest 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 |
GameServerConfig | The RPC response. |
GetGameServerConfigAsync(GetGameServerConfigRequest, CallSettings)
public override Task<GameServerConfig> GetGameServerConfigAsync(GetGameServerConfigRequest request, CallSettings callSettings = null)
Gets details of a single game server config.
Parameters | |
---|---|
Name | Description |
request | GetGameServerConfigRequest 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<GameServerConfig> | A Task containing the RPC response. |
ListGameServerConfigs(ListGameServerConfigsRequest, CallSettings)
public override PagedEnumerable<ListGameServerConfigsResponse, GameServerConfig> ListGameServerConfigs(ListGameServerConfigsRequest request, CallSettings callSettings = null)
Lists game server configs in a given project, location, and game server deployment.
Parameters | |
---|---|
Name | Description |
request | ListGameServerConfigsRequest 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<ListGameServerConfigsResponse, GameServerConfig> | A pageable sequence of GameServerConfig resources. |
ListGameServerConfigsAsync(ListGameServerConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListGameServerConfigsResponse, GameServerConfig> ListGameServerConfigsAsync(ListGameServerConfigsRequest request, CallSettings callSettings = null)
Lists game server configs in a given project, location, and game server deployment.
Parameters | |
---|---|
Name | Description |
request | ListGameServerConfigsRequest 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<ListGameServerConfigsResponse, GameServerConfig> | A pageable asynchronous sequence of GameServerConfig resources. |