Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ListCorporaResponse.
Response message for ListCorpora.
Generated from protobuf message google.cloud.visionai.v1.ListCorporaResponse
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ corpora |
array<Corpus>
The corpora in the project. |
↳ next_page_token |
string
A token to retrieve next page of results. Pass to ListCorporaRequest.page_token to obtain that page. |
getCorpora
The corpora in the project.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setCorpora
The corpora in the project.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Corpus>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
A token to retrieve next page of results.
Pass to ListCorporaRequest.page_token to obtain that page.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
A token to retrieve next page of results.
Pass to ListCorporaRequest.page_token to obtain that page.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|