Skip to content

Commit

Permalink
fix: throw on invalid credentials in v1p4beta1 (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Feb 22, 2019
1 parent 648a20d commit d3cdc34
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ class ImageAnnotatorClient {
function() {
const args = Array.prototype.slice.call(arguments, 0);
return stub[methodName].apply(stub, args);
},
err =>
function() {
throw err;
}
),
defaults[methodName],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ class ProductSearchClient {
function() {
const args = Array.prototype.slice.call(arguments, 0);
return stub[methodName].apply(stub, args);
},
err =>
function() {
throw err;
}
),
defaults[methodName],
Expand Down
20 changes: 15 additions & 5 deletions packages/google-cloud-vision/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-02-13T12:30:53.767861Z",
"updateTime": "2019-02-22T12:26:14.879528Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.13",
"dockerImage": "googleapis/artman@sha256:5fd9aee1d82a00cebf425c8fa431f5457539562f5867ad9c54370f0ec9a7ccaa"
"version": "0.16.14",
"dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "ca61898878f0926dd9dcc68ba90764f17133efe4",
"internalRef": "233680013"
"sha": "ccdcb03bb137c13f75d87303607101ced8988f85",
"internalRef": "235085569"
}
},
{
Expand Down Expand Up @@ -64,6 +64,16 @@
"generator": "gapic",
"config": "google/cloud/vision/artman_vision_v1p3beta1.yaml"
}
},
{
"client": {
"source": "googleapis",
"apiName": "vision",
"apiVersion": "v1p4beta1",
"language": "nodejs",
"generator": "gapic",
"config": "google/cloud/vision/artman_vision_v1p4beta1.yaml"
}
}
]
}

0 comments on commit d3cdc34

Please sign in to comment.