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.



10971
10972
10973
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10971

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

Instance Attribute Details

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

Corresponds to the JSON property instructions



10954
10955
10956
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10954

def instructions
  @instructions
end

#output_language_codeString

Corresponds to the JSON property outputLanguageCode

Returns:

  • (String)


10959
10960
10961
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10959

def output_language_code
  @output_language_code
end

#overarching_guidanceString

Corresponds to the JSON property overarchingGuidance

Returns:

  • (String)


10964
10965
10966
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10964

def overarching_guidance
  @overarching_guidance
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


10969
10970
10971
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10969

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10976
10977
10978
10979
10980
10981
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10976

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