Documentation ¶
Overview ¶
Package database aliases all exported identifiers in package "cloud.google.com/go/spanner/admin/database/apiv1/databasepb".
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.
Index ¶
- Constants
- Variables
- func RegisterDatabaseAdminServer(s *grpc.Server, srv DatabaseAdminServer)deprecated
- type Backupdeprecated
- type BackupInfodeprecated
- type Backup_Statedeprecated
- type CopyBackupEncryptionConfigdeprecated
- type CopyBackupEncryptionConfig_EncryptionTypedeprecated
- type CopyBackupMetadatadeprecated
- type CopyBackupRequestdeprecated
- type CreateBackupEncryptionConfigdeprecated
- type CreateBackupEncryptionConfig_EncryptionTypedeprecated
- type CreateBackupMetadatadeprecated
- type CreateBackupRequestdeprecated
- type CreateDatabaseMetadatadeprecated
- type CreateDatabaseRequestdeprecated
- type Databasedeprecated
- type DatabaseAdminClientdeprecated
- type DatabaseAdminServerdeprecated
- type DatabaseDialectdeprecated
- type DatabaseRoledeprecated
- type Database_Statedeprecated
- type DeleteBackupRequestdeprecated
- type DropDatabaseRequestdeprecated
- type EncryptionConfigdeprecated
- type EncryptionInfodeprecated
- type EncryptionInfo_Typedeprecated
- type GetBackupRequestdeprecated
- type GetDatabaseDdlRequestdeprecated
- type GetDatabaseDdlResponsedeprecated
- type GetDatabaseRequestdeprecated
- type ListBackupOperationsRequestdeprecated
- type ListBackupOperationsResponsedeprecated
- type ListBackupsRequestdeprecated
- type ListBackupsResponsedeprecated
- type ListDatabaseOperationsRequestdeprecated
- type ListDatabaseOperationsResponsedeprecated
- type ListDatabaseRolesRequestdeprecated
- type ListDatabaseRolesResponsedeprecated
- type ListDatabasesRequestdeprecated
- type ListDatabasesResponsedeprecated
- type OperationProgressdeprecated
- type OptimizeRestoredDatabaseMetadatadeprecated
- type RestoreDatabaseEncryptionConfigdeprecated
- type RestoreDatabaseEncryptionConfig_EncryptionTypedeprecated
- type RestoreDatabaseMetadatadeprecated
- type RestoreDatabaseMetadata_BackupInfo
- type RestoreDatabaseRequestdeprecated
- type RestoreDatabaseRequest_Backup
- type RestoreInfodeprecated
- type RestoreInfo_BackupInfo
- type RestoreSourceTypedeprecated
- type UnimplementedDatabaseAdminServerdeprecated
- type UpdateBackupRequestdeprecated
- type UpdateDatabaseDdlMetadatadeprecated
- type UpdateDatabaseDdlRequestdeprecated
Constants ¶
const ( Backup_CREATING = src.Backup_CREATING Backup_READY = src.Backup_READY Backup_STATE_UNSPECIFIED = src.Backup_STATE_UNSPECIFIED CopyBackupEncryptionConfig_CUSTOMER_MANAGED_ENCRYPTION = src.CopyBackupEncryptionConfig_CUSTOMER_MANAGED_ENCRYPTION CopyBackupEncryptionConfig_ENCRYPTION_TYPE_UNSPECIFIED = src.CopyBackupEncryptionConfig_ENCRYPTION_TYPE_UNSPECIFIED CopyBackupEncryptionConfig_GOOGLE_DEFAULT_ENCRYPTION = src.CopyBackupEncryptionConfig_GOOGLE_DEFAULT_ENCRYPTION CopyBackupEncryptionConfig_USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = src.CopyBackupEncryptionConfig_USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION CreateBackupEncryptionConfig_CUSTOMER_MANAGED_ENCRYPTION = src.CreateBackupEncryptionConfig_CUSTOMER_MANAGED_ENCRYPTION CreateBackupEncryptionConfig_ENCRYPTION_TYPE_UNSPECIFIED = src.CreateBackupEncryptionConfig_ENCRYPTION_TYPE_UNSPECIFIED CreateBackupEncryptionConfig_GOOGLE_DEFAULT_ENCRYPTION = src.CreateBackupEncryptionConfig_GOOGLE_DEFAULT_ENCRYPTION CreateBackupEncryptionConfig_USE_DATABASE_ENCRYPTION = src.CreateBackupEncryptionConfig_USE_DATABASE_ENCRYPTION DatabaseDialect_DATABASE_DIALECT_UNSPECIFIED = src.DatabaseDialect_DATABASE_DIALECT_UNSPECIFIED DatabaseDialect_GOOGLE_STANDARD_SQL = src.DatabaseDialect_GOOGLE_STANDARD_SQL DatabaseDialect_POSTGRESQL = src.DatabaseDialect_POSTGRESQL Database_CREATING = src.Database_CREATING Database_READY = src.Database_READY Database_READY_OPTIMIZING = src.Database_READY_OPTIMIZING Database_STATE_UNSPECIFIED = src.Database_STATE_UNSPECIFIED EncryptionInfo_CUSTOMER_MANAGED_ENCRYPTION = src.EncryptionInfo_CUSTOMER_MANAGED_ENCRYPTION EncryptionInfo_GOOGLE_DEFAULT_ENCRYPTION = src.EncryptionInfo_GOOGLE_DEFAULT_ENCRYPTION EncryptionInfo_TYPE_UNSPECIFIED = src.EncryptionInfo_TYPE_UNSPECIFIED RestoreDatabaseEncryptionConfig_CUSTOMER_MANAGED_ENCRYPTION = src.RestoreDatabaseEncryptionConfig_CUSTOMER_MANAGED_ENCRYPTION RestoreDatabaseEncryptionConfig_ENCRYPTION_TYPE_UNSPECIFIED = src.RestoreDatabaseEncryptionConfig_ENCRYPTION_TYPE_UNSPECIFIED RestoreDatabaseEncryptionConfig_GOOGLE_DEFAULT_ENCRYPTION = src.RestoreDatabaseEncryptionConfig_GOOGLE_DEFAULT_ENCRYPTION RestoreDatabaseEncryptionConfig_USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION = src.RestoreDatabaseEncryptionConfig_USE_CONFIG_DEFAULT_OR_BACKUP_ENCRYPTION RestoreSourceType_BACKUP = src.RestoreSourceType_BACKUP RestoreSourceType_TYPE_UNSPECIFIED = src.RestoreSourceType_TYPE_UNSPECIFIED )
Deprecated: Please use consts in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
Variables ¶
var ( Backup_State_name = src.Backup_State_name Backup_State_value = src.Backup_State_value CopyBackupEncryptionConfig_EncryptionType_name = src.CopyBackupEncryptionConfig_EncryptionType_name CopyBackupEncryptionConfig_EncryptionType_value = src.CopyBackupEncryptionConfig_EncryptionType_value CreateBackupEncryptionConfig_EncryptionType_name = src.CreateBackupEncryptionConfig_EncryptionType_name CreateBackupEncryptionConfig_EncryptionType_value = src.CreateBackupEncryptionConfig_EncryptionType_value DatabaseDialect_name = src.DatabaseDialect_name DatabaseDialect_value = src.DatabaseDialect_value Database_State_name = src.Database_State_name Database_State_value = src.Database_State_value EncryptionInfo_Type_name = src.EncryptionInfo_Type_name EncryptionInfo_Type_value = src.EncryptionInfo_Type_value File_google_spanner_admin_database_v1_backup_proto = src.File_google_spanner_admin_database_v1_backup_proto File_google_spanner_admin_database_v1_common_proto = src.File_google_spanner_admin_database_v1_common_proto File_google_spanner_admin_database_v1_spanner_database_admin_proto = src.File_google_spanner_admin_database_v1_spanner_database_admin_proto RestoreDatabaseEncryptionConfig_EncryptionType_name = src.RestoreDatabaseEncryptionConfig_EncryptionType_name RestoreDatabaseEncryptionConfig_EncryptionType_value = src.RestoreDatabaseEncryptionConfig_EncryptionType_value RestoreSourceType_name = src.RestoreSourceType_name RestoreSourceType_value = src.RestoreSourceType_value )
Deprecated: Please use vars in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
Functions ¶
func RegisterDatabaseAdminServer
deprecated
func RegisterDatabaseAdminServer(s *grpc.Server, srv DatabaseAdminServer)
Deprecated: Please use funcs in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
Types ¶
type BackupInfo
deprecated
type BackupInfo = src.BackupInfo
Information about a backup.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type Backup_State
deprecated
type Backup_State = src.Backup_State
Indicates the current state of the backup.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CopyBackupEncryptionConfig
deprecated
type CopyBackupEncryptionConfig = src.CopyBackupEncryptionConfig
Encryption configuration for the copied backup.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CopyBackupEncryptionConfig_EncryptionType
deprecated
type CopyBackupEncryptionConfig_EncryptionType = src.CopyBackupEncryptionConfig_EncryptionType
Encryption types for the backup.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CopyBackupMetadata
deprecated
type CopyBackupMetadata = src.CopyBackupMetadata
Metadata type for the google.longrunning.Operation returned by [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CopyBackupRequest
deprecated
type CopyBackupRequest = src.CopyBackupRequest
The request for [CopyBackup][google.spanner.admin.database.v1.DatabaseAdmin.CopyBackup].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CreateBackupEncryptionConfig
deprecated
type CreateBackupEncryptionConfig = src.CreateBackupEncryptionConfig
Encryption configuration for the backup to create.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CreateBackupEncryptionConfig_EncryptionType
deprecated
type CreateBackupEncryptionConfig_EncryptionType = src.CreateBackupEncryptionConfig_EncryptionType
Encryption types for the backup.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CreateBackupMetadata
deprecated
type CreateBackupMetadata = src.CreateBackupMetadata
Metadata type for the operation returned by [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CreateBackupRequest
deprecated
type CreateBackupRequest = src.CreateBackupRequest
The request for [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CreateDatabaseMetadata
deprecated
type CreateDatabaseMetadata = src.CreateDatabaseMetadata
Metadata type for the operation returned by [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type CreateDatabaseRequest
deprecated
type CreateDatabaseRequest = src.CreateDatabaseRequest
The request for [CreateDatabase][google.spanner.admin.database.v1.DatabaseAdmin.CreateDatabase].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type DatabaseAdminClient
deprecated
type DatabaseAdminClient = src.DatabaseAdminClient
DatabaseAdminClient is the client API for DatabaseAdmin service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
func NewDatabaseAdminClient
deprecated
func NewDatabaseAdminClient(cc grpc.ClientConnInterface) DatabaseAdminClient
Deprecated: Please use funcs in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type DatabaseAdminServer
deprecated
type DatabaseAdminServer = src.DatabaseAdminServer
DatabaseAdminServer is the server API for DatabaseAdmin service.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type DatabaseDialect
deprecated
type DatabaseDialect = src.DatabaseDialect
Indicates the dialect type of a database.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type DatabaseRole
deprecated
type DatabaseRole = src.DatabaseRole
A Cloud Spanner database role.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type Database_State
deprecated
type Database_State = src.Database_State
Indicates the current state of the database.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type DeleteBackupRequest
deprecated
type DeleteBackupRequest = src.DeleteBackupRequest
The request for [DeleteBackup][google.spanner.admin.database.v1.DatabaseAdmin.DeleteBackup].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type DropDatabaseRequest
deprecated
type DropDatabaseRequest = src.DropDatabaseRequest
The request for [DropDatabase][google.spanner.admin.database.v1.DatabaseAdmin.DropDatabase].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type EncryptionConfig
deprecated
type EncryptionConfig = src.EncryptionConfig
Encryption configuration for a Cloud Spanner database.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type EncryptionInfo
deprecated
type EncryptionInfo = src.EncryptionInfo
Encryption information for a Cloud Spanner database or backup.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type EncryptionInfo_Type
deprecated
type EncryptionInfo_Type = src.EncryptionInfo_Type
Possible encryption types.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type GetBackupRequest
deprecated
type GetBackupRequest = src.GetBackupRequest
The request for [GetBackup][google.spanner.admin.database.v1.DatabaseAdmin.GetBackup].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type GetDatabaseDdlRequest
deprecated
type GetDatabaseDdlRequest = src.GetDatabaseDdlRequest
The request for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type GetDatabaseDdlResponse
deprecated
type GetDatabaseDdlResponse = src.GetDatabaseDdlResponse
The response for [GetDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabaseDdl].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type GetDatabaseRequest
deprecated
type GetDatabaseRequest = src.GetDatabaseRequest
The request for [GetDatabase][google.spanner.admin.database.v1.DatabaseAdmin.GetDatabase].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListBackupOperationsRequest
deprecated
type ListBackupOperationsRequest = src.ListBackupOperationsRequest
The request for [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListBackupOperationsResponse
deprecated
type ListBackupOperationsResponse = src.ListBackupOperationsResponse
The response for [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListBackupsRequest
deprecated
type ListBackupsRequest = src.ListBackupsRequest
The request for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListBackupsResponse
deprecated
type ListBackupsResponse = src.ListBackupsResponse
The response for [ListBackups][google.spanner.admin.database.v1.DatabaseAdmin.ListBackups].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListDatabaseOperationsRequest
deprecated
type ListDatabaseOperationsRequest = src.ListDatabaseOperationsRequest
The request for [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListDatabaseOperationsResponse
deprecated
type ListDatabaseOperationsResponse = src.ListDatabaseOperationsResponse
The response for [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListDatabaseRolesRequest
deprecated
type ListDatabaseRolesRequest = src.ListDatabaseRolesRequest
The request for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListDatabaseRolesResponse
deprecated
type ListDatabaseRolesResponse = src.ListDatabaseRolesResponse
The response for [ListDatabaseRoles][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseRoles].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListDatabasesRequest
deprecated
type ListDatabasesRequest = src.ListDatabasesRequest
The request for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type ListDatabasesResponse
deprecated
type ListDatabasesResponse = src.ListDatabasesResponse
The response for [ListDatabases][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabases].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type OperationProgress
deprecated
type OperationProgress = src.OperationProgress
Encapsulates progress related information for a Cloud Spanner long running operation.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type OptimizeRestoredDatabaseMetadata
deprecated
type OptimizeRestoredDatabaseMetadata = src.OptimizeRestoredDatabaseMetadata
Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored database. This long-running operation is automatically created by the system after the successful completion of a database restore, and cannot be cancelled.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type RestoreDatabaseEncryptionConfig
deprecated
type RestoreDatabaseEncryptionConfig = src.RestoreDatabaseEncryptionConfig
Encryption configuration for the restored database.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type RestoreDatabaseEncryptionConfig_EncryptionType
deprecated
type RestoreDatabaseEncryptionConfig_EncryptionType = src.RestoreDatabaseEncryptionConfig_EncryptionType
Encryption types for the database to be restored.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type RestoreDatabaseMetadata
deprecated
type RestoreDatabaseMetadata = src.RestoreDatabaseMetadata
Metadata type for the long-running operation returned by [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type RestoreDatabaseMetadata_BackupInfo ¶
type RestoreDatabaseMetadata_BackupInfo = src.RestoreDatabaseMetadata_BackupInfo
type RestoreDatabaseRequest
deprecated
type RestoreDatabaseRequest = src.RestoreDatabaseRequest
The request for [RestoreDatabase][google.spanner.admin.database.v1.DatabaseAdmin.RestoreDatabase].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type RestoreDatabaseRequest_Backup ¶
type RestoreDatabaseRequest_Backup = src.RestoreDatabaseRequest_Backup
type RestoreInfo
deprecated
type RestoreInfo = src.RestoreInfo
Information about the database restore.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type RestoreInfo_BackupInfo ¶
type RestoreInfo_BackupInfo = src.RestoreInfo_BackupInfo
type RestoreSourceType
deprecated
type RestoreSourceType = src.RestoreSourceType
Indicates the type of the restore source.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type UnimplementedDatabaseAdminServer
deprecated
type UnimplementedDatabaseAdminServer = src.UnimplementedDatabaseAdminServer
UnimplementedDatabaseAdminServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type UpdateBackupRequest
deprecated
type UpdateBackupRequest = src.UpdateBackupRequest
The request for [UpdateBackup][google.spanner.admin.database.v1.DatabaseAdmin.UpdateBackup].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type UpdateDatabaseDdlMetadata
deprecated
type UpdateDatabaseDdlMetadata = src.UpdateDatabaseDdlMetadata
Metadata type for the operation returned by [UpdateDatabaseDdl][google.spanner.admin.database.v1.DatabaseAdmin.UpdateDatabaseDdl].
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb
type UpdateDatabaseDdlRequest
deprecated
type UpdateDatabaseDdlRequest = src.UpdateDatabaseDdlRequest
Enqueues the given DDL statements to be applied, in order but not necessarily all at once, to the database schema at some point (or points) in the future. The server checks that the statements are executable (syntactically valid, name tables that exist, etc.) before enqueueing them, but they may still fail upon later execution (e.g., if a statement from another batch of statements is applied first and it conflicts in some way, or if there is some data-related problem like a `NULL` value in a column to which `NOT NULL` would be added). If a statement fails, all subsequent statements in the batch are automatically cancelled. Each batch of statements is assigned a name which can be used with the [Operations][google.longrunning.Operations] API to monitor progress. See the [operation_id][google.spanner.admin.database.v1.UpdateDatabaseDdlRequest.operation_id] field for more details.
Deprecated: Please use types in: cloud.google.com/go/spanner/admin/database/apiv1/databasepb