Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class SourceType.
Specifies the source of the database. For example, a clone or peer from an existing database.
This enum may be expanded to include other source types in the future.
Protobuf type google.cloud.oracledatabase.v1.SourceConfig.SourceType
Namespace
Google \ Cloud \ OracleDatabase \ V1 \ SourceConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SOURCE_TYPE_UNSPECIFIED
Value: 0Default unspecified value.
Generated from protobuf enum SOURCE_TYPE_UNSPECIFIED = 0;
CLONE_DATABASE
Value: 1Clone database from an existing database specified in autonomous_database field.
Generated from protobuf enum CLONE_DATABASE = 1;
CROSS_REGION_DISASTER_RECOVERY
Value: 2Create a cross-region disaster recovery peer adb from an existing adb.
Generated from protobuf enum CROSS_REGION_DISASTER_RECOVERY = 2;
CLONE_TO_REFRESHABLE
Value: 3Create a refreshable clone from an existing database specified in autonomous_database field.
Generated from protobuf enum CLONE_TO_REFRESHABLE = 3;
BACKUP_FROM_ID
Value: 4Create clone from the backup resource.
Generated from protobuf enum BACKUP_FROM_ID = 4;
BACKUP_FROM_TIMESTAMP
Value: 5Create clone from backup specified by backup_time field, or use latest available backup if use_latest_available_backup is true. The autonomous_database field must specify the source database to clone from.
Generated from protobuf enum BACKUP_FROM_TIMESTAMP = 5;