[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
Namespace
Google.Cloud.GkeBackup.V1Assembly
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 | |
---|---|
Name | Description |
request | CreateBackupRequest 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). |
CreateBackupPlan(CreateBackupPlanRequest, ServerCallContext)
public virtual Task<Operation> CreateBackupPlan(CreateBackupPlanRequest request, ServerCallContext context)
Creates a new BackupPlan in a given location.
Parameters | |
---|---|
Name | Description |
request | CreateBackupPlanRequest 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). |
CreateRestore(CreateRestoreRequest, ServerCallContext)
public virtual Task<Operation> CreateRestore(CreateRestoreRequest request, ServerCallContext context)
Creates a new Restore for the given RestorePlan.
Parameters | |
---|---|
Name | Description |
request | CreateRestoreRequest 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). |
CreateRestorePlan(CreateRestorePlanRequest, ServerCallContext)
public virtual Task<Operation> CreateRestorePlan(CreateRestorePlanRequest request, ServerCallContext context)
Creates a new RestorePlan in a given location.
Parameters | |
---|---|
Name | Description |
request | CreateRestorePlanRequest 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). |
DeleteBackup(DeleteBackupRequest, ServerCallContext)
public virtual Task<Operation> DeleteBackup(DeleteBackupRequest request, ServerCallContext context)
Deletes an existing Backup.
Parameters | |
---|---|
Name | Description |
request | DeleteBackupRequest 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). |
DeleteBackupPlan(DeleteBackupPlanRequest, ServerCallContext)
public virtual Task<Operation> DeleteBackupPlan(DeleteBackupPlanRequest request, ServerCallContext context)
Deletes an existing BackupPlan.
Parameters | |
---|---|
Name | Description |
request | DeleteBackupPlanRequest 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). |
DeleteRestore(DeleteRestoreRequest, ServerCallContext)
public virtual Task<Operation> DeleteRestore(DeleteRestoreRequest request, ServerCallContext context)
Deletes an existing Restore.
Parameters | |
---|---|
Name | Description |
request | DeleteRestoreRequest 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). |
DeleteRestorePlan(DeleteRestorePlanRequest, ServerCallContext)
public virtual Task<Operation> DeleteRestorePlan(DeleteRestorePlanRequest request, ServerCallContext context)
Deletes an existing RestorePlan.
Parameters | |
---|---|
Name | Description |
request | DeleteRestorePlanRequest 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). |
GetBackup(GetBackupRequest, ServerCallContext)
public virtual Task<Backup> GetBackup(GetBackupRequest request, ServerCallContext context)
Retrieve the details of a single Backup.
Parameters | |
---|---|
Name | Description |
request | GetBackupRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetBackupPlanRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRestoreRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRestorePlanRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetVolumeBackupRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetVolumeRestoreRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListBackupPlansRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListBackupsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRestorePlansRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRestoresRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListVolumeBackupsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListVolumeRestoresRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | UpdateBackupRequest 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). |
UpdateBackupPlan(UpdateBackupPlanRequest, ServerCallContext)
public virtual Task<Operation> UpdateBackupPlan(UpdateBackupPlanRequest request, ServerCallContext context)
Update a BackupPlan.
Parameters | |
---|---|
Name | Description |
request | UpdateBackupPlanRequest 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). |
UpdateRestore(UpdateRestoreRequest, ServerCallContext)
public virtual Task<Operation> UpdateRestore(UpdateRestoreRequest request, ServerCallContext context)
Update a Restore.
Parameters | |
---|---|
Name | Description |
request | UpdateRestoreRequest 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). |
UpdateRestorePlan(UpdateRestorePlanRequest, ServerCallContext)
public virtual Task<Operation> UpdateRestorePlan(UpdateRestorePlanRequest request, ServerCallContext context)
Update a RestorePlan.
Parameters | |
---|---|
Name | Description |
request | UpdateRestorePlanRequest 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). |