[BindServiceMethod(typeof(BackupDR), "BindService")]
public abstract class BackupDR.BackupDRBaseReference documentation and code samples for the Backup and DR Service v1 API class BackupDR.BackupDRBase.
Base class for server-side implementations of BackupDR
Namespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Methods
AbandonBackup(AbandonBackupRequest, ServerCallContext)
public virtual Task<Operation> AbandonBackup(AbandonBackupRequest request, ServerCallContext context)Internal only. Abandons a backup.
| Parameters | |
|---|---|
| Name | Description |
request |
AbandonBackupRequestThe request received from the client. |
context |
ServerCallContextThe 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)Create a BackupPlan
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBackupPlanRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
CreateBackupPlanAssociation(CreateBackupPlanAssociationRequest, ServerCallContext)
public virtual Task<Operation> CreateBackupPlanAssociation(CreateBackupPlanAssociationRequest request, ServerCallContext context)Create a BackupPlanAssociation
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBackupPlanAssociationRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
CreateBackupVault(CreateBackupVaultRequest, ServerCallContext)
public virtual Task<Operation> CreateBackupVault(CreateBackupVaultRequest request, ServerCallContext context)Creates a new BackupVault in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateBackupVaultRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
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 |
CreateManagementServerRequestThe request received from the client. |
context |
ServerCallContextThe 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 a Backup.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBackupRequestThe request received from the client. |
context |
ServerCallContextThe 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 a single BackupPlan.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBackupPlanRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
DeleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest, ServerCallContext)
public virtual Task<Operation> DeleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request, ServerCallContext context)Deletes a single BackupPlanAssociation.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBackupPlanAssociationRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
DeleteBackupVault(DeleteBackupVaultRequest, ServerCallContext)
public virtual Task<Operation> DeleteBackupVault(DeleteBackupVaultRequest request, ServerCallContext context)Deletes a BackupVault.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteBackupVaultRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteManagementServerRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
FetchAccessToken(FetchAccessTokenRequest, ServerCallContext)
public virtual Task<FetchAccessTokenResponse> FetchAccessToken(FetchAccessTokenRequest request, ServerCallContext context)Internal only. Fetch access token for a given data source.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchAccessTokenRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchAccessTokenResponse |
The response to send back to the client (wrapped by a task). |
FetchUsableBackupVaults(FetchUsableBackupVaultsRequest, ServerCallContext)
public virtual Task<FetchUsableBackupVaultsResponse> FetchUsableBackupVaults(FetchUsableBackupVaultsRequest request, ServerCallContext context)FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchUsableBackupVaultsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchUsableBackupVaultsResponse |
The response to send back to the client (wrapped by a task). |
FinalizeBackup(FinalizeBackupRequest, ServerCallContext)
public virtual Task<Operation> FinalizeBackup(FinalizeBackupRequest request, ServerCallContext context)Internal only. Finalize a backup that was started by a call to InitiateBackup.
| Parameters | |
|---|---|
| Name | Description |
request |
FinalizeBackupRequestThe request received from the client. |
context |
ServerCallContextThe 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)Gets details of a Backup.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupRequestThe request received from the client. |
context |
ServerCallContextThe 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)Gets details of a single BackupPlan.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupPlanRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetBackupPlanAssociation(GetBackupPlanAssociationRequest, ServerCallContext)
public virtual Task<BackupPlanAssociation> GetBackupPlanAssociation(GetBackupPlanAssociationRequest request, ServerCallContext context)Gets details of a single BackupPlanAssociation.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupPlanAssociationRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskBackupPlanAssociation |
The response to send back to the client (wrapped by a task). |
GetBackupVault(GetBackupVaultRequest, ServerCallContext)
public virtual Task<BackupVault> GetBackupVault(GetBackupVaultRequest request, ServerCallContext context)Gets details of a BackupVault.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupVaultRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskBackupVault |
The response to send back to the client (wrapped by a task). |
GetDataSource(GetDataSourceRequest, ServerCallContext)
public virtual Task<DataSource> GetDataSource(GetDataSourceRequest request, ServerCallContext context)Gets details of a DataSource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataSourceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDataSource |
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 |
GetManagementServerRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
InitiateBackup(InitiateBackupRequest, ServerCallContext)
public virtual Task<InitiateBackupResponse> InitiateBackup(InitiateBackupRequest request, ServerCallContext context)Internal only. Initiates a backup.
| Parameters | |
|---|---|
| Name | Description |
request |
InitiateBackupRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInitiateBackupResponse |
The response to send back to the client (wrapped by a task). |
ListBackupPlanAssociations(ListBackupPlanAssociationsRequest, ServerCallContext)
public virtual Task<ListBackupPlanAssociationsResponse> ListBackupPlanAssociations(ListBackupPlanAssociationsRequest request, ServerCallContext context)Lists BackupPlanAssociations in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupPlanAssociationsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListBackupPlanAssociationsResponse |
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 project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupPlansRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
ListBackupVaults(ListBackupVaultsRequest, ServerCallContext)
public virtual Task<ListBackupVaultsResponse> ListBackupVaults(ListBackupVaultsRequest request, ServerCallContext context)Lists BackupVaults in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupVaultsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListBackupVaultsResponse |
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 Backups in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
ListDataSources(ListDataSourcesRequest, ServerCallContext)
public virtual Task<ListDataSourcesResponse> ListDataSources(ListDataSourcesRequest request, ServerCallContext context)Lists DataSources in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDataSourcesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListDataSourcesResponse |
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 |
ListManagementServersRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
RemoveDataSource(RemoveDataSourceRequest, ServerCallContext)
public virtual Task<Operation> RemoveDataSource(RemoveDataSourceRequest request, ServerCallContext context)Deletes a DataSource. This is a custom method instead of a standard delete method because external clients will not delete DataSources except for BackupDR backup appliances.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveDataSourceRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
RestoreBackup(RestoreBackupRequest, ServerCallContext)
public virtual Task<Operation> RestoreBackup(RestoreBackupRequest request, ServerCallContext context)Restore from a Backup
| Parameters | |
|---|---|
| Name | Description |
request |
RestoreBackupRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
SetInternalStatus(SetInternalStatusRequest, ServerCallContext)
public virtual Task<Operation> SetInternalStatus(SetInternalStatusRequest request, ServerCallContext context)Sets the internal status of a DataSource.
| Parameters | |
|---|---|
| Name | Description |
request |
SetInternalStatusRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)
public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)Returns the caller's permissions on a BackupVault resource.
A caller is not required to have Google IAM permission to make this request.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskTestIamPermissionsResponse |
The response to send back to the client (wrapped by a task). |
TriggerBackup(TriggerBackupRequest, ServerCallContext)
public virtual Task<Operation> TriggerBackup(TriggerBackupRequest request, ServerCallContext context)Triggers a new Backup.
| Parameters | |
|---|---|
| Name | Description |
request |
TriggerBackupRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
UpdateBackup(UpdateBackupRequest, ServerCallContext)
public virtual Task<Operation> UpdateBackup(UpdateBackupRequest request, ServerCallContext context)Updates the settings of a Backup.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBackupRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
UpdateBackupVault(UpdateBackupVaultRequest, ServerCallContext)
public virtual Task<Operation> UpdateBackupVault(UpdateBackupVaultRequest request, ServerCallContext context)Updates the settings of a BackupVault.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBackupVaultRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
UpdateDataSource(UpdateDataSourceRequest, ServerCallContext)
public virtual Task<Operation> UpdateDataSource(UpdateDataSourceRequest request, ServerCallContext context)Updates the settings of a DataSource.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataSourceRequestThe request received from the client. |
context |
ServerCallContextThe 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). |