Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTextInput
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTextInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Defines text input.
Instance Attribute Summary collapse
-
#context ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversationContext
Defines context of the conversation Corresponds to the JSON property
context
. -
#input ⇒ String
Text input.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaTextInput
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaTextInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaTextInput
Returns a new instance of GoogleCloudDiscoveryengineV1alphaTextInput.
4652 4653 4654 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversationContext
Defines context of the conversation
Corresponds to the JSON property context
4645 4646 4647 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4645 def context @context end |
#input ⇒ String
Text input.
Corresponds to the JSON property input
4650 4651 4652 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4650 def input @input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4657 4658 4659 4660 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4657 def update!(**args) @context = args[:context] if args.key?(:context) @input = args[:input] if args.key?(:input) end |