Skip to content

Commit

Permalink
fix: add SERVICE_NAME constant to pubsub client (#8026)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrVrAlex authored Jan 22, 2025
1 parent 811f4e3 commit 2747d8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PubSub/src/PubSubClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ class PubSubClient
SchemaServiceClient::class
];

// The name of the service. Used in debug logging.
private const SERVICE_NAME = 'google.pubsub.v2.Pubsub';

/**
* @var RequestHandler
* @internal
Expand Down

0 comments on commit 2747d8e

Please sign in to comment.