Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingContext
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Agent Coaching context that customer can configure.
Instance Attribute Summary collapse
-
#instructions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>
Optional.
-
#output_language_code ⇒ String
Optional.
-
#overarching_guidance ⇒ String
Optional.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingContext
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentCoachingContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingContext
Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingContext.
12344 12345 12346 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12344 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instructions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>
Optional. Customized instructions for agent coaching.
Corresponds to the JSON property instructions
12325 12326 12327 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12325 def instructions @instructions end |
#output_language_code ⇒ String
Optional. Output language code.
Corresponds to the JSON property outputLanguageCode
12330 12331 12332 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12330 def output_language_code @output_language_code end |
#overarching_guidance ⇒ String
Optional. The overarching guidance for the agent coaching. This should be set
only for v1.5 and later versions.
Corresponds to the JSON property overarchingGuidance
12336 12337 12338 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12336 def overarching_guidance @overarching_guidance end |
#version ⇒ String
Optional. Version of the feature. If not set, default to latest version.
Current candidates are ["2.5"].
Corresponds to the JSON property version
12342 12343 12344 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12342 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12349 12350 12351 12352 12353 12354 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12349 def update!(**args) @instructions = args[:instructions] if args.key?(:instructions) @output_language_code = args[:output_language_code] if args.key?(:output_language_code) @overarching_guidance = args[:overarching_guidance] if args.key?(:overarching_guidance) @version = args[:version] if args.key?(:version) end |