Class: Google::Apis::DataprocV1::ClusterStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ClusterStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataproc_v1/classes.rb,
generated/google/apis/dataproc_v1/representations.rb,
generated/google/apis/dataproc_v1/representations.rb
Overview
The status of a cluster and its instances.
Instance Attribute Summary collapse
-
#detail ⇒ String
Optional details of cluster's state.
-
#state ⇒ String
The cluster's state.
-
#state_start_time ⇒ String
Time when this state was entered.
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.
408 409 410 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#detail ⇒ String
Optional details of cluster's state.
Corresponds to the JSON property detail
401 402 403 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 401 def detail @detail end |
#state ⇒ String
The cluster's state.
Corresponds to the JSON property state
396 397 398 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 396 def state @state end |
#state_start_time ⇒ String
Time when this state was entered.
Corresponds to the JSON property stateStartTime
406 407 408 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 406 def state_start_time @state_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
413 414 415 416 417 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 413 def update!(**args) @state = args[:state] if args.key?(:state) @detail = args[:detail] if args.key?(:detail) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) end |