Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse

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

Returns a new instance of GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse.



19367
19368
19369
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19367

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

Instance Attribute Details

#display_textString

Corresponds to the JSON property displayText

Returns:

  • (String)


19355
19356
19357
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19355

def display_text
  @display_text
end

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


19360
19361
19362
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19360

def ssml
  @ssml
end

#text_to_speechString

Corresponds to the JSON property textToSpeech

Returns:

  • (String)


19365
19366
19367
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19365

def text_to_speech
  @text_to_speech
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19372
19373
19374
19375
19376
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19372

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