Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics
- 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
-
#allowlist_coverage ⇒ Float
Corresponds to the JSON property
allowlistCoverage. -
#conversation_count ⇒ Fixnum
Corresponds to the JSON property
conversationCount. -
#top_n_metrics ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics>
Corresponds to the JSON property
topNMetrics.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SmartReplyMetrics
constructor
A new instance of GoogleCloudDialogflowV2SmartReplyMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SmartReplyMetrics
Returns a new instance of GoogleCloudDialogflowV2SmartReplyMetrics.
15371 15372 15373 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15371 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowlist_coverage ⇒ Float
Corresponds to the JSON property allowlistCoverage
15359 15360 15361 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15359 def allowlist_coverage @allowlist_coverage end |
#conversation_count ⇒ Fixnum
Corresponds to the JSON property conversationCount
15364 15365 15366 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15364 def conversation_count @conversation_count end |
#top_n_metrics ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics>
Corresponds to the JSON property topNMetrics
15369 15370 15371 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15369 def top_n_metrics @top_n_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15376 15377 15378 15379 15380 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15376 def update!(**args) @allowlist_coverage = args[:allowlist_coverage] if args.key?(:allowlist_coverage) @conversation_count = args[:conversation_count] if args.key?(:conversation_count) @top_n_metrics = args[:top_n_metrics] if args.key?(:top_n_metrics) end |