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.
3020 3021 3022 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3020 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Message creation timestamp.
Corresponds to the JSON property createTime
3008 3009 3010 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3008 def create_time @create_time end |
#reply ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Reply
Defines a reply message to user.
Corresponds to the JSON property reply
3013 3014 3015 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3013 def reply @reply end |
#user_input ⇒ Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TextInput
Defines text input.
Corresponds to the JSON property userInput
3018 3019 3020 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3018 def user_input @user_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3025 3026 3027 3028 3029 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3025 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 |