Class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent
- 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
Message describing the system component.
Instance Attribute Summary collapse
-
#application_properties ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties
A set of properties describing an SAP Application layer.
-
#database_properties ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties
A set of properties describing an SAP Database layer.
-
#ha_hosts ⇒ Array<String>
Optional.
-
#host_project ⇒ String
Required.
-
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryResource>
Optional.
-
#sid ⇒ String
Optional.
-
#topology_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscoveryComponent
constructor
A new instance of SapDiscoveryComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscoveryComponent
Returns a new instance of SapDiscoveryComponent.
1346 1347 1348 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1346 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_properties ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties
A set of properties describing an SAP Application layer.
Corresponds to the JSON property applicationProperties
1312 1313 1314 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1312 def application_properties @application_properties end |
#database_properties ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties
A set of properties describing an SAP Database layer.
Corresponds to the JSON property databaseProperties
1317 1318 1319 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1317 def database_properties @database_properties end |
#ha_hosts ⇒ Array<String>
Optional. 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
1323 1324 1325 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1323 def ha_hosts @ha_hosts end |
#host_project ⇒ String
Required. Pantheon Project in which the resources reside.
Corresponds to the JSON property hostProject
1328 1329 1330 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1328 def host_project @host_project end |
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryResource>
Optional. The resources in a component.
Corresponds to the JSON property resources
1333 1334 1335 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1333 def resources @resources end |
#sid ⇒ String
Optional. The SAP identifier, used by the SAP software and helps differentiate
systems for customers.
Corresponds to the JSON property sid
1339 1340 1341 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1339 def sid @sid end |
#topology_type ⇒ String
Optional. The detected topology of the component.
Corresponds to the JSON property topologyType
1344 1345 1346 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1344 def topology_type @topology_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1351 1352 1353 1354 1355 1356 1357 1358 1359 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1351 def update!(**args) @application_properties = args[:application_properties] if args.key?(:application_properties) @database_properties = args[:database_properties] if args.key?(:database_properties) @ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts) @host_project = args[:host_project] if args.key?(:host_project) @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 |