Backup and DR Service v1 API - Class BackupDRClientImpl (1.2.0)

public sealed class BackupDRClientImpl : BackupDRClient

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

BackupDR client wrapper implementation, for convenient use.

Inheritance

object > BackupDRClient > BackupDRClientImpl

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Remarks

The BackupDR Service

Constructors

BackupDRClientImpl(BackupDRClient, BackupDRSettings, ILogger)

public BackupDRClientImpl(BackupDR.BackupDRClient grpcClient, BackupDRSettings settings, ILogger logger)

Constructs a client wrapper for the BackupDR service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient BackupDRBackupDRClient

The underlying gRPC client.

settings BackupDRSettings

The base BackupDRSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

AbandonBackupOperationsClient

public override OperationsClient AbandonBackupOperationsClient { get; }

The long-running operations client for AbandonBackup.

Property Value
Type Description
OperationsClient
Overrides

CreateBackupPlanAssociationOperationsClient

public override OperationsClient CreateBackupPlanAssociationOperationsClient { get; }

The long-running operations client for CreateBackupPlanAssociation.

Property Value
Type Description
OperationsClient
Overrides

CreateBackupPlanOperationsClient

public override OperationsClient CreateBackupPlanOperationsClient { get; }

The long-running operations client for CreateBackupPlan.

Property Value
Type Description
OperationsClient
Overrides

CreateBackupVaultOperationsClient

public override OperationsClient CreateBackupVaultOperationsClient { get; }

The long-running operations client for CreateBackupVault.

Property Value
Type Description
OperationsClient
Overrides

CreateManagementServerOperationsClient

public override OperationsClient CreateManagementServerOperationsClient { get; }

The long-running operations client for CreateManagementServer.

Property Value
Type Description
OperationsClient
Overrides

DeleteBackupOperationsClient

public override OperationsClient DeleteBackupOperationsClient { get; }

The long-running operations client for DeleteBackup.

Property Value
Type Description
OperationsClient
Overrides

DeleteBackupPlanAssociationOperationsClient

public override OperationsClient DeleteBackupPlanAssociationOperationsClient { get; }

The long-running operations client for DeleteBackupPlanAssociation.

Property Value
Type Description
OperationsClient
Overrides

DeleteBackupPlanOperationsClient

public override OperationsClient DeleteBackupPlanOperationsClient { get; }

The long-running operations client for DeleteBackupPlan.

Property Value
Type Description
OperationsClient
Overrides

DeleteBackupVaultOperationsClient

public override OperationsClient DeleteBackupVaultOperationsClient { get; }

The long-running operations client for DeleteBackupVault.

Property Value
Type Description
OperationsClient
Overrides

DeleteManagementServerOperationsClient

public override OperationsClient DeleteManagementServerOperationsClient { get; }

The long-running operations client for DeleteManagementServer.

Property Value
Type Description
OperationsClient
Overrides

FinalizeBackupOperationsClient

public override OperationsClient FinalizeBackupOperationsClient { get; }

The long-running operations client for FinalizeBackup.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override BackupDR.BackupDRClient GrpcClient { get; }

The underlying gRPC BackupDR client

Property Value
Type Description
BackupDRBackupDRClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

RemoveDataSourceOperationsClient

public override OperationsClient RemoveDataSourceOperationsClient { get; }

The long-running operations client for RemoveDataSource.

Property Value
Type Description
OperationsClient
Overrides

RestoreBackupOperationsClient

public override OperationsClient RestoreBackupOperationsClient { get; }

The long-running operations client for RestoreBackup.

Property Value
Type Description
OperationsClient
Overrides

SetInternalStatusOperationsClient

public override OperationsClient SetInternalStatusOperationsClient { get; }

The long-running operations client for SetInternalStatus.

Property Value
Type Description
OperationsClient
Overrides

TriggerBackupOperationsClient

public override OperationsClient TriggerBackupOperationsClient { get; }

The long-running operations client for TriggerBackup.

Property Value
Type Description
OperationsClient
Overrides

UpdateBackupOperationsClient

public override OperationsClient UpdateBackupOperationsClient { get; }

The long-running operations client for UpdateBackup.

Property Value
Type Description
OperationsClient
Overrides

UpdateBackupVaultOperationsClient

public override OperationsClient UpdateBackupVaultOperationsClient { get; }

The long-running operations client for UpdateBackupVault.

Property Value
Type Description
OperationsClient
Overrides

UpdateDataSourceOperationsClient

public override OperationsClient UpdateDataSourceOperationsClient { get; }

The long-running operations client for UpdateDataSource.

Property Value
Type Description
OperationsClient
Overrides

Methods

AbandonBackup(AbandonBackupRequest, CallSettings)

public override Operation<Empty, OperationMetadata> AbandonBackup(AbandonBackupRequest request, CallSettings callSettings = null)

Internal only. Abandons a backup.

Parameters
Name Description
request AbandonBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

AbandonBackupAsync(AbandonBackupRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> AbandonBackupAsync(AbandonBackupRequest request, CallSettings callSettings = null)

Internal only. Abandons a backup.

Parameters
Name Description
request AbandonBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

CreateBackupPlan(CreateBackupPlanRequest, CallSettings)

public override Operation<BackupPlan, OperationMetadata> CreateBackupPlan(CreateBackupPlanRequest request, CallSettings callSettings = null)

Create a BackupPlan

Parameters
Name Description
request CreateBackupPlanRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBackupPlanOperationMetadata

The RPC response.

Overrides

CreateBackupPlanAssociation(CreateBackupPlanAssociationRequest, CallSettings)

public override Operation<BackupPlanAssociation, OperationMetadata> CreateBackupPlanAssociation(CreateBackupPlanAssociationRequest request, CallSettings callSettings = null)

Create a BackupPlanAssociation

Parameters
Name Description
request CreateBackupPlanAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBackupPlanAssociationOperationMetadata

The RPC response.

Overrides

CreateBackupPlanAssociationAsync(CreateBackupPlanAssociationRequest, CallSettings)

public override Task<Operation<BackupPlanAssociation, OperationMetadata>> CreateBackupPlanAssociationAsync(CreateBackupPlanAssociationRequest request, CallSettings callSettings = null)

Create a BackupPlanAssociation

Parameters
Name Description
request CreateBackupPlanAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBackupPlanAssociationOperationMetadata

A Task containing the RPC response.

Overrides

CreateBackupPlanAsync(CreateBackupPlanRequest, CallSettings)

public override Task<Operation<BackupPlan, OperationMetadata>> CreateBackupPlanAsync(CreateBackupPlanRequest request, CallSettings callSettings = null)

Create a BackupPlan

Parameters
Name Description
request CreateBackupPlanRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBackupPlanOperationMetadata

A Task containing the RPC response.

Overrides

CreateBackupVault(CreateBackupVaultRequest, CallSettings)

public override Operation<BackupVault, OperationMetadata> CreateBackupVault(CreateBackupVaultRequest request, CallSettings callSettings = null)

Creates a new BackupVault in a given project and location.

Parameters
Name Description
request CreateBackupVaultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBackupVaultOperationMetadata

The RPC response.

Overrides

CreateBackupVaultAsync(CreateBackupVaultRequest, CallSettings)

public override Task<Operation<BackupVault, OperationMetadata>> CreateBackupVaultAsync(CreateBackupVaultRequest request, CallSettings callSettings = null)

Creates a new BackupVault in a given project and location.

Parameters
Name Description
request CreateBackupVaultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBackupVaultOperationMetadata

A Task containing the RPC response.

Overrides

CreateManagementServer(CreateManagementServerRequest, CallSettings)

public override Operation<ManagementServer, OperationMetadata> CreateManagementServer(CreateManagementServerRequest request, CallSettings callSettings = null)

Creates a new ManagementServer in a given project and location.

Parameters
Name Description
request CreateManagementServerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationManagementServerOperationMetadata

The RPC response.

Overrides

CreateManagementServerAsync(CreateManagementServerRequest, CallSettings)

public override Task<Operation<ManagementServer, OperationMetadata>> CreateManagementServerAsync(CreateManagementServerRequest request, CallSettings callSettings = null)

Creates a new ManagementServer in a given project and location.

Parameters
Name Description
request CreateManagementServerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationManagementServerOperationMetadata

A Task containing the RPC response.

Overrides

DeleteBackup(DeleteBackupRequest, CallSettings)

public override Operation<Backup, OperationMetadata> DeleteBackup(DeleteBackupRequest request, CallSettings callSettings = null)

Deletes a Backup.

Parameters
Name Description
request DeleteBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBackupOperationMetadata

The RPC response.

Overrides

DeleteBackupAsync(DeleteBackupRequest, CallSettings)

public override Task<Operation<Backup, OperationMetadata>> DeleteBackupAsync(DeleteBackupRequest request, CallSettings callSettings = null)

Deletes a Backup.

Parameters
Name Description
request DeleteBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBackupOperationMetadata

A Task containing the RPC response.

Overrides

DeleteBackupPlan(DeleteBackupPlanRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteBackupPlan(DeleteBackupPlanRequest request, CallSettings callSettings = null)

Deletes a single BackupPlan.

Parameters
Name Description
request DeleteBackupPlanRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request, CallSettings callSettings = null)

Deletes a single BackupPlanAssociation.

Parameters
Name Description
request DeleteBackupPlanAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteBackupPlanAssociationAsync(DeleteBackupPlanAssociationRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteBackupPlanAssociationAsync(DeleteBackupPlanAssociationRequest request, CallSettings callSettings = null)

Deletes a single BackupPlanAssociation.

Parameters
Name Description
request DeleteBackupPlanAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteBackupPlanAsync(DeleteBackupPlanRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteBackupPlanAsync(DeleteBackupPlanRequest request, CallSettings callSettings = null)

Deletes a single BackupPlan.

Parameters
Name Description
request DeleteBackupPlanRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteBackupVault(DeleteBackupVaultRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteBackupVault(DeleteBackupVaultRequest request, CallSettings callSettings = null)

Deletes a BackupVault.

Parameters
Name Description
request DeleteBackupVaultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteBackupVaultAsync(DeleteBackupVaultRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteBackupVaultAsync(DeleteBackupVaultRequest request, CallSettings callSettings = null)

Deletes a BackupVault.

Parameters
Name Description
request DeleteBackupVaultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

DeleteManagementServer(DeleteManagementServerRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteManagementServer(DeleteManagementServerRequest request, CallSettings callSettings = null)

Deletes a single ManagementServer.

Parameters
Name Description
request DeleteManagementServerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteManagementServerAsync(DeleteManagementServerRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteManagementServerAsync(DeleteManagementServerRequest request, CallSettings callSettings = null)

Deletes a single ManagementServer.

Parameters
Name Description
request DeleteManagementServerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

FetchAccessToken(FetchAccessTokenRequest, CallSettings)

public override FetchAccessTokenResponse FetchAccessToken(FetchAccessTokenRequest request, CallSettings callSettings = null)

Internal only. Fetch access token for a given data source.

Parameters
Name Description
request FetchAccessTokenRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
FetchAccessTokenResponse

The RPC response.

Overrides

FetchAccessTokenAsync(FetchAccessTokenRequest, CallSettings)

public override Task<FetchAccessTokenResponse> FetchAccessTokenAsync(FetchAccessTokenRequest request, CallSettings callSettings = null)

Internal only. Fetch access token for a given data source.

Parameters
Name Description
request FetchAccessTokenRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskFetchAccessTokenResponse

A Task containing the RPC response.

Overrides

FetchUsableBackupVaults(FetchUsableBackupVaultsRequest, CallSettings)

public override PagedEnumerable<FetchUsableBackupVaultsResponse, BackupVault> FetchUsableBackupVaults(FetchUsableBackupVaultsRequest request, CallSettings callSettings = null)

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 FetchUsableBackupVaultsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableFetchUsableBackupVaultsResponseBackupVault

A pageable sequence of BackupVault resources.

Overrides

FetchUsableBackupVaultsAsync(FetchUsableBackupVaultsRequest, CallSettings)

public override PagedAsyncEnumerable<FetchUsableBackupVaultsResponse, BackupVault> FetchUsableBackupVaultsAsync(FetchUsableBackupVaultsRequest request, CallSettings callSettings = null)

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 FetchUsableBackupVaultsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableFetchUsableBackupVaultsResponseBackupVault

A pageable asynchronous sequence of BackupVault resources.

Overrides

FinalizeBackup(FinalizeBackupRequest, CallSettings)

public override Operation<Backup, OperationMetadata> FinalizeBackup(FinalizeBackupRequest request, CallSettings callSettings = null)

Internal only. Finalize a backup that was started by a call to InitiateBackup.

Parameters
Name Description
request FinalizeBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBackupOperationMetadata

The RPC response.

Overrides

FinalizeBackupAsync(FinalizeBackupRequest, CallSettings)

public override Task<Operation<Backup, OperationMetadata>> FinalizeBackupAsync(FinalizeBackupRequest request, CallSettings callSettings = null)

Internal only. Finalize a backup that was started by a call to InitiateBackup.

Parameters
Name Description
request FinalizeBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBackupOperationMetadata

A Task containing the RPC response.

Overrides

GetBackup(GetBackupRequest, CallSettings)

public override Backup GetBackup(GetBackupRequest request, CallSettings callSettings = null)

Gets details of a Backup.

Parameters
Name Description
request GetBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Backup

The RPC response.

Overrides

GetBackupAsync(GetBackupRequest, CallSettings)

public override Task<Backup> GetBackupAsync(GetBackupRequest request, CallSettings callSettings = null)

Gets details of a Backup.

Parameters
Name Description
request GetBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskBackup

A Task containing the RPC response.

Overrides

GetBackupPlan(GetBackupPlanRequest, CallSettings)

public override BackupPlan GetBackupPlan(GetBackupPlanRequest request, CallSettings callSettings = null)

Gets details of a single BackupPlan.

Parameters
Name Description
request GetBackupPlanRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BackupPlan

The RPC response.

Overrides

GetBackupPlanAssociation(GetBackupPlanAssociationRequest, CallSettings)

public override BackupPlanAssociation GetBackupPlanAssociation(GetBackupPlanAssociationRequest request, CallSettings callSettings = null)

Gets details of a single BackupPlanAssociation.

Parameters
Name Description
request GetBackupPlanAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BackupPlanAssociation

The RPC response.

Overrides

GetBackupPlanAssociationAsync(GetBackupPlanAssociationRequest, CallSettings)

public override Task<BackupPlanAssociation> GetBackupPlanAssociationAsync(GetBackupPlanAssociationRequest request, CallSettings callSettings = null)

Gets details of a single BackupPlanAssociation.

Parameters
Name Description
request GetBackupPlanAssociationRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskBackupPlanAssociation

A Task containing the RPC response.

Overrides

GetBackupPlanAsync(GetBackupPlanRequest, CallSettings)

public override Task<BackupPlan> GetBackupPlanAsync(GetBackupPlanRequest request, CallSettings callSettings = null)

Gets details of a single BackupPlan.

Parameters
Name Description
request GetBackupPlanRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskBackupPlan

A Task containing the RPC response.

Overrides

GetBackupVault(GetBackupVaultRequest, CallSettings)

public override BackupVault GetBackupVault(GetBackupVaultRequest request, CallSettings callSettings = null)

Gets details of a BackupVault.

Parameters
Name Description
request GetBackupVaultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BackupVault

The RPC response.

Overrides

GetBackupVaultAsync(GetBackupVaultRequest, CallSettings)

public override Task<BackupVault> GetBackupVaultAsync(GetBackupVaultRequest request, CallSettings callSettings = null)

Gets details of a BackupVault.

Parameters
Name Description
request GetBackupVaultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskBackupVault

A Task containing the RPC response.

Overrides

GetDataSource(GetDataSourceRequest, CallSettings)

public override DataSource GetDataSource(GetDataSourceRequest request, CallSettings callSettings = null)

Gets details of a DataSource.

Parameters
Name Description
request GetDataSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DataSource

The RPC response.

Overrides

GetDataSourceAsync(GetDataSourceRequest, CallSettings)

public override Task<DataSource> GetDataSourceAsync(GetDataSourceRequest request, CallSettings callSettings = null)

Gets details of a DataSource.

Parameters
Name Description
request GetDataSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDataSource

A Task containing the RPC response.

Overrides

GetManagementServer(GetManagementServerRequest, CallSettings)

public override ManagementServer GetManagementServer(GetManagementServerRequest request, CallSettings callSettings = null)

Gets details of a single ManagementServer.

Parameters
Name Description
request GetManagementServerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
ManagementServer

The RPC response.

Overrides

GetManagementServerAsync(GetManagementServerRequest, CallSettings)

public override Task<ManagementServer> GetManagementServerAsync(GetManagementServerRequest request, CallSettings callSettings = null)

Gets details of a single ManagementServer.

Parameters
Name Description
request GetManagementServerRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskManagementServer

A Task containing the RPC response.

Overrides

InitiateBackup(InitiateBackupRequest, CallSettings)

public override InitiateBackupResponse InitiateBackup(InitiateBackupRequest request, CallSettings callSettings = null)

Internal only. Initiates a backup.

Parameters
Name Description
request InitiateBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
InitiateBackupResponse

The RPC response.

Overrides

InitiateBackupAsync(InitiateBackupRequest, CallSettings)

public override Task<InitiateBackupResponse> InitiateBackupAsync(InitiateBackupRequest request, CallSettings callSettings = null)

Internal only. Initiates a backup.

Parameters
Name Description
request InitiateBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskInitiateBackupResponse

A Task containing the RPC response.

Overrides

ListBackupPlanAssociations(ListBackupPlanAssociationsRequest, CallSettings)

public override PagedEnumerable<ListBackupPlanAssociationsResponse, BackupPlanAssociation> ListBackupPlanAssociations(ListBackupPlanAssociationsRequest request, CallSettings callSettings = null)

Lists BackupPlanAssociations in a given project and location.

Parameters
Name Description
request ListBackupPlanAssociationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListBackupPlanAssociationsResponseBackupPlanAssociation

A pageable sequence of BackupPlanAssociation resources.

Overrides

ListBackupPlanAssociationsAsync(ListBackupPlanAssociationsRequest, CallSettings)

public override PagedAsyncEnumerable<ListBackupPlanAssociationsResponse, BackupPlanAssociation> ListBackupPlanAssociationsAsync(ListBackupPlanAssociationsRequest request, CallSettings callSettings = null)

Lists BackupPlanAssociations in a given project and location.

Parameters
Name Description
request ListBackupPlanAssociationsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListBackupPlanAssociationsResponseBackupPlanAssociation

A pageable asynchronous sequence of BackupPlanAssociation resources.

Overrides

ListBackupPlans(ListBackupPlansRequest, CallSettings)

public override PagedEnumerable<ListBackupPlansResponse, BackupPlan> ListBackupPlans(ListBackupPlansRequest request, CallSettings callSettings = null)

Lists BackupPlans in a given project and location.

Parameters
Name Description
request ListBackupPlansRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListBackupPlansResponseBackupPlan

A pageable sequence of BackupPlan resources.

Overrides

ListBackupPlansAsync(ListBackupPlansRequest, CallSettings)

public override PagedAsyncEnumerable<ListBackupPlansResponse, BackupPlan> ListBackupPlansAsync(ListBackupPlansRequest request, CallSettings callSettings = null)

Lists BackupPlans in a given project and location.

Parameters
Name Description
request ListBackupPlansRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListBackupPlansResponseBackupPlan

A pageable asynchronous sequence of BackupPlan resources.

Overrides

ListBackupVaults(ListBackupVaultsRequest, CallSettings)

public override PagedEnumerable<ListBackupVaultsResponse, BackupVault> ListBackupVaults(ListBackupVaultsRequest request, CallSettings callSettings = null)

Lists BackupVaults in a given project and location.

Parameters
Name Description
request ListBackupVaultsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListBackupVaultsResponseBackupVault

A pageable sequence of BackupVault resources.

Overrides

ListBackupVaultsAsync(ListBackupVaultsRequest, CallSettings)

public override PagedAsyncEnumerable<ListBackupVaultsResponse, BackupVault> ListBackupVaultsAsync(ListBackupVaultsRequest request, CallSettings callSettings = null)

Lists BackupVaults in a given project and location.

Parameters
Name Description
request ListBackupVaultsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListBackupVaultsResponseBackupVault

A pageable asynchronous sequence of BackupVault resources.

Overrides

ListBackups(ListBackupsRequest, CallSettings)

public override PagedEnumerable<ListBackupsResponse, Backup> ListBackups(ListBackupsRequest request, CallSettings callSettings = null)

Lists Backups in a given project and location.

Parameters
Name Description
request ListBackupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListBackupsResponseBackup

A pageable sequence of Backup resources.

Overrides

ListBackupsAsync(ListBackupsRequest, CallSettings)

public override PagedAsyncEnumerable<ListBackupsResponse, Backup> ListBackupsAsync(ListBackupsRequest request, CallSettings callSettings = null)

Lists Backups in a given project and location.

Parameters
Name Description
request ListBackupsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListBackupsResponseBackup

A pageable asynchronous sequence of Backup resources.

Overrides

ListDataSources(ListDataSourcesRequest, CallSettings)

public override PagedEnumerable<ListDataSourcesResponse, DataSource> ListDataSources(ListDataSourcesRequest request, CallSettings callSettings = null)

Lists DataSources in a given project and location.

Parameters
Name Description
request ListDataSourcesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListDataSourcesResponseDataSource

A pageable sequence of DataSource resources.

Overrides

ListDataSourcesAsync(ListDataSourcesRequest, CallSettings)

public override PagedAsyncEnumerable<ListDataSourcesResponse, DataSource> ListDataSourcesAsync(ListDataSourcesRequest request, CallSettings callSettings = null)

Lists DataSources in a given project and location.

Parameters
Name Description
request ListDataSourcesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListDataSourcesResponseDataSource

A pageable asynchronous sequence of DataSource resources.

Overrides

ListManagementServers(ListManagementServersRequest, CallSettings)

public override PagedEnumerable<ListManagementServersResponse, ManagementServer> ListManagementServers(ListManagementServersRequest request, CallSettings callSettings = null)

Lists ManagementServers in a given project and location.

Parameters
Name Description
request ListManagementServersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListManagementServersResponseManagementServer

A pageable sequence of ManagementServer resources.

Overrides

ListManagementServersAsync(ListManagementServersRequest, CallSettings)

public override PagedAsyncEnumerable<ListManagementServersResponse, ManagementServer> ListManagementServersAsync(ListManagementServersRequest request, CallSettings callSettings = null)

Lists ManagementServers in a given project and location.

Parameters
Name Description
request ListManagementServersRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListManagementServersResponseManagementServer

A pageable asynchronous sequence of ManagementServer resources.

Overrides

RemoveDataSource(RemoveDataSourceRequest, CallSettings)

public override Operation<Empty, OperationMetadata> RemoveDataSource(RemoveDataSourceRequest request, CallSettings callSettings = null)

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 RemoveDataSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyOperationMetadata

The RPC response.

Overrides

RemoveDataSourceAsync(RemoveDataSourceRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> RemoveDataSourceAsync(RemoveDataSourceRequest request, CallSettings callSettings = null)

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 RemoveDataSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

RestoreBackup(RestoreBackupRequest, CallSettings)

public override Operation<RestoreBackupResponse, OperationMetadata> RestoreBackup(RestoreBackupRequest request, CallSettings callSettings = null)

Restore from a Backup

Parameters
Name Description
request RestoreBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationRestoreBackupResponseOperationMetadata

The RPC response.

Overrides

RestoreBackupAsync(RestoreBackupRequest, CallSettings)

public override Task<Operation<RestoreBackupResponse, OperationMetadata>> RestoreBackupAsync(RestoreBackupRequest request, CallSettings callSettings = null)

Restore from a Backup

Parameters
Name Description
request RestoreBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationRestoreBackupResponseOperationMetadata

A Task containing the RPC response.

Overrides

SetInternalStatus(SetInternalStatusRequest, CallSettings)

public override Operation<SetInternalStatusResponse, OperationMetadata> SetInternalStatus(SetInternalStatusRequest request, CallSettings callSettings = null)

Sets the internal status of a DataSource.

Parameters
Name Description
request SetInternalStatusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationSetInternalStatusResponseOperationMetadata

The RPC response.

Overrides

SetInternalStatusAsync(SetInternalStatusRequest, CallSettings)

public override Task<Operation<SetInternalStatusResponse, OperationMetadata>> SetInternalStatusAsync(SetInternalStatusRequest request, CallSettings callSettings = null)

Sets the internal status of a DataSource.

Parameters
Name Description
request SetInternalStatusRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationSetInternalStatusResponseOperationMetadata

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsRequest, CallSettings)

public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)

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 TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TestIamPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)

public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)

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 TestIamPermissionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTestIamPermissionsResponse

A Task containing the RPC response.

Overrides

TriggerBackup(TriggerBackupRequest, CallSettings)

public override Operation<BackupPlanAssociation, OperationMetadata> TriggerBackup(TriggerBackupRequest request, CallSettings callSettings = null)

Triggers a new Backup.

Parameters
Name Description
request TriggerBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBackupPlanAssociationOperationMetadata

The RPC response.

Overrides

TriggerBackupAsync(TriggerBackupRequest, CallSettings)

public override Task<Operation<BackupPlanAssociation, OperationMetadata>> TriggerBackupAsync(TriggerBackupRequest request, CallSettings callSettings = null)

Triggers a new Backup.

Parameters
Name Description
request TriggerBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBackupPlanAssociationOperationMetadata

A Task containing the RPC response.

Overrides

UpdateBackup(UpdateBackupRequest, CallSettings)

public override Operation<Backup, OperationMetadata> UpdateBackup(UpdateBackupRequest request, CallSettings callSettings = null)

Updates the settings of a Backup.

Parameters
Name Description
request UpdateBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBackupOperationMetadata

The RPC response.

Overrides

UpdateBackupAsync(UpdateBackupRequest, CallSettings)

public override Task<Operation<Backup, OperationMetadata>> UpdateBackupAsync(UpdateBackupRequest request, CallSettings callSettings = null)

Updates the settings of a Backup.

Parameters
Name Description
request UpdateBackupRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBackupOperationMetadata

A Task containing the RPC response.

Overrides

UpdateBackupVault(UpdateBackupVaultRequest, CallSettings)

public override Operation<BackupVault, OperationMetadata> UpdateBackupVault(UpdateBackupVaultRequest request, CallSettings callSettings = null)

Updates the settings of a BackupVault.

Parameters
Name Description
request UpdateBackupVaultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationBackupVaultOperationMetadata

The RPC response.

Overrides

UpdateBackupVaultAsync(UpdateBackupVaultRequest, CallSettings)

public override Task<Operation<BackupVault, OperationMetadata>> UpdateBackupVaultAsync(UpdateBackupVaultRequest request, CallSettings callSettings = null)

Updates the settings of a BackupVault.

Parameters
Name Description
request UpdateBackupVaultRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationBackupVaultOperationMetadata

A Task containing the RPC response.

Overrides

UpdateDataSource(UpdateDataSourceRequest, CallSettings)

public override Operation<DataSource, OperationMetadata> UpdateDataSource(UpdateDataSourceRequest request, CallSettings callSettings = null)

Updates the settings of a DataSource.

Parameters
Name Description
request UpdateDataSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationDataSourceOperationMetadata

The RPC response.

Overrides

UpdateDataSourceAsync(UpdateDataSourceRequest, CallSettings)

public override Task<Operation<DataSource, OperationMetadata>> UpdateDataSourceAsync(UpdateDataSourceRequest request, CallSettings callSettings = null)

Updates the settings of a DataSource.

Parameters
Name Description
request UpdateDataSourceRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationDataSourceOperationMetadata

A Task containing the RPC response.

Overrides