Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TextInput
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TextInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Defines text input.
Instance Attribute Summary collapse
-
#context ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConversationContext
Defines context of the conversation Corresponds to the JSON property
context. -
#input ⇒ String
Text input.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1TextInput
constructor
A new instance of GoogleCloudDiscoveryengineV1TextInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1TextInput
Returns a new instance of GoogleCloudDiscoveryengineV1TextInput.
7958 7959 7960 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7958 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConversationContext
Defines context of the conversation
Corresponds to the JSON property context
7951 7952 7953 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7951 def context @context end |
#input ⇒ String
Text input.
Corresponds to the JSON property input
7956 7957 7958 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7956 def input @input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7963 7964 7965 7966 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 7963 def update!(**args) @context = args[:context] if args.key?(:context) @input = args[:input] if args.key?(:input) end |