Skip to content

Commit ffe9b30

Browse files
yoshi-automationJustinBeckwith
authored andcommitted
docs: fix example comments (#317)
1 parent d7ebe90 commit ffe9b30

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

packages/google-cloud-vision/src/v1/product_search_client.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ class ProductSearchClient {
412412
* .then(responses => {
413413
* const resources = responses[0];
414414
* for (const resource of resources) {
415-
* // doThingsWith(resources[i])
415+
* // doThingsWith(resource)
416416
* }
417417
* })
418418
* .catch(err => {
@@ -432,7 +432,7 @@ class ProductSearchClient {
432432
* // The actual response object, if necessary.
433433
* // const rawResponse = responses[2];
434434
* for (const resource of resources) {
435-
* // doThingsWith(resources[i]);
435+
* // doThingsWith(resource);
436436
* }
437437
* if (nextRequest) {
438438
* // Fetch the next page.
@@ -746,7 +746,7 @@ class ProductSearchClient {
746746
* .then(responses => {
747747
* const resources = responses[0];
748748
* for (const resource of resources) {
749-
* // doThingsWith(resources[i])
749+
* // doThingsWith(resource)
750750
* }
751751
* })
752752
* .catch(err => {
@@ -766,7 +766,7 @@ class ProductSearchClient {
766766
* // The actual response object, if necessary.
767767
* // const rawResponse = responses[2];
768768
* for (const resource of resources) {
769-
* // doThingsWith(resources[i]);
769+
* // doThingsWith(resource);
770770
* }
771771
* if (nextRequest) {
772772
* // Fetch the next page.
@@ -1160,7 +1160,7 @@ class ProductSearchClient {
11601160
* .then(responses => {
11611161
* const resources = responses[0];
11621162
* for (const resource of resources) {
1163-
* // doThingsWith(resources[i])
1163+
* // doThingsWith(resource)
11641164
* }
11651165
* })
11661166
* .catch(err => {
@@ -1180,7 +1180,7 @@ class ProductSearchClient {
11801180
* // The actual response object, if necessary.
11811181
* // const rawResponse = responses[2];
11821182
* for (const resource of resources) {
1183-
* // doThingsWith(resources[i]);
1183+
* // doThingsWith(resource);
11841184
* }
11851185
* if (nextRequest) {
11861186
* // Fetch the next page.
@@ -1604,7 +1604,7 @@ class ProductSearchClient {
16041604
* .then(responses => {
16051605
* const resources = responses[0];
16061606
* for (const resource of resources) {
1607-
* // doThingsWith(resources[i])
1607+
* // doThingsWith(resource)
16081608
* }
16091609
* })
16101610
* .catch(err => {
@@ -1624,7 +1624,7 @@ class ProductSearchClient {
16241624
* // The actual response object, if necessary.
16251625
* // const rawResponse = responses[2];
16261626
* for (const resource of resources) {
1627-
* // doThingsWith(resources[i]);
1627+
* // doThingsWith(resource);
16281628
* }
16291629
* if (nextRequest) {
16301630
* // Fetch the next page.

packages/google-cloud-vision/src/v1p3beta1/product_search_client.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ class ProductSearchClient {
411411
* .then(responses => {
412412
* const resources = responses[0];
413413
* for (const resource of resources) {
414-
* // doThingsWith(resources[i])
414+
* // doThingsWith(resource)
415415
* }
416416
* })
417417
* .catch(err => {
@@ -431,7 +431,7 @@ class ProductSearchClient {
431431
* // The actual response object, if necessary.
432432
* // const rawResponse = responses[2];
433433
* for (const resource of resources) {
434-
* // doThingsWith(resources[i]);
434+
* // doThingsWith(resource);
435435
* }
436436
* if (nextRequest) {
437437
* // Fetch the next page.
@@ -809,7 +809,7 @@ class ProductSearchClient {
809809
* .then(responses => {
810810
* const resources = responses[0];
811811
* for (const resource of resources) {
812-
* // doThingsWith(resources[i])
812+
* // doThingsWith(resource)
813813
* }
814814
* })
815815
* .catch(err => {
@@ -829,7 +829,7 @@ class ProductSearchClient {
829829
* // The actual response object, if necessary.
830830
* // const rawResponse = responses[2];
831831
* for (const resource of resources) {
832-
* // doThingsWith(resources[i]);
832+
* // doThingsWith(resource);
833833
* }
834834
* if (nextRequest) {
835835
* // Fetch the next page.
@@ -1283,7 +1283,7 @@ class ProductSearchClient {
12831283
* .then(responses => {
12841284
* const resources = responses[0];
12851285
* for (const resource of resources) {
1286-
* // doThingsWith(resources[i])
1286+
* // doThingsWith(resource)
12871287
* }
12881288
* })
12891289
* .catch(err => {
@@ -1303,7 +1303,7 @@ class ProductSearchClient {
13031303
* // The actual response object, if necessary.
13041304
* // const rawResponse = responses[2];
13051305
* for (const resource of resources) {
1306-
* // doThingsWith(resources[i]);
1306+
* // doThingsWith(resource);
13071307
* }
13081308
* if (nextRequest) {
13091309
* // Fetch the next page.
@@ -1619,7 +1619,7 @@ class ProductSearchClient {
16191619
* .then(responses => {
16201620
* const resources = responses[0];
16211621
* for (const resource of resources) {
1622-
* // doThingsWith(resources[i])
1622+
* // doThingsWith(resource)
16231623
* }
16241624
* })
16251625
* .catch(err => {
@@ -1639,7 +1639,7 @@ class ProductSearchClient {
16391639
* // The actual response object, if necessary.
16401640
* // const rawResponse = responses[2];
16411641
* for (const resource of resources) {
1642-
* // doThingsWith(resources[i]);
1642+
* // doThingsWith(resource);
16431643
* }
16441644
* if (nextRequest) {
16451645
* // Fetch the next page.

packages/google-cloud-vision/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-02-02T12:27:39.142556Z",
2+
"updateTime": "2019-02-05T12:22:47.592968Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.8",
8-
"dockerImage": "googleapis/artman@sha256:75bc07ef34a1de9895c18af54dc503ed3b3f3b52e85062e3360a979d2a0741e7"
7+
"version": "0.16.9",
8+
"dockerImage": "googleapis/artman@sha256:80c39fa84e7203c8f355e01bdeef82155013cc39dcaa48fba7a6fe2c253623e3"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "bce093dab3e65c40eb9a37efbdc960f34df6037a",
16-
"internalRef": "231974277"
15+
"sha": "f26c727dde5051abefc5ad9e7dee82a2686ad2b0",
16+
"internalRef": "232306662"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)