Class: Google::Apis::DataprocV1beta2::ClusterOperationStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1beta2::ClusterOperationStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1beta2/classes.rb,
lib/google/apis/dataproc_v1beta2/representations.rb,
lib/google/apis/dataproc_v1beta2/representations.rb
Overview
The status of the operation.
Instance Attribute Summary collapse
-
#details ⇒ String
Output only.
-
#inner_state ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#state_start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterOperationStatus
constructor
A new instance of ClusterOperationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterOperationStatus
Returns a new instance of ClusterOperationStatus.
653 654 655 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 653 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Output only. A message containing any operation metadata details.
Corresponds to the JSON property details
636 637 638 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 636 def details @details end |
#inner_state ⇒ String
Output only. A message containing the detailed operation state.
Corresponds to the JSON property innerState
641 642 643 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 641 def inner_state @inner_state end |
#state ⇒ String
Output only. A message containing the operation state.
Corresponds to the JSON property state
646 647 648 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 646 def state @state end |
#state_start_time ⇒ String
Output only. The time this state was entered.
Corresponds to the JSON property stateStartTime
651 652 653 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 651 def state_start_time @state_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
658 659 660 661 662 663 |
# File 'lib/google/apis/dataproc_v1beta2/classes.rb', line 658 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 |