php-docs-samples
php-docs-samples copied to clipboard
A collection of samples that demonstrate how to call Google Cloud services from PHP.
Wrote a sample and its test for fetching and displaying the bucket's storage class and location.
Addresses: https://github.com/GoogleCloudPlatform/php-docs-samples/issues/1682 (couldn't test in local, since feature not enabled in my gcp proj) Design doc: [go/php-storage-autoclass](http://goto.google.com/php-storage-autoclass) PR for python: https://github.com/googleapis/python-storage/pull/791
Running the longRunningRecognize code : ``` $op = $speechCLient->longRunningRecognize($config, $audio); $op->pollUntilComplete(); ...others ``` would return the following warning/error ``` PHP Deprecated: Implicit conversion from float 1687.5 to int loses precision...
Note: Removed the RetryTrait as I think it is used in the backups tests mostly. Using it here adds to the quota of Admin calls. We can re-add it if...
Add samples demonstrating getting and setting Autoclass feature for a bucket. Autoclass feature at the bucket level, allows for the automatic selection of the best storage class based on object...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [guzzlehttp/guzzle](http://guzzlephp.org/) ([source](https://togithub.com/guzzle/guzzle)) | require | minor | `~7.4.0` -> `~7.5.0` |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [kelvinmo/simplejwt](https://togithub.com/kelvinmo/simplejwt) | `^0.5.1` -> `^0.9.0` | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [symfony/yaml](https://symfony.com) ([source](https://togithub.com/symfony/yaml)) | `^5.2` -> `^7.0` |...