Class: Google::Apis::WorkloadmanagerV1::SapInstanceProperties
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SapInstanceProperties
- 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
SAP instance properties.
Instance Attribute Summary collapse
-
#agent_states ⇒ Google::Apis::WorkloadmanagerV1::AgentStates
Agent status.
-
#numbers ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SapInstanceProperties
constructor
A new instance of SapInstanceProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SapInstanceProperties
Returns a new instance of SapInstanceProperties.
3242 3243 3244 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3242 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_states ⇒ Google::Apis::WorkloadmanagerV1::AgentStates
Agent status.
Corresponds to the JSON property agentStates
3235 3236 3237 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3235 def agent_states @agent_states end |
#numbers ⇒ Array<String>
Optional. SAP Instance numbers. They are from '00' to '99'.
Corresponds to the JSON property numbers
3240 3241 3242 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3240 def numbers @numbers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3247 3248 3249 3250 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3247 def update!(**args) @agent_states = args[:agent_states] if args.key?(:agent_states) @numbers = args[:numbers] if args.key?(:numbers) end |