Interface BackupDRGrpc.AsyncService (0.12.0)

public static interface BackupDRGrpc.AsyncService

The BackupDR Service

Methods

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>

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>

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>

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>

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>

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>