Reference documentation and code samples for the Cloud Vision V1 Client class ListReferenceImagesRequest.
Request message for the ListReferenceImages method.
Generated from protobuf message google.cloud.vision.v1.ListReferenceImagesRequest
Namespace
Google \ Cloud \ Vision \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Resource name of the product containing the reference images. Format is projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID.
↳ page_size
int
The maximum number of items to return. Default 10, maximum 100.
↳ page_token
string
A token identifying a page of results to be returned. This is the value of nextPageToken returned in a previous reference image list request. Defaults to the first page if not specified.
getParent
Required. Resource name of the product containing the reference images.
Format is
projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID.
Returns
Type
Description
string
setParent
Required. Resource name of the product containing the reference images.
Format is
projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
The maximum number of items to return. Default 10, maximum 100.
Returns
Type
Description
int
setPageSize
The maximum number of items to return. Default 10, maximum 100.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
A token identifying a page of results to be returned. This is the value
of nextPageToken returned in a previous reference image list request.
Defaults to the first page if not specified.
Returns
Type
Description
string
setPageToken
A token identifying a page of results to be returned. This is the value
of nextPageToken returned in a previous reference image list request.
Defaults to the first page if not specified.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. Resource name of the product containing the reference images.
Format is
projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID. Please see
ProductSearchClient::productName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Vision V1 Client - Class ListReferenceImagesRequest (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-vision/latest/V1.ListReferenceImagesRequest)\n- [2.0.2](/php/docs/reference/cloud-vision/2.0.2/V1.ListReferenceImagesRequest)\n- [1.10.3](/php/docs/reference/cloud-vision/1.10.3/V1.ListReferenceImagesRequest)\n- [1.9.4](/php/docs/reference/cloud-vision/1.9.4/V1.ListReferenceImagesRequest)\n- [1.8.0](/php/docs/reference/cloud-vision/1.8.0/V1.ListReferenceImagesRequest)\n- [1.7.6](/php/docs/reference/cloud-vision/1.7.6/V1.ListReferenceImagesRequest)\n- [1.6.8](/php/docs/reference/cloud-vision/1.6.8/V1.ListReferenceImagesRequest) \nReference documentation and code samples for the Cloud Vision V1 Client class ListReferenceImagesRequest.\n\nRequest message for the `ListReferenceImages` method.\n\nGenerated from protobuf message `google.cloud.vision.v1.ListReferenceImagesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Vision \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Resource name of the product containing the reference images.\n\nFormat is\n`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.\n\n### setParent\n\nRequired. Resource name of the product containing the reference images.\n\nFormat is\n`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.\n\n### getPageSize\n\nThe maximum number of items to return. Default 10, maximum 100.\n\n### setPageSize\n\nThe maximum number of items to return. Default 10, maximum 100.\n\n### getPageToken\n\nA token identifying a page of results to be returned. This is the value\nof `nextPageToken` returned in a previous reference image list request.\n\nDefaults to the first page if not specified.\n\n### setPageToken\n\nA token identifying a page of results to be returned. This is the value\nof `nextPageToken` returned in a previous reference image list request.\n\nDefaults to the first page if not specified.\n\n### static::build"]]