Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConversationMessage
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ConversationMessage
- 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 a conversation message.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#reply ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Reply
Defines a reply message to user.
-
#user_input ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TextInput
Defines text input.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ConversationMessage
constructor
A new instance of GoogleCloudDiscoveryengineV1ConversationMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ConversationMessage
Returns a new instance of GoogleCloudDiscoveryengineV1ConversationMessage.
3462 3463 3464 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Message creation timestamp.
Corresponds to the JSON property createTime
3450 3451 3452 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3450 def create_time @create_time end |
#reply ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Reply
Defines a reply message to user.
Corresponds to the JSON property reply
3455 3456 3457 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3455 def reply @reply end |
#user_input ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TextInput
Defines text input.
Corresponds to the JSON property userInput
3460 3461 3462 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3460 def user_input @user_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3467 3468 3469 3470 3471 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3467 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @reply = args[:reply] if args.key?(:reply) @user_input = args[:user_input] if args.key?(:user_input) end |