Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EvaluationStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Overview

A common evalaution pipeline status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1EvaluationStatus

Returns a new instance of GoogleCloudDialogflowV2beta1EvaluationStatus.



14948
14949
14950
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14948

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#doneBoolean 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

Returns:

  • (Boolean)


14935
14936
14937
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14935

def done
  @done
end

#pipeline_statusGoogle::Apis::DialogflowV2beta1::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



14946
14947
14948
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14946

def pipeline_status
  @pipeline_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14953
14954
14955
14956
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14953

def update!(**args)
  @done = args[:done] if args.key?(:done)
  @pipeline_status = args[:pipeline_status] if args.key?(:pipeline_status)
end