Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListConversationsResponse

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

Response for ListConversations method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1ListConversationsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1ListConversationsResponse.



5282
5283
5284
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5282

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

Instance Attribute Details

#conversationsArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Conversation>

All the Conversations for a given data store. Corresponds to the JSON property conversations



5275
5276
5277
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5275

def conversations
  @conversations
end

#next_page_tokenString

Pagination token, if not returned indicates the last page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


5280
5281
5282
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5280

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5287
5288
5289
5290
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5287

def update!(**args)
  @conversations = args[:conversations] if args.key?(:conversations)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end