public __construct ( array $message, array $metadata ) | ||
$message | array | See [PubsubMessage](https://cloud.google.com/pubsub/docs/reference/rest/v1/PubsubMessage). |
$metadata | array | { Message metadata @type string $ackId The message ackId. This is only set when messages are pulled from the PubSub service. @type Subscription $subscription The subscription the message was obtained from. This is only set when messages are delivered by pushDelivery. |