[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
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). |
FetchBackupPlanAssociationsForResourceType(FetchBackupPlanAssociationsForResourceTypeRequest, ServerCallContext)
public virtual Task<FetchBackupPlanAssociationsForResourceTypeResponse> FetchBackupPlanAssociationsForResourceType(FetchBackupPlanAssociationsForResourceTypeRequest request, ServerCallContext context)List BackupPlanAssociations for a given resource type.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchBackupPlanAssociationsForResourceTypeRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchBackupPlanAssociationsForResourceTypeResponse |
The response to send back to the client (wrapped by a task). |
FetchDataSourceReferencesForResourceType(FetchDataSourceReferencesForResourceTypeRequest, ServerCallContext)
public virtual Task<FetchDataSourceReferencesForResourceTypeResponse> FetchDataSourceReferencesForResourceType(FetchDataSourceReferencesForResourceTypeRequest request, ServerCallContext context)Fetch DataSourceReferences for a given project, location and resource type.
| Parameters | |
|---|---|
| Name | Description |
request |
FetchDataSourceReferencesForResourceTypeRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskFetchDataSourceReferencesForResourceTypeResponse |
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). |
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). |
GetBackupPlanRevision(GetBackupPlanRevisionRequest, ServerCallContext)
public virtual Task<BackupPlanRevision> GetBackupPlanRevision(GetBackupPlanRevisionRequest request, ServerCallContext context)Gets details of a single BackupPlanRevision.
| Parameters | |
|---|---|
| Name | Description |
request |
GetBackupPlanRevisionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskBackupPlanRevision |
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). |
GetDataSourceReference(GetDataSourceReferenceRequest, ServerCallContext)
public virtual Task<DataSourceReference> GetDataSourceReference(GetDataSourceReferenceRequest request, ServerCallContext context)Gets details of a single DataSourceReference.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataSourceReferenceRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDataSourceReference |
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). |
InitializeService(InitializeServiceRequest, ServerCallContext)
public virtual Task<Operation> InitializeService(InitializeServiceRequest request, ServerCallContext context)Initializes the service related config for a project.
| Parameters | |
|---|---|
| Name | Description |
request |
InitializeServiceRequestThe 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). |
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). |
ListBackupPlanRevisions(ListBackupPlanRevisionsRequest, ServerCallContext)
public virtual Task<ListBackupPlanRevisionsResponse> ListBackupPlanRevisions(ListBackupPlanRevisionsRequest request, ServerCallContext context)Lists BackupPlanRevisions in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListBackupPlanRevisionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListBackupPlanRevisionsResponse |
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). |
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). |
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). |
UpdateBackupPlan(UpdateBackupPlanRequest, ServerCallContext)
public virtual Task<Operation> UpdateBackupPlan(UpdateBackupPlanRequest request, ServerCallContext context)Update a BackupPlan.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBackupPlanRequestThe 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). |
UpdateBackupPlanAssociation(UpdateBackupPlanAssociationRequest, ServerCallContext)
public virtual Task<Operation> UpdateBackupPlanAssociation(UpdateBackupPlanAssociationRequest request, ServerCallContext context)Update a BackupPlanAssociation.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateBackupPlanAssociationRequestThe 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). |