diff --git a/src/storage.ts b/src/storage.ts index 681145d3d..224a70b2c 100644 --- a/src/storage.ts +++ b/src/storage.ts @@ -33,6 +33,7 @@ import {DEFAULT_UNIVERSE} from 'google-auth-library'; export interface GetServiceAccountOptions { userProject?: string; + projectIdentifier?: string; } export interface ServiceAccount { emailAddress?: string; diff --git a/test/index.ts b/test/index.ts index 34104d743..6d10c02a3 100644 --- a/test/index.ts +++ b/test/index.ts @@ -1344,7 +1344,10 @@ describe('Storage', () => { }); it('should allow user options', done => { - const options = {}; + const options = { + projectIdentifier: 'test-identifier', + userProject: 'test-user-project', + }; storage.request = (reqOpts: DecorateRequestOptions) => { assert.strictEqual(reqOpts.qs, options);