Backup and DR Service v1 API - Class BackupDR.BackupDRBase (1.0.0-beta02)

[BindServiceMethod(typeof(BackupDR), "BindService")]
public abstract class BackupDR.BackupDRBase

Reference documentation and code samples for the Backup and DR Service v1 API class BackupDR.BackupDRBase.

Base class for server-side implementations of BackupDR

Inheritance

object > BackupDR.BackupDRBase

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Methods

CreateManagementServer(CreateManagementServerRequest, ServerCallContext)

public virtual Task<Operation> CreateManagementServer(CreateManagementServerRequest request, ServerCallContext context)

Creates a new ManagementServer in a given project and location.

Parameters
Name Description
request CreateManagementServerRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteManagementServer(DeleteManagementServerRequest, ServerCallContext)

public virtual Task<Operation> DeleteManagementServer(DeleteManagementServerRequest request, ServerCallContext context)

Deletes a single ManagementServer.

Parameters
Name Description
request DeleteManagementServerRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetManagementServer(GetManagementServerRequest, ServerCallContext)

public virtual Task<ManagementServer> GetManagementServer(GetManagementServerRequest request, ServerCallContext context)

Gets details of a single ManagementServer.

Parameters
Name Description
request GetManagementServerRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskManagementServer

The response to send back to the client (wrapped by a task).

ListManagementServers(ListManagementServersRequest, ServerCallContext)

public virtual Task<ListManagementServersResponse> ListManagementServers(ListManagementServersRequest request, ServerCallContext context)

Lists ManagementServers in a given project and location.

Parameters
Name Description
request ListManagementServersRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListManagementServersResponse

The response to send back to the client (wrapped by a task).