Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse

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

Sample response that the agent can use. This could be based on applicable instructions and ingested data from other systems.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse

Returns a new instance of GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse.



202
203
204
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 202

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

Instance Attribute Details

#response_textString

Optional. Sample response for Agent in text. Corresponds to the JSON property responseText

Returns:

  • (String)


200
201
202
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 200

def response_text
  @response_text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



207
208
209
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 207

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