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.
1773 1774 1775 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1773 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
1761 1762 1763 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1761 def application @application end |
#database ⇒ Google::Apis::WorkloadmanagerV1::SapComponent
The component of sap workload
Corresponds to the JSON property database
1766 1767 1768 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1766 def database @database end |
#metadata ⇒ Hash<String,String>
Output only. The metadata for SAP workload.
Corresponds to the JSON property metadata
1771 1772 1773 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1771 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1778 1779 1780 1781 1782 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1778 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 |