Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultMetric
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultMetric
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Metric and corresponding confidence intervals.
Instance Attribute Summary collapse
-
#confidence_interval ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval
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) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResultMetric
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ExperimentResultMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResultMetric
Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentResultMetric.
6803 6804 6805 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6803 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_interval ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval
A confidence interval is a range of possible values for the experiment
objective you are trying to measure.
Corresponds to the JSON property confidenceInterval
6779 6780 6781 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6779 def confidence_interval @confidence_interval end |
#count ⇒ Float
Count value of a metric.
Corresponds to the JSON property count
6784 6785 6786 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6784 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
6790 6791 6792 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6790 def count_type @count_type end |
#ratio ⇒ Float
Ratio value of a metric.
Corresponds to the JSON property ratio
6795 6796 6797 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6795 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
6801 6802 6803 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6801 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6808 6809 6810 6811 6812 6813 6814 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6808 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 |