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
Instance Attribute Summary collapse
-
#instructions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstruction>
Corresponds to the JSON property
instructions. -
#output_language_code ⇒ String
Corresponds to the JSON property
outputLanguageCode. -
#overarching_guidance ⇒ String
Corresponds to the JSON property
overarchingGuidance. -
#version ⇒ String
Corresponds to the JSON property
version.
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.
7052 7053 7054 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7052 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instructions ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstruction>
Corresponds to the JSON property instructions
7035 7036 7037 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7035 def instructions @instructions end |
#output_language_code ⇒ String
Corresponds to the JSON property outputLanguageCode
7040 7041 7042 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7040 def output_language_code @output_language_code end |
#overarching_guidance ⇒ String
Corresponds to the JSON property overarchingGuidance
7045 7046 7047 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7045 def overarching_guidance @overarching_guidance end |
#version ⇒ String
Corresponds to the JSON property version
7050 7051 7052 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7050 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7057 7058 7059 7060 7061 7062 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7057 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 |