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.



9623
9624
9625
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9623

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

Instance Attribute Details

#allowlist_documentString

Corresponds to the JSON property allowlistDocument

Returns:

  • (String)


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

def allowlist_document
  @allowlist_document
end

#max_result_countFixnum

Corresponds to the JSON property maxResultCount

Returns:

  • (Fixnum)


9621
9622
9623
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9621

def max_result_count
  @max_result_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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