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
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
abandonBackup(AbandonBackupRequest request)
public Operation abandonBackup(AbandonBackupRequest request)
Internal only.
Abandons a backup.
build(Channel channel, CallOptions callOptions)
protected BackupDRGrpc.BackupDRBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createBackupPlan(CreateBackupPlanRequest request)
public Operation createBackupPlan(CreateBackupPlanRequest request)
createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)
public Operation createBackupPlanAssociation(CreateBackupPlanAssociationRequest request)
Create a BackupPlanAssociation
createBackupVault(CreateBackupVaultRequest request)
public Operation createBackupVault(CreateBackupVaultRequest request)
Creates a new BackupVault in a given project and location.
createManagementServer(CreateManagementServerRequest request)
public Operation createManagementServer(CreateManagementServerRequest request)
Creates a new ManagementServer in a given project and location.
deleteBackup(DeleteBackupRequest request)
public Operation deleteBackup(DeleteBackupRequest request)
deleteBackupPlan(DeleteBackupPlanRequest request)
public Operation deleteBackupPlan(DeleteBackupPlanRequest request)
Deletes a single BackupPlan.
deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)
public Operation deleteBackupPlanAssociation(DeleteBackupPlanAssociationRequest request)
Deletes a single BackupPlanAssociation.
deleteBackupVault(DeleteBackupVaultRequest request)
public Operation deleteBackupVault(DeleteBackupVaultRequest request)
deleteManagementServer(DeleteManagementServerRequest request)
public Operation deleteManagementServer(DeleteManagementServerRequest request)
Deletes a single ManagementServer.
fetchAccessToken(FetchAccessTokenRequest request)
public FetchAccessTokenResponse fetchAccessToken(FetchAccessTokenRequest request)
Internal only.
Fetch access token for a given data source.
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.
finalizeBackup(FinalizeBackupRequest request)
public Operation finalizeBackup(FinalizeBackupRequest request)
Internal only.
Finalize a backup that was started by a call to InitiateBackup.
getBackup(GetBackupRequest request)
public Backup getBackup(GetBackupRequest request)
Gets details of a Backup.
Returns |
Type |
Description |
Backup |
|
getBackupPlan(GetBackupPlanRequest request)
public BackupPlan getBackupPlan(GetBackupPlanRequest request)
Gets details of a single BackupPlan.
getBackupPlanAssociation(GetBackupPlanAssociationRequest request)
public BackupPlanAssociation getBackupPlanAssociation(GetBackupPlanAssociationRequest request)
Gets details of a single BackupPlanAssociation.
getBackupVault(GetBackupVaultRequest request)
public BackupVault getBackupVault(GetBackupVaultRequest request)
Gets details of a BackupVault.
getDataSource(GetDataSourceRequest request)
public DataSource getDataSource(GetDataSourceRequest request)
Gets details of a DataSource.
getManagementServer(GetManagementServerRequest request)
public ManagementServer getManagementServer(GetManagementServerRequest request)
Gets details of a single ManagementServer.
initiateBackup(InitiateBackupRequest request)
public InitiateBackupResponse initiateBackup(InitiateBackupRequest request)
Internal only.
Initiates a backup.
listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)
public ListBackupPlanAssociationsResponse listBackupPlanAssociations(ListBackupPlanAssociationsRequest request)
Lists BackupPlanAssociations in a given project and location.
listBackupPlans(ListBackupPlansRequest request)
public ListBackupPlansResponse listBackupPlans(ListBackupPlansRequest request)
Lists BackupPlans in a given project and location.
listBackupVaults(ListBackupVaultsRequest request)
public ListBackupVaultsResponse listBackupVaults(ListBackupVaultsRequest request)
Lists BackupVaults in a given project and location.
listBackups(ListBackupsRequest request)
public ListBackupsResponse listBackups(ListBackupsRequest request)
Lists Backups in a given project and location.
listDataSources(ListDataSourcesRequest request)
public ListDataSourcesResponse listDataSources(ListDataSourcesRequest request)
Lists DataSources in a given project and location.
listManagementServers(ListManagementServersRequest request)
public ListManagementServersResponse listManagementServers(ListManagementServersRequest request)
Lists ManagementServers in a given project and location.
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.
restoreBackup(RestoreBackupRequest request)
public Operation restoreBackup(RestoreBackupRequest request)
setInternalStatus(SetInternalStatusRequest request)
public Operation setInternalStatus(SetInternalStatusRequest request)
Sets the internal status of a DataSource.
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)
updateBackup(UpdateBackupRequest request)
public Operation updateBackup(UpdateBackupRequest request)
Updates the settings of a Backup.
updateBackupVault(UpdateBackupVaultRequest request)
public Operation updateBackupVault(UpdateBackupVaultRequest request)
Updates the settings of a BackupVault.
updateDataSource(UpdateDataSourceRequest request)
public Operation updateDataSource(UpdateDataSourceRequest request)
Updates the settings of a DataSource.