Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListAssistantsResponse

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 message for the AssistantService.ListAssistants method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaListAssistantsResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaListAssistantsResponse.



26742
26743
26744
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 26742

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

Instance Attribute Details

#assistantsArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant>

All the customer's Assistants. Corresponds to the JSON property assistants



26734
26735
26736
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 26734

def assistants
  @assistants
end

#next_page_tokenString

A token that can be sent as ListAssistantsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


26740
26741
26742
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 26740

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26747
26748
26749
26750
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 26747

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