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.



16742
16743
16744
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16742

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

Instance Attribute Details

#display_textString

Corresponds to the JSON property displayText

Returns:

  • (String)


16730
16731
16732
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16730

def display_text
  @display_text
end

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


16735
16736
16737
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16735

def ssml
  @ssml
end

#text_to_speechString

Corresponds to the JSON property textToSpeech

Returns:

  • (String)


16740
16741
16742
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16740

def text_to_speech
  @text_to_speech
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16747
16748
16749
16750
16751
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16747

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