We should port https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2768 to PHP.
We should port googleapis/google-cloud-java#2768 to PHP.