Enforcing max limits set by getApiMaxRequestElementCount() and getApiMaxRequestBytes().
The limits are documented in the pubsub documentation here (Quotas and limits on batch messaging).
getApiMaxRequestElementCount() and getApiMaxRequestBytes() are not new methods, just has not previously been enforced.