Class: Google::Apis::WorkloadmanagerV1::SapWorkload
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapWorkload
- 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 body of sap workload
Instance Attribute Summary collapse
-
#application ⇒ Google::Apis::WorkloadmanagerV1::SapComponent
The component of sap workload Corresponds to the JSON property
application. -
#database ⇒ Google::Apis::WorkloadmanagerV1::SapComponent
The component of sap workload Corresponds to the JSON property
database. -
#metadata ⇒ Hash<String,String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapWorkload
constructor
A new instance of SapWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapWorkload
Returns a new instance of SapWorkload.
1786 1787 1788 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application ⇒ Google::Apis::WorkloadmanagerV1::SapComponent
The component of sap workload
Corresponds to the JSON property application
1774 1775 1776 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1774 def application @application end |
#database ⇒ Google::Apis::WorkloadmanagerV1::SapComponent
The component of sap workload
Corresponds to the JSON property database
1779 1780 1781 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1779 def database @database end |
#metadata ⇒ Hash<String,String>
Output only. The metadata for SAP workload.
Corresponds to the JSON property metadata
1784 1785 1786 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1784 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1791 1792 1793 1794 1795 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1791 def update!(**args) @application = args[:application] if args.key?(:application) @database = args[:database] if args.key?(:database) @metadata = args[:metadata] if args.key?(:metadata) end |