mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
Added new apiEndpoint options key for Google PubSub definition type
This commit is contained in:
+6
-2
@@ -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 <https://github.com/pheromonez>
|
||||
// Definitions by: Paul Huynh <https://github.com/pheromonez>, LunaPg <https://github.com/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;
|
||||
|
||||
Reference in New Issue
Block a user