Send feedback
Class v1.GameServerClustersServiceClient (2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.0keyboard_arrow_down
The game server cluster maps to Kubernetes clusters running Agones and is used to manage fleets within clusters. v1
Package
@google-cloud/game-servers!
Constructors
constructor ( opts ?: ClientOptions );
Construct an instance of GameServerClustersServiceClient.
Parameter
Name
Description
opts
ClientOptions
Properties
static get apiEndpoint () : string ;
The DNS address for this API service - same as servicePath(), exists for compatibility reasons.
Property Value
Property Value
Type
Description
gax.GoogleAuth
descriptors : Descriptors ;
Property Value
Type
Description
Descriptors
gameServerClustersServiceStub ?: Promise <{
[ name : string ] : Function ;
}>;
Property Value
Type
Description
Promise <{
[name: string]: Function ;
}>
innerApiCalls : {
[ name : string ] : Function ;
};
Property Value
Type
Description
{
[name: string]: Function ;
}
operationsClient : gax . OperationsClient ;
Property Value
Type
Description
gax.OperationsClient
pathTemplates : {
[ name : string ] : gax . PathTemplate ;
};
Property Value
Type
Description
{
[name: string]: gax.PathTemplate ;
}
static get port () : number ;
The port for this API service.
Property Value
static get scopes () : string [];
The scopes needed to make gRPC calls for every method defined in this service.
Property Value
Type
Description
string[]
static get servicePath () : string ;
The DNS address for this API service.
Property Value
warn : ( code : string , message : string , warnType ?: string ) = > void ;
Property Value
Type
Description
(code: string, message: string, warnType?: string) => void
Methods
checkCreateGameServerClusterProgress ( name : string ) : Promise<LROperation<protos . google . cloud . gaming . v1 . GameServerCluster , protos . google . cloud . gaming . v1 . OperationMetadata >>;
Check the status of the long running operation returned by createGameServerCluster()
.
Parameter
Name
Description
name
string
The operation name that will be passed.
Returns
Type
Description
Promise <LROperation <protos.google.cloud.gaming.v1.GameServerCluster , protos.google.cloud.gaming.v1.OperationMetadata >>
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
checkDeleteGameServerClusterProgress ( name : string ) : Promise<LROperation<protos . google . protobuf . Empty , protos . google . cloud . gaming . v1 . OperationMetadata >>;
Check the status of the long running operation returned by deleteGameServerCluster()
.
Parameter
Name
Description
name
string
The operation name that will be passed.
Returns
Type
Description
Promise <LROperation <protos.google.protobuf.Empty , protos.google.cloud.gaming.v1.OperationMetadata >>
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
checkUpdateGameServerClusterProgress ( name : string ) : Promise<LROperation<protos . google . cloud . gaming . v1 . GameServerCluster , protos . google . cloud . gaming . v1 . OperationMetadata >>;
Check the status of the long running operation returned by updateGameServerCluster()
.
Parameter
Name
Description
name
string
The operation name that will be passed.
Returns
Type
Description
Promise <LROperation <protos.google.cloud.gaming.v1.GameServerCluster , protos.google.cloud.gaming.v1.OperationMetadata >>
{Promise} - The promise which resolves to an object. The decoded operation object has result and metadata field to get information from. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations) for more details and examples.
Terminate the gRPC channel and close the client.
The client will no longer be usable and all future behavior is undefined.
Returns
Type
Description
Promise <void>
{Promise} A promise that resolves when the client is closed.
createGameServerCluster ( request ?: protos . google . cloud . gaming . v1 . ICreateGameServerClusterRequest , options ?: CallOptions ) : Promise <[ LROperation<protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | undefined , {} | undefined ]>;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.ICreateGameServerClusterRequest
options
CallOptions
Returns
Type
Description
Promise <[LROperation <protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | undefined, {} | undefined]>
createGameServerCluster ( request : protos . google . cloud . gaming . v1 . ICreateGameServerClusterRequest , options : CallOptions , callback : Callback<LROperation<protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.ICreateGameServerClusterRequest
options
CallOptions
callback
Callback <LROperation <protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
createGameServerCluster ( request : protos . google . cloud . gaming . v1 . ICreateGameServerClusterRequest , callback : Callback<LROperation<protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.ICreateGameServerClusterRequest
callback
Callback <LROperation <protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
deleteGameServerCluster ( request ?: protos . google . cloud . gaming . v1 . IDeleteGameServerClusterRequest , options ?: CallOptions ) : Promise <[ LROperation<protos . google . protobuf . IEmpty , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | undefined , {} | undefined ]>;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IDeleteGameServerClusterRequest
options
CallOptions
Returns
Type
Description
Promise <[LROperation <protos.google.protobuf.IEmpty , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | undefined, {} | undefined]>
deleteGameServerCluster ( request : protos . google . cloud . gaming . v1 . IDeleteGameServerClusterRequest , options : CallOptions , callback : Callback<LROperation<protos . google . protobuf . IEmpty , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IDeleteGameServerClusterRequest
options
CallOptions
callback
Callback <LROperation <protos.google.protobuf.IEmpty , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
deleteGameServerCluster ( request : protos . google . cloud . gaming . v1 . IDeleteGameServerClusterRequest , callback : Callback<LROperation<protos . google . protobuf . IEmpty , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IDeleteGameServerClusterRequest
callback
Callback <LROperation <protos.google.protobuf.IEmpty , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
gameServerClusterPath ( project : string , location : string , realm : string , cluster : string ) : string ;
Return a fully-qualified gameServerCluster resource name string.
Parameters
Name
Description
project
string
location
string
realm
string
cluster
string
Returns
Type
Description
string
{string} Resource name string.
gameServerConfigPath ( project : string , location : string , deployment : string , config : string ) : string ;
Return a fully-qualified gameServerConfig resource name string.
Parameters
Name
Description
project
string
location
string
deployment
string
config
string
Returns
Type
Description
string
{string} Resource name string.
gameServerDeploymentPath ( project : string , location : string , deployment : string ) : string ;
Return a fully-qualified gameServerDeployment resource name string.
Parameters
Name
Description
project
string
location
string
deployment
string
Returns
Type
Description
string
{string} Resource name string.
gameServerDeploymentRolloutPath ( project : string , location : string , deployment : string ) : string ;
Return a fully-qualified gameServerDeploymentRollout resource name string.
Parameters
Name
Description
project
string
location
string
deployment
string
Returns
Type
Description
string
{string} Resource name string.
getGameServerCluster ( request ?: protos . google . cloud . gaming . v1 . IGetGameServerClusterRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IGetGameServerClusterRequest | undefined , {} | undefined ]>;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IGetGameServerClusterRequest
options
CallOptions
Returns
Type
Description
Promise <[protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IGetGameServerClusterRequest | undefined, {} | undefined]>
getGameServerCluster ( request : protos . google . cloud . gaming . v1 . IGetGameServerClusterRequest , options : CallOptions , callback : Callback<protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IGetGameServerClusterRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IGetGameServerClusterRequest
options
CallOptions
callback
Callback <protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IGetGameServerClusterRequest | null | undefined, {} | null | undefined>
Returns
getGameServerCluster ( request : protos . google . cloud . gaming . v1 . IGetGameServerClusterRequest , callback : Callback<protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IGetGameServerClusterRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IGetGameServerClusterRequest
callback
Callback <protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IGetGameServerClusterRequest | null | undefined, {} | null | undefined>
Returns
getProjectId () : Promise<string> ;
Returns
Type
Description
Promise <string>
getProjectId ( callback : Callback<string , undefined , undefined >) : void ;
Parameter
Name
Description
callback
Callback <string, undefined, undefined>
Returns
initialize () : Promise <{
[ name : string ] : Function ;
}>;
Initialize the client. Performs asynchronous operations (such as authentication) and prepares the client. This function will be called automatically when any class method is called for the first time, but if you need to initialize it before calling an actual method, feel free to call initialize() directly.
You can await on this method if you want to make sure the client is initialized.
Returns
Type
Description
Promise <{
[name: string]: Function ;
}>
{Promise} A promise that resolves to an authenticated service stub.
listGameServerClusters ( request ?: protos . google . cloud . gaming . v1 . IListGameServerClustersRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . gaming . v1 . IGameServerCluster [], protos . google . cloud . gaming . v1 . IListGameServerClustersRequest | null , protos . google . cloud . gaming . v1 . IListGameServerClustersResponse ]>;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IListGameServerClustersRequest
options
CallOptions
Returns
Type
Description
Promise <[protos.google.cloud.gaming.v1.IGameServerCluster [], protos.google.cloud.gaming.v1.IListGameServerClustersRequest | null, protos.google.cloud.gaming.v1.IListGameServerClustersResponse ]>
listGameServerClusters ( request : protos . google . cloud . gaming . v1 . IListGameServerClustersRequest , options : CallOptions , callback : PaginationCallback<protos . google . cloud . gaming . v1 . IListGameServerClustersRequest , protos . google . cloud . gaming . v1 . IListGameServerClustersResponse | null | undefined , protos . google . cloud . gaming . v1 . IGameServerCluster >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IListGameServerClustersRequest
options
CallOptions
callback
PaginationCallback <protos.google.cloud.gaming.v1.IListGameServerClustersRequest , protos.google.cloud.gaming.v1.IListGameServerClustersResponse | null | undefined, protos.google.cloud.gaming.v1.IGameServerCluster >
Returns
listGameServerClusters ( request : protos . google . cloud . gaming . v1 . IListGameServerClustersRequest , callback : PaginationCallback<protos . google . cloud . gaming . v1 . IListGameServerClustersRequest , protos . google . cloud . gaming . v1 . IListGameServerClustersResponse | null | undefined , protos . google . cloud . gaming . v1 . IGameServerCluster >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IListGameServerClustersRequest
callback
PaginationCallback <protos.google.cloud.gaming.v1.IListGameServerClustersRequest , protos.google.cloud.gaming.v1.IListGameServerClustersResponse | null | undefined, protos.google.cloud.gaming.v1.IGameServerCluster >
Returns
listGameServerClustersAsync ( request ?: protos . google . cloud . gaming . v1 . IListGameServerClustersRequest , options ?: CallOptions ) : AsyncIterable<protos . google . cloud . gaming . v1 . IGameServerCluster >;
Equivalent to listGameServerClusters
, but returns an iterable object.
for
-await
-of
syntax is used with the iterable to get response elements on-demand.
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IListGameServerClustersRequest
The request object that will be sent.
options
CallOptions
Call options. See CallOptions for more details.
Returns
Type
Description
AsyncIterable <protos.google.cloud.gaming.v1.IGameServerCluster >
{Object} An iterable Object that allows [async iteration](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols). When you iterate the returned iterable, each element will be an object representing [GameServerCluster]. The API will be called under the hood as needed, once per the page, so you can stop the iteration when you don't need more results. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
listGameServerClustersStream ( request ?: protos . google . cloud . gaming . v1 . IListGameServerClustersRequest , options ?: CallOptions ) : Transform ;
Equivalent to method.name.toCamelCase()
, but returns a NodeJS Stream object.
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IListGameServerClustersRequest
The request object that will be sent.
options
CallOptions
Call options. See CallOptions for more details.
Returns
Type
Description
Transform
{Stream} An object stream which emits an object representing [GameServerCluster] on 'data' event. The client library will perform auto-pagination by default: it will call the API as many times as needed. Note that it can affect your quota. We recommend using listGameServerClustersAsync()
method described below for async iteration which you can stop as needed. Please see the [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination) for more details and examples.
matchClusterFromGameServerClusterName ( gameServerClusterName : string ) : string | number ;
Parse the cluster from GameServerCluster resource.
Parameter
Name
Description
gameServerClusterName
string
A fully-qualified path representing GameServerCluster resource.
Returns
Type
Description
string | number
{string} A string representing the cluster.
matchConfigFromGameServerConfigName ( gameServerConfigName : string ) : string | number ;
Parse the config from GameServerConfig resource.
Parameter
Name
Description
gameServerConfigName
string
A fully-qualified path representing GameServerConfig resource.
Returns
Type
Description
string | number
{string} A string representing the config.
matchDeploymentFromGameServerConfigName ( gameServerConfigName : string ) : string | number ;
Parse the deployment from GameServerConfig resource.
Parameter
Name
Description
gameServerConfigName
string
A fully-qualified path representing GameServerConfig resource.
Returns
Type
Description
string | number
{string} A string representing the deployment.
matchDeploymentFromGameServerDeploymentName ( gameServerDeploymentName : string ) : string | number ;
Parse the deployment from GameServerDeployment resource.
Parameter
Name
Description
gameServerDeploymentName
string
A fully-qualified path representing GameServerDeployment resource.
Returns
Type
Description
string | number
{string} A string representing the deployment.
matchDeploymentFromGameServerDeploymentRolloutName ( gameServerDeploymentRolloutName : string ) : string | number ;
Parse the deployment from GameServerDeploymentRollout resource.
Parameter
Name
Description
gameServerDeploymentRolloutName
string
A fully-qualified path representing GameServerDeploymentRollout resource.
Returns
Type
Description
string | number
{string} A string representing the deployment.
matchLocationFromGameServerClusterName ( gameServerClusterName : string ) : string | number ;
Parse the location from GameServerCluster resource.
Parameter
Name
Description
gameServerClusterName
string
A fully-qualified path representing GameServerCluster resource.
Returns
Type
Description
string | number
{string} A string representing the location.
matchLocationFromGameServerConfigName ( gameServerConfigName : string ) : string | number ;
Parse the location from GameServerConfig resource.
Parameter
Name
Description
gameServerConfigName
string
A fully-qualified path representing GameServerConfig resource.
Returns
Type
Description
string | number
{string} A string representing the location.
matchLocationFromGameServerDeploymentName ( gameServerDeploymentName : string ) : string | number ;
Parse the location from GameServerDeployment resource.
Parameter
Name
Description
gameServerDeploymentName
string
A fully-qualified path representing GameServerDeployment resource.
Returns
Type
Description
string | number
{string} A string representing the location.
matchLocationFromGameServerDeploymentRolloutName ( gameServerDeploymentRolloutName : string ) : string | number ;
Parse the location from GameServerDeploymentRollout resource.
Parameter
Name
Description
gameServerDeploymentRolloutName
string
A fully-qualified path representing GameServerDeploymentRollout resource.
Returns
Type
Description
string | number
{string} A string representing the location.
matchLocationFromRealmName ( realmName : string ) : string | number ;
Parse the location from Realm resource.
Parameter
Name
Description
realmName
string
A fully-qualified path representing Realm resource.
Returns
Type
Description
string | number
{string} A string representing the location.
matchProjectFromGameServerClusterName ( gameServerClusterName : string ) : string | number ;
Parse the project from GameServerCluster resource.
Parameter
Name
Description
gameServerClusterName
string
A fully-qualified path representing GameServerCluster resource.
Returns
Type
Description
string | number
{string} A string representing the project.
matchProjectFromGameServerConfigName ( gameServerConfigName : string ) : string | number ;
Parse the project from GameServerConfig resource.
Parameter
Name
Description
gameServerConfigName
string
A fully-qualified path representing GameServerConfig resource.
Returns
Type
Description
string | number
{string} A string representing the project.
matchProjectFromGameServerDeploymentName ( gameServerDeploymentName : string ) : string | number ;
Parse the project from GameServerDeployment resource.
Parameter
Name
Description
gameServerDeploymentName
string
A fully-qualified path representing GameServerDeployment resource.
Returns
Type
Description
string | number
{string} A string representing the project.
matchProjectFromGameServerDeploymentRolloutName ( gameServerDeploymentRolloutName : string ) : string | number ;
Parse the project from GameServerDeploymentRollout resource.
Parameter
Name
Description
gameServerDeploymentRolloutName
string
A fully-qualified path representing GameServerDeploymentRollout resource.
Returns
Type
Description
string | number
{string} A string representing the project.
matchProjectFromRealmName ( realmName : string ) : string | number ;
Parse the project from Realm resource.
Parameter
Name
Description
realmName
string
A fully-qualified path representing Realm resource.
Returns
Type
Description
string | number
{string} A string representing the project.
matchRealmFromGameServerClusterName ( gameServerClusterName : string ) : string | number ;
Parse the realm from GameServerCluster resource.
Parameter
Name
Description
gameServerClusterName
string
A fully-qualified path representing GameServerCluster resource.
Returns
Type
Description
string | number
{string} A string representing the realm.
matchRealmFromRealmName ( realmName : string ) : string | number ;
Parse the realm from Realm resource.
Parameter
Name
Description
realmName
string
A fully-qualified path representing Realm resource.
Returns
Type
Description
string | number
{string} A string representing the realm.
previewCreateGameServerCluster ( request ?: protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterResponse , ( protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterRequest | undefined ), {} | undefined ]>;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest
options
CallOptions
Returns
Type
Description
Promise <[protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse , (protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest | undefined), {} | undefined]>
previewCreateGameServerCluster ( request : protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterRequest , options : CallOptions , callback : Callback<protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterResponse , protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest
options
CallOptions
callback
Callback <protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse , protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest | null | undefined, {} | null | undefined>
Returns
previewCreateGameServerCluster ( request : protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterRequest , callback : Callback<protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterResponse , protos . google . cloud . gaming . v1 . IPreviewCreateGameServerClusterRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest
callback
Callback <protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse , protos.google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest | null | undefined, {} | null | undefined>
Returns
previewDeleteGameServerCluster ( request ?: protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterResponse , ( protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterRequest | undefined ), {} | undefined ]>;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest
options
CallOptions
Returns
Type
Description
Promise <[protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse , (protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest | undefined), {} | undefined]>
previewDeleteGameServerCluster ( request : protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterRequest , options : CallOptions , callback : Callback<protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterResponse , protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest
options
CallOptions
callback
Callback <protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse , protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest | null | undefined, {} | null | undefined>
Returns
previewDeleteGameServerCluster ( request : protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterRequest , callback : Callback<protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterResponse , protos . google . cloud . gaming . v1 . IPreviewDeleteGameServerClusterRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest
callback
Callback <protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse , protos.google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest | null | undefined, {} | null | undefined>
Returns
previewUpdateGameServerCluster ( request ?: protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterRequest , options ?: CallOptions ) : Promise <[ protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterResponse , ( protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterRequest | undefined ), {} | undefined ]>;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest
options
CallOptions
Returns
Type
Description
Promise <[protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse , (protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest | undefined), {} | undefined]>
previewUpdateGameServerCluster ( request : protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterRequest , options : CallOptions , callback : Callback<protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterResponse , protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest
options
CallOptions
callback
Callback <protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse , protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest | null | undefined, {} | null | undefined>
Returns
previewUpdateGameServerCluster ( request : protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterRequest , callback : Callback<protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterResponse , protos . google . cloud . gaming . v1 . IPreviewUpdateGameServerClusterRequest | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest
callback
Callback <protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse , protos.google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest | null | undefined, {} | null | undefined>
Returns
realmPath ( project : string , location : string , realm : string ) : string ;
Return a fully-qualified realm resource name string.
Parameters
Name
Description
project
string
location
string
realm
string
Returns
Type
Description
string
{string} Resource name string.
updateGameServerCluster ( request ?: protos . google . cloud . gaming . v1 . IUpdateGameServerClusterRequest , options ?: CallOptions ) : Promise <[ LROperation<protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | undefined , {} | undefined ]>;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IUpdateGameServerClusterRequest
options
CallOptions
Returns
Type
Description
Promise <[LROperation <protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | undefined, {} | undefined]>
updateGameServerCluster ( request : protos . google . cloud . gaming . v1 . IUpdateGameServerClusterRequest , options : CallOptions , callback : Callback<LROperation<protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IUpdateGameServerClusterRequest
options
CallOptions
callback
Callback <LROperation <protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
updateGameServerCluster ( request : protos . google . cloud . gaming . v1 . IUpdateGameServerClusterRequest , callback : Callback<LROperation<protos . google . cloud . gaming . v1 . IGameServerCluster , protos . google . cloud . gaming . v1 . IOperationMetadata >, protos . google . longrunning . IOperation | null | undefined , {} | null | undefined >) : void ;
Parameters
Name
Description
request
protos.google.cloud.gaming.v1.IUpdateGameServerClusterRequest
callback
Callback <LROperation <protos.google.cloud.gaming.v1.IGameServerCluster , protos.google.cloud.gaming.v1.IOperationMetadata >, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-10 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-10 UTC."],[],[]]