Class: Google::Apis::WorkloadmanagerV1::SapDiscovery
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapDiscovery
- 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 schema of SAP system discovery data.
Instance Attribute Summary collapse
-
#application_layer ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent
Message describing the system component.
-
#database_layer ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent
Message describing the system component.
-
#metadata ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata
Message describing SAP discovery system metadata Corresponds to the JSON property
metadata
. -
#project_number ⇒ String
Optional.
-
#system_id ⇒ String
Output only.
-
#update_time ⇒ String
Required.
-
#workload_properties ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties
A set of properties describing an SAP workload.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapDiscovery
constructor
A new instance of SapDiscovery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapDiscovery
Returns a new instance of SapDiscovery.
1476 1477 1478 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1476 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_layer ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent
Message describing the system component.
Corresponds to the JSON property applicationLayer
1443 1444 1445 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1443 def application_layer @application_layer end |
#database_layer ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryComponent
Message describing the system component.
Corresponds to the JSON property databaseLayer
1448 1449 1450 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1448 def database_layer @database_layer end |
#metadata ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata
Message describing SAP discovery system metadata
Corresponds to the JSON property metadata
1453 1454 1455 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1453 def @metadata end |
#project_number ⇒ String
Optional. The GCP project number that this SapSystem belongs to.
Corresponds to the JSON property projectNumber
1458 1459 1460 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1458 def project_number @project_number end |
#system_id ⇒ String
Output only. A combination of database SID, database instance URI and tenant
DB name to make a unique identifier per-system.
Corresponds to the JSON property systemId
1464 1465 1466 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1464 def system_id @system_id end |
#update_time ⇒ String
Required. Unix timestamp this system has been updated last.
Corresponds to the JSON property updateTime
1469 1470 1471 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1469 def update_time @update_time end |
#workload_properties ⇒ Google::Apis::WorkloadmanagerV1::SapDiscoveryWorkloadProperties
A set of properties describing an SAP workload.
Corresponds to the JSON property workloadProperties
1474 1475 1476 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1474 def workload_properties @workload_properties end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1481 1482 1483 1484 1485 1486 1487 1488 1489 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1481 def update!(**args) @application_layer = args[:application_layer] if args.key?(:application_layer) @database_layer = args[:database_layer] if args.key?(:database_layer) @metadata = args[:metadata] if args.key?(:metadata) @project_number = args[:project_number] if args.key?(:project_number) @system_id = args[:system_id] if args.key?(:system_id) @update_time = args[:update_time] if args.key?(:update_time) @workload_properties = args[:workload_properties] if args.key?(:workload_properties) end |