Skip to content

Commit cb19b54

Browse files
author
Luke Sneeringer
committed
Nodejs GAPIC: vision v1
1 parent a7d8030 commit cb19b54

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

packages/vision/src/v1/image_annotator_client.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
2-
* Copyright 2016 Google Inc. All rights reserved.
2+
* Copyright 2017, Google Inc. All rights reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
8+
* http://www.apache.org/licenses/LICENSE-2.0
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -35,7 +35,7 @@ var SERVICE_ADDRESS = 'vision.googleapis.com';
3535

3636
var DEFAULT_SERVICE_PORT = 443;
3737

38-
var CODE_GEN_NAME_VERSION = 'gapic/0.1.0';
38+
var CODE_GEN_NAME_VERSION = 'gapic/0.7.1';
3939

4040
/**
4141
* The scopes needed to make gRPC calls to all of the methods defined in
@@ -109,9 +109,10 @@ function ImageAnnotatorClient(gaxGrpc, grpcClients, opts) {
109109
});
110110
}
111111

112+
112113
/**
113114
* Get the project ID used by this class.
114-
* @aram {function(Error, string)} callback - the callback to be called with
115+
* @param {function(Error, string)} callback - the callback to be called with
115116
* the current project Id.
116117
*/
117118
ImageAnnotatorClient.prototype.getProjectId = function(callback) {
@@ -196,4 +197,4 @@ function ImageAnnotatorClientBuilder(gaxGrpc) {
196197
}
197198
module.exports = ImageAnnotatorClientBuilder;
198199
module.exports.SERVICE_ADDRESS = SERVICE_ADDRESS;
199-
module.exports.ALL_SCOPES = ALL_SCOPES;
200+
module.exports.ALL_SCOPES = ALL_SCOPES;

packages/vision/src/v1/image_annotator_client_config.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"DEADLINE_EXCEEDED",
77
"UNAVAILABLE"
88
],
9-
"non_idempotent": []
9+
"non_idempotent": [
10+
"UNAVAILABLE"
11+
]
1012
},
1113
"retry_params": {
1214
"default": {

packages/vision/src/v1/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function v1(options) {
2727
return imageAnnotatorClient(gaxGrpc);
2828
}
2929

30+
v1.GAPIC_VERSION = '0.7.1';
3031
v1.SERVICE_ADDRESS = imageAnnotatorClient.SERVICE_ADDRESS;
3132
v1.ALL_SCOPES = imageAnnotatorClient.ALL_SCOPES;
3233

0 commit comments

Comments
 (0)