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.



2851
2852
2853
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2851

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)


2844
2845
2846
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2844

def software_family
  @software_family
end

#software_nameString

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

Returns:

  • (String)


2849
2850
2851
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2849

def software_name
  @software_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2856
2857
2858
2859
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2856

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