Google Cloud Dialogflow V2 Client - Class ListKnowledgeBasesResponse (1.2.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ListKnowledgeBasesResponse.

Response message for KnowledgeBases.ListKnowledgeBases.

Generated from protobuf message google.cloud.dialogflow.v2.ListKnowledgeBasesResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ knowledge_bases array<Google\Cloud\Dialogflow\V2\KnowledgeBase>

The list of knowledge bases.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results in the list.

getKnowledgeBases

The list of knowledge bases.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setKnowledgeBases

The list of knowledge bases.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\V2\KnowledgeBase>
Returns
TypeDescription
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this