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 forServiceBuilder
into a newGoogle\Cloud\Core
namespace. Most of
these classes are used internally and shouldn't have a big impact on you, but
one to take note of:Google\Cloud\Int64
has moved to
Google\Cloud\Core\Int64
. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Iam
has moved to
Google\Cloud\Core\Iam
. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Compute
has moved
toGoogle\Cloud\Core\Compute
. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Exception
has
moved toGoogle\Cloud\Core\Exception
. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Logger
has moved
toGoogle\Cloud\Core\Logger
. (#360) - ❗ BREAKING CHANGE
Google\Cloud\Upload
has moved
toGoogle\Cloud\Core\Upload
. (#360)
BigQuery
Google\Cloud\BigQuery\Table::export()
now accepts either an instance of
Google\Cloud\Storage\StorageObject
or a gcsUri string as its first argument.
(#360)
Cloud Natural Language
-
Several methods on
Google\Cloud\NaturalLanguage\NaturalLanguageClient
have
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\StorageObject
now exposes a new method called
gcsUri()
, which will return a Cloud Storage URI to your object. (#360)