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.
Namespace
Google.Cloud.BackupDR.V1Assembly
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 |
CreateBackupPlanAssociationOperationsClient
public override OperationsClient CreateBackupPlanAssociationOperationsClient { get; }
The long-running operations client for CreateBackupPlanAssociation
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateBackupPlanOperationsClient
public override OperationsClient CreateBackupPlanOperationsClient { get; }
The long-running operations client for CreateBackupPlan
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateBackupVaultOperationsClient
public override OperationsClient CreateBackupVaultOperationsClient { get; }
The long-running operations client for CreateBackupVault
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateManagementServerOperationsClient
public override OperationsClient CreateManagementServerOperationsClient { get; }
The long-running operations client for CreateManagementServer
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteBackupOperationsClient
public override OperationsClient DeleteBackupOperationsClient { get; }
The long-running operations client for DeleteBackup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteBackupPlanAssociationOperationsClient
public override OperationsClient DeleteBackupPlanAssociationOperationsClient { get; }
The long-running operations client for DeleteBackupPlanAssociation
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteBackupPlanOperationsClient
public override OperationsClient DeleteBackupPlanOperationsClient { get; }
The long-running operations client for DeleteBackupPlan
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteBackupVaultOperationsClient
public override OperationsClient DeleteBackupVaultOperationsClient { get; }
The long-running operations client for DeleteBackupVault
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteManagementServerOperationsClient
public override OperationsClient DeleteManagementServerOperationsClient { get; }
The long-running operations client for DeleteManagementServer
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
FinalizeBackupOperationsClient
public override OperationsClient FinalizeBackupOperationsClient { get; }
The long-running operations client for FinalizeBackup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override BackupDR.BackupDRClient GrpcClient { get; }
The underlying gRPC BackupDR client
Property Value | |
---|---|
Type | Description |
BackupDRBackupDRClient |
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
RemoveDataSourceOperationsClient
public override OperationsClient RemoveDataSourceOperationsClient { get; }
The long-running operations client for RemoveDataSource
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
RestoreBackupOperationsClient
public override OperationsClient RestoreBackupOperationsClient { get; }
The long-running operations client for RestoreBackup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
SetInternalStatusOperationsClient
public override OperationsClient SetInternalStatusOperationsClient { get; }
The long-running operations client for SetInternalStatus
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
TriggerBackupOperationsClient
public override OperationsClient TriggerBackupOperationsClient { get; }
The long-running operations client for TriggerBackup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateBackupOperationsClient
public override OperationsClient UpdateBackupOperationsClient { get; }
The long-running operations client for UpdateBackup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateBackupVaultOperationsClient
public override OperationsClient UpdateBackupVaultOperationsClient { get; }
The long-running operations client for UpdateBackupVault
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateDataSourceOperationsClient
public override OperationsClient UpdateDataSourceOperationsClient { get; }
The long-running operations client for UpdateDataSource
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |