Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

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

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.



20183
20184
20185
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20183

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

Instance Attribute Details

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


20176
20177
20178
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20176

def ssml
  @ssml
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


20181
20182
20183
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20181

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20188
20189
20190
20191
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20188

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