Class: Google::Apis::MigrationcenterV1alpha1::DetectedSoftware
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::DetectedSoftware
- 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
-
#software_family ⇒ String
Output only.
-
#software_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DetectedSoftware
constructor
A new instance of DetectedSoftware.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_family ⇒ String
Output only. Software family of the detected software, e.g. Database, SAP
family.
Corresponds to the JSON property softwareFamily
2844 2845 2846 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2844 def software_family @software_family end |
#software_name ⇒ String
Output only. Software's name.
Corresponds to the JSON property softwareName
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 |