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.
-
#count ⇒ Float
Count value of a metric.
-
#count_type ⇒ String
Count-based metric type.
-
#ratio ⇒ Float
Ratio value of a metric.
-
#type ⇒ String
Ratio-based metric type.
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.
2518 2519 2520 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2518 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
2494 2495 2496 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2494 def confidence_interval @confidence_interval end |
#count ⇒ Float
Count value of a metric.
Corresponds to the JSON property count
2499 2500 2501 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2499 def count @count end |
#count_type ⇒ String
Count-based metric type. Only one of type or count_type is specified in each
Metric.
Corresponds to the JSON property countType
2505 2506 2507 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2505 def count_type @count_type end |
#ratio ⇒ Float
Ratio value of a metric.
Corresponds to the JSON property ratio
2510 2511 2512 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2510 def ratio @ratio end |
#type ⇒ String
Ratio-based metric type. Only one of type or count_type is specified in each
Metric.
Corresponds to the JSON property type
2516 2517 2518 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2516 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2523 2524 2525 2526 2527 2528 2529 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2523 def update!(**args) @confidence_interval = args[:confidence_interval] if args.key?(:confidence_interval) @count = args[:count] if args.key?(:count) @count_type = args[:count_type] if args.key?(:count_type) @ratio = args[:ratio] if args.key?(:ratio) @type = args[:type] if args.key?(:type) end |