diff --git a/types/google-cloud__pubsub/index.d.ts b/types/google-cloud__pubsub/index.d.ts index 2cadd026cd..6205c8aee7 100644 --- a/types/google-cloud__pubsub/index.d.ts +++ b/types/google-cloud__pubsub/index.d.ts @@ -1,6 +1,6 @@ -// Type definitions for @google-cloud/pubsub 0.14 +// Type definitions for @google-cloud/pubsub 0.18 // Project: https://github.com/GoogleCloudPlatform/google-cloud-node/tree/master/packages/pubsub -// Definitions by: Paul Huynh +// Definitions by: Paul Huynh , LunaPg // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.2 @@ -13,9 +13,13 @@ declare namespace PubSub { // https://googlecloudplatform.github.io/google-cloud-node/#/docs/pubsub/0.14.1/pubsub/v1 function v1(config?: GCloudConfiguration): any; + /** + * @version: Google PubSub 0.18.0 + */ interface GCloudConfiguration { projectId?: string; keyFilename?: string; + apiEndpoint?: string; email?: string; credentials?: { client_email?: string;