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.



1559
1560
1561
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1559

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



1551
1552
1553
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1551

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



1557
1558
1559
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1557

def software_component_versions
  @software_component_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1564
1565
1566
1567
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1564

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