Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversationMessage
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversationMessage
- 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 a conversation message.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#reply ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReply
Defines a reply message to user.
-
#user_input ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput
Defines text input.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaConversationMessage
constructor
A new instance of GoogleCloudDiscoveryengineV1betaConversationMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaConversationMessage
Returns a new instance of GoogleCloudDiscoveryengineV1betaConversationMessage.
12011 12012 12013 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12011 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Message creation timestamp.
Corresponds to the JSON property createTime
11999 12000 12001 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 11999 def create_time @create_time end |
#reply ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReply
Defines a reply message to user.
Corresponds to the JSON property reply
12004 12005 12006 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12004 def reply @reply end |
#user_input ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput
Defines text input.
Corresponds to the JSON property userInput
12009 12010 12011 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12009 def user_input @user_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12016 12017 12018 12019 12020 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 12016 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 |