Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SmartReplyMetrics

Returns a new instance of GoogleCloudDialogflowV2SmartReplyMetrics.



15613
15614
15615
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15613

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allowlist_coverageFloat

Corresponds to the JSON property allowlistCoverage

Returns:

  • (Float)


15601
15602
15603
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15601

def allowlist_coverage
  @allowlist_coverage
end

#conversation_countFixnum

Corresponds to the JSON property conversationCount

Returns:

  • (Fixnum)


15606
15607
15608
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15606

def conversation_count
  @conversation_count
end

#top_n_metricsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics>

Corresponds to the JSON property topNMetrics



15611
15612
15613
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15611

def top_n_metrics
  @top_n_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15618
15619
15620
15621
15622
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15618

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