Class: Google::Apis::WorkloadmanagerV1::DatabaseProperties

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_propertiesGoogle::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_typeString

Output only. Type of the database. HANA, DB2, etc. Corresponds to the JSON property databaseType

Returns:

  • (String)


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