Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfig

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

Returns a new instance of GoogleCloudDialogflowV2EvaluationConfig.



9611
9612
9613
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9611

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

Instance Attribute Details

#datasetsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InputDataset>

Corresponds to the JSON property datasets



9599
9600
9601
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9599

def datasets
  @datasets
end

#smart_compose_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig

Corresponds to the JSON property smartComposeConfig



9604
9605
9606
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9604

def smart_compose_config
  @smart_compose_config
end

#smart_reply_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig

Corresponds to the JSON property smartReplyConfig



9609
9610
9611
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9609

def smart_reply_config
  @smart_reply_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9616
9617
9618
9619
9620
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9616

def update!(**args)
  @datasets = args[:datasets] if args.key?(:datasets)
  @smart_compose_config = args[:smart_compose_config] if args.key?(:smart_compose_config)
  @smart_reply_config = args[:smart_reply_config] if args.key?(:smart_reply_config)
end