public class BackupDR.BackupDRClient : ClientBase<BackupDR.BackupDRClient>
Reference documentation and code samples for the Backup and DR Service v1 API class BackupDR.BackupDRClient.
Client for BackupDR
Namespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
BackupDRClient()
protected BackupDRClient()
Protected parameterless constructor to allow creation of test doubles.
BackupDRClient(CallInvoker)
public BackupDRClient(CallInvoker callInvoker)
Creates a new client for BackupDR that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
BackupDRClient(ChannelBase)
public BackupDRClient(ChannelBase channel)
Creates a new client for BackupDR
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
BackupDRClient(ClientBaseConfiguration)
protected BackupDRClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateBackupPlan(CreateBackupPlanRequest, CallOptions)
public virtual Operation CreateBackupPlan(CreateBackupPlanRequest request, CallOptions options)
Create a BackupPlan
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateBackupPlan(CreateBackupPlanRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateBackupPlan(CreateBackupPlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a BackupPlan
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateBackupPlanAssociation(CreateBackupPlanAssociationRequest, CallOptions)
public virtual Operation CreateBackupPlanAssociation(CreateBackupPlanAssociationRequest request, CallOptions options)
Create a BackupPlanAssociation
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanAssociationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateBackupPlanAssociation(CreateBackupPlanAssociationRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateBackupPlanAssociation(CreateBackupPlanAssociationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a BackupPlanAssociation
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanAssociationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateBackupPlanAssociationAsync(CreateBackupPlanAssociationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateBackupPlanAssociationAsync(CreateBackupPlanAssociationRequest request, CallOptions options)
Create a BackupPlanAssociation
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanAssociationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateBackupPlanAssociationAsync(CreateBackupPlanAssociationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateBackupPlanAssociationAsync(CreateBackupPlanAssociationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a BackupPlanAssociation
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanAssociationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateBackupPlanAsync(CreateBackupPlanRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateBackupPlanAsync(CreateBackupPlanRequest request, CallOptions options)
Create a BackupPlan
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateBackupPlanAsync(CreateBackupPlanRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateBackupPlanAsync(CreateBackupPlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Create a BackupPlan
Parameters | |
---|---|
Name | Description |
request |
CreateBackupPlanRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateBackupVault(CreateBackupVaultRequest, CallOptions)
public virtual Operation CreateBackupVault(CreateBackupVaultRequest request, CallOptions options)
Creates a new BackupVault in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupVaultRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateBackupVault(CreateBackupVaultRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateBackupVault(CreateBackupVaultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new BackupVault in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupVaultRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateBackupVaultAsync(CreateBackupVaultRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateBackupVaultAsync(CreateBackupVaultRequest request, CallOptions options)
Creates a new BackupVault in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupVaultRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateBackupVaultAsync(CreateBackupVaultRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateBackupVaultAsync(CreateBackupVaultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new BackupVault in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateBackupVaultRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateIAMPolicyClient()
public virtual IAMPolicy.IAMPolicyClient CreateIAMPolicyClient()
Creates a new instance of IAMPolicy.IAMPolicyClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
IAMPolicyIAMPolicyClient |
A new IAMPolicy.IAMPolicyClient for the same target as this client. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
CreateManagementServer(CreateManagementServerRequest, CallOptions)
public virtual Operation CreateManagementServer(CreateManagementServerRequest request, CallOptions options)
Creates a new ManagementServer in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateManagementServerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateManagementServer(CreateManagementServerRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateManagementServer(CreateManagementServerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new ManagementServer in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateManagementServerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
CreateManagementServerAsync(CreateManagementServerRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateManagementServerAsync(CreateManagementServerRequest request, CallOptions options)
Creates a new ManagementServer in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateManagementServerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateManagementServerAsync(CreateManagementServerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateManagementServerAsync(CreateManagementServerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a new ManagementServer in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
CreateManagementServerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
DeleteBackup(DeleteBackupRequest, CallOptions)
public virtual Operation DeleteBackup(DeleteBackupRequest request, CallOptions options)
Deletes a Backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackup(DeleteBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteBackup(DeleteBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a Backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackupAsync(DeleteBackupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteBackupAsync(DeleteBackupRequest request, CallOptions options)
Deletes a Backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackupAsync(DeleteBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteBackupAsync(DeleteBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a Backup.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackupPlan(DeleteBackupPlanRequest, CallOptions)
public virtual Operation DeleteBackupPlan(DeleteBackupPlanRequest request, CallOptions options)
Deletes a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackupPlan(DeleteBackupPlanRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteBackupPlan(DeleteBackupPlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest, CallOptions)
public virtual Operation DeleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request, CallOptions options)
Deletes a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanAssociationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanAssociationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackupPlanAssociationAsync(DeleteBackupPlanAssociationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteBackupPlanAssociationAsync(DeleteBackupPlanAssociationRequest request, CallOptions options)
Deletes a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanAssociationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackupPlanAssociationAsync(DeleteBackupPlanAssociationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteBackupPlanAssociationAsync(DeleteBackupPlanAssociationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanAssociationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackupPlanAsync(DeleteBackupPlanRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteBackupPlanAsync(DeleteBackupPlanRequest request, CallOptions options)
Deletes a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackupPlanAsync(DeleteBackupPlanRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteBackupPlanAsync(DeleteBackupPlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupPlanRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackupVault(DeleteBackupVaultRequest, CallOptions)
public virtual Operation DeleteBackupVault(DeleteBackupVaultRequest request, CallOptions options)
Deletes a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupVaultRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackupVault(DeleteBackupVaultRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteBackupVault(DeleteBackupVaultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupVaultRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteBackupVaultAsync(DeleteBackupVaultRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteBackupVaultAsync(DeleteBackupVaultRequest request, CallOptions options)
Deletes a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupVaultRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteBackupVaultAsync(DeleteBackupVaultRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteBackupVaultAsync(DeleteBackupVaultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackupVaultRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteManagementServer(DeleteManagementServerRequest, CallOptions)
public virtual Operation DeleteManagementServer(DeleteManagementServerRequest request, CallOptions options)
Deletes a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagementServerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteManagementServer(DeleteManagementServerRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation DeleteManagementServer(DeleteManagementServerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagementServerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteManagementServerAsync(DeleteManagementServerRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteManagementServerAsync(DeleteManagementServerRequest request, CallOptions options)
Deletes a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagementServerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteManagementServerAsync(DeleteManagementServerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteManagementServerAsync(DeleteManagementServerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
DeleteManagementServerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
FetchUsableBackupVaults(FetchUsableBackupVaultsRequest, CallOptions)
public virtual FetchUsableBackupVaultsResponse FetchUsableBackupVaults(FetchUsableBackupVaultsRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
FetchUsableBackupVaultsResponse |
The response received from the server. |
FetchUsableBackupVaults(FetchUsableBackupVaultsRequest, Metadata, DateTime?, CancellationToken)
public virtual FetchUsableBackupVaultsResponse FetchUsableBackupVaults(FetchUsableBackupVaultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
FetchUsableBackupVaultsResponse |
The response received from the server. |
FetchUsableBackupVaultsAsync(FetchUsableBackupVaultsRequest, CallOptions)
public virtual AsyncUnaryCall<FetchUsableBackupVaultsResponse> FetchUsableBackupVaultsAsync(FetchUsableBackupVaultsRequest request, CallOptions options)
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 to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFetchUsableBackupVaultsResponse |
The call object. |
FetchUsableBackupVaultsAsync(FetchUsableBackupVaultsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<FetchUsableBackupVaultsResponse> FetchUsableBackupVaultsAsync(FetchUsableBackupVaultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallFetchUsableBackupVaultsResponse |
The call object. |
GetBackup(GetBackupRequest, CallOptions)
public virtual Backup GetBackup(GetBackupRequest request, CallOptions options)
Gets details of a Backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Backup |
The response received from the server. |
GetBackup(GetBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual Backup GetBackup(GetBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a Backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Backup |
The response received from the server. |
GetBackupAsync(GetBackupRequest, CallOptions)
public virtual AsyncUnaryCall<Backup> GetBackupAsync(GetBackupRequest request, CallOptions options)
Gets details of a Backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackup |
The call object. |
GetBackupAsync(GetBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Backup> GetBackupAsync(GetBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a Backup.
Parameters | |
---|---|
Name | Description |
request |
GetBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackup |
The call object. |
GetBackupPlan(GetBackupPlanRequest, CallOptions)
public virtual BackupPlan GetBackupPlan(GetBackupPlanRequest request, CallOptions options)
Gets details of a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BackupPlan |
The response received from the server. |
GetBackupPlan(GetBackupPlanRequest, Metadata, DateTime?, CancellationToken)
public virtual BackupPlan GetBackupPlan(GetBackupPlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
BackupPlan |
The response received from the server. |
GetBackupPlanAssociation(GetBackupPlanAssociationRequest, CallOptions)
public virtual BackupPlanAssociation GetBackupPlanAssociation(GetBackupPlanAssociationRequest request, CallOptions options)
Gets details of a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanAssociationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BackupPlanAssociation |
The response received from the server. |
GetBackupPlanAssociation(GetBackupPlanAssociationRequest, Metadata, DateTime?, CancellationToken)
public virtual BackupPlanAssociation GetBackupPlanAssociation(GetBackupPlanAssociationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanAssociationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
BackupPlanAssociation |
The response received from the server. |
GetBackupPlanAssociationAsync(GetBackupPlanAssociationRequest, CallOptions)
public virtual AsyncUnaryCall<BackupPlanAssociation> GetBackupPlanAssociationAsync(GetBackupPlanAssociationRequest request, CallOptions options)
Gets details of a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanAssociationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackupPlanAssociation |
The call object. |
GetBackupPlanAssociationAsync(GetBackupPlanAssociationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<BackupPlanAssociation> GetBackupPlanAssociationAsync(GetBackupPlanAssociationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single BackupPlanAssociation.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanAssociationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackupPlanAssociation |
The call object. |
GetBackupPlanAsync(GetBackupPlanRequest, CallOptions)
public virtual AsyncUnaryCall<BackupPlan> GetBackupPlanAsync(GetBackupPlanRequest request, CallOptions options)
Gets details of a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackupPlan |
The call object. |
GetBackupPlanAsync(GetBackupPlanRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<BackupPlan> GetBackupPlanAsync(GetBackupPlanRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single BackupPlan.
Parameters | |
---|---|
Name | Description |
request |
GetBackupPlanRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackupPlan |
The call object. |
GetBackupVault(GetBackupVaultRequest, CallOptions)
public virtual BackupVault GetBackupVault(GetBackupVaultRequest request, CallOptions options)
Gets details of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
GetBackupVaultRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BackupVault |
The response received from the server. |
GetBackupVault(GetBackupVaultRequest, Metadata, DateTime?, CancellationToken)
public virtual BackupVault GetBackupVault(GetBackupVaultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
GetBackupVaultRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
BackupVault |
The response received from the server. |
GetBackupVaultAsync(GetBackupVaultRequest, CallOptions)
public virtual AsyncUnaryCall<BackupVault> GetBackupVaultAsync(GetBackupVaultRequest request, CallOptions options)
Gets details of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
GetBackupVaultRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackupVault |
The call object. |
GetBackupVaultAsync(GetBackupVaultRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<BackupVault> GetBackupVaultAsync(GetBackupVaultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
GetBackupVaultRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBackupVault |
The call object. |
GetDataSource(GetDataSourceRequest, CallOptions)
public virtual DataSource GetDataSource(GetDataSourceRequest request, CallOptions options)
Gets details of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
GetDataSourceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
DataSource |
The response received from the server. |
GetDataSource(GetDataSourceRequest, Metadata, DateTime?, CancellationToken)
public virtual DataSource GetDataSource(GetDataSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
GetDataSourceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
DataSource |
The response received from the server. |
GetDataSourceAsync(GetDataSourceRequest, CallOptions)
public virtual AsyncUnaryCall<DataSource> GetDataSourceAsync(GetDataSourceRequest request, CallOptions options)
Gets details of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
GetDataSourceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallDataSource |
The call object. |
GetDataSourceAsync(GetDataSourceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<DataSource> GetDataSourceAsync(GetDataSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
GetDataSourceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallDataSource |
The call object. |
GetManagementServer(GetManagementServerRequest, CallOptions)
public virtual ManagementServer GetManagementServer(GetManagementServerRequest request, CallOptions options)
Gets details of a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
GetManagementServerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ManagementServer |
The response received from the server. |
GetManagementServer(GetManagementServerRequest, Metadata, DateTime?, CancellationToken)
public virtual ManagementServer GetManagementServer(GetManagementServerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
GetManagementServerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ManagementServer |
The response received from the server. |
GetManagementServerAsync(GetManagementServerRequest, CallOptions)
public virtual AsyncUnaryCall<ManagementServer> GetManagementServerAsync(GetManagementServerRequest request, CallOptions options)
Gets details of a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
GetManagementServerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallManagementServer |
The call object. |
GetManagementServerAsync(GetManagementServerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ManagementServer> GetManagementServerAsync(GetManagementServerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets details of a single ManagementServer.
Parameters | |
---|---|
Name | Description |
request |
GetManagementServerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallManagementServer |
The call object. |
ListBackupPlanAssociations(ListBackupPlanAssociationsRequest, CallOptions)
public virtual ListBackupPlanAssociationsResponse ListBackupPlanAssociations(ListBackupPlanAssociationsRequest request, CallOptions options)
Lists BackupPlanAssociations in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlanAssociationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListBackupPlanAssociationsResponse |
The response received from the server. |
ListBackupPlanAssociations(ListBackupPlanAssociationsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListBackupPlanAssociationsResponse ListBackupPlanAssociations(ListBackupPlanAssociationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists BackupPlanAssociations in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlanAssociationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListBackupPlanAssociationsResponse |
The response received from the server. |
ListBackupPlanAssociationsAsync(ListBackupPlanAssociationsRequest, CallOptions)
public virtual AsyncUnaryCall<ListBackupPlanAssociationsResponse> ListBackupPlanAssociationsAsync(ListBackupPlanAssociationsRequest request, CallOptions options)
Lists BackupPlanAssociations in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlanAssociationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupPlanAssociationsResponse |
The call object. |
ListBackupPlanAssociationsAsync(ListBackupPlanAssociationsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListBackupPlanAssociationsResponse> ListBackupPlanAssociationsAsync(ListBackupPlanAssociationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists BackupPlanAssociations in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlanAssociationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupPlanAssociationsResponse |
The call object. |
ListBackupPlans(ListBackupPlansRequest, CallOptions)
public virtual ListBackupPlansResponse ListBackupPlans(ListBackupPlansRequest request, CallOptions options)
Lists BackupPlans in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlansRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListBackupPlansResponse |
The response received from the server. |
ListBackupPlans(ListBackupPlansRequest, Metadata, DateTime?, CancellationToken)
public virtual ListBackupPlansResponse ListBackupPlans(ListBackupPlansRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists BackupPlans in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlansRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListBackupPlansResponse |
The response received from the server. |
ListBackupPlansAsync(ListBackupPlansRequest, CallOptions)
public virtual AsyncUnaryCall<ListBackupPlansResponse> ListBackupPlansAsync(ListBackupPlansRequest request, CallOptions options)
Lists BackupPlans in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlansRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupPlansResponse |
The call object. |
ListBackupPlansAsync(ListBackupPlansRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListBackupPlansResponse> ListBackupPlansAsync(ListBackupPlansRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists BackupPlans in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupPlansRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupPlansResponse |
The call object. |
ListBackupVaults(ListBackupVaultsRequest, CallOptions)
public virtual ListBackupVaultsResponse ListBackupVaults(ListBackupVaultsRequest request, CallOptions options)
Lists BackupVaults in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupVaultsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListBackupVaultsResponse |
The response received from the server. |
ListBackupVaults(ListBackupVaultsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListBackupVaultsResponse ListBackupVaults(ListBackupVaultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists BackupVaults in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupVaultsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListBackupVaultsResponse |
The response received from the server. |
ListBackupVaultsAsync(ListBackupVaultsRequest, CallOptions)
public virtual AsyncUnaryCall<ListBackupVaultsResponse> ListBackupVaultsAsync(ListBackupVaultsRequest request, CallOptions options)
Lists BackupVaults in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupVaultsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupVaultsResponse |
The call object. |
ListBackupVaultsAsync(ListBackupVaultsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListBackupVaultsResponse> ListBackupVaultsAsync(ListBackupVaultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists BackupVaults in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupVaultsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupVaultsResponse |
The call object. |
ListBackups(ListBackupsRequest, CallOptions)
public virtual ListBackupsResponse ListBackups(ListBackupsRequest request, CallOptions options)
Lists Backups in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListBackupsResponse |
The response received from the server. |
ListBackups(ListBackupsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListBackupsResponse ListBackups(ListBackupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists Backups in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListBackupsResponse |
The response received from the server. |
ListBackupsAsync(ListBackupsRequest, CallOptions)
public virtual AsyncUnaryCall<ListBackupsResponse> ListBackupsAsync(ListBackupsRequest request, CallOptions options)
Lists Backups in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupsResponse |
The call object. |
ListBackupsAsync(ListBackupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListBackupsResponse> ListBackupsAsync(ListBackupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists Backups in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListBackupsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListBackupsResponse |
The call object. |
ListDataSources(ListDataSourcesRequest, CallOptions)
public virtual ListDataSourcesResponse ListDataSources(ListDataSourcesRequest request, CallOptions options)
Lists DataSources in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListDataSourcesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListDataSourcesResponse |
The response received from the server. |
ListDataSources(ListDataSourcesRequest, Metadata, DateTime?, CancellationToken)
public virtual ListDataSourcesResponse ListDataSources(ListDataSourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists DataSources in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListDataSourcesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListDataSourcesResponse |
The response received from the server. |
ListDataSourcesAsync(ListDataSourcesRequest, CallOptions)
public virtual AsyncUnaryCall<ListDataSourcesResponse> ListDataSourcesAsync(ListDataSourcesRequest request, CallOptions options)
Lists DataSources in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListDataSourcesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListDataSourcesResponse |
The call object. |
ListDataSourcesAsync(ListDataSourcesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListDataSourcesResponse> ListDataSourcesAsync(ListDataSourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists DataSources in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListDataSourcesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListDataSourcesResponse |
The call object. |
ListManagementServers(ListManagementServersRequest, CallOptions)
public virtual ListManagementServersResponse ListManagementServers(ListManagementServersRequest request, CallOptions options)
Lists ManagementServers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListManagementServersRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListManagementServersResponse |
The response received from the server. |
ListManagementServers(ListManagementServersRequest, Metadata, DateTime?, CancellationToken)
public virtual ListManagementServersResponse ListManagementServers(ListManagementServersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists ManagementServers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListManagementServersRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListManagementServersResponse |
The response received from the server. |
ListManagementServersAsync(ListManagementServersRequest, CallOptions)
public virtual AsyncUnaryCall<ListManagementServersResponse> ListManagementServersAsync(ListManagementServersRequest request, CallOptions options)
Lists ManagementServers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListManagementServersRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListManagementServersResponse |
The call object. |
ListManagementServersAsync(ListManagementServersRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListManagementServersResponse> ListManagementServersAsync(ListManagementServersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists ManagementServers in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
ListManagementServersRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListManagementServersResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override BackupDR.BackupDRClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
BackupDRBackupDRClient |
RestoreBackup(RestoreBackupRequest, CallOptions)
public virtual Operation RestoreBackup(RestoreBackupRequest request, CallOptions options)
Restore from a Backup
Parameters | |
---|---|
Name | Description |
request |
RestoreBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
RestoreBackup(RestoreBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RestoreBackup(RestoreBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Restore from a Backup
Parameters | |
---|---|
Name | Description |
request |
RestoreBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
RestoreBackupAsync(RestoreBackupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RestoreBackupAsync(RestoreBackupRequest request, CallOptions options)
Restore from a Backup
Parameters | |
---|---|
Name | Description |
request |
RestoreBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
RestoreBackupAsync(RestoreBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RestoreBackupAsync(RestoreBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Restore from a Backup
Parameters | |
---|---|
Name | Description |
request |
RestoreBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
TriggerBackup(TriggerBackupRequest, CallOptions)
public virtual Operation TriggerBackup(TriggerBackupRequest request, CallOptions options)
Triggers a new Backup.
Parameters | |
---|---|
Name | Description |
request |
TriggerBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
TriggerBackup(TriggerBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation TriggerBackup(TriggerBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Triggers a new Backup.
Parameters | |
---|---|
Name | Description |
request |
TriggerBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
TriggerBackupAsync(TriggerBackupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> TriggerBackupAsync(TriggerBackupRequest request, CallOptions options)
Triggers a new Backup.
Parameters | |
---|---|
Name | Description |
request |
TriggerBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
TriggerBackupAsync(TriggerBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> TriggerBackupAsync(TriggerBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Triggers a new Backup.
Parameters | |
---|---|
Name | Description |
request |
TriggerBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateBackup(UpdateBackupRequest, CallOptions)
public virtual Operation UpdateBackup(UpdateBackupRequest request, CallOptions options)
Updates the settings of a Backup.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateBackup(UpdateBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateBackup(UpdateBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the settings of a Backup.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateBackupAsync(UpdateBackupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateBackupAsync(UpdateBackupRequest request, CallOptions options)
Updates the settings of a Backup.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateBackupAsync(UpdateBackupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateBackupAsync(UpdateBackupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the settings of a Backup.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateBackupVault(UpdateBackupVaultRequest, CallOptions)
public virtual Operation UpdateBackupVault(UpdateBackupVaultRequest request, CallOptions options)
Updates the settings of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupVaultRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateBackupVault(UpdateBackupVaultRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateBackupVault(UpdateBackupVaultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the settings of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupVaultRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateBackupVaultAsync(UpdateBackupVaultRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateBackupVaultAsync(UpdateBackupVaultRequest request, CallOptions options)
Updates the settings of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupVaultRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateBackupVaultAsync(UpdateBackupVaultRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateBackupVaultAsync(UpdateBackupVaultRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the settings of a BackupVault.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackupVaultRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateDataSource(UpdateDataSourceRequest, CallOptions)
public virtual Operation UpdateDataSource(UpdateDataSourceRequest request, CallOptions options)
Updates the settings of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
UpdateDataSourceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateDataSource(UpdateDataSourceRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation UpdateDataSource(UpdateDataSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the settings of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
UpdateDataSourceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
UpdateDataSourceAsync(UpdateDataSourceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateDataSourceAsync(UpdateDataSourceRequest request, CallOptions options)
Updates the settings of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
UpdateDataSourceRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateDataSourceAsync(UpdateDataSourceRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateDataSourceAsync(UpdateDataSourceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates the settings of a DataSource.
Parameters | |
---|---|
Name | Description |
request |
UpdateDataSourceRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |