Class protos.google.cloud.backupdr.v1.BackupDrProtectionSummary (0.8.0)

Represents a BackupDrProtectionSummary

Inheritance

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

Package

@google-cloud/backupdr

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new BackupDrProtectionSummary service.

Parameters
Name Description
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): BackupDrProtectionSummary;

Creates new BackupDrProtectionSummary service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
BackupDrProtectionSummary

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

listResourceBackupConfigs(request, callback)

public listResourceBackupConfigs(request: google.cloud.backupdr.v1.IListResourceBackupConfigsRequest, callback: google.cloud.backupdr.v1.BackupDrProtectionSummary.ListResourceBackupConfigsCallback): void;

Calls ListResourceBackupConfigs.

Parameters
Name Description
request IListResourceBackupConfigsRequest

ListResourceBackupConfigsRequest message or plain object

callback ListResourceBackupConfigsCallback

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

Returns
Type Description
void

listResourceBackupConfigs(request)

public listResourceBackupConfigs(request: google.cloud.backupdr.v1.IListResourceBackupConfigsRequest): Promise<google.cloud.backupdr.v1.ListResourceBackupConfigsResponse>;

Calls ListResourceBackupConfigs.

Parameter
Name Description
request IListResourceBackupConfigsRequest

ListResourceBackupConfigsRequest message or plain object

Returns
Type Description
Promise<google.cloud.backupdr.v1.ListResourceBackupConfigsResponse>

Promise