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.



12467
12468
12469
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12467

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


12435
12436
12437
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12435

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


12440
12441
12442
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12440

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


12445
12446
12447
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12445

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12450
12451
12452
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12450

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


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

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


12460
12461
12462
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12460

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



12465
12466
12467
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12465

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12472
12473
12474
12475
12476
12477
12478
12479
12480
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 12472

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