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.



11099
11100
11101
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11099

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

Instance Attribute Details

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

Corresponds to the JSON property instructions



11082
11083
11084
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11082

def instructions
  @instructions
end

#output_language_codeString

Corresponds to the JSON property outputLanguageCode

Returns:

  • (String)


11087
11088
11089
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11087

def output_language_code
  @output_language_code
end

#overarching_guidanceString

Corresponds to the JSON property overarchingGuidance

Returns:

  • (String)


11092
11093
11094
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11092

def overarching_guidance
  @overarching_guidance
end

#versionString

Corresponds to the JSON property version

Returns:

  • (String)


11097
11098
11099
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11097

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11104
11105
11106
11107
11108
11109
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 11104

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