Class BackupDRGrpc.BackupDRBlockingV2Stub (0.39.0)

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

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.BackupDRBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected BackupDRGrpc.BackupDRBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
BackupDRGrpc.BackupDRBlockingV2Stub
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
Exceptions
Type Description
io.grpc.StatusException

createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)

public Operation createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)

Create a BackupPlanAssociation

Parameter
Name Description
request CreateBackupPlanAssociationRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

deleteBackup(DeleteBackupRequest request)

public Operation deleteBackup(DeleteBackupRequest request)

Deletes a Backup.

Parameter
Name Description
request DeleteBackupRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

deleteBackupPlan(DeleteBackupPlanRequest request)

public Operation deleteBackupPlan(DeleteBackupPlanRequest request)

Deletes a single BackupPlan.

Parameter
Name Description
request DeleteBackupPlanRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)

public Operation deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)

Deletes a single BackupPlanAssociation.

Parameter
Name Description
request DeleteBackupPlanAssociationRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

deleteBackupVault(DeleteBackupVaultRequest request)

public Operation deleteBackupVault(DeleteBackupVaultRequest request)

Deletes a BackupVault.

Parameter
Name Description
request DeleteBackupVaultRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

deleteManagementServer(DeleteManagementServerRequest request)

public Operation deleteManagementServer(DeleteManagementServerRequest request)

Deletes a single ManagementServer.

Parameter
Name Description
request DeleteManagementServerRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

fetchBackupPlanAssociationsForResourceType(FetchBackupPlanAssociationsForResourceTypeRequest request)

public FetchBackupPlanAssociationsForResourceTypeResponse fetchBackupPlanAssociationsForResourceType(FetchBackupPlanAssociationsForResourceTypeRequest request)

List BackupPlanAssociations for a given resource type.

Parameter
Name Description
request FetchBackupPlanAssociationsForResourceTypeRequest
Returns
Type Description
FetchBackupPlanAssociationsForResourceTypeResponse
Exceptions
Type Description
io.grpc.StatusException

fetchBackupsForResourceType(FetchBackupsForResourceTypeRequest request)

public FetchBackupsForResourceTypeResponse fetchBackupsForResourceType(FetchBackupsForResourceTypeRequest request)

Fetch Backups for a given resource type.

Parameter
Name Description
request FetchBackupsForResourceTypeRequest
Returns
Type Description
FetchBackupsForResourceTypeResponse
Exceptions
Type Description
io.grpc.StatusException

fetchDataSourceReferencesForResourceType(FetchDataSourceReferencesForResourceTypeRequest request)

public FetchDataSourceReferencesForResourceTypeResponse fetchDataSourceReferencesForResourceType(FetchDataSourceReferencesForResourceTypeRequest request)

Fetch DataSourceReferences for a given project, location and resource type.

Parameter
Name Description
request FetchDataSourceReferencesForResourceTypeRequest
Returns
Type Description
FetchDataSourceReferencesForResourceTypeResponse
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

getBackup(GetBackupRequest request)

public Backup getBackup(GetBackupRequest request)

Gets details of a Backup.

Parameter
Name Description
request GetBackupRequest
Returns
Type Description
Backup
Exceptions
Type Description
io.grpc.StatusException

getBackupPlan(GetBackupPlanRequest request)

public BackupPlan getBackupPlan(GetBackupPlanRequest request)

Gets details of a single BackupPlan.

Parameter
Name Description
request GetBackupPlanRequest
Returns
Type Description
BackupPlan
Exceptions
Type Description
io.grpc.StatusException

getBackupPlanAssociation(GetBackupPlanAssociationRequest request)

public BackupPlanAssociation getBackupPlanAssociation(GetBackupPlanAssociationRequest request)

Gets details of a single BackupPlanAssociation.

Parameter
Name Description
request GetBackupPlanAssociationRequest
Returns
Type Description
BackupPlanAssociation
Exceptions
Type Description
io.grpc.StatusException

getBackupPlanRevision(GetBackupPlanRevisionRequest request)

public BackupPlanRevision getBackupPlanRevision(GetBackupPlanRevisionRequest request)

Gets details of a single BackupPlanRevision.

Parameter
Name Description
request GetBackupPlanRevisionRequest
Returns
Type Description
BackupPlanRevision
Exceptions
Type Description
io.grpc.StatusException

getBackupVault(GetBackupVaultRequest request)

public BackupVault getBackupVault(GetBackupVaultRequest request)

Gets details of a BackupVault.

Parameter
Name Description
request GetBackupVaultRequest
Returns
Type Description
BackupVault
Exceptions
Type Description
io.grpc.StatusException

getDataSource(GetDataSourceRequest request)

public DataSource getDataSource(GetDataSourceRequest request)

Gets details of a DataSource.

Parameter
Name Description
request GetDataSourceRequest
Returns
Type Description
DataSource
Exceptions
Type Description
io.grpc.StatusException

getDataSourceReference(GetDataSourceReferenceRequest request)

public DataSourceReference getDataSourceReference(GetDataSourceReferenceRequest request)

Gets details of a single DataSourceReference.

Parameter
Name Description
request GetDataSourceReferenceRequest
Returns
Type Description
DataSourceReference
Exceptions
Type Description
io.grpc.StatusException

getManagementServer(GetManagementServerRequest request)

public ManagementServer getManagementServer(GetManagementServerRequest request)

Gets details of a single ManagementServer.

Parameter
Name Description
request GetManagementServerRequest
Returns
Type Description
ManagementServer
Exceptions
Type Description
io.grpc.StatusException

initializeService(InitializeServiceRequest request)

public Operation initializeService(InitializeServiceRequest request)

Initializes the service related config for a project.

Parameter
Name Description
request InitializeServiceRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

listBackupPlanRevisions(ListBackupPlanRevisionsRequest request)

public ListBackupPlanRevisionsResponse listBackupPlanRevisions(ListBackupPlanRevisionsRequest request)

Lists BackupPlanRevisions in a given project and location.

Parameter
Name Description
request ListBackupPlanRevisionsRequest
Returns
Type Description
ListBackupPlanRevisionsResponse
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

listDataSourceReferences(ListDataSourceReferencesRequest request)

public ListDataSourceReferencesResponse listDataSourceReferences(ListDataSourceReferencesRequest request)

Lists DataSourceReferences for a given project and location.

Parameter
Name Description
request ListDataSourceReferencesRequest
Returns
Type Description
ListDataSourceReferencesResponse
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException

restoreBackup(RestoreBackupRequest request)

public Operation restoreBackup(RestoreBackupRequest request)

Restore from a Backup

Parameter
Name Description
request RestoreBackupRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

triggerBackup(TriggerBackupRequest request)

public Operation triggerBackup(TriggerBackupRequest request)

Triggers a new Backup.

Parameter
Name Description
request TriggerBackupRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

updateBackup(UpdateBackupRequest request)

public Operation updateBackup(UpdateBackupRequest request)

Updates the settings of a Backup.

Parameter
Name Description
request UpdateBackupRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

updateBackupPlan(UpdateBackupPlanRequest request)

public Operation updateBackupPlan(UpdateBackupPlanRequest request)

Update a BackupPlan.

Parameter
Name Description
request UpdateBackupPlanRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

updateBackupPlanAssociation(UpdateBackupPlanAssociationRequest request)

public Operation updateBackupPlanAssociation(UpdateBackupPlanAssociationRequest request)

Update a BackupPlanAssociation.

Parameter
Name Description
request UpdateBackupPlanAssociationRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

updateBackupVault(UpdateBackupVaultRequest request)

public Operation updateBackupVault(UpdateBackupVaultRequest request)

Updates the settings of a BackupVault.

Parameter
Name Description
request UpdateBackupVaultRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException

updateDataSource(UpdateDataSourceRequest request)

public Operation updateDataSource(UpdateDataSourceRequest request)

Updates the settings of a DataSource.

Parameter
Name Description
request UpdateDataSourceRequest
Returns
Type Description
Operation
Exceptions
Type Description
io.grpc.StatusException