Google Cloud Vision Ai V1 Client - Class ListCollectionsResponse (0.2.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ListCollectionsResponse.

Response message for ListCollections.

Generated from protobuf message google.cloud.visionai.v1.ListCollectionsResponse

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ collections array<Collection>

The collections from the specified corpus.

↳ next_page_token string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

getCollections

The collections from the specified corpus.

Returns
Type Description
Google\Protobuf\RepeatedField<Collection>

setCollections

The collections from the specified corpus.

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

getNextPageToken

A token, which can be sent as page_token to retrieve the next page.

If this field is omitted, there are no subsequent pages.

Returns
Type Description
string

setNextPageToken

A token, which can be sent as 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