Class protos.google.cloud.gaming.v1beta.GameServerDeploymentsService (3.2.2)

Represents a GameServerDeploymentsService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.gaming.v1beta.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.v1beta.ICreateGameServerDeploymentRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeploymentCallback): void;

Calls CreateGameServerDeployment.

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

CreateGameServerDeploymentRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeploymentCallback

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

Returns
TypeDescription
void

createGameServerDeployment(request)

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

Calls CreateGameServerDeployment.

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

CreateGameServerDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteGameServerDeployment(request, callback)

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

Calls DeleteGameServerDeployment.

Parameters
NameDescription
request IDeleteGameServerDeploymentRequest

DeleteGameServerDeploymentRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeploymentCallback

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

Returns
TypeDescription
void

deleteGameServerDeployment(request)

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

Calls DeleteGameServerDeployment.

Parameter
NameDescription
request IDeleteGameServerDeploymentRequest

DeleteGameServerDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

fetchDeploymentState(request, callback)

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

Calls FetchDeploymentState.

Parameters
NameDescription
request IFetchDeploymentStateRequest

FetchDeploymentStateRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentStateCallback

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

Returns
TypeDescription
void

fetchDeploymentState(request)

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

Calls FetchDeploymentState.

Parameter
NameDescription
request IFetchDeploymentStateRequest

FetchDeploymentStateRequest message or plain object

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

Promise

getGameServerDeployment(request, callback)

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

Calls GetGameServerDeployment.

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

GetGameServerDeploymentRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentCallback

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

Returns
TypeDescription
void

getGameServerDeployment(request)

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

Calls GetGameServerDeployment.

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

GetGameServerDeploymentRequest message or plain object

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

Promise

getGameServerDeploymentRollout(request, callback)

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

Calls GetGameServerDeploymentRollout.

Parameters
NameDescription
request google.cloud.gaming.v1beta.IGetGameServerDeploymentRolloutRequest

GetGameServerDeploymentRolloutRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRolloutCallback

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

Returns
TypeDescription
void

getGameServerDeploymentRollout(request)

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

Calls GetGameServerDeploymentRollout.

Parameter
NameDescription
request google.cloud.gaming.v1beta.IGetGameServerDeploymentRolloutRequest

GetGameServerDeploymentRolloutRequest message or plain object

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

Promise

listGameServerDeployments(request, callback)

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

Calls ListGameServerDeployments.

Parameters
NameDescription
request IListGameServerDeploymentsRequest

ListGameServerDeploymentsRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeploymentsCallback

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

Returns
TypeDescription
void

listGameServerDeployments(request)

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

Calls ListGameServerDeployments.

Parameter
NameDescription
request IListGameServerDeploymentsRequest

ListGameServerDeploymentsRequest message or plain object

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

Promise

previewGameServerDeploymentRollout(request, callback)

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

Calls PreviewGameServerDeploymentRollout.

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

PreviewGameServerDeploymentRolloutRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRolloutCallback

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

Returns
TypeDescription
void

previewGameServerDeploymentRollout(request)

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

Calls PreviewGameServerDeploymentRollout.

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

PreviewGameServerDeploymentRolloutRequest message or plain object

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

Promise

updateGameServerDeployment(request, callback)

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

Calls UpdateGameServerDeployment.

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

UpdateGameServerDeploymentRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentCallback

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

Returns
TypeDescription
void

updateGameServerDeployment(request)

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

Calls UpdateGameServerDeployment.

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

UpdateGameServerDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateGameServerDeploymentRollout(request, callback)

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

Calls UpdateGameServerDeploymentRollout.

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

UpdateGameServerDeploymentRolloutRequest message or plain object

callback google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRolloutCallback

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

Returns
TypeDescription
void

updateGameServerDeploymentRollout(request)

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

Calls UpdateGameServerDeploymentRollout.

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

UpdateGameServerDeploymentRolloutRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise