Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1EventHandler

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1EventHandler.



10420
10421
10422
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10420

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

Instance Attribute Details

#eventString

Corresponds to the JSON property event

Returns:

  • (String)


10393
10394
10395
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10393

def event
  @event
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10398
10399
10400
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10398

def name
  @name
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


10403
10404
10405
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10403

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


10408
10409
10410
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10408

def target_page
  @target_page
end

#target_playbookString

Corresponds to the JSON property targetPlaybook

Returns:

  • (String)


10413
10414
10415
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10413

def target_playbook
  @target_playbook
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



10418
10419
10420
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10418

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10425
10426
10427
10428
10429
10430
10431
10432
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10425

def update!(**args)
  @event = args[:event] if args.key?(:event)
  @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)
  @target_playbook = args[:target_playbook] if args.key?(:target_playbook)
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
end