Class: Google::Apis::ComposerV1::ComposerWorkloadStatus
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1::ComposerWorkloadStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
lib/google/apis/composer_v1/representations.rb,
lib/google/apis/composer_v1/representations.rb
Overview
Workload status.
Instance Attribute Summary collapse
-
#detailed_status_message ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#status_message ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComposerWorkloadStatus
constructor
A new instance of ComposerWorkloadStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComposerWorkloadStatus
Returns a new instance of ComposerWorkloadStatus.
255 256 257 |
# File 'lib/google/apis/composer_v1/classes.rb', line 255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#detailed_status_message ⇒ String
Output only. Detailed message of the status.
Corresponds to the JSON property detailedStatusMessage
243 244 245 |
# File 'lib/google/apis/composer_v1/classes.rb', line 243 def @detailed_status_message end |
#state ⇒ String
Output only. Workload state.
Corresponds to the JSON property state
248 249 250 |
# File 'lib/google/apis/composer_v1/classes.rb', line 248 def state @state end |
#status_message ⇒ String
Output only. Text to provide more descriptive status.
Corresponds to the JSON property statusMessage
253 254 255 |
# File 'lib/google/apis/composer_v1/classes.rb', line 253 def @status_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
260 261 262 263 264 |
# File 'lib/google/apis/composer_v1/classes.rb', line 260 def update!(**args) @detailed_status_message = args[:detailed_status_message] if args.key?(:detailed_status_message) @state = args[:state] if args.key?(:state) @status_message = args[:status_message] if args.key?(:status_message) end |