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.



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

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


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

def create_time
  @create_time
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


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

def display_name
  @display_name
end

#evaluation_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig

Corresponds to the JSON property evaluationConfig



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

def evaluation_config
  @evaluation_config
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8637
8638
8639
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8637

def name
  @name
end

#raw_human_eval_template_csvString

Corresponds to the JSON property rawHumanEvalTemplateCsv

Returns:

  • (String)


8642
8643
8644
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8642

def raw_human_eval_template_csv
  @raw_human_eval_template_csv
end

#smart_reply_metricsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyMetrics

Corresponds to the JSON property smartReplyMetrics



8647
8648
8649
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8647

def smart_reply_metrics
  @smart_reply_metrics
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8654
8655
8656
8657
8658
8659
8660
8661
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8654

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