Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig
- 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
-
#allowlist_document ⇒ String
Corresponds to the JSON property
allowlistDocument. -
#max_result_count ⇒ Fixnum
Corresponds to the JSON property
maxResultCount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig
constructor
A new instance of GoogleCloudDialogflowV2EvaluationConfigSmartReplyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_document ⇒ String
Corresponds to the JSON property allowlistDocument
9641 9642 9643 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9641 def allowlist_document @allowlist_document end |
#max_result_count ⇒ Fixnum
Corresponds to the JSON property maxResultCount
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 |