Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Defines text input.
Instance Attribute Summary collapse
-
#context ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversationContext
Defines context of the conversation Corresponds to the JSON property
context. -
#input ⇒ String
Text input.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaTextInput
constructor
A new instance of GoogleCloudDiscoveryengineV1betaTextInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaTextInput
Returns a new instance of GoogleCloudDiscoveryengineV1betaTextInput.
8331 8332 8333 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8331 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversationContext
Defines context of the conversation
Corresponds to the JSON property context
8324 8325 8326 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8324 def context @context end |
#input ⇒ String
Text input.
Corresponds to the JSON property input
8329 8330 8331 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8329 def input @input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8336 8337 8338 8339 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8336 def update!(**args) @context = args[:context] if args.key?(:context) @input = args[:input] if args.key?(:input) end |