Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior

Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior.



17287
17288
17289
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17287

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

Instance Attribute Details

#answer_generation_rewriter_onBoolean Also known as: answer_generation_rewriter_on?

Corresponds to the JSON property answerGenerationRewriterOn

Returns:

  • (Boolean)


17189
17190
17191
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17189

def answer_generation_rewriter_on
  @answer_generation_rewriter_on
end

#appended_search_context_countFixnum

Corresponds to the JSON property appendedSearchContextCount

Returns:

  • (Fixnum)


17195
17196
17197
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17195

def appended_search_context_count
  @appended_search_context_count
end

#conversation_transcript_has_mixed_languagesBoolean Also known as: conversation_transcript_has_mixed_languages?

Corresponds to the JSON property conversationTranscriptHasMixedLanguages

Returns:

  • (Boolean)


17200
17201
17202
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17200

def conversation_transcript_has_mixed_languages
  @conversation_transcript_has_mixed_languages
end

#disable_sync_deliveryBoolean Also known as: disable_sync_delivery?

Corresponds to the JSON property disableSyncDelivery

Returns:

  • (Boolean)


17206
17207
17208
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17206

def disable_sync_delivery
  @disable_sync_delivery
end

#end_user_metadata_includedBoolean Also known as: end_user_metadata_included?

Corresponds to the JSON property endUserMetadataIncluded

Returns:

  • (Boolean)


17212
17213
17214
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17212

def 
  @end_user_metadata_included
end

#invalid_items_query_suggestion_skippedBoolean Also known as: invalid_items_query_suggestion_skipped?

Corresponds to the JSON property invalidItemsQuerySuggestionSkipped

Returns:

  • (Boolean)


17218
17219
17220
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17218

def invalid_items_query_suggestion_skipped
  @invalid_items_query_suggestion_skipped
end

#multiple_queries_generatedBoolean Also known as: multiple_queries_generated?

Corresponds to the JSON property multipleQueriesGenerated

Returns:

  • (Boolean)


17224
17225
17226
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17224

def multiple_queries_generated
  @multiple_queries_generated
end

#previous_queries_includedBoolean Also known as: previous_queries_included?

Corresponds to the JSON property previousQueriesIncluded

Returns:

  • (Boolean)


17230
17231
17232
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17230

def previous_queries_included
  @previous_queries_included
end

#primary_query_redacted_and_replacedBoolean Also known as: primary_query_redacted_and_replaced?

Corresponds to the JSON property primaryQueryRedactedAndReplaced

Returns:

  • (Boolean)


17236
17237
17238
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17236

def primary_query_redacted_and_replaced
  @primary_query_redacted_and_replaced
end

#query_contained_search_contextBoolean Also known as: query_contained_search_context?

Corresponds to the JSON property queryContainedSearchContext

Returns:

  • (Boolean)


17242
17243
17244
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17242

def query_contained_search_context
  @query_contained_search_context
end

#query_generation_agent_language_mismatchBoolean Also known as: query_generation_agent_language_mismatch?

Corresponds to the JSON property queryGenerationAgentLanguageMismatch

Returns:

  • (Boolean)


17248
17249
17250
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17248

def query_generation_agent_language_mismatch
  @query_generation_agent_language_mismatch
end

#query_generation_end_user_language_mismatchBoolean Also known as: query_generation_end_user_language_mismatch?

Corresponds to the JSON property queryGenerationEndUserLanguageMismatch

Returns:

  • (Boolean)


17254
17255
17256
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17254

def query_generation_end_user_language_mismatch
  @query_generation_end_user_language_mismatch
end

#return_query_onlyBoolean Also known as: return_query_only?

Corresponds to the JSON property returnQueryOnly

Returns:

  • (Boolean)


17260
17261
17262
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17260

def return_query_only
  @return_query_only
end

#third_party_connector_allowedBoolean Also known as: third_party_connector_allowed?

Corresponds to the JSON property thirdPartyConnectorAllowed

Returns:

  • (Boolean)


17266
17267
17268
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17266

def third_party_connector_allowed
  @third_party_connector_allowed
end

#use_custom_safety_filter_levelBoolean Also known as: use_custom_safety_filter_level?

Corresponds to the JSON property useCustomSafetyFilterLevel

Returns:

  • (Boolean)


17272
17273
17274
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17272

def use_custom_safety_filter_level
  @use_custom_safety_filter_level
end

#use_pubsub_deliveryBoolean Also known as: use_pubsub_delivery?

Corresponds to the JSON property usePubsubDelivery

Returns:

  • (Boolean)


17278
17279
17280
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17278

def use_pubsub_delivery
  @use_pubsub_delivery
end

#use_translated_messageBoolean Also known as: use_translated_message?

Corresponds to the JSON property useTranslatedMessage

Returns:

  • (Boolean)


17284
17285
17286
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17284

def use_translated_message
  @use_translated_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17292

def update!(**args)
  @answer_generation_rewriter_on = args[:answer_generation_rewriter_on] if args.key?(:answer_generation_rewriter_on)
  @appended_search_context_count = args[:appended_search_context_count] if args.key?(:appended_search_context_count)
  @conversation_transcript_has_mixed_languages = args[:conversation_transcript_has_mixed_languages] if args.key?(:conversation_transcript_has_mixed_languages)
  @disable_sync_delivery = args[:disable_sync_delivery] if args.key?(:disable_sync_delivery)
  @end_user_metadata_included = args[:end_user_metadata_included] if args.key?(:end_user_metadata_included)
  @invalid_items_query_suggestion_skipped = args[:invalid_items_query_suggestion_skipped] if args.key?(:invalid_items_query_suggestion_skipped)
  @multiple_queries_generated = args[:multiple_queries_generated] if args.key?(:multiple_queries_generated)
  @previous_queries_included = args[:previous_queries_included] if args.key?(:previous_queries_included)
  @primary_query_redacted_and_replaced = args[:primary_query_redacted_and_replaced] if args.key?(:primary_query_redacted_and_replaced)
  @query_contained_search_context = args[:query_contained_search_context] if args.key?(:query_contained_search_context)
  @query_generation_agent_language_mismatch = args[:query_generation_agent_language_mismatch] if args.key?(:query_generation_agent_language_mismatch)
  @query_generation_end_user_language_mismatch = args[:query_generation_end_user_language_mismatch] if args.key?(:query_generation_end_user_language_mismatch)
  @return_query_only = args[:return_query_only] if args.key?(:return_query_only)
  @third_party_connector_allowed = args[:third_party_connector_allowed] if args.key?(:third_party_connector_allowed)
  @use_custom_safety_filter_level = args[:use_custom_safety_filter_level] if args.key?(:use_custom_safety_filter_level)
  @use_pubsub_delivery = args[:use_pubsub_delivery] if args.key?(:use_pubsub_delivery)
  @use_translated_message = args[:use_translated_message] if args.key?(:use_translated_message)
end