Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstruction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstruction
- 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
-
#agent_action ⇒ String
Corresponds to the JSON property
agentAction. -
#condition ⇒ String
Corresponds to the JSON property
condition. -
#display_details ⇒ String
Corresponds to the JSON property
displayDetails. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#duplicate_check_result ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
Corresponds to the JSON property
duplicateCheckResult. -
#system_action ⇒ String
Corresponds to the JSON property
systemAction. -
#triggering_event ⇒ String
Corresponds to the JSON property
triggeringEvent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstruction
constructor
A new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstruction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstruction
Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstruction.
17792 17793 17794 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17792 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_action ⇒ String
Corresponds to the JSON property agentAction
17760 17761 17762 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17760 def agent_action @agent_action end |
#condition ⇒ String
Corresponds to the JSON property condition
17765 17766 17767 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17765 def condition @condition end |
#display_details ⇒ String
Corresponds to the JSON property displayDetails
17770 17771 17772 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17770 def display_details @display_details end |
#display_name ⇒ String
Corresponds to the JSON property displayName
17775 17776 17777 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17775 def display_name @display_name end |
#duplicate_check_result ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
Corresponds to the JSON property duplicateCheckResult
17780 17781 17782 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17780 def duplicate_check_result @duplicate_check_result end |
#system_action ⇒ String
Corresponds to the JSON property systemAction
17785 17786 17787 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17785 def system_action @system_action end |
#triggering_event ⇒ String
Corresponds to the JSON property triggeringEvent
17790 17791 17792 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17790 def triggering_event @triggering_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17797 17798 17799 17800 17801 17802 17803 17804 17805 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17797 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 |