Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink

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

Overview

A link to a bot instruction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink

Returns a new instance of GoogleCloudContactcenterinsightsV1LossPatternLinkBotInstructionLink.



7993
7994
7995
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7993

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

Instance Attribute Details

#end_lineFixnum

The exclusive end line number of the instructions. Corresponds to the JSON property endLine

Returns:

  • (Fixnum)


7981
7982
7983
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7981

def end_line
  @end_line
end

#start_lineFixnum

The inclusive start line number of the instructions. Corresponds to the JSON property startLine

Returns:

  • (Fixnum)


7986
7987
7988
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7986

def start_line
  @start_line
end

#subagentString

The name of the subagent. Corresponds to the JSON property subagent

Returns:

  • (String)


7991
7992
7993
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7991

def subagent
  @subagent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7998
7999
8000
8001
8002
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7998

def update!(**args)
  @end_line = args[:end_line] if args.key?(:end_line)
  @start_line = args[:start_line] if args.key?(:start_line)
  @subagent = args[:subagent] if args.key?(:subagent)
end