Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation

Inherits:
Object
  • Object
show all
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

External conversation proto definition.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaConversation

Returns a new instance of GoogleCloudDiscoveryengineV1betaConversation.



2207
2208
2209
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2207

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

Output only. The time the conversation finished. Corresponds to the JSON property endTime

Returns:

  • (String)


2179
2180
2181
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2179

def end_time
  @end_time
end

#messagesArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversationMessage>

Conversation messages. Corresponds to the JSON property messages



2184
2185
2186
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2184

def messages
  @messages
end

#nameString

Immutable. Fully qualified name project/*/locations/global/collections/ collection/dataStore/*/conversations/* Corresponds to the JSON property name

Returns:

  • (String)


2190
2191
2192
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2190

def name
  @name
end

#start_timeString

Output only. The time the conversation started. Corresponds to the JSON property startTime

Returns:

  • (String)


2195
2196
2197
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2195

def start_time
  @start_time
end

#stateString

The state of the Conversation. Corresponds to the JSON property state

Returns:

  • (String)


2200
2201
2202
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2200

def state
  @state
end

#user_pseudo_idString

A unique identifier for tracking users. Corresponds to the JSON property userPseudoId

Returns:

  • (String)


2205
2206
2207
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2205

def user_pseudo_id
  @user_pseudo_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2212
2213
2214
2215
2216
2217
2218
2219
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 2212

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @messages = args[:messages] if args.key?(:messages)
  @name = args[:name] if args.key?(:name)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @user_pseudo_id = args[:user_pseudo_id] if args.key?(:user_pseudo_id)
end