Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse

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

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse.



16786
16787
16788
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16786

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

Instance Attribute Details

#display_textString

Corresponds to the JSON property displayText

Returns:

  • (String)


16774
16775
16776
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16774

def display_text
  @display_text
end

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


16779
16780
16781
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16779

def ssml
  @ssml
end

#text_to_speechString

Corresponds to the JSON property textToSpeech

Returns:

  • (String)


16784
16785
16786
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16784

def text_to_speech
  @text_to_speech
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16791
16792
16793
16794
16795
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16791

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