Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior

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

Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistDebugInfoKnowledgeAssistBehavior.



20779
20780
20781
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20779

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)


20681
20682
20683
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20681

def answer_generation_rewriter_on
  @answer_generation_rewriter_on
end

#appended_search_context_countFixnum

Corresponds to the JSON property appendedSearchContextCount

Returns:

  • (Fixnum)


20687
20688
20689
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20687

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)


20692
20693
20694
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20692

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)


20698
20699
20700
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20698

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)


20704
20705
20706
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20704

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)


20710
20711
20712
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20710

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)


20716
20717
20718
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20716

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)


20722
20723
20724
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20722

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)


20728
20729
20730
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20728

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)


20734
20735
20736
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20734

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)


20740
20741
20742
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20740

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)


20746
20747
20748
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20746

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)


20752
20753
20754
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20752

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)


20758
20759
20760
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20758

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)


20764
20765
20766
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20764

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)


20770
20771
20772
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20770

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)


20776
20777
20778
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20776

def use_translated_message
  @use_translated_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20784

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