Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties
- 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
A set of properties describing an SAP Database layer.
Instance Attribute Summary collapse
-
#database_type ⇒ String
Required.
-
#database_version ⇒ String
Optional.
-
#primary_instance_uri ⇒ String
Required.
-
#shared_nfs_uri ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryComponentDatabaseProperties
constructor
A new instance of SapDiscoveryComponentDatabaseProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscoveryComponentDatabaseProperties
Returns a new instance of SapDiscoveryComponentDatabaseProperties.
1054 1055 1056 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1054 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_type ⇒ String
Required. Type of the database. HANA, DB2, etc.
Corresponds to the JSON property databaseType
1036 1037 1038 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1036 def database_type @database_type end |
#database_version ⇒ String
Optional. The version of the database software running in the system.
Corresponds to the JSON property databaseVersion
1041 1042 1043 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1041 def database_version @database_version end |
#primary_instance_uri ⇒ String
Required. URI of the recognized primary instance of the database.
Corresponds to the JSON property primaryInstanceUri
1046 1047 1048 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1046 def primary_instance_uri @primary_instance_uri end |
#shared_nfs_uri ⇒ String
Optional. URI of the recognized shared NFS of the database. May be empty if
the database has only a single node.
Corresponds to the JSON property sharedNfsUri
1052 1053 1054 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1052 def shared_nfs_uri @shared_nfs_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1059 1060 1061 1062 1063 1064 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1059 def update!(**args) @database_type = args[:database_type] if args.key?(:database_type) @database_version = args[:database_version] if args.key?(:database_version) @primary_instance_uri = args[:primary_instance_uri] if args.key?(:primary_instance_uri) @shared_nfs_uri = args[:shared_nfs_uri] if args.key?(:shared_nfs_uri) end |