Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties
- 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 SAP software component name, version, and type.
Instance Attribute Summary collapse
-
#ext_version ⇒ String
Optional.
-
#name ⇒ String
Optional.
-
#type ⇒ String
Optional.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryWorkloadPropertiesSoftwareComponentProperties
constructor
A new instance of SapDiscoveryWorkloadPropertiesSoftwareComponentProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscoveryWorkloadPropertiesSoftwareComponentProperties
Returns a new instance of SapDiscoveryWorkloadPropertiesSoftwareComponentProperties.
1707 1708 1709 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1707 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ext_version ⇒ String
Optional. The component's minor version.
Corresponds to the JSON property extVersion
1690 1691 1692 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1690 def ext_version @ext_version end |
#name ⇒ String
Optional. Name of the component.
Corresponds to the JSON property name
1695 1696 1697 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1695 def name @name end |
#type ⇒ String
Optional. The component's type.
Corresponds to the JSON property type
1700 1701 1702 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1700 def type @type end |
#version ⇒ String
Optional. The component's major version.
Corresponds to the JSON property version
1705 1706 1707 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1705 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1712 1713 1714 1715 1716 1717 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1712 def update!(**args) @ext_version = args[:ext_version] if args.key?(:ext_version) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |