Class: Google::Apis::DataprocV1beta2::ClusterStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::ClusterStatus
- 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 a cluster and its instances.
Instance Attribute Summary collapse
-
#detail ⇒ String
Output only.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClusterStatus
Returns a new instance of ClusterStatus
515 516 517 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 515 def initialize(**args) update!(**args) end |
Instance Attribute Details
#detail ⇒ String
Output only. Optional details of cluster's state.
Corresponds to the JSON property detail
497 498 499 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 497 def detail @detail end |
#state ⇒ String
Output only. The cluster's state.
Corresponds to the JSON property state
502 503 504 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 502 def state @state end |
#state_start_time ⇒ String
Output only. Time when this state was entered.
Corresponds to the JSON property stateStartTime
507 508 509 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 507 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
513 514 515 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 513 def substate @substate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
520 521 522 523 524 525 |
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 520 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 |