Class BackupDRGrpc.BackupDRStub (0.10.0)

public static final class BackupDRGrpc.BackupDRStub extends AbstractAsyncStub<BackupDRGrpc.BackupDRStub>

A stub to allow clients to do asynchronous rpc calls to service BackupDR.

The BackupDR Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > BackupDRGrpc.BackupDRStub

Methods

abandonBackup(AbandonBackupRequest request, StreamObserver<Operation> responseObserver)

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

Internal only. Abandons a backup.

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

build(Channel channel, CallOptions callOptions)

protected BackupDRGrpc.BackupDRStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
BackupDRGrpc.BackupDRStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createBackupPlan(CreateBackupPlanRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 void updateDataSource(UpdateDataSourceRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a DataSource.

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