Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior

Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior.



15932
15933
15934
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15932

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)


15834
15835
15836
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15834

def answer_generation_rewriter_on
  @answer_generation_rewriter_on
end

#appended_search_context_countFixnum

Corresponds to the JSON property appendedSearchContextCount

Returns:

  • (Fixnum)


15840
15841
15842
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15840

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)


15845
15846
15847
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15845

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)


15851
15852
15853
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15851

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)


15857
15858
15859
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15857

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)


15863
15864
15865
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15863

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)


15869
15870
15871
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15869

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)


15875
15876
15877
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15875

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)


15881
15882
15883
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15881

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)


15887
15888
15889
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15887

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)


15893
15894
15895
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15893

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)


15899
15900
15901
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15899

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)


15905
15906
15907
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15905

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)


15911
15912
15913
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15911

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)


15917
15918
15919
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15917

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)


15923
15924
15925
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15923

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)


15929
15930
15931
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15929

def use_translated_message
  @use_translated_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15937

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