Class: Google::Apis::DataprocV1::ClusterStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ClusterStatus
- 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 a cluster and its instances.
Instance Attribute Summary collapse
-
#detail ⇒ String
Optional.
-
#state ⇒ String
Output only.
-
#state_start_time ⇒ String
Output only.
-
#substate ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterStatus
constructor
A new instance of ClusterStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterStatus
Returns a new instance of ClusterStatus.
1147 1148 1149 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#detail ⇒ String
Optional. Output only. Details of cluster's state.
Corresponds to the JSON property detail
1128 1129 1130 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1128 def detail @detail end |
#state ⇒ String
Output only. The cluster's state.
Corresponds to the JSON property state
1133 1134 1135 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1133 def state @state end |
#state_start_time ⇒ String
Output only. Time when this state was entered (see JSON representation of
Timestamp (https://developers.google.com/protocol-buffers/docs/proto3#json)).
Corresponds to the JSON property stateStartTime
1139 1140 1141 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1139 def state_start_time @state_start_time end |
#substate ⇒ String
Output only. Additional state information that includes status reported by the
agent.
Corresponds to the JSON property substate
1145 1146 1147 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1145 def substate @substate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1152 1153 1154 1155 1156 1157 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1152 def update!(**args) @detail = args[:detail] if args.key?(:detail) @state = args[:state] if args.key?(:state) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) @substate = args[:substate] if args.key?(:substate) end |