Repository navigation
Google Cloud PHP v0.24.0
Google Cloud PHP v0.24.0
This is a big one. We're preparing to publish each part of Google Cloud PHP as
individual packages, so this release includes many changes to prepare for that.
Google Cloud Core
- ❗ BREAKING CHANGE We've moved everything in
src/
except forServiceBuilderinto a newGoogle\Cloud\Corenamespace. Most of
these classes are used internally and shouldn't have a big impact on you, but
one to take note of:Google\Cloud\Int64has moved to
Google\Cloud\Core\Int64. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Iamhas moved to
Google\Cloud\Core\Iam. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Computehas moved
toGoogle\Cloud\Core\Compute. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Exceptionhas
moved toGoogle\Cloud\Core\Exception. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Loggerhas moved
toGoogle\Cloud\Core\Logger. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Uploadhas moved
toGoogle\Cloud\Core\Upload. (#360)
BigQuery
Google\Cloud\BigQuery\Table::export()now accepts either an instance of
Google\Cloud\Storage\StorageObjector a gcsUri string as its first argument.
(#360)
Cloud Natural Language
-
Several methods on
Google\Cloud\NaturalLanguage\NaturalLanguageClienthave
been updated:analyzeEntities()The first argument may be an instance of
Google\Cloud\Storage\StorageObject, or a string. The string may be a
gcsUri. (#360)analyzeSentiment()The first argument may be an instance of
Google\Cloud\Storage\StorageObject, or a string. The string may be a
gcsUri. (#360)analyzeSyntax()The first argument may be an instance of
Google\Cloud\Storage\StorageObject, or a string. The string may be a
gcsUri. (#360)
Cloud Speech
Google\Cloud\Speech\SpeechClient::recognize()has been updated. The first
argument may be a string of bytes, a gcsUri string, or an instance of
Google\Cloud\Storage\StorageObject. (#360)
Google Cloud Storage
Google\Cloud\Storage\StorageObjectnow exposes a new method called
gcsUri(), which will return a Cloud Storage URI to your object. (#360)