Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListConversationsResponse

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

Response for ListConversations method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListConversationsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaListConversationsResponse.



15633
15634
15635
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15633

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

Instance Attribute Details

#conversationsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation>

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



15626
15627
15628
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15626

def conversations
  @conversations
end

#next_page_tokenString

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

Returns:

  • (String)


15631
15632
15633
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15631

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15638
15639
15640
15641
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15638

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