Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText

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

Returns a new instance of GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText.



6697
6698
6699
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6697

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

Instance Attribute Details

#allow_playback_interruptionBoolean Also known as: allow_playback_interruption?

Corresponds to the JSON property allowPlaybackInterruption

Returns:

  • (Boolean)


6684
6685
6686
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6684

def allow_playback_interruption
  @allow_playback_interruption
end

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


6690
6691
6692
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6690

def ssml
  @ssml
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


6695
6696
6697
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6695

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6702
6703
6704
6705
6706
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6702

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