Cloud Vision V1 Client - Class GetReferenceImageRequest (1.8.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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 Google\Cloud\Vision\V1\ProductSearchClient::referenceImageName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Vision\V1\GetReferenceImageRequest