Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingInstruction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingInstruction
- 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
-
#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::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
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) ⇒ GoogleCloudDialogflowV2AgentCoachingInstruction
constructor
A new instance of GoogleCloudDialogflowV2AgentCoachingInstruction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingInstruction
Returns a new instance of GoogleCloudDialogflowV2AgentCoachingInstruction.
6806 6807 6808 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6806 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_action ⇒ String
Corresponds to the JSON property agentAction
6774 6775 6776 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6774 def agent_action @agent_action end |
#condition ⇒ String
Corresponds to the JSON property condition
6779 6780 6781 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6779 def condition @condition end |
#display_details ⇒ String
Corresponds to the JSON property displayDetails
6784 6785 6786 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6784 def display_details @display_details end |
#display_name ⇒ String
Corresponds to the JSON property displayName
6789 6790 6791 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6789 def display_name @display_name end |
#duplicate_check_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
Corresponds to the JSON property duplicateCheckResult
6794 6795 6796 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6794 def duplicate_check_result @duplicate_check_result end |
#system_action ⇒ String
Corresponds to the JSON property systemAction
6799 6800 6801 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6799 def system_action @system_action end |
#triggering_event ⇒ String
Corresponds to the JSON property triggeringEvent
6804 6805 6806 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6804 def triggering_event @triggering_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6811 6812 6813 6814 6815 6816 6817 6818 6819 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 6811 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 |