0.14.0 (latest) 0.13.0 0.12.3 0.9.0 0.8.2 0.7.1 0.6.1 0.4.1 0.3.0 0.2.1 0.1.2 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 \\ SourceConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### SOURCE_TYPE_UNSPECIFIED

    Value: 0

Default unspecified value.

Generated from protobuf enum `SOURCE_TYPE_UNSPECIFIED = 0;`

### CLONE_DATABASE

    Value: 1

Clone database from an existing database specified in
autonomous_database field.

Generated from protobuf enum `CLONE_DATABASE = 1;`

### CROSS_REGION_DISASTER_RECOVERY

    Value: 2

Create a cross-region disaster recovery peer adb from an existing adb.

Generated from protobuf enum `CROSS_REGION_DISASTER_RECOVERY = 2;`

### CLONE_TO_REFRESHABLE

    Value: 3

Create a refreshable clone from an existing database specified in
autonomous_database field.

Generated from protobuf enum `CLONE_TO_REFRESHABLE = 3;`

### BACKUP_FROM_ID

    Value: 4

Create clone from the backup resource.

Generated from protobuf enum `BACKUP_FROM_ID = 4;`

### BACKUP_FROM_TIMESTAMP

    Value: 5

Create 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;`