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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingContext

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingContext.



11161
11162
11163
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11161

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

Instance Attribute Details

#instructionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>

Corresponds to the JSON property instructions



11144
11145
11146
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11144

def instructions
  @instructions
end

#output_language_codeString

Corresponds to the JSON property outputLanguageCode

Returns:

  • (String)


11149
11150
11151
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11149

def output_language_code
  @output_language_code
end

#overarching_guidanceString

Corresponds to the JSON property overarchingGuidance

Returns:

  • (String)


11154
11155
11156
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11154

def overarching_guidance
  @overarching_guidance
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


11159
11160
11161
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11159

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11166
11167
11168
11169
11170
11171
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11166

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