Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
- 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
-
#allow_playback_interruption ⇒ Boolean
(also: #allow_playback_interruption?)
Corresponds to the JSON property
allowPlaybackInterruption. -
#ssml ⇒ String
Corresponds to the JSON property
ssml. -
#text ⇒ String
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
Returns a new instance of GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText.
5609 5610 5611 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5609 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_playback_interruption ⇒ Boolean Also known as: allow_playback_interruption?
Corresponds to the JSON property allowPlaybackInterruption
5596 5597 5598 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5596 def allow_playback_interruption @allow_playback_interruption end |
#ssml ⇒ String
Corresponds to the JSON property ssml
5602 5603 5604 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5602 def ssml @ssml end |
#text ⇒ String
Corresponds to the JSON property text
5607 5608 5609 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5607 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5614 5615 5616 5617 5618 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5614 def update!(**args) @allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption) @ssml = args[:ssml] if args.key?(:ssml) @text = args[:text] if args.key?(:text) end |