Class: Google::Apis::OracledatabaseV1::SwitchoverAutonomousDatabaseRequest
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::SwitchoverAutonomousDatabaseRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb
Overview
The request for OracleDatabase.SwitchoverAutonomousDatabase.
Instance Attribute Summary collapse
-
#peer_autonomous_database ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SwitchoverAutonomousDatabaseRequest
constructor
A new instance of SwitchoverAutonomousDatabaseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SwitchoverAutonomousDatabaseRequest
Returns a new instance of SwitchoverAutonomousDatabaseRequest.
5131 5132 5133 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#peer_autonomous_database ⇒ String
Optional. The peer database name to switch over to. Required for cross-region
standby, and must be omitted for in-region Data Guard.
Corresponds to the JSON property peerAutonomousDatabase
5129 5130 5131 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5129 def peer_autonomous_database @peer_autonomous_database end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5136 5137 5138 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 5136 def update!(**args) @peer_autonomous_database = args[:peer_autonomous_database] if args.key?(:peer_autonomous_database) end |