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.



9648
9649
9650
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9648

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

Instance Attribute Details

#allowlist_documentString

Corresponds to the JSON property allowlistDocument

Returns:

  • (String)


9641
9642
9643
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9641

def allowlist_document
  @allowlist_document
end

#max_result_countFixnum

Corresponds to the JSON property maxResultCount

Returns:

  • (Fixnum)


9646
9647
9648
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9646

def max_result_count
  @max_result_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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