Google Cloud Ai Platform V1 Client - Class ListRagCorporaResponse (1.13.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ListRagCorporaResponse.

Response message for VertexRagDataService.ListRagCorpora.

Generated from protobuf message google.cloud.aiplatform.v1.ListRagCorporaResponse

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ rag_corpora array<RagCorpus>

List of RagCorpora in the requested page.

↳ next_page_token string

A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page.

getRagCorpora

List of RagCorpora in the requested page.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRagCorpora

List of RagCorpora in the requested page.

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

getNextPageToken

A token to retrieve the next page of results.

Pass to ListRagCorporaRequest.page_token to obtain that page.

Returns
Type Description
string

setNextPageToken

A token to retrieve the next page of results.

Pass to ListRagCorporaRequest.page_token to obtain that page.

Parameter
Name Description
var string
Returns
Type Description
$this