Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics

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) ⇒ GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics

Returns a new instance of GoogleCloudDialogflowV2SmartReplyMetricsTopNMetrics.



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

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

Instance Attribute Details

#nFixnum

Corresponds to the JSON property n

Returns:

  • (Fixnum)


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

def n
  @n
end

#recallFloat

Corresponds to the JSON property recall

Returns:

  • (Float)


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

def recall
  @recall
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15625
15626
15627
15628
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15625

def update!(**args)
  @n = args[:n] if args.key?(:n)
  @recall = args[:recall] if args.key?(:recall)
end