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.



7745
7746
7747
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7745

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)


7716
7717
7718
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7716

def end_time
  @end_time
end

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

Conversation messages. Corresponds to the JSON property messages



7721
7722
7723
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7721

def messages
  @messages
end

#nameString

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

Returns:

  • (String)


7728
7729
7730
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7728

def name
  @name
end

#start_timeString

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

Returns:

  • (String)


7733
7734
7735
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7733

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


7738
7739
7740
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7738

def state
  @state
end

#user_pseudo_idString

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

Returns:

  • (String)


7743
7744
7745
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7743

def user_pseudo_id
  @user_pseudo_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7750
7751
7752
7753
7754
7755
7756
7757
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7750

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