We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75940e3 commit d49e9d2Copy full SHA for d49e9d2
src/storage.ts
@@ -33,6 +33,7 @@ import {DEFAULT_UNIVERSE} from 'google-auth-library';
33
34
export interface GetServiceAccountOptions {
35
userProject?: string;
36
+ projectIdentifier?: string;
37
}
38
export interface ServiceAccount {
39
emailAddress?: string;
test/index.ts
@@ -1344,7 +1344,10 @@ describe('Storage', () => {
1344
});
1345
1346
it('should allow user options', done => {
1347
- const options = {};
+ const options = {
1348
+ projectIdentifier: 'test-identifier',
1349
+ userProject: 'test-user-project',
1350
+ };
1351
1352
storage.request = (reqOpts: DecorateRequestOptions) => {
1353
assert.strictEqual(reqOpts.qs, options);
0 commit comments