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_type ⇒ String
The component is a SAP application.
-
#database_type ⇒ String
The component is a SAP database.
-
#host_project ⇒ String
Pantheon Project in which the resources reside.
-
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryResource>
The resources in a component.
-
#sid ⇒ String
The sap identifier, used by the SAP software and helps differentiate systems for customers.
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.
558 559 560 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 558 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_type ⇒ String
The component is a SAP application.
Corresponds to the JSON property applicationType
535 536 537 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 535 def application_type @application_type end |
#database_type ⇒ String
The component is a SAP database.
Corresponds to the JSON property databaseType
540 541 542 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 540 def database_type @database_type end |
#host_project ⇒ String
Pantheon Project in which the resources reside.
Corresponds to the JSON property hostProject
545 546 547 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 545 def host_project @host_project end |
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryResource>
The resources in a component.
Corresponds to the JSON property resources
550 551 552 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 550 def resources @resources end |
#sid ⇒ String
The sap identifier, used by the SAP software and helps differentiate systems
for customers.
Corresponds to the JSON property sid
556 557 558 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 556 def sid @sid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
563 564 565 566 567 568 569 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 563 def update!(**args) @application_type = args[:application_type] if args.key?(:application_type) @database_type = args[:database_type] if args.key?(:database_type) @host_project = args[:host_project] if args.key?(:host_project) @resources = args[:resources] if args.key?(:resources) @sid = args[:sid] if args.key?(:sid) end |