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
Instance Attribute Summary collapse
-
#confidence_interval ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
Corresponds to the JSON property
confidenceInterval. -
#count ⇒ Float
Corresponds to the JSON property
count. -
#count_type ⇒ String
Corresponds to the JSON property
countType. -
#ratio ⇒ Float
Corresponds to the JSON property
ratio. -
#type ⇒ String
Corresponds to the JSON property
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.
2436 2437 2438 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_interval ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
Corresponds to the JSON property confidenceInterval
2414 2415 2416 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2414 def confidence_interval @confidence_interval end |
#count ⇒ Float
Corresponds to the JSON property count
2419 2420 2421 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2419 def count @count end |
#count_type ⇒ String
Corresponds to the JSON property countType
2424 2425 2426 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2424 def count_type @count_type end |
#ratio ⇒ Float
Corresponds to the JSON property ratio
2429 2430 2431 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2429 def ratio @ratio end |
#type ⇒ String
Corresponds to the JSON property type
2434 2435 2436 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2434 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2441 2442 2443 2444 2445 2446 2447 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2441 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 |