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.



23415
23416
23417
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23415

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)


23403
23404
23405
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23403

def end_line
  @end_line
end

#start_lineFixnum

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

Returns:

  • (Fixnum)


23408
23409
23410
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23408

def start_line
  @start_line
end

#subagentString

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

Returns:

  • (String)


23413
23414
23415
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23413

def subagent
  @subagent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23420
23421
23422
23423
23424
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 23420

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