Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.spi.v1 |
Modifier and Type | Method and Description |
---|---|
Backup |
Backup.Builder.build() |
abstract Backup |
BackupInfo.Builder.build()
Builds the backup from this builder.
|
Backup |
Instance.getBackup(String backupId)
Returns the backup with the given id on this instance.
|
Backup |
DatabaseAdminClient.getBackup(String instanceId,
String backupId)
Gets the current state of a Cloud Spanner database backup.
|
Backup |
Backup.reload()
Fetches the backup's current information and returns a new
Backup instance. |
Backup |
DatabaseAdminClient.updateBackup(String instanceId,
String backupId,
com.google.cloud.Timestamp expireTime)
Updates the expire time of a backup.
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<Backup,CreateBackupMetadata> |
Database.backup(Backup backup)
Backs up this database to the location specified by the
Backup . |
default OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackup(BackupId sourceBackupId,
Backup destinationBackup)
Creates a copy of backup from an existing backup in Cloud Spanner in the same instance.
|
default OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackup(String instanceId,
String sourceBackupId,
String destinationBackupId,
com.google.cloud.Timestamp expireTime)
Creates a copy of backup from an existing backup in a Cloud Spanner instance.
|
OperationFuture<Backup,CreateBackupMetadata> |
Backup.create()
Creates a backup on the server based on the source of this
Backup instance. |
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackup(Backup backup)
Creates a new backup from a database in a Cloud Spanner.
|
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackup(String sourceInstanceId,
String backupId,
String databaseId,
com.google.cloud.Timestamp expireTime)
Creates a new backup from a database in a Cloud Spanner instance.
|
Page<Backup> |
Instance.listBackups(Options.ListOption... options)
Returns the backups belonging to this instance.
|
Page<Backup> |
DatabaseAdminClient.listBackups(String instanceId,
Options.ListOption... options)
Returns the list of Cloud Spanner backups in the given instance.
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<Backup,CreateBackupMetadata> |
Database.backup(Backup backup)
Backs up this database to the location specified by the
Backup . |
default OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackup(BackupId sourceBackupId,
Backup destinationBackup)
Creates a copy of backup from an existing backup in Cloud Spanner in the same instance.
|
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackup(Backup backup)
Creates a new backup from a database in a Cloud Spanner.
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<Backup,CopyBackupMetadata> |
GapicSpannerRpc.copyBackup(BackupId sourceBackupId,
Backup destinationBackup) |
default OperationFuture<Backup,CopyBackupMetadata> |
SpannerRpc.copyBackup(BackupId sourceBackupId,
Backup destinationBackup)
Creates a copy backup from the source backup specified.
|
OperationFuture<Backup,CreateBackupMetadata> |
GapicSpannerRpc.createBackup(Backup backupInfo) |
OperationFuture<Backup,CreateBackupMetadata> |
SpannerRpc.createBackup(Backup backupInfo)
Creates a new backup from the source database specified in the
Backup instance. |
Copyright © 2022 Google LLC. All rights reserved.