Class: Google::Apis::DataprocV1::OperationStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::OperationStatus
- 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
A message containing any operation metadata details.
-
#inner_state ⇒ String
A message containing the detailed operation state.
-
#state ⇒ String
A message containing the operation state.
-
#state_start_time ⇒ String
The time this state was entered.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OperationStatus
constructor
A new instance of OperationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperationStatus
Returns a new instance of OperationStatus.
1557 1558 1559 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
A message containing any operation metadata details.
Corresponds to the JSON property details
1550 1551 1552 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1550 def details @details end |
#inner_state ⇒ String
A message containing the detailed operation state.
Corresponds to the JSON property innerState
1545 1546 1547 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1545 def inner_state @inner_state end |
#state ⇒ String
A message containing the operation state.
Corresponds to the JSON property state
1540 1541 1542 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1540 def state @state end |
#state_start_time ⇒ String
The time this state was entered.
Corresponds to the JSON property stateStartTime
1555 1556 1557 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1555 def state_start_time @state_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1562 1563 1564 1565 1566 1567 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 1562 def update!(**args) @state = args[:state] if args.key?(:state) @inner_state = args[:inner_state] if args.key?(:inner_state) @details = args[:details] if args.key?(:details) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) end |