Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1TransitionRoute

Returns a new instance of GoogleCloudDialogflowCxV3beta1TransitionRoute.



13464
13465
13466
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13464

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

Instance Attribute Details

#conditionString

Corresponds to the JSON property condition

Returns:

  • (String)


13432
13433
13434
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13432

def condition
  @condition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


13437
13438
13439
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13437

def description
  @description
end

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


13442
13443
13444
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13442

def intent
  @intent
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


13447
13448
13449
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13447

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


13452
13453
13454
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13452

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


13457
13458
13459
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13457

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



13462
13463
13464
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13462

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13469
13470
13471
13472
13473
13474
13475
13476
13477
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13469

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