Class protos.google.cloud.alloydb.v1.AlloyDBAdmin (1.4.1)

Represents an AlloyDBAdmin

Inheritance

$protobuf.rpc.Service > protos.google.cloud.alloydb.v1.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.v1.IBatchCreateInstancesRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.BatchCreateInstancesCallback): void;

Calls BatchCreateInstances.

Parameters
NameDescription
request IBatchCreateInstancesRequest

BatchCreateInstancesRequest message or plain object

callback BatchCreateInstancesCallback

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

Returns
TypeDescription
void

batchCreateInstances(request)

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

Calls BatchCreateInstances.

Parameter
NameDescription
request 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.v1.ICreateBackupRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.CreateBackupCallback): void;

Calls CreateBackup.

Parameters
NameDescription
request ICreateBackupRequest

CreateBackupRequest message or plain object

callback CreateBackupCallback

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

Returns
TypeDescription
void

createBackup(request)

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

Calls CreateBackup.

Parameter
NameDescription
request ICreateBackupRequest

CreateBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createCluster(request, callback)

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

Calls CreateCluster.

Parameters
NameDescription
request ICreateClusterRequest

CreateClusterRequest message or plain object

callback CreateClusterCallback

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

Returns
TypeDescription
void

createCluster(request)

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

Calls CreateCluster.

Parameter
NameDescription
request ICreateClusterRequest

CreateClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createInstance(request, callback)

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

Calls CreateInstance.

Parameters
NameDescription
request ICreateInstanceRequest

CreateInstanceRequest message or plain object

callback CreateInstanceCallback

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

Returns
TypeDescription
void

createInstance(request)

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

Calls CreateInstance.

Parameter
NameDescription
request ICreateInstanceRequest

CreateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createSecondaryCluster(request, callback)

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

Calls CreateSecondaryCluster.

Parameters
NameDescription
request ICreateSecondaryClusterRequest

CreateSecondaryClusterRequest message or plain object

callback CreateSecondaryClusterCallback

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

Returns
TypeDescription
void

createSecondaryCluster(request)

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

Calls CreateSecondaryCluster.

Parameter
NameDescription
request ICreateSecondaryClusterRequest

CreateSecondaryClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createSecondaryInstance(request, callback)

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

Calls CreateSecondaryInstance.

Parameters
NameDescription
request ICreateSecondaryInstanceRequest

CreateSecondaryInstanceRequest message or plain object

callback CreateSecondaryInstanceCallback

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

Returns
TypeDescription
void

createSecondaryInstance(request)

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

Calls CreateSecondaryInstance.

Parameter
NameDescription
request ICreateSecondaryInstanceRequest

CreateSecondaryInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createUser(request, callback)

public createUser(request: google.cloud.alloydb.v1.ICreateUserRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.CreateUserCallback): void;

Calls CreateUser.

Parameters
NameDescription
request ICreateUserRequest

CreateUserRequest message or plain object

callback CreateUserCallback

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

Returns
TypeDescription
void

createUser(request)

public createUser(request: google.cloud.alloydb.v1.ICreateUserRequest): Promise<google.cloud.alloydb.v1.User>;

Calls CreateUser.

Parameter
NameDescription
request ICreateUserRequest

CreateUserRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1.User>

Promise

deleteBackup(request, callback)

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

Calls DeleteBackup.

Parameters
NameDescription
request IDeleteBackupRequest

DeleteBackupRequest message or plain object

callback DeleteBackupCallback

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

Returns
TypeDescription
void

deleteBackup(request)

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

Calls DeleteBackup.

Parameter
NameDescription
request IDeleteBackupRequest

DeleteBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteCluster(request, callback)

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

Calls DeleteCluster.

Parameters
NameDescription
request IDeleteClusterRequest

DeleteClusterRequest message or plain object

callback DeleteClusterCallback

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

Returns
TypeDescription
void

deleteCluster(request)

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

Calls DeleteCluster.

Parameter
NameDescription
request IDeleteClusterRequest

DeleteClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteInstance(request, callback)

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

Calls DeleteInstance.

Parameters
NameDescription
request IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

callback DeleteInstanceCallback

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

Returns
TypeDescription
void

deleteInstance(request)

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

Calls DeleteInstance.

Parameter
NameDescription
request IDeleteInstanceRequest

DeleteInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteUser(request, callback)

public deleteUser(request: google.cloud.alloydb.v1.IDeleteUserRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.DeleteUserCallback): void;

Calls DeleteUser.

Parameters
NameDescription
request IDeleteUserRequest

DeleteUserRequest message or plain object

callback DeleteUserCallback

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

Returns
TypeDescription
void

deleteUser(request)

public deleteUser(request: google.cloud.alloydb.v1.IDeleteUserRequest): Promise<google.protobuf.Empty>;

Calls DeleteUser.

Parameter
NameDescription
request IDeleteUserRequest

DeleteUserRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

failoverInstance(request, callback)

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

Calls FailoverInstance.

Parameters
NameDescription
request IFailoverInstanceRequest

FailoverInstanceRequest message or plain object

callback FailoverInstanceCallback

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

Returns
TypeDescription
void

failoverInstance(request)

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

Calls FailoverInstance.

Parameter
NameDescription
request IFailoverInstanceRequest

FailoverInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

generateClientCertificate(request, callback)

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

Calls GenerateClientCertificate.

Parameters
NameDescription
request IGenerateClientCertificateRequest

GenerateClientCertificateRequest message or plain object

callback GenerateClientCertificateCallback

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

Returns
TypeDescription
void

generateClientCertificate(request)

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

Calls GenerateClientCertificate.

Parameter
NameDescription
request IGenerateClientCertificateRequest

GenerateClientCertificateRequest message or plain object

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

Promise

getBackup(request, callback)

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

Calls GetBackup.

Parameters
NameDescription
request IGetBackupRequest

GetBackupRequest message or plain object

callback GetBackupCallback

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

Returns
TypeDescription
void

getBackup(request)

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

Calls GetBackup.

Parameter
NameDescription
request IGetBackupRequest

GetBackupRequest message or plain object

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

Promise

getCluster(request, callback)

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

Calls GetCluster.

Parameters
NameDescription
request IGetClusterRequest

GetClusterRequest message or plain object

callback GetClusterCallback

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

Returns
TypeDescription
void

getCluster(request)

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

Calls GetCluster.

Parameter
NameDescription
request IGetClusterRequest

GetClusterRequest message or plain object

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

Promise

getConnectionInfo(request, callback)

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

Calls GetConnectionInfo.

Parameters
NameDescription
request IGetConnectionInfoRequest

GetConnectionInfoRequest message or plain object

callback GetConnectionInfoCallback

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

Returns
TypeDescription
void

getConnectionInfo(request)

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

Calls GetConnectionInfo.

Parameter
NameDescription
request IGetConnectionInfoRequest

GetConnectionInfoRequest message or plain object

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

Promise

getInstance(request, callback)

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

Calls GetInstance.

Parameters
NameDescription
request IGetInstanceRequest

GetInstanceRequest message or plain object

callback GetInstanceCallback

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

Returns
TypeDescription
void

getInstance(request)

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

Calls GetInstance.

Parameter
NameDescription
request IGetInstanceRequest

GetInstanceRequest message or plain object

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

Promise

getUser(request, callback)

public getUser(request: google.cloud.alloydb.v1.IGetUserRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.GetUserCallback): void;

Calls GetUser.

Parameters
NameDescription
request IGetUserRequest

GetUserRequest message or plain object

callback GetUserCallback

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

Returns
TypeDescription
void

getUser(request)

public getUser(request: google.cloud.alloydb.v1.IGetUserRequest): Promise<google.cloud.alloydb.v1.User>;

Calls GetUser.

Parameter
NameDescription
request IGetUserRequest

GetUserRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1.User>

Promise

injectFault(request, callback)

public injectFault(request: google.cloud.alloydb.v1.IInjectFaultRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.InjectFaultCallback): void;

Calls InjectFault.

Parameters
NameDescription
request IInjectFaultRequest

InjectFaultRequest message or plain object

callback InjectFaultCallback

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

Returns
TypeDescription
void

injectFault(request)

public injectFault(request: google.cloud.alloydb.v1.IInjectFaultRequest): Promise<google.longrunning.Operation>;

Calls InjectFault.

Parameter
NameDescription
request IInjectFaultRequest

InjectFaultRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

listBackups(request, callback)

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

Calls ListBackups.

Parameters
NameDescription
request IListBackupsRequest

ListBackupsRequest message or plain object

callback ListBackupsCallback

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

Returns
TypeDescription
void

listBackups(request)

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

Calls ListBackups.

Parameter
NameDescription
request IListBackupsRequest

ListBackupsRequest message or plain object

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

Promise

listClusters(request, callback)

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

Calls ListClusters.

Parameters
NameDescription
request IListClustersRequest

ListClustersRequest message or plain object

callback ListClustersCallback

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

Returns
TypeDescription
void

listClusters(request)

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

Calls ListClusters.

Parameter
NameDescription
request IListClustersRequest

ListClustersRequest message or plain object

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

Promise

listInstances(request, callback)

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

Calls ListInstances.

Parameters
NameDescription
request IListInstancesRequest

ListInstancesRequest message or plain object

callback ListInstancesCallback

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

Returns
TypeDescription
void

listInstances(request)

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

Calls ListInstances.

Parameter
NameDescription
request IListInstancesRequest

ListInstancesRequest message or plain object

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

Promise

listSupportedDatabaseFlags(request, callback)

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

Calls ListSupportedDatabaseFlags.

Parameters
NameDescription
request IListSupportedDatabaseFlagsRequest

ListSupportedDatabaseFlagsRequest message or plain object

callback ListSupportedDatabaseFlagsCallback

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

Returns
TypeDescription
void

listSupportedDatabaseFlags(request)

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

Calls ListSupportedDatabaseFlags.

Parameter
NameDescription
request IListSupportedDatabaseFlagsRequest

ListSupportedDatabaseFlagsRequest message or plain object

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

Promise

listUsers(request, callback)

public listUsers(request: google.cloud.alloydb.v1.IListUsersRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.ListUsersCallback): void;

Calls ListUsers.

Parameters
NameDescription
request IListUsersRequest

ListUsersRequest message or plain object

callback ListUsersCallback

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

Returns
TypeDescription
void

listUsers(request)

public listUsers(request: google.cloud.alloydb.v1.IListUsersRequest): Promise<google.cloud.alloydb.v1.ListUsersResponse>;

Calls ListUsers.

Parameter
NameDescription
request IListUsersRequest

ListUsersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1.ListUsersResponse>

Promise

promoteCluster(request, callback)

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

Calls PromoteCluster.

Parameters
NameDescription
request IPromoteClusterRequest

PromoteClusterRequest message or plain object

callback PromoteClusterCallback

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

Returns
TypeDescription
void

promoteCluster(request)

public promoteCluster(request: google.cloud.alloydb.v1.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.v1.IRestartInstanceRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.RestartInstanceCallback): void;

Calls RestartInstance.

Parameters
NameDescription
request IRestartInstanceRequest

RestartInstanceRequest message or plain object

callback RestartInstanceCallback

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

Returns
TypeDescription
void

restartInstance(request)

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

Calls RestartInstance.

Parameter
NameDescription
request IRestartInstanceRequest

RestartInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

restoreCluster(request, callback)

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

Calls RestoreCluster.

Parameters
NameDescription
request IRestoreClusterRequest

RestoreClusterRequest message or plain object

callback RestoreClusterCallback

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

Returns
TypeDescription
void

restoreCluster(request)

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

Calls RestoreCluster.

Parameter
NameDescription
request IRestoreClusterRequest

RestoreClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateBackup(request, callback)

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

Calls UpdateBackup.

Parameters
NameDescription
request IUpdateBackupRequest

UpdateBackupRequest message or plain object

callback UpdateBackupCallback

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

Returns
TypeDescription
void

updateBackup(request)

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

Calls UpdateBackup.

Parameter
NameDescription
request IUpdateBackupRequest

UpdateBackupRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateCluster(request, callback)

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

Calls UpdateCluster.

Parameters
NameDescription
request IUpdateClusterRequest

UpdateClusterRequest message or plain object

callback UpdateClusterCallback

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

Returns
TypeDescription
void

updateCluster(request)

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

Calls UpdateCluster.

Parameter
NameDescription
request IUpdateClusterRequest

UpdateClusterRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateInstance(request, callback)

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

Calls UpdateInstance.

Parameters
NameDescription
request IUpdateInstanceRequest

UpdateInstanceRequest message or plain object

callback UpdateInstanceCallback

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

Returns
TypeDescription
void

updateInstance(request)

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

Calls UpdateInstance.

Parameter
NameDescription
request IUpdateInstanceRequest

UpdateInstanceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateUser(request, callback)

public updateUser(request: google.cloud.alloydb.v1.IUpdateUserRequest, callback: google.cloud.alloydb.v1.AlloyDBAdmin.UpdateUserCallback): void;

Calls UpdateUser.

Parameters
NameDescription
request IUpdateUserRequest

UpdateUserRequest message or plain object

callback UpdateUserCallback

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

Returns
TypeDescription
void

updateUser(request)

public updateUser(request: google.cloud.alloydb.v1.IUpdateUserRequest): Promise<google.cloud.alloydb.v1.User>;

Calls UpdateUser.

Parameter
NameDescription
request IUpdateUserRequest

UpdateUserRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.alloydb.v1.User>

Promise