Class: Google::Apis::MigrationcenterV1alpha1::DetectedSoftware

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

Information about software detected on an asset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DetectedSoftware

Returns a new instance of DetectedSoftware.



2180
2181
2182
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2180

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

Instance Attribute Details

#software_familyString

Output only. Software family of the detected software, e.g. Database, SAP family. Corresponds to the JSON property softwareFamily

Returns:

  • (String)


2173
2174
2175
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2173

def software_family
  @software_family
end

#software_nameString

Output only. Software's name. Corresponds to the JSON property softwareName

Returns:

  • (String)


2178
2179
2180
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2178

def software_name
  @software_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2185
2186
2187
2188
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2185

def update!(**args)
  @software_family = args[:software_family] if args.key?(:software_family)
  @software_name = args[:software_name] if args.key?(:software_name)
end