Class: Google::Apis::DataprocV1::JobStatus
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::JobStatus
- 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
Cloud Dataproc job status.
Instance Attribute Summary collapse
-
#details ⇒ String
Output-only Optional job state details, such as an error description if the state is
ERROR. -
#state ⇒ String
Output-only A state message specifying the overall job state.
-
#state_start_time ⇒ String
Output-only The time when this state was entered.
-
#substate ⇒ String
Output-only Additional state information, which includes status reported by the agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobStatus
constructor
A new instance of JobStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ JobStatus
Returns a new instance of JobStatus
952 953 954 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 952 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ String
Output-only Optional job state details, such as an error description if the
state is ERROR.
Corresponds to the JSON property details
950 951 952 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 950 def details @details end |
#state ⇒ String
Output-only A state message specifying the overall job state.
Corresponds to the JSON property state
944 945 946 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 944 def state @state end |
#state_start_time ⇒ String
Output-only The time when this state was entered.
Corresponds to the JSON property stateStartTime
933 934 935 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 933 def state_start_time @state_start_time end |
#substate ⇒ String
Output-only Additional state information, which includes status reported by
the agent.
Corresponds to the JSON property substate
939 940 941 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 939 def substate @substate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
957 958 959 960 961 962 |
# File 'generated/google/apis/dataproc_v1/classes.rb', line 957 def update!(**args) @state_start_time = args[:state_start_time] if args.key?(:state_start_time) @substate = args[:substate] if args.key?(:substate) @state = args[:state] if args.key?(:state) @details = args[:details] if args.key?(:details) end |