Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingContext
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Agent Coaching context that customer can configure.
Instance Attribute Summary collapse
-
#instructions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstruction>
Optional.
-
#output_language_code ⇒ String
Optional.
-
#overarching_guidance ⇒ String
Optional.
-
#version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingContext
constructor
A new instance of GoogleCloudDialogflowV2AgentCoachingContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingContext
Returns a new instance of GoogleCloudDialogflowV2AgentCoachingContext.
8266 8267 8268 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8266 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instructions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstruction>
Optional. Customized instructions for agent coaching.
Corresponds to the JSON property instructions
8247 8248 8249 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8247 def instructions @instructions end |
#output_language_code ⇒ String
Optional. Output language code.
Corresponds to the JSON property outputLanguageCode
8252 8253 8254 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8252 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
8258 8259 8260 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8258 def overarching_guidance @overarching_guidance end |
#version ⇒ String
Optional. Version of the feature. If not set, default to latest version.
Current candidates are ["1.2"].
Corresponds to the JSON property version
8264 8265 8266 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8264 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8271 8272 8273 8274 8275 8276 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8271 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 |