Backup for GKE v1 API - Class BackupForGKE.BackupForGKEBase (2.2.0)

[BindServiceMethod(typeof(BackupForGKE), "BindService")]
public abstract class BackupForGKE.BackupForGKEBase

Reference documentation and code samples for the Backup for GKE v1 API class BackupForGKE.BackupForGKEBase.

Base class for server-side implementations of BackupForGKE

Inheritance

object > BackupForGKE.BackupForGKEBase

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Methods

CreateBackup(CreateBackupRequest, ServerCallContext)

public virtual Task<Operation> CreateBackup(CreateBackupRequest request, ServerCallContext context)

Creates a Backup for the given BackupPlan.

Parameters
NameDescription
requestCreateBackupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

CreateBackupPlan(CreateBackupPlanRequest, ServerCallContext)

public virtual Task<Operation> CreateBackupPlan(CreateBackupPlanRequest request, ServerCallContext context)

Creates a new BackupPlan in a given location.

Parameters
NameDescription
requestCreateBackupPlanRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

CreateRestore(CreateRestoreRequest, ServerCallContext)

public virtual Task<Operation> CreateRestore(CreateRestoreRequest request, ServerCallContext context)

Creates a new Restore for the given RestorePlan.

Parameters
NameDescription
requestCreateRestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

CreateRestorePlan(CreateRestorePlanRequest, ServerCallContext)

public virtual Task<Operation> CreateRestorePlan(CreateRestorePlanRequest request, ServerCallContext context)

Creates a new RestorePlan in a given location.

Parameters
NameDescription
requestCreateRestorePlanRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

DeleteBackup(DeleteBackupRequest, ServerCallContext)

public virtual Task<Operation> DeleteBackup(DeleteBackupRequest request, ServerCallContext context)

Deletes an existing Backup.

Parameters
NameDescription
requestDeleteBackupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

DeleteBackupPlan(DeleteBackupPlanRequest, ServerCallContext)

public virtual Task<Operation> DeleteBackupPlan(DeleteBackupPlanRequest request, ServerCallContext context)

Deletes an existing BackupPlan.

Parameters
NameDescription
requestDeleteBackupPlanRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

DeleteRestore(DeleteRestoreRequest, ServerCallContext)

public virtual Task<Operation> DeleteRestore(DeleteRestoreRequest request, ServerCallContext context)

Deletes an existing Restore.

Parameters
NameDescription
requestDeleteRestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

DeleteRestorePlan(DeleteRestorePlanRequest, ServerCallContext)

public virtual Task<Operation> DeleteRestorePlan(DeleteRestorePlanRequest request, ServerCallContext context)

Deletes an existing RestorePlan.

Parameters
NameDescription
requestDeleteRestorePlanRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

GetBackup(GetBackupRequest, ServerCallContext)

public virtual Task<Backup> GetBackup(GetBackupRequest request, ServerCallContext context)

Retrieve the details of a single Backup.

Parameters
NameDescription
requestGetBackupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskBackup

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

GetBackupPlan(GetBackupPlanRequest, ServerCallContext)

public virtual Task<BackupPlan> GetBackupPlan(GetBackupPlanRequest request, ServerCallContext context)

Retrieve the details of a single BackupPlan.

Parameters
NameDescription
requestGetBackupPlanRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskBackupPlan

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

GetRestore(GetRestoreRequest, ServerCallContext)

public virtual Task<Restore> GetRestore(GetRestoreRequest request, ServerCallContext context)

Retrieves the details of a single Restore.

Parameters
NameDescription
requestGetRestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskRestore

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

GetRestorePlan(GetRestorePlanRequest, ServerCallContext)

public virtual Task<RestorePlan> GetRestorePlan(GetRestorePlanRequest request, ServerCallContext context)

Retrieve the details of a single RestorePlan.

Parameters
NameDescription
requestGetRestorePlanRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskRestorePlan

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

GetVolumeBackup(GetVolumeBackupRequest, ServerCallContext)

public virtual Task<VolumeBackup> GetVolumeBackup(GetVolumeBackupRequest request, ServerCallContext context)

Retrieve the details of a single VolumeBackup.

Parameters
NameDescription
requestGetVolumeBackupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskVolumeBackup

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

GetVolumeRestore(GetVolumeRestoreRequest, ServerCallContext)

public virtual Task<VolumeRestore> GetVolumeRestore(GetVolumeRestoreRequest request, ServerCallContext context)

Retrieve the details of a single VolumeRestore.

Parameters
NameDescription
requestGetVolumeRestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskVolumeRestore

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

ListBackupPlans(ListBackupPlansRequest, ServerCallContext)

public virtual Task<ListBackupPlansResponse> ListBackupPlans(ListBackupPlansRequest request, ServerCallContext context)

Lists BackupPlans in a given location.

Parameters
NameDescription
requestListBackupPlansRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListBackupPlansResponse

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

ListBackups(ListBackupsRequest, ServerCallContext)

public virtual Task<ListBackupsResponse> ListBackups(ListBackupsRequest request, ServerCallContext context)

Lists the Backups for a given BackupPlan.

Parameters
NameDescription
requestListBackupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListBackupsResponse

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

ListRestorePlans(ListRestorePlansRequest, ServerCallContext)

public virtual Task<ListRestorePlansResponse> ListRestorePlans(ListRestorePlansRequest request, ServerCallContext context)

Lists RestorePlans in a given location.

Parameters
NameDescription
requestListRestorePlansRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListRestorePlansResponse

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

ListRestores(ListRestoresRequest, ServerCallContext)

public virtual Task<ListRestoresResponse> ListRestores(ListRestoresRequest request, ServerCallContext context)

Lists the Restores for a given RestorePlan.

Parameters
NameDescription
requestListRestoresRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListRestoresResponse

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

ListVolumeBackups(ListVolumeBackupsRequest, ServerCallContext)

public virtual Task<ListVolumeBackupsResponse> ListVolumeBackups(ListVolumeBackupsRequest request, ServerCallContext context)

Lists the VolumeBackups for a given Backup.

Parameters
NameDescription
requestListVolumeBackupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListVolumeBackupsResponse

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

ListVolumeRestores(ListVolumeRestoresRequest, ServerCallContext)

public virtual Task<ListVolumeRestoresResponse> ListVolumeRestores(ListVolumeRestoresRequest request, ServerCallContext context)

Lists the VolumeRestores for a given Restore.

Parameters
NameDescription
requestListVolumeRestoresRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListVolumeRestoresResponse

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

UpdateBackup(UpdateBackupRequest, ServerCallContext)

public virtual Task<Operation> UpdateBackup(UpdateBackupRequest request, ServerCallContext context)

Update a Backup.

Parameters
NameDescription
requestUpdateBackupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

UpdateBackupPlan(UpdateBackupPlanRequest, ServerCallContext)

public virtual Task<Operation> UpdateBackupPlan(UpdateBackupPlanRequest request, ServerCallContext context)

Update a BackupPlan.

Parameters
NameDescription
requestUpdateBackupPlanRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

UpdateRestore(UpdateRestoreRequest, ServerCallContext)

public virtual Task<Operation> UpdateRestore(UpdateRestoreRequest request, ServerCallContext context)

Update a Restore.

Parameters
NameDescription
requestUpdateRestoreRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

UpdateRestorePlan(UpdateRestorePlanRequest, ServerCallContext)

public virtual Task<Operation> UpdateRestorePlan(UpdateRestorePlanRequest request, ServerCallContext context)

Update a RestorePlan.

Parameters
NameDescription
requestUpdateRestorePlanRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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