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.



1510
1511
1512
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1510

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



1502
1503
1504
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1502

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



1508
1509
1510
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1508

def software_component_versions
  @software_component_versions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1515
1516
1517
1518
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1515

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