Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig

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

Returns a new instance of GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig.



9637
9638
9639
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9637

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

Instance Attribute Details

#allowlist_documentString

Corresponds to the JSON property allowlistDocument

Returns:

  • (String)


9630
9631
9632
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9630

def allowlist_document
  @allowlist_document
end

#max_result_countFixnum

Corresponds to the JSON property maxResultCount

Returns:

  • (Fixnum)


9635
9636
9637
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9635

def max_result_count
  @max_result_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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