Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink

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

Returns a new instance of GoogleCloudContactcenterinsightsV1mainLossPatternLinkBotInstructionLink.



23565
23566
23567
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23565

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)


23553
23554
23555
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23553

def end_line
  @end_line
end

#start_lineFixnum

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

Returns:

  • (Fixnum)


23558
23559
23560
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23558

def start_line
  @start_line
end

#subagentString

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

Returns:

  • (String)


23563
23564
23565
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23563

def subagent
  @subagent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23570
23571
23572
23573
23574
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23570

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