Skip to content

Commit

Permalink
BREAKING: rename method imagePath => referenceImagePath (#296)
Browse files Browse the repository at this point in the history
* [CHANGE ME] Re-generated  to pick up changes in the API or client library generator.

* rename imagePath => referenceImagePath in samples
  • Loading branch information
yoshi-automation authored and jkwlui committed Dec 19, 2018
1 parent 9107649 commit 870f233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vision/samples/productSearch/referenceImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function getReferenceImage(
// const productId = 'Id of the product';
// const referenceImageId = 'Id of the reference image';

const formattedName = client.imagePath(
const formattedName = client.referenceImagePath(
projectId,
location,
productId,
Expand Down Expand Up @@ -140,7 +140,7 @@ async function deleteReferenceImage(
// const productId = 'Id of the product';
// const referenceImageId = 'Id of the reference image';

const formattedName = client.imagePath(
const formattedName = client.referenceImagePath(
projectId,
location,
productId,
Expand Down

0 comments on commit 870f233

Please sign in to comment.