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.
13573 13574 13575 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Message creation timestamp.
Corresponds to the JSON property createTime
13561 13562 13563 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13561 def create_time @create_time end |
#reply ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReply
Defines a reply message to user.
Corresponds to the JSON property reply
13566 13567 13568 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13566 def reply @reply end |
#user_input ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput
Defines text input.
Corresponds to the JSON property userInput
13571 13572 13573 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13571 def user_input @user_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13578 13579 13580 13581 13582 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13578 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 |