Class: Google::Apis::ComposerV1::ComposerWorkloadStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_messageString

Output only. Detailed message of the status. Corresponds to the JSON property detailedStatusMessage

Returns:

  • (String)


243
244
245
# File 'lib/google/apis/composer_v1/classes.rb', line 243

def detailed_status_message
  @detailed_status_message
end

#stateString

Output only. Workload state. Corresponds to the JSON property state

Returns:

  • (String)


248
249
250
# File 'lib/google/apis/composer_v1/classes.rb', line 248

def state
  @state
end

#status_messageString

Output only. Text to provide more descriptive status. Corresponds to the JSON property statusMessage

Returns:

  • (String)


253
254
255
# File 'lib/google/apis/composer_v1/classes.rb', line 253

def status_message
  @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