Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TextInput

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

Returns a new instance of GoogleCloudDialogflowCxV3TextInput.



2632
2633
2634
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2632

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

Instance Attribute Details

#textString

Corresponds to the JSON property text

Returns:

  • (String)


2630
2631
2632
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2630

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2637
2638
2639
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 2637

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