Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversationMessage
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversationMessage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Defines a conversation message.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#reply ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReply
Defines a reply message to user.
-
#user_input ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTextInput
Defines text input.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConversationMessage
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaConversationMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConversationMessage
Returns a new instance of GoogleCloudDiscoveryengineV1alphaConversationMessage.
1919 1920 1921 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1919 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Message creation timestamp.
Corresponds to the JSON property createTime
1907 1908 1909 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1907 def create_time @create_time end |
#reply ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaReply
Defines a reply message to user.
Corresponds to the JSON property reply
1912 1913 1914 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1912 def reply @reply end |
#user_input ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaTextInput
Defines text input.
Corresponds to the JSON property userInput
1917 1918 1919 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1917 def user_input @user_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1924 1925 1926 1927 1928 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1924 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 |