Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio.



20159
20160
20161
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20159

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

Instance Attribute Details

#audio_uriString

Corresponds to the JSON property audioUri

Returns:

  • (String)


20157
20158
20159
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20157

def audio_uri
  @audio_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20164
20165
20166
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20164

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