Class: Google::Apis::DataprocV1::ClusterOperationStatus

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

Overview

The status of the operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClusterOperationStatus

Returns a new instance of ClusterOperationStatus.



1081
1082
1083
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1081

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)


1064
1065
1066
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1064

def details
  @details
end

#inner_stateString

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

Returns:

  • (String)


1069
1070
1071
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1069

def inner_state
  @inner_state
end

#stateString

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

Returns:

  • (String)


1074
1075
1076
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1074

def state
  @state
end

#state_start_timeString

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

Returns:

  • (String)


1079
1080
1081
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1079

def state_start_time
  @state_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1086
1087
1088
1089
1090
1091
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1086

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