Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSimpleResponse

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

Returns a new instance of GoogleCloudDialogflowV2IntentMessageSimpleResponse.



8965
8966
8967
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8965

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

Instance Attribute Details

#display_textString

Corresponds to the JSON property displayText

Returns:

  • (String)


8953
8954
8955
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8953

def display_text
  @display_text
end

#ssmlString

Corresponds to the JSON property ssml

Returns:

  • (String)


8958
8959
8960
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8958

def ssml
  @ssml
end

#text_to_speechString

Corresponds to the JSON property textToSpeech

Returns:

  • (String)


8963
8964
8965
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8963

def text_to_speech
  @text_to_speech
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8970
8971
8972
8973
8974
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8970

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