Class BackupDRGrpc.BackupDRBlockingStub (0.10.0)

public static final class BackupDRGrpc.BackupDRBlockingStub extends AbstractBlockingStub<BackupDRGrpc.BackupDRBlockingStub>

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

The BackupDR Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > BackupDRGrpc.BackupDRBlockingStub

Methods

abandonBackup(AbandonBackupRequest request)

public Operation abandonBackup(AbandonBackupRequest request)

Internal only. Abandons a backup.

Parameter
Name Description
request AbandonBackupRequest
Returns
Type Description
Operation

build(Channel channel, CallOptions callOptions)

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

createBackupPlan(CreateBackupPlanRequest request)

public Operation createBackupPlan(CreateBackupPlanRequest request)

Create a BackupPlan

Parameter
Name Description
request CreateBackupPlanRequest
Returns
Type Description
Operation

createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)

public Operation createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)

Create a BackupPlanAssociation

Parameter
Name Description
request CreateBackupPlanAssociationRequest
Returns
Type Description
Operation

createBackupVault(CreateBackupVaultRequest request)

public Operation createBackupVault(CreateBackupVaultRequest request)

Creates a new BackupVault in a given project and location.

Parameter
Name Description
request CreateBackupVaultRequest
Returns
Type Description
Operation

createManagementServer(CreateManagementServerRequest request)

public Operation createManagementServer(CreateManagementServerRequest request)

Creates a new ManagementServer in a given project and location.

Parameter
Name Description
request CreateManagementServerRequest
Returns
Type Description
Operation

deleteBackup(DeleteBackupRequest request)

public Operation deleteBackup(DeleteBackupRequest request)

Deletes a Backup.

Parameter
Name Description
request DeleteBackupRequest
Returns
Type Description
Operation

deleteBackupPlan(DeleteBackupPlanRequest request)

public Operation deleteBackupPlan(DeleteBackupPlanRequest request)

Deletes a single BackupPlan.

Parameter
Name Description
request DeleteBackupPlanRequest
Returns
Type Description
Operation

deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)

public Operation deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)

Deletes a single BackupPlanAssociation.

Parameter
Name Description
request DeleteBackupPlanAssociationRequest
Returns
Type Description
Operation

deleteBackupVault(DeleteBackupVaultRequest request)

public Operation deleteBackupVault(DeleteBackupVaultRequest request)

Deletes a BackupVault.

Parameter
Name Description
request DeleteBackupVaultRequest
Returns
Type Description
Operation

deleteManagementServer(DeleteManagementServerRequest request)

public Operation deleteManagementServer(DeleteManagementServerRequest request)

Deletes a single ManagementServer.

Parameter
Name Description
request DeleteManagementServerRequest
Returns
Type Description
Operation

fetchAccessToken(FetchAccessTokenRequest request)

public FetchAccessTokenResponse fetchAccessToken(FetchAccessTokenRequest request)

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

Parameter
Name Description
request FetchAccessTokenRequest
Returns
Type Description
FetchAccessTokenResponse

fetchUsableBackupVaults(FetchUsableBackupVaultsRequest request)

public 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
FetchUsableBackupVaultsResponse

finalizeBackup(FinalizeBackupRequest request)

public 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
Operation

getBackup(GetBackupRequest request)

public Backup getBackup(GetBackupRequest request)

Gets details of a Backup.

Parameter
Name Description
request GetBackupRequest
Returns
Type Description
Backup

getBackupPlan(GetBackupPlanRequest request)

public BackupPlan getBackupPlan(GetBackupPlanRequest request)

Gets details of a single BackupPlan.

Parameter
Name Description
request GetBackupPlanRequest
Returns
Type Description
BackupPlan

getBackupPlanAssociation(GetBackupPlanAssociationRequest request)

public BackupPlanAssociation getBackupPlanAssociation(GetBackupPlanAssociationRequest request)

Gets details of a single BackupPlanAssociation.

Parameter
Name Description
request GetBackupPlanAssociationRequest
Returns
Type Description
BackupPlanAssociation

getBackupVault(GetBackupVaultRequest request)

public BackupVault getBackupVault(GetBackupVaultRequest request)

Gets details of a BackupVault.

Parameter
Name Description
request GetBackupVaultRequest
Returns
Type Description
BackupVault

getDataSource(GetDataSourceRequest request)

public DataSource getDataSource(GetDataSourceRequest request)

Gets details of a DataSource.

Parameter
Name Description
request GetDataSourceRequest
Returns
Type Description
DataSource

getManagementServer(GetManagementServerRequest request)

public ManagementServer getManagementServer(GetManagementServerRequest request)

Gets details of a single ManagementServer.

Parameter
Name Description
request GetManagementServerRequest
Returns
Type Description
ManagementServer

initiateBackup(InitiateBackupRequest request)

public InitiateBackupResponse initiateBackup(InitiateBackupRequest request)

Internal only. Initiates a backup.

Parameter
Name Description
request InitiateBackupRequest
Returns
Type Description
InitiateBackupResponse

listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)

public ListBackupPlanAssociationsResponse listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)

Lists BackupPlanAssociations in a given project and location.

Parameter
Name Description
request ListBackupPlanAssociationsRequest
Returns
Type Description
ListBackupPlanAssociationsResponse

listBackupPlans(ListBackupPlansRequest request)

public ListBackupPlansResponse listBackupPlans(ListBackupPlansRequest request)

Lists BackupPlans in a given project and location.

Parameter
Name Description
request ListBackupPlansRequest
Returns
Type Description
ListBackupPlansResponse

listBackupVaults(ListBackupVaultsRequest request)

public ListBackupVaultsResponse listBackupVaults(ListBackupVaultsRequest request)

Lists BackupVaults in a given project and location.

Parameter
Name Description
request ListBackupVaultsRequest
Returns
Type Description
ListBackupVaultsResponse

listBackups(ListBackupsRequest request)

public ListBackupsResponse listBackups(ListBackupsRequest request)

Lists Backups in a given project and location.

Parameter
Name Description
request ListBackupsRequest
Returns
Type Description
ListBackupsResponse

listDataSources(ListDataSourcesRequest request)

public ListDataSourcesResponse listDataSources(ListDataSourcesRequest request)

Lists DataSources in a given project and location.

Parameter
Name Description
request ListDataSourcesRequest
Returns
Type Description
ListDataSourcesResponse

listManagementServers(ListManagementServersRequest request)

public ListManagementServersResponse listManagementServers(ListManagementServersRequest request)

Lists ManagementServers in a given project and location.

Parameter
Name Description
request ListManagementServersRequest
Returns
Type Description
ListManagementServersResponse

removeDataSource(RemoveDataSourceRequest request)

public 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
Operation

restoreBackup(RestoreBackupRequest request)

public Operation restoreBackup(RestoreBackupRequest request)

Restore from a Backup

Parameter
Name Description
request RestoreBackupRequest
Returns
Type Description
Operation

setInternalStatus(SetInternalStatusRequest request)

public Operation setInternalStatus(SetInternalStatusRequest request)

Sets the internal status of a DataSource.

Parameter
Name Description
request SetInternalStatusRequest
Returns
Type Description
Operation

testIamPermissions(TestIamPermissionsRequest request)

public 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.iam.v1.TestIamPermissionsResponse

triggerBackup(TriggerBackupRequest request)

public Operation triggerBackup(TriggerBackupRequest request)

Triggers a new Backup.

Parameter
Name Description
request TriggerBackupRequest
Returns
Type Description
Operation

updateBackup(UpdateBackupRequest request)

public Operation updateBackup(UpdateBackupRequest request)

Updates the settings of a Backup.

Parameter
Name Description
request UpdateBackupRequest
Returns
Type Description
Operation

updateBackupVault(UpdateBackupVaultRequest request)

public Operation updateBackupVault(UpdateBackupVaultRequest request)

Updates the settings of a BackupVault.

Parameter
Name Description
request UpdateBackupVaultRequest
Returns
Type Description
Operation

updateDataSource(UpdateDataSourceRequest request)

public Operation updateDataSource(UpdateDataSourceRequest request)

Updates the settings of a DataSource.

Parameter
Name Description
request UpdateDataSourceRequest
Returns
Type Description
Operation