Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstruction

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstruction

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstruction.



18021
18022
18023
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18021

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

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


17989
17990
17991
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17989

def agent_action
  @agent_action
end

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


17994
17995
17996
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17994

def condition
  @condition
end

#display_detailsString

Corresponds to the JSON property displayDetails

Returns:

  • (String)


17999
18000
18001
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17999

def display_details
  @display_details
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


18004
18005
18006
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18004

def display_name
  @display_name
end

#duplicate_check_resultGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



18009
18010
18011
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18009

def duplicate_check_result
  @duplicate_check_result
end

#system_actionString

Corresponds to the JSON property systemAction

Returns:

  • (String)


18014
18015
18016
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18014

def system_action
  @system_action
end

#triggering_eventString

Corresponds to the JSON property triggeringEvent

Returns:

  • (String)


18019
18020
18021
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18019

def triggering_event
  @triggering_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18026
18027
18028
18029
18030
18031
18032
18033
18034
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18026

def update!(**args)
  @agent_action = args[:agent_action] if args.key?(:agent_action)
  @condition = args[:condition] if args.key?(:condition)
  @display_details = args[:display_details] if args.key?(:display_details)
  @display_name = args[:display_name] if args.key?(:display_name)
  @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
  @system_action = args[:system_action] if args.key?(:system_action)
  @triggering_event = args[:triggering_event] if args.key?(:triggering_event)
end