Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig

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

Returns a new instance of GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig.



9662
9663
9664
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9662

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

Instance Attribute Details

#allowlist_documentString

Corresponds to the JSON property allowlistDocument

Returns:

  • (String)


9655
9656
9657
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9655

def allowlist_document
  @allowlist_document
end

#max_result_countFixnum

Corresponds to the JSON property maxResultCount

Returns:

  • (Fixnum)


9660
9661
9662
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9660

def max_result_count
  @max_result_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9667
9668
9669
9670
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9667

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