# Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::AutonomousDatabase (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::AutonomousDatabase.

Details of the Autonomous Database resource.
<https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/>

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #admin_password

    def admin_password() -> ::String

**Returns**

- (::String) --- Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

### #admin_password=

    def admin_password=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
**Returns**

- (::String) --- Optional. Immutable. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

### #admin_password_secret_version

    def admin_password_secret_version() -> ::String

**Returns**

- (::String) --- Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

### #admin_password_secret_version=

    def admin_password_secret_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
**Returns**

- (::String) --- Optional. Immutable. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

### #cidr

    def cidr() -> ::String

**Returns**

- (::String) --- Optional. Immutable. The subnet CIDR range for the Autonomous Database.

### #cidr=

    def cidr=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. The subnet CIDR range for the Autonomous Database.
**Returns**

- (::String) --- Optional. Immutable. The subnet CIDR range for the Autonomous Database.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The date and time that the Autonomous Database was created.

### #database

    def database() -> ::String

**Returns**

- (::String) --- Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.

### #database=

    def database=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.
**Returns**

- (::String) --- Optional. Immutable. The name of the Autonomous Database. The database name must be unique in the project. The name must begin with a letter and can contain a maximum of 30 alphanumeric characters.

### #disaster_recovery_supported_locations

    def disaster_recovery_supported_locations() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. List of supported GCP region to clone the Autonomous Database for disaster recovery. Format: `project/{project}/locations/{location}`.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Optional. Immutable. The display name for the Autonomous Database. The name does not have to be unique within your project.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. The display name for the Autonomous Database. The name does not have to be unique within your project.
**Returns**

- (::String) --- Optional. Immutable. The display name for the Autonomous Database. The name does not have to be unique within your project.

### #entitlement_id

    def entitlement_id() -> ::String

**Returns**

- (::String) --- Output only. The ID of the subscription entitlement associated with the Autonomous Database.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. The labels or tags associated with the Autonomous Database.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. The labels or tags associated with the Autonomous Database.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. The labels or tags associated with the Autonomous Database.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The name of the Autonomous Database resource in the following format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The name of the Autonomous Database resource in the following format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
**Returns**

- (::String) --- Identifier. The name of the Autonomous Database resource in the following format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}

### #network

    def network() -> ::String

**Returns**

- (::String) --- Optional. Immutable. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}

### #network=

    def network=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}
**Returns**

- (::String) --- Optional. Immutable. The name of the VPC network used by the Autonomous Database in the following format: projects/{project}/global/networks/{network}

### #odb_network

    def odb_network() -> ::String

**Returns**

- (::String) --- Optional. Immutable. The name of the OdbNetwork associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

### #odb_network=

    def odb_network=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. The name of the OdbNetwork associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.
**Returns**

- (::String) --- Optional. Immutable. The name of the OdbNetwork associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network} It is optional but if specified, this should match the parent ODBNetwork of the OdbSubnet.

### #odb_subnet

    def odb_subnet() -> ::String

**Returns**

- (::String) --- Optional. Immutable. The name of the OdbSubnet associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

### #odb_subnet=

    def odb_subnet=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Immutable. The name of the OdbSubnet associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
**Returns**

- (::String) --- Optional. Immutable. The name of the OdbSubnet associated with the Autonomous Database. Format: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}

### #peer_autonomous_databases

    def peer_autonomous_databases() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. The peer Autonomous Database names of the given Autonomous Database.

### #properties

    def properties() -> ::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-AutonomousDatabaseProperties)) --- Optional. The properties of the Autonomous Database.

### #properties=

    def properties=(value) -> ::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-AutonomousDatabaseProperties)) --- Optional. The properties of the Autonomous Database.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseProperties](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-AutonomousDatabaseProperties)) --- Optional. The properties of the Autonomous Database.

### #source_config

    def source_config() -> ::Google::Cloud::OracleDatabase::V1::SourceConfig

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::SourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-SourceConfig)) --- Optional. Immutable. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation.

### #source_config=

    def source_config=(value) -> ::Google::Cloud::OracleDatabase::V1::SourceConfig

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::SourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-SourceConfig)) --- Optional. Immutable. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::SourceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-SourceConfig)) --- Optional. Immutable. The source Autonomous Database configuration for the standby Autonomous Database. The source Autonomous Database is configured while creating the Peer Autonomous Database and can't be updated after creation.