Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink

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

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1LossPatternLinkBotInstructionLink.



16362
16363
16364
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16362

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)


16350
16351
16352
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16350

def end_line
  @end_line
end

#start_lineFixnum

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

Returns:

  • (Fixnum)


16355
16356
16357
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16355

def start_line
  @start_line
end

#subagentString

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

Returns:

  • (String)


16360
16361
16362
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16360

def subagent
  @subagent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16367
16368
16369
16370
16371
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16367

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