Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior

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

Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeDebugInfoSearchKnowledgeBehavior.



14767
14768
14769
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14767

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)


14752
14753
14754
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14752

def answer_generation_rewriter_on
  @answer_generation_rewriter_on
end

#end_user_metadata_includedBoolean Also known as: end_user_metadata_included?

Corresponds to the JSON property endUserMetadataIncluded

Returns:

  • (Boolean)


14758
14759
14760
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14758

def 
  @end_user_metadata_included
end

#third_party_connector_allowedBoolean Also known as: third_party_connector_allowed?

Corresponds to the JSON property thirdPartyConnectorAllowed

Returns:

  • (Boolean)


14764
14765
14766
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14764

def third_party_connector_allowed
  @third_party_connector_allowed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14772
14773
14774
14775
14776
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14772

def update!(**args)
  @answer_generation_rewriter_on = args[:answer_generation_rewriter_on] if args.key?(:answer_generation_rewriter_on)
  @end_user_metadata_included = args[:end_user_metadata_included] if args.key?(:end_user_metadata_included)
  @third_party_connector_allowed = args[:third_party_connector_allowed] if args.key?(:third_party_connector_allowed)
end