Cloud Vision V1 Client - Class ListReferenceImagesResponse (1.6.8)

Reference documentation and code samples for the Cloud Vision V1 Client class ListReferenceImagesResponse.

Response message for the ListReferenceImages method.

Generated from protobuf message google.cloud.vision.v1.ListReferenceImagesResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ reference_images array<Google\Cloud\Vision\V1\ReferenceImage>

The list of reference images.

↳ page_size int

The maximum number of items to return. Default 10, maximum 100.

↳ next_page_token string

The next_page_token returned from a previous List request, if any.

getReferenceImages

The list of reference images.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReferenceImages

The list of reference images.

Parameter
NameDescription
var array<Google\Cloud\Vision\V1\ReferenceImage>
Returns
TypeDescription
$this

getPageSize

The maximum number of items to return. Default 10, maximum 100.

Returns
TypeDescription
int

setPageSize

The maximum number of items to return. Default 10, maximum 100.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getNextPageToken

The next_page_token returned from a previous List request, if any.

Returns
TypeDescription
string

setNextPageToken

The next_page_token returned from a previous List request, if any.

Parameter
NameDescription
var string
Returns
TypeDescription
$this