Reference documentation and code samples for the Cloud Vision V1 Client class GetReferenceImageRequest.
Request message for the GetReferenceImage method.
Generated from protobuf message google.cloud.vision.v1.GetReferenceImageRequest
Namespace
Google \ Cloud \ Vision \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The resource name of the ReferenceImage to get. Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID.
getName
Required. The resource name of the ReferenceImage to get.
Format is:
projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID.
Returns
Type
Description
string
setName
Required. The resource name of the ReferenceImage to get.
Format is:
projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The resource name of the ReferenceImage to get.
Format is:
projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID. Please see
ProductSearchClient::referenceImageName() 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 GetReferenceImageRequest (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-vision/latest/V1.GetReferenceImageRequest)\n- [2.0.2](/php/docs/reference/cloud-vision/2.0.2/V1.GetReferenceImageRequest)\n- [1.10.3](/php/docs/reference/cloud-vision/1.10.3/V1.GetReferenceImageRequest)\n- [1.9.4](/php/docs/reference/cloud-vision/1.9.4/V1.GetReferenceImageRequest)\n- [1.8.0](/php/docs/reference/cloud-vision/1.8.0/V1.GetReferenceImageRequest)\n- [1.7.6](/php/docs/reference/cloud-vision/1.7.6/V1.GetReferenceImageRequest)\n- [1.6.8](/php/docs/reference/cloud-vision/1.6.8/V1.GetReferenceImageRequest) \nReference documentation and code samples for the Cloud Vision V1 Client class GetReferenceImageRequest.\n\nRequest message for the `GetReferenceImage` method.\n\nGenerated from protobuf message `google.cloud.vision.v1.GetReferenceImageRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Vision \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The resource name of the ReferenceImage to get.\n\nFormat is:\n`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.\n\n### setName\n\nRequired. The resource name of the ReferenceImage to get.\n\nFormat is:\n`projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.\n\n### static::build"]]