Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationModelEvaluation

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

Returns a new instance of GoogleCloudDialogflowV2ConversationModelEvaluation.



8661
8662
8663
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8661

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8634
8635
8636
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8634

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


8639
8640
8641
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8639

def display_name
  @display_name
end

#evaluation_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig

Corresponds to the JSON property evaluationConfig



8644
8645
8646
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8644

def evaluation_config
  @evaluation_config
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8649
8650
8651
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8649

def name
  @name
end

#raw_human_eval_template_csvString

Corresponds to the JSON property rawHumanEvalTemplateCsv

Returns:

  • (String)


8654
8655
8656
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8654

def raw_human_eval_template_csv
  @raw_human_eval_template_csv
end

#smart_reply_metricsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics

Corresponds to the JSON property smartReplyMetrics



8659
8660
8661
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8659

def smart_reply_metrics
  @smart_reply_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8666
8667
8668
8669
8670
8671
8672
8673
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8666

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @display_name = args[:display_name] if args.key?(:display_name)
  @evaluation_config = args[:evaluation_config] if args.key?(:evaluation_config)
  @name = args[:name] if args.key?(:name)
  @raw_human_eval_template_csv = args[:raw_human_eval_template_csv] if args.key?(:raw_human_eval_template_csv)
  @smart_reply_metrics = args[:smart_reply_metrics] if args.key?(:smart_reply_metrics)
end