Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstruction

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) ⇒ GoogleCloudDialogflowV2beta1AgentCoachingInstruction

Returns a new instance of GoogleCloudDialogflowV2beta1AgentCoachingInstruction.



17234
17235
17236
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17234

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

Instance Attribute Details

#agent_actionString

Corresponds to the JSON property agentAction

Returns:

  • (String)


17202
17203
17204
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17202

def agent_action
  @agent_action
end

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


17207
17208
17209
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17207

def condition
  @condition
end

#display_detailsString

Corresponds to the JSON property displayDetails

Returns:

  • (String)


17212
17213
17214
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17212

def display_details
  @display_details
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


17217
17218
17219
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17217

def display_name
  @display_name
end

#duplicate_check_resultGoogle::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



17222
17223
17224
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17222

def duplicate_check_result
  @duplicate_check_result
end

#system_actionString

Corresponds to the JSON property systemAction

Returns:

  • (String)


17227
17228
17229
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17227

def system_action
  @system_action
end

#triggering_eventString

Corresponds to the JSON property triggeringEvent

Returns:

  • (String)


17232
17233
17234
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17232

def triggering_event
  @triggering_event
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17239
17240
17241
17242
17243
17244
17245
17246
17247
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17239

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