Google Cloud Vision Ai V1 Client - Class ViewCollectionItemsResponse (0.1.0)

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

Response message for ViewCollectionItems.

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

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ items array<CollectionItem>

The items from the specified collection.

↳ 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.

getItems

The items from the specified collection.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setItems

The items from the specified collection.

Parameter
Name Description
var array<CollectionItem>
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