Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TransitionRoute

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRoute

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRoute.



12455
12456
12457
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12455

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


12423
12424
12425
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12423

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


12428
12429
12430
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12428

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


12433
12434
12435
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12433

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12438
12439
12440
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12438

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


12443
12444
12445
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12443

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


12448
12449
12450
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12448

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



12453
12454
12455
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12453

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12460
12461
12462
12463
12464
12465
12466
12467
12468
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12460

def update!(**args)
  @condition = args[:condition] if args.key?(:condition)
  @description = args[:description] if args.key?(:description)
  @intent = args[:intent] if args.key?(:intent)
  @name = args[:name] if args.key?(:name)
  @target_flow = args[:target_flow] if args.key?(:target_flow)
  @target_page = args[:target_page] if args.key?(:target_page)
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
end