Class: Google::Apis::DataprocV1beta2::ClusterOperationStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataproc_v1beta2/classes.rb,
generated/google/apis/dataproc_v1beta2/representations.rb,
generated/google/apis/dataproc_v1beta2/representations.rb

Overview

The status of the operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ClusterOperationStatus

Returns a new instance of ClusterOperationStatus



402
403
404
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 402

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#detailsString

Output only. A message containing any operation metadata details. Corresponds to the JSON property details

Returns:

  • (String)


385
386
387
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 385

def details
  @details
end

#inner_stateString

Output only. A message containing the detailed operation state. Corresponds to the JSON property innerState

Returns:

  • (String)


390
391
392
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 390

def inner_state
  @inner_state
end

#stateString

Output only. A message containing the operation state. Corresponds to the JSON property state

Returns:

  • (String)


395
396
397
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 395

def state
  @state
end

#state_start_timeString

Output only. The time this state was entered. Corresponds to the JSON property stateStartTime

Returns:

  • (String)


400
401
402
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 400

def state_start_time
  @state_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



407
408
409
410
411
412
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 407

def update!(**args)
  @details = args[:details] if args.key?(:details)
  @inner_state = args[:inner_state] if args.key?(:inner_state)
  @state = args[:state] if args.key?(:state)
  @state_start_time = args[:state_start_time] if args.key?(:state_start_time)
end