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.



15557
15558
15559
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15557

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

Instance Attribute Details

#nFixnum

Corresponds to the JSON property n

Returns:

  • (Fixnum)


15550
15551
15552
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15550

def n
  @n
end

#recallFloat

Corresponds to the JSON property recall

Returns:

  • (Float)


15555
15556
15557
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15555

def recall
  @recall
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15562
15563
15564
15565
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15562

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