Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IntentMatchData
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IntentMatchData
- 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
The data for an intent match. Represents an intent match for a text segment in the conversation. A text segment can be part of a sentence, a complete sentence, or an utterance with multiple sentences.
Instance Attribute Summary collapse
-
#intent_unique_id ⇒ String
The id of the matched intent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1IntentMatchData
constructor
A new instance of GoogleCloudContactcenterinsightsV1IntentMatchData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1IntentMatchData
Returns a new instance of GoogleCloudContactcenterinsightsV1IntentMatchData.
1923 1924 1925 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1923 def initialize(**args) update!(**args) end |
Instance Attribute Details
#intent_unique_id ⇒ String
The id of the matched intent. Can be used to retrieve the corresponding intent
information.
Corresponds to the JSON property intentUniqueId
1921 1922 1923 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1921 def intent_unique_id @intent_unique_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1928 1929 1930 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1928 def update!(**args) @intent_unique_id = args[:intent_unique_id] if args.key?(:intent_unique_id) end |