Google Cloud Discovery Engine V1 Client - Class ListAssistantsResponse (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListAssistantsResponse.

Response message for the AssistantService.ListAssistants method.

Generated from protobuf message google.cloud.discoveryengine.v1.ListAssistantsResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ assistants array<Assistant>

All the customer's Assistants.

↳ next_page_token string

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.

getAssistants

All the customer's Assistants.

Returns
Type Description
Google\Protobuf\RepeatedField<Assistant>

setAssistants

All the customer's Assistants.

Parameter
Name Description
var array<Assistant>
Returns
Type Description
$this

getNextPageToken

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.

Returns
Type Description
string

setNextPageToken

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.

Parameter
Name Description
var string
Returns
Type Description
$this