Class protos.google.cloud.backupdr.v1.BackupDR (0.1.0)

Represents a BackupDR

Inheritance

$protobuf.rpc.Service > protos.google.cloud.backupdr.v1.BackupDR

Package

@google-cloud/backupdr

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new BackupDR service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

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

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

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

createManagementServer(request, callback)

public createManagementServer(request: google.cloud.backupdr.v1.ICreateManagementServerRequest, callback: google.cloud.backupdr.v1.BackupDR.CreateManagementServerCallback): void;

Calls CreateManagementServer.

Parameters
NameDescription
request ICreateManagementServerRequest

CreateManagementServerRequest message or plain object

callback CreateManagementServerCallback

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

Returns
TypeDescription
void

createManagementServer(request)

public createManagementServer(request: google.cloud.backupdr.v1.ICreateManagementServerRequest): Promise<google.longrunning.Operation>;

Calls CreateManagementServer.

Parameter
NameDescription
request ICreateManagementServerRequest

CreateManagementServerRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteManagementServer(request, callback)

public deleteManagementServer(request: google.cloud.backupdr.v1.IDeleteManagementServerRequest, callback: google.cloud.backupdr.v1.BackupDR.DeleteManagementServerCallback): void;

Calls DeleteManagementServer.

Parameters
NameDescription
request IDeleteManagementServerRequest

DeleteManagementServerRequest message or plain object

callback DeleteManagementServerCallback

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

Returns
TypeDescription
void

deleteManagementServer(request)

public deleteManagementServer(request: google.cloud.backupdr.v1.IDeleteManagementServerRequest): Promise<google.longrunning.Operation>;

Calls DeleteManagementServer.

Parameter
NameDescription
request IDeleteManagementServerRequest

DeleteManagementServerRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getManagementServer(request, callback)

public getManagementServer(request: google.cloud.backupdr.v1.IGetManagementServerRequest, callback: google.cloud.backupdr.v1.BackupDR.GetManagementServerCallback): void;

Calls GetManagementServer.

Parameters
NameDescription
request IGetManagementServerRequest

GetManagementServerRequest message or plain object

callback GetManagementServerCallback

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

Returns
TypeDescription
void

getManagementServer(request)

public getManagementServer(request: google.cloud.backupdr.v1.IGetManagementServerRequest): Promise<google.cloud.backupdr.v1.ManagementServer>;

Calls GetManagementServer.

Parameter
NameDescription
request IGetManagementServerRequest

GetManagementServerRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.backupdr.v1.ManagementServer>

Promise

listManagementServers(request, callback)

public listManagementServers(request: google.cloud.backupdr.v1.IListManagementServersRequest, callback: google.cloud.backupdr.v1.BackupDR.ListManagementServersCallback): void;

Calls ListManagementServers.

Parameters
NameDescription
request IListManagementServersRequest

ListManagementServersRequest message or plain object

callback ListManagementServersCallback

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

Returns
TypeDescription
void

listManagementServers(request)

public listManagementServers(request: google.cloud.backupdr.v1.IListManagementServersRequest): Promise<google.cloud.backupdr.v1.ListManagementServersResponse>;

Calls ListManagementServers.

Parameter
NameDescription
request IListManagementServersRequest

ListManagementServersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.backupdr.v1.ListManagementServersResponse>

Promise