Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech

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

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech.



19483
19484
19485
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19483

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

Instance Attribute Details

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


19476
19477
19478
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19476

def ssml
  @ssml
end

#textString

Corresponds to the JSON property text

Returns:

  • (String)


19481
19482
19483
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19481

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19488
19489
19490
19491
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19488

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