Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#n ⇒ Fixnum
Corresponds to the JSON property
n. -
#recall ⇒ Float
Corresponds to the JSON property
recall.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics
constructor
A new instance of GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics
Returns a new instance of GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics.
15397 15398 15399 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15397 def initialize(**args) update!(**args) end |
Instance Attribute Details
#n ⇒ Fixnum
Corresponds to the JSON property n
15390 15391 15392 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15390 def n @n end |
#recall ⇒ Float
Corresponds to the JSON property recall
15395 15396 15397 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15395 def recall @recall end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15402 15403 15404 15405 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15402 def update!(**args) @n = args[:n] if args.key?(:n) @recall = args[:recall] if args.key?(:recall) end |