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.



17434
17435
17436
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17434

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)


17336
17337
17338
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17336

def answer_generation_rewriter_on
  @answer_generation_rewriter_on
end

#appended_search_context_countFixnum

Corresponds to the JSON property appendedSearchContextCount

Returns:

  • (Fixnum)


17342
17343
17344
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17342

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)


17347
17348
17349
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17347

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)


17353
17354
17355
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17353

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)


17359
17360
17361
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17359

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)


17365
17366
17367
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17365

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)


17371
17372
17373
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17371

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)


17377
17378
17379
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17377

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)


17383
17384
17385
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17383

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)


17389
17390
17391
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17389

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)


17395
17396
17397
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17395

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)


17401
17402
17403
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17401

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)


17407
17408
17409
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17407

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)


17413
17414
17415
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17413

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)


17419
17420
17421
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17419

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)


17425
17426
17427
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17425

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)


17431
17432
17433
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17431

def use_translated_message
  @use_translated_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17439

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