Class: Google::Apis::DataprocV1::ClusterOperationStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ClusterOperationStatus
- 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 the operation.
Instance Attribute Summary collapse
-
#details ⇒ String
Output-only.A message containing any operation metadata details.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClusterOperationStatus
Returns a new instance of ClusterOperationStatus
1017 1018 1019 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1017 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
1010 1011 1012 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1010 def details @details end |
#inner_state ⇒ String
Output-only. A message containing the detailed operation state.
Corresponds to the JSON property innerState
1015 1016 1017 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1015 def inner_state @inner_state end |
#state ⇒ String
Output-only. A message containing the operation state.
Corresponds to the JSON property state
1005 1006 1007 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1005 def state @state end |
#state_start_time ⇒ String
Output-only. The time this state was entered.
Corresponds to the JSON property stateStartTime
1000 1001 1002 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1000 def state_start_time @state_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1022 1023 1024 1025 1026 1027 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1022 def update!(**args) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) @state = args[:state] if args.key?(:state) @details = args[:details] if args.key?(:details) @inner_state = args[:inner_state] if args.key?(:inner_state) end |