Class: Google::Apis::WorkloadmanagerV1::DatabaseProperties
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::DatabaseProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
Database Properties.
Instance Attribute Summary collapse
-
#backup_properties ⇒ Google::Apis::WorkloadmanagerV1::BackupProperties
Backup properties.
-
#database_type ⇒ 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.
942 943 944 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 942 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_properties ⇒ Google::Apis::WorkloadmanagerV1::BackupProperties
Backup properties.
Corresponds to the JSON property backupProperties
935 936 937 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 935 def backup_properties @backup_properties end |
#database_type ⇒ String
Output only. Type of the database. HANA, DB2, etc.
Corresponds to the JSON property databaseType
940 941 942 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 940 def database_type @database_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
947 948 949 950 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 947 def update!(**args) @backup_properties = args[:backup_properties] if args.key?(:backup_properties) @database_type = args[:database_type] if args.key?(:database_type) end |