Class: Google::Apis::WorkloadmanagerV1::SapComponent
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapComponent
- 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
The component of sap workload
Instance Attribute Summary collapse
-
#ha_hosts ⇒ Array<String>
A list of host URIs that are part of the HA configuration if present.
-
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudResource>
Output only.
-
#sid ⇒ String
Output only.
-
#topology_type ⇒ String
The detected topology of the component.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapComponent
constructor
A new instance of SapComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapComponent
Returns a new instance of SapComponent.
1292 1293 1294 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1292 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ha_hosts ⇒ Array<String>
A list of host URIs that are part of the HA configuration if present. An empty
list indicates the component is not configured for HA.
Corresponds to the JSON property haHosts
1275 1276 1277 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1275 def ha_hosts @ha_hosts end |
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudResource>
Output only. resources in the component
Corresponds to the JSON property resources
1280 1281 1282 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1280 def resources @resources end |
#sid ⇒ String
Output only. sid is the sap component identificator
Corresponds to the JSON property sid
1285 1286 1287 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1285 def sid @sid end |
#topology_type ⇒ String
The detected topology of the component.
Corresponds to the JSON property topologyType
1290 1291 1292 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1290 def topology_type @topology_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1297 1298 1299 1300 1301 1302 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1297 def update!(**args) @ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts) @resources = args[:resources] if args.key?(:resources) @sid = args[:sid] if args.key?(:sid) @topology_type = args[:topology_type] if args.key?(:topology_type) end |