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.



14930
14931
14932
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14930

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)


14915
14916
14917
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14915

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)


14921
14922
14923
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14921

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)


14927
14928
14929
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14927

def third_party_connector_allowed
  @third_party_connector_allowed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14935
14936
14937
14938
14939
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14935

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