Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

credentials accepted in options only now#200

Merged
ofrobots merged 1 commit intogoogleapis:masterfrom
ofrobots:creds-in-options
Dec 20, 2016
Merged

credentials accepted in options only now#200
ofrobots merged 1 commit intogoogleapis:masterfrom
ofrobots:creds-in-options

Conversation

@ofrobots
Copy link
Copy Markdown
Contributor

No description provided.

@ofrobots ofrobots added the semver: major Hint for users that this is an API breaking change. label Dec 19, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 19, 2016
@ofrobots ofrobots changed the title creds accepted in options only now credentialss accepted in options only now Dec 19, 2016
src/index.js Outdated

if (config.keyFilename || config.credentials || config.projectId) {
throw new Error('keyFilename, projectId or credentials should be provided' +
' in the module options');

This comment was marked as spam.

This comment was marked as spam.

test/nocks.js Outdated
oauth2: nockOAuth2,
numericProjectId: nockNumericProjectId,
register: nockRegister
}; No newline at end of file

This comment was marked as spam.

This comment was marked as spam.

@ofrobots ofrobots changed the title credentialss accepted in options only now credentials accepted in options only now Dec 19, 2016
require('@google/cloud-debug').start();
```js
// Require and start in the startup of your application:
var debug = require('@google-cloud/debug')();

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

[service-account]: https://console.cloud.google.com/apis/credentials/serviceaccountkey
[npm-image]: https://img.shields.io/npm/v/@google/cloud-debug.svg
[npm-url]: https://npmjs.org/package/@google/cloud-debug
[npm-image]: https://img.shields.io/npm/v/@google-cloud/debug.svg

This comment was marked as spam.

@matthewloring
Copy link
Copy Markdown
Contributor

LGTM once the unit tests are passing.

@ofrobots ofrobots force-pushed the creds-in-options branch 2 times, most recently from 5f8542e to 7eeef47 Compare December 20, 2016 00:59
@ofrobots ofrobots merged commit 30bd528 into googleapis:master Dec 20, 2016
@ofrobots ofrobots deleted the creds-in-options branch December 20, 2016 01:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement. semver: major Hint for users that this is an API breaking change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants