Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties

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

A set of properties describing an SAP Database layer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryComponentDatabaseProperties

Returns a new instance of SapDiscoveryComponentDatabaseProperties.



1016
1017
1018
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1016

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#database_typeString

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

Returns:

  • (String)


1003
1004
1005
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1003

def database_type
  @database_type
end

#primary_instance_uriString

Required. URI of the recognized primary instance of the database. Corresponds to the JSON property primaryInstanceUri

Returns:

  • (String)


1008
1009
1010
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1008

def primary_instance_uri
  @primary_instance_uri
end

#shared_nfs_uriString

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

Returns:

  • (String)


1014
1015
1016
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1014

def shared_nfs_uri
  @shared_nfs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1021
1022
1023
1024
1025
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1021

def update!(**args)
  @database_type = args[:database_type] if args.key?(:database_type)
  @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