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.



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

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


8608
8609
8610
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8608

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


8613
8614
8615
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8613

def display_name
  @display_name
end

#evaluation_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig

Corresponds to the JSON property evaluationConfig



8618
8619
8620
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8618

def evaluation_config
  @evaluation_config
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8623
8624
8625
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8623

def name
  @name
end

#raw_human_eval_template_csvString

Corresponds to the JSON property rawHumanEvalTemplateCsv

Returns:

  • (String)


8628
8629
8630
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8628

def raw_human_eval_template_csv
  @raw_human_eval_template_csv
end

#smart_reply_metricsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics

Corresponds to the JSON property smartReplyMetrics



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

def smart_reply_metrics
  @smart_reply_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8640
8641
8642
8643
8644
8645
8646
8647
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8640

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