Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource

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

Returns a new instance of GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource.



2427
2428
2429
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2427

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)


2420
2421
2422
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2420

def document
  @document
end

#questionString

The corresponding FAQ question. Corresponds to the JSON property question

Returns:

  • (String)


2425
2426
2427
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2425

def question
  @question
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2432
2433
2434
2435
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2432

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