Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource

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

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource.



6673
6674
6675
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6673

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

Instance Attribute Details

#titleString

Title of the document. Corresponds to the JSON property title

Returns:

  • (String)


6666
6667
6668
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6666

def title
  @title
end

#uriString

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

Returns:

  • (String)


6671
6672
6673
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6671

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6678
6679
6680
6681
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6678

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