class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultMetric

Metric and corresponding confidence intervals.

Attributes

confidence_interval[RW]

A confidence interval is a range of possible values for the experiment objective you are trying to measure. Corresponds to the JSON property `confidenceInterval` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval]

count[RW]

Count value of a metric. Corresponds to the JSON property `count` @return [Float]

count_type[RW]

Count-based metric type. Only one of type or count_type is specified in each Metric. Corresponds to the JSON property `countType` @return [String]

ratio[RW]

Ratio value of a metric. Corresponds to the JSON property `ratio` @return [Float]

type[RW]

Ratio-based metric type. Only one of type or count_type is specified in each Metric. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 1568
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 1573
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