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.



26954
26955
26956
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 26954

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



26946
26947
26948
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 26946

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)


26952
26953
26954
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 26952

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26959
26960
26961
26962
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 26959

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