Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior

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

Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistDebugInfoKnowledgeAssistBehavior.



9601
9602
9603
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9601

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)


9503
9504
9505
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9503

def answer_generation_rewriter_on
  @answer_generation_rewriter_on
end

#appended_search_context_countFixnum

Corresponds to the JSON property appendedSearchContextCount

Returns:

  • (Fixnum)


9509
9510
9511
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9509

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)


9514
9515
9516
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9514

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)


9520
9521
9522
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9520

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)


9526
9527
9528
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9526

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)


9532
9533
9534
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9532

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)


9538
9539
9540
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9538

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)


9544
9545
9546
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9544

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)


9550
9551
9552
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9550

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)


9556
9557
9558
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9556

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)


9562
9563
9564
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9562

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)


9568
9569
9570
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9568

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)


9574
9575
9576
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9574

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)


9580
9581
9582
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9580

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)


9586
9587
9588
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9586

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)


9592
9593
9594
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9592

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)


9598
9599
9600
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9598

def use_translated_message
  @use_translated_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9606

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