Class: Google::Apis::OracledatabaseV1::DatabaseProperties
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DatabaseProperties
- 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 properties of a Database.
Instance Attribute Summary collapse
-
#database_management_config ⇒ Google::Apis::OracledatabaseV1::DatabaseManagementConfig
The configuration of the Database Management service.
-
#db_backup_config ⇒ Google::Apis::OracledatabaseV1::DbBackupConfig
Backup Options for the Database.
-
#db_version ⇒ String
Required.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseProperties
constructor
A new instance of DatabaseProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseProperties
Returns a new instance of DatabaseProperties.
2272 2273 2274 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_management_config ⇒ Google::Apis::OracledatabaseV1::DatabaseManagementConfig
The configuration of the Database Management service.
Corresponds to the JSON property databaseManagementConfig
2255 2256 2257 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2255 def database_management_config @database_management_config end |
#db_backup_config ⇒ Google::Apis::OracledatabaseV1::DbBackupConfig
Backup Options for the Database.
Corresponds to the JSON property dbBackupConfig
2260 2261 2262 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2260 def db_backup_config @db_backup_config end |
#db_version ⇒ String
Required. The Oracle Database version.
Corresponds to the JSON property dbVersion
2265 2266 2267 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2265 def db_version @db_version end |
#state ⇒ String
Output only. State of the Database.
Corresponds to the JSON property state
2270 2271 2272 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2270 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2277 2278 2279 2280 2281 2282 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2277 def update!(**args) @database_management_config = args[:database_management_config] if args.key?(:database_management_config) @db_backup_config = args[:db_backup_config] if args.key?(:db_backup_config) @db_version = args[:db_version] if args.key?(:db_version) @state = args[:state] if args.key?(:state) end |