class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Intent

The data for an intent. Represents a detected intent in the conversation, for example MAKES_PROMISE.

Attributes

display_name[RW]

The human-readable name of the intent. Corresponds to the JSON property `displayName` @return [String]

id[RW]

The unique identifier of the intent. Corresponds to the JSON property `id` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1430
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1435
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @id = args[:id] if args.key?(:id)
end