Class protos.google.cloud.gaming.v1.GameServerDeploymentsService (3.1.3)

Represents a GameServerDeploymentsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.gaming.v1.GameServerDeploymentsService

Package

@google-cloud/game-servers

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new GameServerDeploymentsService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GameServerDeploymentsService;

Creates new GameServerDeploymentsService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
GameServerDeploymentsService

RPC service. Useful where requests and/or responses are streamed.

createGameServerDeployment(request, callback)

public createGameServerDeployment(request: google.cloud.gaming.v1.ICreateGameServerDeploymentRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeploymentCallback): void;

Calls CreateGameServerDeployment.

Parameters
NameDescription
request google.cloud.gaming.v1.ICreateGameServerDeploymentRequest

CreateGameServerDeploymentRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeploymentCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createGameServerDeployment(request)

public createGameServerDeployment(request: google.cloud.gaming.v1.ICreateGameServerDeploymentRequest): Promise<google.longrunning.Operation>;

Calls CreateGameServerDeployment.

Parameter
NameDescription
request google.cloud.gaming.v1.ICreateGameServerDeploymentRequest

CreateGameServerDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteGameServerDeployment(request, callback)

public deleteGameServerDeployment(request: google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeploymentCallback): void;

Calls DeleteGameServerDeployment.

Parameters
NameDescription
request google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest

DeleteGameServerDeploymentRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeploymentCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteGameServerDeployment(request)

public deleteGameServerDeployment(request: google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest): Promise<google.longrunning.Operation>;

Calls DeleteGameServerDeployment.

Parameter
NameDescription
request google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest

DeleteGameServerDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

fetchDeploymentState(request, callback)

public fetchDeploymentState(request: google.cloud.gaming.v1.IFetchDeploymentStateRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentStateCallback): void;

Calls FetchDeploymentState.

Parameters
NameDescription
request google.cloud.gaming.v1.IFetchDeploymentStateRequest

FetchDeploymentStateRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentStateCallback

Node-style callback called with the error, if any, and FetchDeploymentStateResponse

Returns
TypeDescription
void

fetchDeploymentState(request)

public fetchDeploymentState(request: google.cloud.gaming.v1.IFetchDeploymentStateRequest): Promise<google.cloud.gaming.v1.FetchDeploymentStateResponse>;

Calls FetchDeploymentState.

Parameter
NameDescription
request google.cloud.gaming.v1.IFetchDeploymentStateRequest

FetchDeploymentStateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.FetchDeploymentStateResponse>

Promise

getGameServerDeployment(request, callback)

public getGameServerDeployment(request: google.cloud.gaming.v1.IGetGameServerDeploymentRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentCallback): void;

Calls GetGameServerDeployment.

Parameters
NameDescription
request google.cloud.gaming.v1.IGetGameServerDeploymentRequest

GetGameServerDeploymentRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentCallback

Node-style callback called with the error, if any, and GameServerDeployment

Returns
TypeDescription
void

getGameServerDeployment(request)

public getGameServerDeployment(request: google.cloud.gaming.v1.IGetGameServerDeploymentRequest): Promise<google.cloud.gaming.v1.GameServerDeployment>;

Calls GetGameServerDeployment.

Parameter
NameDescription
request google.cloud.gaming.v1.IGetGameServerDeploymentRequest

GetGameServerDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.GameServerDeployment>

Promise

getGameServerDeploymentRollout(request, callback)

public getGameServerDeploymentRollout(request: google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRolloutCallback): void;

Calls GetGameServerDeploymentRollout.

Parameters
NameDescription
request IGetGameServerDeploymentRolloutRequest

GetGameServerDeploymentRolloutRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRolloutCallback

Node-style callback called with the error, if any, and GameServerDeploymentRollout

Returns
TypeDescription
void

getGameServerDeploymentRollout(request)

public getGameServerDeploymentRollout(request: google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest): Promise<google.cloud.gaming.v1.GameServerDeploymentRollout>;

Calls GetGameServerDeploymentRollout.

Parameter
NameDescription
request IGetGameServerDeploymentRolloutRequest

GetGameServerDeploymentRolloutRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.GameServerDeploymentRollout>

Promise

listGameServerDeployments(request, callback)

public listGameServerDeployments(request: google.cloud.gaming.v1.IListGameServerDeploymentsRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeploymentsCallback): void;

Calls ListGameServerDeployments.

Parameters
NameDescription
request google.cloud.gaming.v1.IListGameServerDeploymentsRequest

ListGameServerDeploymentsRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeploymentsCallback

Node-style callback called with the error, if any, and ListGameServerDeploymentsResponse

Returns
TypeDescription
void

listGameServerDeployments(request)

public listGameServerDeployments(request: google.cloud.gaming.v1.IListGameServerDeploymentsRequest): Promise<google.cloud.gaming.v1.ListGameServerDeploymentsResponse>;

Calls ListGameServerDeployments.

Parameter
NameDescription
request google.cloud.gaming.v1.IListGameServerDeploymentsRequest

ListGameServerDeploymentsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.ListGameServerDeploymentsResponse>

Promise

previewGameServerDeploymentRollout(request, callback)

public previewGameServerDeploymentRollout(request: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRolloutCallback): void;

Calls PreviewGameServerDeploymentRollout.

Parameters
NameDescription
request google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest

PreviewGameServerDeploymentRolloutRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRolloutCallback

Node-style callback called with the error, if any, and PreviewGameServerDeploymentRolloutResponse

Returns
TypeDescription
void

previewGameServerDeploymentRollout(request)

public previewGameServerDeploymentRollout(request: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest): Promise<google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse>;

Calls PreviewGameServerDeploymentRollout.

Parameter
NameDescription
request google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest

PreviewGameServerDeploymentRolloutRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse>

Promise

updateGameServerDeployment(request, callback)

public updateGameServerDeployment(request: google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentCallback): void;

Calls UpdateGameServerDeployment.

Parameters
NameDescription
request google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest

UpdateGameServerDeploymentRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateGameServerDeployment(request)

public updateGameServerDeployment(request: google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest): Promise<google.longrunning.Operation>;

Calls UpdateGameServerDeployment.

Parameter
NameDescription
request google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest

UpdateGameServerDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateGameServerDeploymentRollout(request, callback)

public updateGameServerDeploymentRollout(request: google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRolloutCallback): void;

Calls UpdateGameServerDeploymentRollout.

Parameters
NameDescription
request google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest

UpdateGameServerDeploymentRolloutRequest message or plain object

callback google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRolloutCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateGameServerDeploymentRollout(request)

public updateGameServerDeploymentRollout(request: google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest): Promise<google.longrunning.Operation>;

Calls UpdateGameServerDeploymentRollout.

Parameter
NameDescription
request google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest

UpdateGameServerDeploymentRolloutRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise