Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultMetric
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultMetric
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Metric and corresponding confidence intervals.
Instance Attribute Summary collapse
-
#confidence_interval ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
A confidence interval is a range of possible values for the experiment objective you are trying to measure.
-
#ratio ⇒ Float
Ratio value of a metric.
-
#type ⇒ String
The type of the metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentResultMetric
constructor
A new instance of GoogleCloudDialogflowCxV3ExperimentResultMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentResultMetric
Returns a new instance of GoogleCloudDialogflowCxV3ExperimentResultMetric.
1073 1074 1075 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1073 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_interval ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
A confidence interval is a range of possible values for the experiment
objective you are trying to measure.
Corresponds to the JSON property confidenceInterval
1061 1062 1063 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1061 def confidence_interval @confidence_interval end |
#ratio ⇒ Float
Ratio value of a metric.
Corresponds to the JSON property ratio
1066 1067 1068 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1066 def ratio @ratio end |
#type ⇒ String
The type of the metric.
Corresponds to the JSON property type
1071 1072 1073 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1071 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1078 1079 1080 1081 1082 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1078 def update!(**args) @confidence_interval = args[:confidence_interval] if args.key?(:confidence_interval) @ratio = args[:ratio] if args.key?(:ratio) @type = args[:type] if args.key?(:type) end |