Reference documentation and code samples for the Cloud PubSub V1 Client class PubsubClientTelemetry.
Client-side telemetry about Pub/Sub requests, useful for debugging purposes.
If the client opts to provide this information, it will be passed as a
serialized proto in the x-goog-pubsub-client-telemetry header.
Generated from protobuf message google.pubsub.v1.PubsubClientTelemetry
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ publish_operation |
PubsubClientTelemetry\PublishOperation
Optional. Telemetry about a |
getPublishOperation
Optional. Telemetry about a Publish operation.
| Returns | |
|---|---|
| Type | Description |
PubsubClientTelemetry\PublishOperation|null |
|
hasPublishOperation
setPublishOperation
Optional. Telemetry about a Publish operation.
| Parameter | |
|---|---|
| Name | Description |
var |
PubsubClientTelemetry\PublishOperation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOperation
| Returns | |
|---|---|
| Type | Description |
string |
|