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.
943 944 945 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 943 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_properties ⇒ Google::Apis::WorkloadmanagerV1::BackupProperties
Backup properties.
Corresponds to the JSON property backupProperties
936 937 938 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 936 def backup_properties @backup_properties end |
#database_type ⇒ String
Output only. Type of the database. HANA, DB2, etc.
Corresponds to the JSON property databaseType
941 942 943 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 941 def database_type @database_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
948 949 950 951 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 948 def update!(**args) @backup_properties = args[:backup_properties] if args.key?(:backup_properties) @database_type = args[:database_type] if args.key?(:database_type) end |