GameServerDeploymentsService

google.cloud.gaming.v1. GameServerDeploymentsService

Represents a GameServerDeploymentsService

Constructor

new GameServerDeploymentsService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new GameServerDeploymentsService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {GameServerDeploymentsService}

Creates new GameServerDeploymentsService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

createGameServerDeployment(request, callback) → {undefined}

Calls CreateGameServerDeployment.

Parameters:
Name Type Description
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

createGameServerDeployment(request) → {Promise.<google.longrunning.Operation>}

Calls CreateGameServerDeployment.

Parameters:
Name Type Description
request google.cloud.gaming.v1.ICreateGameServerDeploymentRequest

CreateGameServerDeploymentRequest message or plain object

deleteGameServerDeployment(request, callback) → {undefined}

Calls DeleteGameServerDeployment.

Parameters:
Name Type Description
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

deleteGameServerDeployment(request) → {Promise.<google.longrunning.Operation>}

Calls DeleteGameServerDeployment.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest

DeleteGameServerDeploymentRequest message or plain object

fetchDeploymentState(request, callback) → {undefined}

Calls FetchDeploymentState.

Parameters:
Name Type Description
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

fetchDeploymentState(request) → {Promise.<google.cloud.gaming.v1.FetchDeploymentStateResponse>}

Calls FetchDeploymentState.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IFetchDeploymentStateRequest

FetchDeploymentStateRequest message or plain object

getGameServerDeployment(request, callback) → {undefined}

Calls GetGameServerDeployment.

Parameters:
Name Type Description
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

getGameServerDeployment(request) → {Promise.<google.cloud.gaming.v1.GameServerDeployment>}

Calls GetGameServerDeployment.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IGetGameServerDeploymentRequest

GetGameServerDeploymentRequest message or plain object

getGameServerDeploymentRollout(request, callback) → {undefined}

Calls GetGameServerDeploymentRollout.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest

GetGameServerDeploymentRolloutRequest message or plain object

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

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

getGameServerDeploymentRollout(request) → {Promise.<google.cloud.gaming.v1.GameServerDeploymentRollout>}

Calls GetGameServerDeploymentRollout.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest

GetGameServerDeploymentRolloutRequest message or plain object

listGameServerDeployments(request, callback) → {undefined}

Calls ListGameServerDeployments.

Parameters:
Name Type Description
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

listGameServerDeployments(request) → {Promise.<google.cloud.gaming.v1.ListGameServerDeploymentsResponse>}

Calls ListGameServerDeployments.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IListGameServerDeploymentsRequest

ListGameServerDeploymentsRequest message or plain object

previewGameServerDeploymentRollout(request, callback) → {undefined}

Calls PreviewGameServerDeploymentRollout.

Parameters:
Name Type Description
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

previewGameServerDeploymentRollout(request) → {Promise.<google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse>}

Calls PreviewGameServerDeploymentRollout.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest

PreviewGameServerDeploymentRolloutRequest message or plain object

updateGameServerDeployment(request, callback) → {undefined}

Calls UpdateGameServerDeployment.

Parameters:
Name Type Description
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

updateGameServerDeployment(request) → {Promise.<google.longrunning.Operation>}

Calls UpdateGameServerDeployment.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest

UpdateGameServerDeploymentRequest message or plain object

updateGameServerDeploymentRollout(request, callback) → {undefined}

Calls UpdateGameServerDeploymentRollout.

Parameters:
Name Type Description
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

updateGameServerDeploymentRollout(request) → {Promise.<google.longrunning.Operation>}

Calls UpdateGameServerDeploymentRollout.

Parameters:
Name Type Description
request google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest

UpdateGameServerDeploymentRolloutRequest message or plain object

Type Definitions

CreateGameServerDeploymentCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#createGameServerDeployment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

DeleteGameServerDeploymentCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#deleteGameServerDeployment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

FetchDeploymentStateCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#fetchDeploymentState.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gaming.v1.FetchDeploymentStateResponse <optional>

FetchDeploymentStateResponse

GetGameServerDeploymentCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#getGameServerDeployment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gaming.v1.GameServerDeployment <optional>

GameServerDeployment

GetGameServerDeploymentRolloutCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#getGameServerDeploymentRollout.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gaming.v1.GameServerDeploymentRollout <optional>

GameServerDeploymentRollout

ListGameServerDeploymentsCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#listGameServerDeployments.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gaming.v1.ListGameServerDeploymentsResponse <optional>

ListGameServerDeploymentsResponse

PreviewGameServerDeploymentRolloutCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#previewGameServerDeploymentRollout.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse <optional>

PreviewGameServerDeploymentRolloutResponse

UpdateGameServerDeploymentCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#updateGameServerDeployment.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

UpdateGameServerDeploymentRolloutCallback(error, responseopt)

Callback as used by google.cloud.gaming.v1.GameServerDeploymentsService#updateGameServerDeploymentRollout.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation