diff --git a/packages/google-cloud-speech/src/index.js b/packages/google-cloud-speech/src/index.js index 898a0e8adda..d30267520ab 100644 --- a/packages/google-cloud-speech/src/index.js +++ b/packages/google-cloud-speech/src/index.js @@ -71,7 +71,7 @@ function Speech(options) { }; var config = { - baseUrl: 'speech.googleapis.com', + baseUrl: 'speech.googleapis.com.', projectIdRequired: false, service: 'speech', protoServices: { diff --git a/packages/google-cloud-speech/system-test/speech.js b/packages/google-cloud-speech/system-test/speech.js index f5856aa602a..b22912534f8 100644 --- a/packages/google-cloud-speech/system-test/speech.js +++ b/packages/google-cloud-speech/system-test/speech.js @@ -39,7 +39,7 @@ FILENAMES.forEach(function(filename) { name: name, path: path.join(__dirname, 'data/' + name), gcsUri: 'gs://' + BUCKET_NAME + '/' + name, - httpUri: 'https://storage.googleapis.com/' + BUCKET_NAME + '/' + name + httpUri: 'https://storage.googleapis.com./' + BUCKET_NAME + '/' + name }; }); diff --git a/packages/google-cloud-speech/test/index.js b/packages/google-cloud-speech/test/index.js index f89c5cd4421..70a299f2d5f 100644 --- a/packages/google-cloud-speech/test/index.js +++ b/packages/google-cloud-speech/test/index.js @@ -156,7 +156,7 @@ describe('Speech', function() { var calledWith = speech.calledWith_[0]; assert.deepEqual(calledWith, { - baseUrl: 'speech.googleapis.com', + baseUrl: 'speech.googleapis.com.', projectIdRequired: false, service: 'speech', protoServices: {