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
-
#database_properties ⇒ Google::Apis::WorkloadmanagerV1::DatabaseProperties
Database Properties.
-
#ha_hosts ⇒ Array<String>
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.
2569 2570 2571 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2569 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_properties ⇒ Google::Apis::WorkloadmanagerV1::DatabaseProperties
Database Properties.
Corresponds to the JSON property databaseProperties
2546 2547 2548 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2546 def database_properties @database_properties end |
#ha_hosts ⇒ Array<String>
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
2552 2553 2554 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2552 def ha_hosts @ha_hosts end |
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudResource>
Output only. resources in the component
Corresponds to the JSON property resources
2557 2558 2559 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2557 def resources @resources end |
#sid ⇒ String
Output only. sid is the sap component identificator
Corresponds to the JSON property sid
2562 2563 2564 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2562 def sid @sid end |
#topology_type ⇒ String
The detected topology of the component.
Corresponds to the JSON property topologyType
2567 2568 2569 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2567 def topology_type @topology_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2574 2575 2576 2577 2578 2579 2580 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 2574 def update!(**args) @database_properties = args[:database_properties] if args.key?(:database_properties) @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 |