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.



16252
16253
16254
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16252

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)


16240
16241
16242
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16240

def end_line
  @end_line
end

#start_lineFixnum

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

Returns:

  • (Fixnum)


16245
16246
16247
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16245

def start_line
  @start_line
end

#subagentString

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

Returns:

  • (String)


16250
16251
16252
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16250

def subagent
  @subagent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16257
16258
16259
16260
16261
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 16257

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