Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstruction

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingInstruction

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingInstruction.



13125
13126
13127
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13125

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

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


13093
13094
13095
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13093

def agent_action
  @agent_action
end

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


13098
13099
13100
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13098

def condition
  @condition
end

#display_detailsString

Corresponds to the JSON property displayDetails

Returns:

  • (String)


13103
13104
13105
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13103

def display_details
  @display_details
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


13108
13109
13110
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13108

def display_name
  @display_name
end

#duplicate_check_resultGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



13113
13114
13115
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13113

def duplicate_check_result
  @duplicate_check_result
end

#system_actionString

Corresponds to the JSON property systemAction

Returns:

  • (String)


13118
13119
13120
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13118

def system_action
  @system_action
end

#triggering_eventString

Corresponds to the JSON property triggeringEvent

Returns:

  • (String)


13123
13124
13125
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13123

def triggering_event
  @triggering_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13130
13131
13132
13133
13134
13135
13136
13137
13138
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 13130

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