Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse.



20710
20711
20712
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20710

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

Instance Attribute Details

#display_textString

Corresponds to the JSON property displayText

Returns:

  • (String)


20698
20699
20700
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20698

def display_text
  @display_text
end

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


20703
20704
20705
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20703

def ssml
  @ssml
end

#text_to_speechString

Corresponds to the JSON property textToSpeech

Returns:

  • (String)


20708
20709
20710
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20708

def text_to_speech
  @text_to_speech
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20715
20716
20717
20718
20719
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20715

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