Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationStatus
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
A common evalaution pipeline status.
Instance Attribute Summary collapse
-
#done ⇒ Boolean
(also: #done?)
Output only.
-
#pipeline_status ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
The
Statustype defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2EvaluationStatus
constructor
A new instance of GoogleCloudDialogflowV2EvaluationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2EvaluationStatus
Returns a new instance of GoogleCloudDialogflowV2EvaluationStatus.
11158 11159 11160 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#done ⇒ Boolean Also known as: done?
Output only. If the value is false, it means the evaluation is still in
progress. If true, the operation is completed, and either error or
response is available.
Corresponds to the JSON property done
11145 11146 11147 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11145 def done @done end |
#pipeline_status ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
The Status type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property pipelineStatus
11156 11157 11158 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11156 def pipeline_status @pipeline_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11163 11164 11165 11166 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11163 def update!(**args) @done = args[:done] if args.key?(:done) @pipeline_status = args[:pipeline_status] if args.key?(:pipeline_status) end |