Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesAppInstance
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstancePropertiesAppInstance
- 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
Fields to describe an SAP application server instance.
Instance Attribute Summary collapse
-
#name ⇒ String
Optional.
-
#number ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryResourceInstancePropertiesAppInstance
constructor
A new instance of SapDiscoveryResourceInstancePropertiesAppInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscoveryResourceInstancePropertiesAppInstance
Returns a new instance of SapDiscoveryResourceInstancePropertiesAppInstance.
1533 1534 1535 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1533 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Optional. Instance name of the SAP application instance.
Corresponds to the JSON property name
1526 1527 1528 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1526 def name @name end |
#number ⇒ String
Optional. Instance number of the SAP application instance.
Corresponds to the JSON property number
1531 1532 1533 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1531 def number @number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1538 1539 1540 1541 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1538 def update!(**args) @name = args[:name] if args.key?(:name) @number = args[:number] if args.key?(:number) end |