Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListConversationsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Response for ListConversations method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListConversationsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaListConversationsResponse.



3933
3934
3935
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3933

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

Instance Attribute Details

#conversationsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConversation>

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



3926
3927
3928
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3926

def conversations
  @conversations
end

#next_page_tokenString

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

Returns:

  • (String)


3931
3932
3933
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3931

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3938
3939
3940
3941
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3938

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