Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingContext

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#instructionsArray<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_codeString

Optional. Output language code. Corresponds to the JSON property outputLanguageCode

Returns:

  • (String)


12330
12331
12332
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12330

def output_language_code
  @output_language_code
end

#overarching_guidanceString

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

Returns:

  • (String)


12336
12337
12338
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12336

def overarching_guidance
  @overarching_guidance
end

#versionString

Optional. Version of the feature. If not set, default to latest version. Current candidates are ["2.5"]. Corresponds to the JSON property version

Returns:

  • (String)


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