Interface BackupDRGrpc.AsyncService (0.10.0)

public static interface BackupDRGrpc.AsyncService

The BackupDR Service

Methods

abandonBackup(AbandonBackupRequest request, StreamObserver<Operation> responseObserver)

public default void abandonBackup(AbandonBackupRequest request, StreamObserver<Operation> responseObserver)

Internal only. Abandons a backup.

Parameters
Name Description
request AbandonBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackupPlan(CreateBackupPlanRequest request, StreamObserver<Operation> responseObserver)

public default void createBackupPlan(CreateBackupPlanRequest request, StreamObserver<Operation> responseObserver)

Create a BackupPlan

Parameters
Name Description
request CreateBackupPlanRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackupPlanAssociation(CreateBackupPlanAssociationRequest request, StreamObserver<Operation> responseObserver)

public default void createBackupPlanAssociation(CreateBackupPlanAssociationRequest request, StreamObserver<Operation> responseObserver)

Create a BackupPlanAssociation

Parameters
Name Description
request CreateBackupPlanAssociationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public default void createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Creates a new BackupVault in a given project and location.

Parameters
Name Description
request CreateBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createManagementServer(CreateManagementServerRequest request, StreamObserver<Operation> responseObserver)

public default void createManagementServer(CreateManagementServerRequest request, StreamObserver<Operation> responseObserver)

Creates a new ManagementServer in a given project and location.

Parameters
Name Description
request CreateManagementServerRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

public default void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

Deletes a Backup.

Parameters
Name Description
request DeleteBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackupPlan(DeleteBackupPlanRequest request, StreamObserver<Operation> responseObserver)

public default void deleteBackupPlan(DeleteBackupPlanRequest request, StreamObserver<Operation> responseObserver)

Deletes a single BackupPlan.

Parameters
Name Description
request DeleteBackupPlanRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request, StreamObserver<Operation> responseObserver)

public default void deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request, StreamObserver<Operation> responseObserver)

Deletes a single BackupPlanAssociation.

Parameters
Name Description
request DeleteBackupPlanAssociationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackupVault(DeleteBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public default void deleteBackupVault(DeleteBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Deletes a BackupVault.

Parameters
Name Description
request DeleteBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteManagementServer(DeleteManagementServerRequest request, StreamObserver<Operation> responseObserver)

public default void deleteManagementServer(DeleteManagementServerRequest request, StreamObserver<Operation> responseObserver)

Deletes a single ManagementServer.

Parameters
Name Description
request DeleteManagementServerRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

fetchAccessToken(FetchAccessTokenRequest request, StreamObserver<FetchAccessTokenResponse> responseObserver)

public default void fetchAccessToken(FetchAccessTokenRequest request, StreamObserver<FetchAccessTokenResponse> responseObserver)

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

Parameters
Name Description
request FetchAccessTokenRequest
responseObserver io.grpc.stub.StreamObserver<FetchAccessTokenResponse>

fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request, StreamObserver<FetchUsableBackupVaultsResponse> responseObserver)

public default void fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request, StreamObserver<FetchUsableBackupVaultsResponse> responseObserver)

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
responseObserver io.grpc.stub.StreamObserver<FetchUsableBackupVaultsResponse>

finalizeBackup(FinalizeBackupRequest request, StreamObserver<Operation> responseObserver)

public default void finalizeBackup(FinalizeBackupRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request FinalizeBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

public default void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

Gets details of a Backup.

Parameters
Name Description
request GetBackupRequest
responseObserver io.grpc.stub.StreamObserver<Backup>

getBackupPlan(GetBackupPlanRequest request, StreamObserver<BackupPlan> responseObserver)

public default void getBackupPlan(GetBackupPlanRequest request, StreamObserver<BackupPlan> responseObserver)

Gets details of a single BackupPlan.

Parameters
Name Description
request GetBackupPlanRequest
responseObserver io.grpc.stub.StreamObserver<BackupPlan>

getBackupPlanAssociation(GetBackupPlanAssociationRequest request, StreamObserver<BackupPlanAssociation> responseObserver)

public default void getBackupPlanAssociation(GetBackupPlanAssociationRequest request, StreamObserver<BackupPlanAssociation> responseObserver)

Gets details of a single BackupPlanAssociation.

Parameters
Name Description
request GetBackupPlanAssociationRequest
responseObserver io.grpc.stub.StreamObserver<BackupPlanAssociation>

getBackupVault(GetBackupVaultRequest request, StreamObserver<BackupVault> responseObserver)

public default void getBackupVault(GetBackupVaultRequest request, StreamObserver<BackupVault> responseObserver)

Gets details of a BackupVault.

Parameters
Name Description
request GetBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<BackupVault>

getDataSource(GetDataSourceRequest request, StreamObserver<DataSource> responseObserver)

public default void getDataSource(GetDataSourceRequest request, StreamObserver<DataSource> responseObserver)

Gets details of a DataSource.

Parameters
Name Description
request GetDataSourceRequest
responseObserver io.grpc.stub.StreamObserver<DataSource>

getManagementServer(GetManagementServerRequest request, StreamObserver<ManagementServer> responseObserver)

public default void getManagementServer(GetManagementServerRequest request, StreamObserver<ManagementServer> responseObserver)

Gets details of a single ManagementServer.

Parameters
Name Description
request GetManagementServerRequest
responseObserver io.grpc.stub.StreamObserver<ManagementServer>

initiateBackup(InitiateBackupRequest request, StreamObserver<InitiateBackupResponse> responseObserver)

public default void initiateBackup(InitiateBackupRequest request, StreamObserver<InitiateBackupResponse> responseObserver)

Internal only. Initiates a backup.

Parameters
Name Description
request InitiateBackupRequest
responseObserver io.grpc.stub.StreamObserver<InitiateBackupResponse>

listBackupPlanAssociations(ListBackupPlanAssociationsRequest request, StreamObserver<ListBackupPlanAssociationsResponse> responseObserver)

public default void listBackupPlanAssociations(ListBackupPlanAssociationsRequest request, StreamObserver<ListBackupPlanAssociationsResponse> responseObserver)

Lists BackupPlanAssociations in a given project and location.

Parameters
Name Description
request ListBackupPlanAssociationsRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupPlanAssociationsResponse>

listBackupPlans(ListBackupPlansRequest request, StreamObserver<ListBackupPlansResponse> responseObserver)

public default void listBackupPlans(ListBackupPlansRequest request, StreamObserver<ListBackupPlansResponse> responseObserver)

Lists BackupPlans in a given project and location.

Parameters
Name Description
request ListBackupPlansRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupPlansResponse>

listBackupVaults(ListBackupVaultsRequest request, StreamObserver<ListBackupVaultsResponse> responseObserver)

public default void listBackupVaults(ListBackupVaultsRequest request, StreamObserver<ListBackupVaultsResponse> responseObserver)

Lists BackupVaults in a given project and location.

Parameters
Name Description
request ListBackupVaultsRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupVaultsResponse>

listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

public default void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

Lists Backups in a given project and location.

Parameters
Name Description
request ListBackupsRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupsResponse>

listDataSources(ListDataSourcesRequest request, StreamObserver<ListDataSourcesResponse> responseObserver)

public default void listDataSources(ListDataSourcesRequest request, StreamObserver<ListDataSourcesResponse> responseObserver)

Lists DataSources in a given project and location.

Parameters
Name Description
request ListDataSourcesRequest
responseObserver io.grpc.stub.StreamObserver<ListDataSourcesResponse>

listManagementServers(ListManagementServersRequest request, StreamObserver<ListManagementServersResponse> responseObserver)

public default void listManagementServers(ListManagementServersRequest request, StreamObserver<ListManagementServersResponse> responseObserver)

Lists ManagementServers in a given project and location.

Parameters
Name Description
request ListManagementServersRequest
responseObserver io.grpc.stub.StreamObserver<ListManagementServersResponse>

removeDataSource(RemoveDataSourceRequest request, StreamObserver<Operation> responseObserver)

public default void removeDataSource(RemoveDataSourceRequest request, StreamObserver<Operation> responseObserver)

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
responseObserver io.grpc.stub.StreamObserver<Operation>

restoreBackup(RestoreBackupRequest request, StreamObserver<Operation> responseObserver)

public default void restoreBackup(RestoreBackupRequest request, StreamObserver<Operation> responseObserver)

Restore from a Backup

Parameters
Name Description
request RestoreBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

setInternalStatus(SetInternalStatusRequest request, StreamObserver<Operation> responseObserver)

public default void setInternalStatus(SetInternalStatusRequest request, StreamObserver<Operation> responseObserver)

Sets the internal status of a DataSource.

Parameters
Name Description
request SetInternalStatusRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

public default void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

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 com.google.iam.v1.TestIamPermissionsRequest
responseObserver io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>

triggerBackup(TriggerBackupRequest request, StreamObserver<Operation> responseObserver)

public default void triggerBackup(TriggerBackupRequest request, StreamObserver<Operation> responseObserver)

Triggers a new Backup.

Parameters
Name Description
request TriggerBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

public default void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a Backup.

Parameters
Name Description
request UpdateBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateBackupVault(UpdateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public default void updateBackupVault(UpdateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a BackupVault.

Parameters
Name Description
request UpdateBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateDataSource(UpdateDataSourceRequest request, StreamObserver<Operation> responseObserver)

public default void updateDataSource(UpdateDataSourceRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a DataSource.

Parameters
Name Description
request UpdateDataSourceRequest
responseObserver io.grpc.stub.StreamObserver<Operation>