Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents

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

Overview

A wrapper of repeated TelephonyDtmf digits.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1TelephonyDtmfEvents

Returns a new instance of GoogleCloudDialogflowV2beta1TelephonyDtmfEvents.



18373
18374
18375
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18373

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

Instance Attribute Details

#dtmf_eventsArray<String>

A sequence of TelephonyDtmf digits. Corresponds to the JSON property dtmfEvents

Returns:

  • (Array<String>)


18371
18372
18373
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18371

def dtmf_events
  @dtmf_events
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18378
18379
18380
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18378

def update!(**args)
  @dtmf_events = args[:dtmf_events] if args.key?(:dtmf_events)
end