Skip to content

Commit 2747d8e

Browse files
authored
fix: add SERVICE_NAME constant to pubsub client (#8026)
1 parent 811f4e3 commit 2747d8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PubSub/src/PubSubClient.php

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ class PubSubClient
108108
SchemaServiceClient::class
109109
];
110110

111+
// The name of the service. Used in debug logging.
112+
private const SERVICE_NAME = 'google.pubsub.v2.Pubsub';
113+
111114
/**
112115
* @var RequestHandler
113116
* @internal

0 commit comments

Comments
 (0)