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.
3843 3844 3845 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3843 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Message creation timestamp.
Corresponds to the JSON property createTime
3831 3832 3833 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3831 def create_time @create_time end |
#reply ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaReply
Defines a reply message to user.
Corresponds to the JSON property reply
3836 3837 3838 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3836 def reply @reply end |
#user_input ⇒ Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput
Defines text input.
Corresponds to the JSON property userInput
3841 3842 3843 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3841 def user_input @user_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3848 3849 3850 3851 3852 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 3848 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 |