Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource

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

Overview

Details about source of FAQ answer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource.



6590
6591
6592
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6590

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#documentString

Indicates which Knowledge Document this answer was extracted from. Format: projects//knowledgeBases//documents/. Corresponds to the JSON property document

Returns:

  • (String)


6583
6584
6585
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6583

def document
  @document
end

#questionString

The corresponding FAQ question. Corresponds to the JSON property question

Returns:

  • (String)


6588
6589
6590
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6588

def question
  @question
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6595
6596
6597
6598
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6595

def update!(**args)
  @document = args[:document] if args.key?(:document)
  @question = args[:question] if args.key?(:question)
end