Google Cloud Ai Platform V1 Client - Class ListRagCorporaRequest (1.13.0)

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

Request message for VertexRagDataService.ListRagCorpora.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Location from which to list the RagCorpora. Format: projects/{project}/locations/{location}

↳ page_size int

Optional. The standard list page size.

↳ page_token string

Optional. The standard list page token. Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call.

getParent

Required. The resource name of the Location from which to list the RagCorpora. Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The resource name of the Location from which to list the RagCorpora. Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The standard list page size.

Returns
Type Description
int

setPageSize

Optional. The standard list page size.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The standard list page token.

Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call.

Returns
Type Description
string

setPageToken

Optional. The standard list page token.

Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The resource name of the Location from which to list the RagCorpora. Format: projects/{project}/locations/{location} Please see VertexRagDataServiceClient::locationName() for help formatting this field.

Returns
Type Description
ListRagCorporaRequest