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.
2186 2187 2188 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2186 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
2169 2170 2171 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2169 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
2174 2175 2176 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2174 def db_backup_config @db_backup_config end |
#db_version ⇒ String
Required. The Oracle Database version.
Corresponds to the JSON property dbVersion
2179 2180 2181 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2179 def db_version @db_version end |
#state ⇒ String
Output only. State of the Database.
Corresponds to the JSON property state
2184 2185 2186 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2184 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2191 2192 2193 2194 2195 2196 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2191 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 |