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.



2379
2380
2381
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2379

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)


2372
2373
2374
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2372

def software_family
  @software_family
end

#software_nameString

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

Returns:

  • (String)


2377
2378
2379
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2377

def software_name
  @software_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2384
2385
2386
2387
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2384

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