Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties

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 workload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryWorkloadProperties

Returns a new instance of SapDiscoveryWorkloadProperties.



1746
1747
1748
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1746

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

Instance Attribute Details

#product_versionsArray<Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesProductVersion>

Optional. List of SAP Products and their versions running on the system. Corresponds to the JSON property productVersions



1738
1739
1740
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1738

def product_versions
  @product_versions
end

#software_component_versionsArray<Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties>

Optional. A list of SAP software components and their versions running on the system. Corresponds to the JSON property softwareComponentVersions



1744
1745
1746
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1744

def software_component_versions
  @software_component_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1751
1752
1753
1754
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1751

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