Class protos.google.cloud.alloydb.v1alpha.AlloyDBAdmin (0.1.1)

Represents an AlloyDBAdmin

Inheritance

$protobuf.rpc.Service > protos.google.cloud.alloydb.v1alpha.AlloyDBAdmin

Package

@google-cloud/alloydb

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new AlloyDBAdmin service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchCreateInstances(request, callback)

public batchCreateInstances(request: google.cloud.alloydb.v1alpha.IBatchCreateInstancesRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.BatchCreateInstancesCallback): void;

Calls BatchCreateInstances.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IBatchCreateInstancesRequest

BatchCreateInstancesRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.BatchCreateInstancesCallback

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

Returns
TypeDescription
void

batchCreateInstances(request)

public batchCreateInstances(request: google.cloud.alloydb.v1alpha.IBatchCreateInstancesRequest): Promise<google.longrunning.Operation>;

Calls BatchCreateInstances.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IBatchCreateInstancesRequest

BatchCreateInstancesRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

Creates new AlloyDBAdmin 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
AlloyDBAdmin

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

createBackup(request, callback)

public createBackup(request: google.cloud.alloydb.v1alpha.ICreateBackupRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateBackupCallback): void;

Calls CreateBackup.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.ICreateBackupRequest

CreateBackupRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateBackupCallback

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

Returns
TypeDescription
void

createBackup(request)

public createBackup(request: google.cloud.alloydb.v1alpha.ICreateBackupRequest): Promise<google.longrunning.Operation>;

Calls CreateBackup.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.ICreateBackupRequest

CreateBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createCluster(request, callback)

public createCluster(request: google.cloud.alloydb.v1alpha.ICreateClusterRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateClusterCallback): void;

Calls CreateCluster.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.ICreateClusterRequest

CreateClusterRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateClusterCallback

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

Returns
TypeDescription
void

createCluster(request)

public createCluster(request: google.cloud.alloydb.v1alpha.ICreateClusterRequest): Promise<google.longrunning.Operation>;

Calls CreateCluster.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.ICreateClusterRequest

CreateClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createInstance(request, callback)

public createInstance(request: google.cloud.alloydb.v1alpha.ICreateInstanceRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateInstanceCallback): void;

Calls CreateInstance.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.ICreateInstanceRequest

CreateInstanceRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateInstanceCallback

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

Returns
TypeDescription
void

createInstance(request)

public createInstance(request: google.cloud.alloydb.v1alpha.ICreateInstanceRequest): Promise<google.longrunning.Operation>;

Calls CreateInstance.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.ICreateInstanceRequest

CreateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createSecondaryCluster(request, callback)

public createSecondaryCluster(request: google.cloud.alloydb.v1alpha.ICreateSecondaryClusterRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryClusterCallback): void;

Calls CreateSecondaryCluster.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.ICreateSecondaryClusterRequest

CreateSecondaryClusterRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryClusterCallback

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

Returns
TypeDescription
void

createSecondaryCluster(request)

public createSecondaryCluster(request: google.cloud.alloydb.v1alpha.ICreateSecondaryClusterRequest): Promise<google.longrunning.Operation>;

Calls CreateSecondaryCluster.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.ICreateSecondaryClusterRequest

CreateSecondaryClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createSecondaryInstance(request, callback)

public createSecondaryInstance(request: google.cloud.alloydb.v1alpha.ICreateSecondaryInstanceRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryInstanceCallback): void;

Calls CreateSecondaryInstance.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.ICreateSecondaryInstanceRequest

CreateSecondaryInstanceRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.CreateSecondaryInstanceCallback

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

Returns
TypeDescription
void

createSecondaryInstance(request)

public createSecondaryInstance(request: google.cloud.alloydb.v1alpha.ICreateSecondaryInstanceRequest): Promise<google.longrunning.Operation>;

Calls CreateSecondaryInstance.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.ICreateSecondaryInstanceRequest

CreateSecondaryInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteBackup(request, callback)

public deleteBackup(request: google.cloud.alloydb.v1alpha.IDeleteBackupRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteBackupCallback): void;

Calls DeleteBackup.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IDeleteBackupRequest

DeleteBackupRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteBackupCallback

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

Returns
TypeDescription
void

deleteBackup(request)

public deleteBackup(request: google.cloud.alloydb.v1alpha.IDeleteBackupRequest): Promise<google.longrunning.Operation>;

Calls DeleteBackup.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IDeleteBackupRequest

DeleteBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteCluster(request, callback)

public deleteCluster(request: google.cloud.alloydb.v1alpha.IDeleteClusterRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteClusterCallback): void;

Calls DeleteCluster.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IDeleteClusterRequest

DeleteClusterRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteClusterCallback

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

Returns
TypeDescription
void

deleteCluster(request)

public deleteCluster(request: google.cloud.alloydb.v1alpha.IDeleteClusterRequest): Promise<google.longrunning.Operation>;

Calls DeleteCluster.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IDeleteClusterRequest

DeleteClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteInstance(request, callback)

public deleteInstance(request: google.cloud.alloydb.v1alpha.IDeleteInstanceRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteInstanceCallback): void;

Calls DeleteInstance.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.DeleteInstanceCallback

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

Returns
TypeDescription
void

deleteInstance(request)

public deleteInstance(request: google.cloud.alloydb.v1alpha.IDeleteInstanceRequest): Promise<google.longrunning.Operation>;

Calls DeleteInstance.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

failoverInstance(request, callback)

public failoverInstance(request: google.cloud.alloydb.v1alpha.IFailoverInstanceRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.FailoverInstanceCallback): void;

Calls FailoverInstance.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IFailoverInstanceRequest

FailoverInstanceRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.FailoverInstanceCallback

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

Returns
TypeDescription
void

failoverInstance(request)

public failoverInstance(request: google.cloud.alloydb.v1alpha.IFailoverInstanceRequest): Promise<google.longrunning.Operation>;

Calls FailoverInstance.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IFailoverInstanceRequest

FailoverInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

generateClientCertificate(request, callback)

public generateClientCertificate(request: google.cloud.alloydb.v1alpha.IGenerateClientCertificateRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.GenerateClientCertificateCallback): void;

Calls GenerateClientCertificate.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IGenerateClientCertificateRequest

GenerateClientCertificateRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.GenerateClientCertificateCallback

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

Returns
TypeDescription
void

generateClientCertificate(request)

public generateClientCertificate(request: google.cloud.alloydb.v1alpha.IGenerateClientCertificateRequest): Promise<google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse>;

Calls GenerateClientCertificate.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IGenerateClientCertificateRequest

GenerateClientCertificateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.GenerateClientCertificateResponse>

Promise

getBackup(request, callback)

public getBackup(request: google.cloud.alloydb.v1alpha.IGetBackupRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetBackupCallback): void;

Calls GetBackup.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IGetBackupRequest

GetBackupRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetBackupCallback

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

Returns
TypeDescription
void

getBackup(request)

public getBackup(request: google.cloud.alloydb.v1alpha.IGetBackupRequest): Promise<google.cloud.alloydb.v1alpha.Backup>;

Calls GetBackup.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IGetBackupRequest

GetBackupRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.Backup>

Promise

getCluster(request, callback)

public getCluster(request: google.cloud.alloydb.v1alpha.IGetClusterRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetClusterCallback): void;

Calls GetCluster.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IGetClusterRequest

GetClusterRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetClusterCallback

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

Returns
TypeDescription
void

getCluster(request)

public getCluster(request: google.cloud.alloydb.v1alpha.IGetClusterRequest): Promise<google.cloud.alloydb.v1alpha.Cluster>;

Calls GetCluster.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IGetClusterRequest

GetClusterRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.Cluster>

Promise

getConnectionInfo(request, callback)

public getConnectionInfo(request: google.cloud.alloydb.v1alpha.IGetConnectionInfoRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetConnectionInfoCallback): void;

Calls GetConnectionInfo.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IGetConnectionInfoRequest

GetConnectionInfoRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetConnectionInfoCallback

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

Returns
TypeDescription
void

getConnectionInfo(request)

public getConnectionInfo(request: google.cloud.alloydb.v1alpha.IGetConnectionInfoRequest): Promise<google.cloud.alloydb.v1alpha.ConnectionInfo>;

Calls GetConnectionInfo.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IGetConnectionInfoRequest

GetConnectionInfoRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.ConnectionInfo>

Promise

getInstance(request, callback)

public getInstance(request: google.cloud.alloydb.v1alpha.IGetInstanceRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetInstanceCallback): void;

Calls GetInstance.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IGetInstanceRequest

GetInstanceRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.GetInstanceCallback

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

Returns
TypeDescription
void

getInstance(request)

public getInstance(request: google.cloud.alloydb.v1alpha.IGetInstanceRequest): Promise<google.cloud.alloydb.v1alpha.Instance>;

Calls GetInstance.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IGetInstanceRequest

GetInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.Instance>

Promise

listBackups(request, callback)

public listBackups(request: google.cloud.alloydb.v1alpha.IListBackupsRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListBackupsCallback): void;

Calls ListBackups.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IListBackupsRequest

ListBackupsRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListBackupsCallback

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

Returns
TypeDescription
void

listBackups(request)

public listBackups(request: google.cloud.alloydb.v1alpha.IListBackupsRequest): Promise<google.cloud.alloydb.v1alpha.ListBackupsResponse>;

Calls ListBackups.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IListBackupsRequest

ListBackupsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.ListBackupsResponse>

Promise

listClusters(request, callback)

public listClusters(request: google.cloud.alloydb.v1alpha.IListClustersRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListClustersCallback): void;

Calls ListClusters.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IListClustersRequest

ListClustersRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListClustersCallback

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

Returns
TypeDescription
void

listClusters(request)

public listClusters(request: google.cloud.alloydb.v1alpha.IListClustersRequest): Promise<google.cloud.alloydb.v1alpha.ListClustersResponse>;

Calls ListClusters.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IListClustersRequest

ListClustersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.ListClustersResponse>

Promise

listInstances(request, callback)

public listInstances(request: google.cloud.alloydb.v1alpha.IListInstancesRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListInstancesCallback): void;

Calls ListInstances.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IListInstancesRequest

ListInstancesRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListInstancesCallback

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

Returns
TypeDescription
void

listInstances(request)

public listInstances(request: google.cloud.alloydb.v1alpha.IListInstancesRequest): Promise<google.cloud.alloydb.v1alpha.ListInstancesResponse>;

Calls ListInstances.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IListInstancesRequest

ListInstancesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.ListInstancesResponse>

Promise

listSupportedDatabaseFlags(request, callback)

public listSupportedDatabaseFlags(request: google.cloud.alloydb.v1alpha.IListSupportedDatabaseFlagsRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListSupportedDatabaseFlagsCallback): void;

Calls ListSupportedDatabaseFlags.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IListSupportedDatabaseFlagsRequest

ListSupportedDatabaseFlagsRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.ListSupportedDatabaseFlagsCallback

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

Returns
TypeDescription
void

listSupportedDatabaseFlags(request)

public listSupportedDatabaseFlags(request: google.cloud.alloydb.v1alpha.IListSupportedDatabaseFlagsRequest): Promise<google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse>;

Calls ListSupportedDatabaseFlags.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IListSupportedDatabaseFlagsRequest

ListSupportedDatabaseFlagsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1alpha.ListSupportedDatabaseFlagsResponse>

Promise

promoteCluster(request, callback)

public promoteCluster(request: google.cloud.alloydb.v1alpha.IPromoteClusterRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.PromoteClusterCallback): void;

Calls PromoteCluster.

Parameters
NameDescription
request IPromoteClusterRequest

PromoteClusterRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.PromoteClusterCallback

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

Returns
TypeDescription
void

promoteCluster(request)

public promoteCluster(request: google.cloud.alloydb.v1alpha.IPromoteClusterRequest): Promise<google.longrunning.Operation>;

Calls PromoteCluster.

Parameter
NameDescription
request IPromoteClusterRequest

PromoteClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

restartInstance(request, callback)

public restartInstance(request: google.cloud.alloydb.v1alpha.IRestartInstanceRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestartInstanceCallback): void;

Calls RestartInstance.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IRestartInstanceRequest

RestartInstanceRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestartInstanceCallback

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

Returns
TypeDescription
void

restartInstance(request)

public restartInstance(request: google.cloud.alloydb.v1alpha.IRestartInstanceRequest): Promise<google.longrunning.Operation>;

Calls RestartInstance.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IRestartInstanceRequest

RestartInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

restoreCluster(request, callback)

public restoreCluster(request: google.cloud.alloydb.v1alpha.IRestoreClusterRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestoreClusterCallback): void;

Calls RestoreCluster.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IRestoreClusterRequest

RestoreClusterRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.RestoreClusterCallback

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

Returns
TypeDescription
void

restoreCluster(request)

public restoreCluster(request: google.cloud.alloydb.v1alpha.IRestoreClusterRequest): Promise<google.longrunning.Operation>;

Calls RestoreCluster.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IRestoreClusterRequest

RestoreClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateBackup(request, callback)

public updateBackup(request: google.cloud.alloydb.v1alpha.IUpdateBackupRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateBackupCallback): void;

Calls UpdateBackup.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IUpdateBackupRequest

UpdateBackupRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateBackupCallback

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

Returns
TypeDescription
void

updateBackup(request)

public updateBackup(request: google.cloud.alloydb.v1alpha.IUpdateBackupRequest): Promise<google.longrunning.Operation>;

Calls UpdateBackup.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IUpdateBackupRequest

UpdateBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateCluster(request, callback)

public updateCluster(request: google.cloud.alloydb.v1alpha.IUpdateClusterRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateClusterCallback): void;

Calls UpdateCluster.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IUpdateClusterRequest

UpdateClusterRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateClusterCallback

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

Returns
TypeDescription
void

updateCluster(request)

public updateCluster(request: google.cloud.alloydb.v1alpha.IUpdateClusterRequest): Promise<google.longrunning.Operation>;

Calls UpdateCluster.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IUpdateClusterRequest

UpdateClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateInstance(request, callback)

public updateInstance(request: google.cloud.alloydb.v1alpha.IUpdateInstanceRequest, callback: google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateInstanceCallback): void;

Calls UpdateInstance.

Parameters
NameDescription
request google.cloud.alloydb.v1alpha.IUpdateInstanceRequest

UpdateInstanceRequest message or plain object

callback google.cloud.alloydb.v1alpha.AlloyDBAdmin.UpdateInstanceCallback

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

Returns
TypeDescription
void

updateInstance(request)

public updateInstance(request: google.cloud.alloydb.v1alpha.IUpdateInstanceRequest): Promise<google.longrunning.Operation>;

Calls UpdateInstance.

Parameter
NameDescription
request google.cloud.alloydb.v1alpha.IUpdateInstanceRequest

UpdateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise