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.
4088 4089 4090 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4088 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Message creation timestamp.
Corresponds to the JSON property createTime
4076 4077 4078 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4076 def create_time @create_time end |
#reply ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReply
Defines a reply message to user.
Corresponds to the JSON property reply
4081 4082 4083 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4081 def reply @reply end |
#user_input ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput
Defines text input.
Corresponds to the JSON property userInput
4086 4087 4088 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4086 def user_input @user_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4093 4094 4095 4096 4097 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 4093 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 |