Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadPropertiesSoftwareComponentProperties

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 SAP software component name, version, and type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SapDiscoveryWorkloadPropertiesSoftwareComponentProperties

Returns a new instance of SapDiscoveryWorkloadPropertiesSoftwareComponentProperties.



1311
1312
1313
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1311

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

Instance Attribute Details

#ext_versionString

Optional. The component's minor version. Corresponds to the JSON property extVersion

Returns:

  • (String)


1294
1295
1296
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1294

def ext_version
  @ext_version
end

#nameString

Optional. Name of the component. Corresponds to the JSON property name

Returns:

  • (String)


1299
1300
1301
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1299

def name
  @name
end

#typeString

Optional. The component's type. Corresponds to the JSON property type

Returns:

  • (String)


1304
1305
1306
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1304

def type
  @type
end

#versionString

Optional. The component's major version. Corresponds to the JSON property version

Returns:

  • (String)


1309
1310
1311
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1309

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1316
1317
1318
1319
1320
1321
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1316

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