Class: Google::Apis::WorkloadmanagerV1::SapComponent
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapComponent
- 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 component of sap workload
Instance Attribute Summary collapse
-
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudResource>
Output only.
-
#sid ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapComponent
constructor
A new instance of SapComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapComponent
Returns a new instance of SapComponent.
1281 1282 1283 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1281 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resources ⇒ Array<Google::Apis::WorkloadmanagerV1::CloudResource>
Output only. resources in the component
Corresponds to the JSON property resources
1274 1275 1276 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1274 def resources @resources end |
#sid ⇒ String
Output only. sid is the sap component identificator
Corresponds to the JSON property sid
1279 1280 1281 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1279 def sid @sid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1286 1287 1288 1289 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1286 def update!(**args) @resources = args[:resources] if args.key?(:resources) @sid = args[:sid] if args.key?(:sid) end |