Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.



16938
16939
16940
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16938

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

Instance Attribute Details

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


16931
16932
16933
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16931

def ssml
  @ssml
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


16936
16937
16938
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16936

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16943
16944
16945
16946
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16943

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