Class BackupDRGrpc.BackupDRFutureStub (0.10.0)

public static final class BackupDRGrpc.BackupDRFutureStub extends AbstractFutureStub<BackupDRGrpc.BackupDRFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service BackupDR.

The BackupDR Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > BackupDRGrpc.BackupDRFutureStub

Methods

abandonBackup(AbandonBackupRequest request)

public ListenableFuture<Operation> abandonBackup(AbandonBackupRequest request)

Internal only. Abandons a backup.

Parameter
Name Description
request AbandonBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

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

createBackupPlan(CreateBackupPlanRequest request)

public ListenableFuture<Operation> createBackupPlan(CreateBackupPlanRequest request)

Create a BackupPlan

Parameter
Name Description
request CreateBackupPlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)

public ListenableFuture<Operation> createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)

Create a BackupPlanAssociation

Parameter
Name Description
request CreateBackupPlanAssociationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createBackupVault(CreateBackupVaultRequest request)

public ListenableFuture<Operation> createBackupVault(CreateBackupVaultRequest request)

Creates a new BackupVault in a given project and location.

Parameter
Name Description
request CreateBackupVaultRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createManagementServer(CreateManagementServerRequest request)

public ListenableFuture<Operation> createManagementServer(CreateManagementServerRequest request)

Creates a new ManagementServer in a given project and location.

Parameter
Name Description
request CreateManagementServerRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackup(DeleteBackupRequest request)

public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)

Deletes a Backup.

Parameter
Name Description
request DeleteBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackupPlan(DeleteBackupPlanRequest request)

public ListenableFuture<Operation> deleteBackupPlan(DeleteBackupPlanRequest request)

Deletes a single BackupPlan.

Parameter
Name Description
request DeleteBackupPlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)

public ListenableFuture<Operation> deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)

Deletes a single BackupPlanAssociation.

Parameter
Name Description
request DeleteBackupPlanAssociationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackupVault(DeleteBackupVaultRequest request)

public ListenableFuture<Operation> deleteBackupVault(DeleteBackupVaultRequest request)

Deletes a BackupVault.

Parameter
Name Description
request DeleteBackupVaultRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteManagementServer(DeleteManagementServerRequest request)

public ListenableFuture<Operation> deleteManagementServer(DeleteManagementServerRequest request)

Deletes a single ManagementServer.

Parameter
Name Description
request DeleteManagementServerRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

fetchAccessToken(FetchAccessTokenRequest request)

public ListenableFuture<FetchAccessTokenResponse> fetchAccessToken(FetchAccessTokenRequest request)

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

Parameter
Name Description
request FetchAccessTokenRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchAccessTokenResponse>

fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request)

public ListenableFuture<FetchUsableBackupVaultsResponse> fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request)

FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.

Parameter
Name Description
request FetchUsableBackupVaultsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchUsableBackupVaultsResponse>

finalizeBackup(FinalizeBackupRequest request)

public ListenableFuture<Operation> finalizeBackup(FinalizeBackupRequest request)

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

Parameter
Name Description
request FinalizeBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getBackup(GetBackupRequest request)

public ListenableFuture<Backup> getBackup(GetBackupRequest request)

Gets details of a Backup.

Parameter
Name Description
request GetBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Backup>

getBackupPlan(GetBackupPlanRequest request)

public ListenableFuture<BackupPlan> getBackupPlan(GetBackupPlanRequest request)

Gets details of a single BackupPlan.

Parameter
Name Description
request GetBackupPlanRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BackupPlan>

getBackupPlanAssociation(GetBackupPlanAssociationRequest request)

public ListenableFuture<BackupPlanAssociation> getBackupPlanAssociation(GetBackupPlanAssociationRequest request)

Gets details of a single BackupPlanAssociation.

Parameter
Name Description
request GetBackupPlanAssociationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BackupPlanAssociation>

getBackupVault(GetBackupVaultRequest request)

public ListenableFuture<BackupVault> getBackupVault(GetBackupVaultRequest request)

Gets details of a BackupVault.

Parameter
Name Description
request GetBackupVaultRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<BackupVault>

getDataSource(GetDataSourceRequest request)

public ListenableFuture<DataSource> getDataSource(GetDataSourceRequest request)

Gets details of a DataSource.

Parameter
Name Description
request GetDataSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DataSource>

getManagementServer(GetManagementServerRequest request)

public ListenableFuture<ManagementServer> getManagementServer(GetManagementServerRequest request)

Gets details of a single ManagementServer.

Parameter
Name Description
request GetManagementServerRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ManagementServer>

initiateBackup(InitiateBackupRequest request)

public ListenableFuture<InitiateBackupResponse> initiateBackup(InitiateBackupRequest request)

Internal only. Initiates a backup.

Parameter
Name Description
request InitiateBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<InitiateBackupResponse>

listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)

public ListenableFuture<ListBackupPlanAssociationsResponse> listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)

Lists BackupPlanAssociations in a given project and location.

Parameter
Name Description
request ListBackupPlanAssociationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupPlanAssociationsResponse>

listBackupPlans(ListBackupPlansRequest request)

public ListenableFuture<ListBackupPlansResponse> listBackupPlans(ListBackupPlansRequest request)

Lists BackupPlans in a given project and location.

Parameter
Name Description
request ListBackupPlansRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupPlansResponse>

listBackupVaults(ListBackupVaultsRequest request)

public ListenableFuture<ListBackupVaultsResponse> listBackupVaults(ListBackupVaultsRequest request)

Lists BackupVaults in a given project and location.

Parameter
Name Description
request ListBackupVaultsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupVaultsResponse>

listBackups(ListBackupsRequest request)

public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)

Lists Backups in a given project and location.

Parameter
Name Description
request ListBackupsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse>

listDataSources(ListDataSourcesRequest request)

public ListenableFuture<ListDataSourcesResponse> listDataSources(ListDataSourcesRequest request)

Lists DataSources in a given project and location.

Parameter
Name Description
request ListDataSourcesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDataSourcesResponse>

listManagementServers(ListManagementServersRequest request)

public ListenableFuture<ListManagementServersResponse> listManagementServers(ListManagementServersRequest request)

Lists ManagementServers in a given project and location.

Parameter
Name Description
request ListManagementServersRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListManagementServersResponse>

removeDataSource(RemoveDataSourceRequest request)

public ListenableFuture<Operation> removeDataSource(RemoveDataSourceRequest request)

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.

Parameter
Name Description
request RemoveDataSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

restoreBackup(RestoreBackupRequest request)

public ListenableFuture<Operation> restoreBackup(RestoreBackupRequest request)

Restore from a Backup

Parameter
Name Description
request RestoreBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

setInternalStatus(SetInternalStatusRequest request)

public ListenableFuture<Operation> setInternalStatus(SetInternalStatusRequest request)

Sets the internal status of a DataSource.

Parameter
Name Description
request SetInternalStatusRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

testIamPermissions(TestIamPermissionsRequest request)

public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)

Returns the caller's permissions on a BackupVault resource. A caller is not required to have Google IAM permission to make this request.

Parameter
Name Description
request com.google.iam.v1.TestIamPermissionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse>

triggerBackup(TriggerBackupRequest request)

public ListenableFuture<Operation> triggerBackup(TriggerBackupRequest request)

Triggers a new Backup.

Parameter
Name Description
request TriggerBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackup(UpdateBackupRequest request)

public ListenableFuture<Operation> updateBackup(UpdateBackupRequest request)

Updates the settings of a Backup.

Parameter
Name Description
request UpdateBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackupVault(UpdateBackupVaultRequest request)

public ListenableFuture<Operation> updateBackupVault(UpdateBackupVaultRequest request)

Updates the settings of a BackupVault.

Parameter
Name Description
request UpdateBackupVaultRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateDataSource(UpdateDataSourceRequest request)

public ListenableFuture<Operation> updateDataSource(UpdateDataSourceRequest request)

Updates the settings of a DataSource.

Parameter
Name Description
request UpdateDataSourceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>