Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource

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 Intent Matching answer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource

Returns a new instance of GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource.



2510
2511
2512
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2510

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

Instance Attribute Details

#titleString

Title of the document. Corresponds to the JSON property title

Returns:

  • (String)


2503
2504
2505
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2503

def title
  @title
end

#uriString

URI the data is sourced from. Corresponds to the JSON property uri

Returns:

  • (String)


2508
2509
2510
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2508

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2515
2516
2517
2518
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2515

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