# Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::SwitchoverAutonomousDatabaseRequest (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::SwitchoverAutonomousDatabaseRequest.

The request for `OracleDatabase.SwitchoverAutonomousDatabase`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

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

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

### #peer_autonomous_database

    def peer_autonomous_database() -> ::String

**Returns**

- (::String) --- Optional. The peer database name to switch over to. Required for cross-region standby, and must be omitted for in-region Data Guard.

### #peer_autonomous_database=

    def peer_autonomous_database=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The peer database name to switch over to. Required for cross-region standby, and must be omitted for in-region Data Guard.
**Returns**

- (::String) --- Optional. The peer database name to switch over to. Required for cross-region standby, and must be omitted for in-region Data Guard.