Method: projects.locations.products.referenceImages.get

Gets information associated with a ReferenceImage.

Possible errors:

  • Returns NOT_FOUND if the specified image does not exist.

HTTP request

GET https://vision.googleapis.com/v1p4beta1/{name=projects/*/locations/*/products/*/referenceImages/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The resource name of the ReferenceImage to get.

Format is:

projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ReferenceImage.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-vision

For more information, see the Authentication Overview.