public class GameServerConfigsServiceClient : ClientBase<GameServerConfigsService.GameServerConfigsServiceClient>
Reference documentation and code samples for the Google Cloud for Games v1beta API class GameServerConfigsService.GameServerConfigsServiceClient.
Client for GameServerConfigsService
Inheritance
Object > ClientBase > ClientBase<GameServerConfigsService.GameServerConfigsServiceClient> > GameServerConfigsService.GameServerConfigsServiceClientNamespace
Google.Cloud.Gaming.V1BetaAssembly
Google.Cloud.Gaming.V1Beta.dll
Constructors
GameServerConfigsServiceClient()
protected GameServerConfigsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
GameServerConfigsServiceClient(CallInvoker)
public GameServerConfigsServiceClient(CallInvoker callInvoker)
Creates a new client for GameServerConfigsService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
GameServerConfigsServiceClient(ChannelBase)
public GameServerConfigsServiceClient(ChannelBase channel)
Creates a new client for GameServerConfigsService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
GameServerConfigsServiceClient(ClientBase.ClientBaseConfiguration)
protected GameServerConfigsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateGameServerConfig(CreateGameServerConfigRequest, CallOptions)
public virtual Operation CreateGameServerConfig(CreateGameServerConfigRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateGameServerConfig(CreateGameServerConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateGameServerConfig(CreateGameServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateGameServerConfigAsync(CreateGameServerConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateGameServerConfigAsync(CreateGameServerConfigRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateGameServerConfigAsync(CreateGameServerConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateGameServerConfigAsync(CreateGameServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | 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 |
Operations.OperationsClient | A new Operations client for the same target as this client. |
DeleteGameServerConfig(DeleteGameServerConfigRequest, CallOptions)
public virtual Operation DeleteGameServerConfig(DeleteGameServerConfigRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteGameServerConfig(DeleteGameServerConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteGameServerConfig(DeleteGameServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteGameServerConfigAsync(DeleteGameServerConfigRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteGameServerConfigAsync(DeleteGameServerConfigRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteGameServerConfigAsync(DeleteGameServerConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteGameServerConfigAsync(DeleteGameServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
GetGameServerConfig(GetGameServerConfigRequest, CallOptions)
public virtual GameServerConfig GetGameServerConfig(GetGameServerConfigRequest request, CallOptions options)
Gets details of a single game server config.
Parameters | |
---|---|
Name | Description |
request | GetGameServerConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
GameServerConfig | The response received from the server. |
GetGameServerConfig(GetGameServerConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual GameServerConfig GetGameServerConfig(GetGameServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets details of a single game server config.
Parameters | |
---|---|
Name | Description |
request | GetGameServerConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
GameServerConfig | The response received from the server. |
GetGameServerConfigAsync(GetGameServerConfigRequest, CallOptions)
public virtual AsyncUnaryCall<GameServerConfig> GetGameServerConfigAsync(GetGameServerConfigRequest request, CallOptions options)
Gets details of a single game server config.
Parameters | |
---|---|
Name | Description |
request | GetGameServerConfigRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<GameServerConfig> | The call object. |
GetGameServerConfigAsync(GetGameServerConfigRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<GameServerConfig> GetGameServerConfigAsync(GetGameServerConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets details of a single game server config.
Parameters | |
---|---|
Name | Description |
request | GetGameServerConfigRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<GameServerConfig> | The call object. |
ListGameServerConfigs(ListGameServerConfigsRequest, CallOptions)
public virtual ListGameServerConfigsResponse ListGameServerConfigs(ListGameServerConfigsRequest request, CallOptions options)
Lists game server configs in a given project, location, and game server deployment.
Parameters | |
---|---|
Name | Description |
request | ListGameServerConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListGameServerConfigsResponse | The response received from the server. |
ListGameServerConfigs(ListGameServerConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListGameServerConfigsResponse ListGameServerConfigs(ListGameServerConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists game server configs in a given project, location, and game server deployment.
Parameters | |
---|---|
Name | Description |
request | ListGameServerConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListGameServerConfigsResponse | The response received from the server. |
ListGameServerConfigsAsync(ListGameServerConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<ListGameServerConfigsResponse> ListGameServerConfigsAsync(ListGameServerConfigsRequest request, CallOptions options)
Lists game server configs in a given project, location, and game server deployment.
Parameters | |
---|---|
Name | Description |
request | ListGameServerConfigsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListGameServerConfigsResponse> | The call object. |
ListGameServerConfigsAsync(ListGameServerConfigsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListGameServerConfigsResponse> ListGameServerConfigsAsync(ListGameServerConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Lists game server configs in a given project, location, and game server deployment.
Parameters | |
---|---|
Name | Description |
request | ListGameServerConfigsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListGameServerConfigsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override GameServerConfigsService.GameServerConfigsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
GameServerConfigsService.GameServerConfigsServiceClient |