Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please take a moment to review and make sure I covered everything! This is a big one.
PLEASE MERGE #707 FIRSTGoogle Cloud PHP v0.40.0
Thank you to everyone for your help and patience on this release. Please take the time to read and understand this document, particularly if you are using Cloud BigQuery! While we made more breaking changes than normal, we believe they position us well for the future, and we look forward to hearing your feedback!
Cloud Core v1.10.0
Google\Cloud\Core\ServiceBuilder
now throws\Exception
when a service is requested but is not installed. (ensures servicebuilder throws proper exceptions #682)Google\Cloud\Core\ConcurrencyControlTrait
, used to applyIf-Match
headers to outgoing REST requests. (Add support for etags on bigquery tables and datasets #634)Cloud BigQuery v0.3.0
Google\Cloud\BigQuery\BigQueryClient::runQuery()
now polls a job and returns only when the query is complete. (Run query and wait for it to complete #604)Google\Cloud\BigQuery\Job::waitUntilComplete()
. It is no longer necessary to poll for job completion. ([BC Break] Implement waitUntilComplete and block while waiting for query results #642)Google\Cloud\BigQuery\Job::queryResults()
will block when first iterated, or when any rows are accessed. ([BC Break] Implement waitUntilComplete and block while waiting for query results #642)Google\Cloud\BigQuery\QueryResults::isComplete()
has been marked@internal
. This means it is not intended for use outside of the library. ([BC Break] Implement waitUntilComplete and block while waiting for query results #642)Google\Cloud\BigQuery\QueryResults
now implementsIteratorAggregate
, and can be iterated over directly. ([BC Break] Implement waitUntilComplete and block while waiting for query results #642)CopyJobConfiguration
,ExtractJobConfiguration
,LoadJobConfiguration
,QueryJobConfiguration
classes toGoogle\Cloud\BigQuery
to assist in configuration different types of Jobs. (Introduce remaining BigQuery to GA items #686).Google\Cloud\BigQuery\runQuery()
now usesjobs.insert
instead ofjobs.query
and accepts an instance ofGoogle\Cloud\BigQuery\QueryJobConfiguration
as its first argument. ([BC Break] Implement waitUntilComplete and block while waiting for query results #642, Introduce remaining BigQuery to GA items #686)Google\Cloud\BigQuery\BigQueryClient::runQueryAsJob()
has been removed in favor ofstartQuery()
.startQuery()
accepts an instance ofGoogle\Cloud\BigQuery\QueryJobConfiguration
as its first argument. (Introduce remaining BigQuery to GA items #686)Google\Cloud\BigQuery\Table::startJob()
to start an asynchronous Job. (Introduce remaining BigQuery to GA items #686)Google\Cloud\BigQuery\Table::runJob()
to start a synchronous Job. (Introduce remaining BigQuery to GA items #686)Google\Cloud\BigQuery\Table::copy()
now returns an instance ofGoogle\Cloud\BigQuery\CopyJobConfiguration
which can be used withstartJob()
orrunJob()
. (Introduce remaining BigQuery to GA items #686)Google\Cloud\BigQuery\Table::export()
has been renamedextract()
now returns an instance ofGoogle\Cloud\BigQuery\ExportJobConfiguration
which can be used withstartJob()
orrunJob()
. (Introduce remaining BigQuery to GA items #686)Google\Cloud\BigQuery\Table::load()
now returns an instance ofGoogle\Cloud\BigQuery\LoadJobConfiguration
which can be used withstartJob()
orrunJob()
. (Introduce remaining BigQuery to GA items #686)Google\Cloud\BigQuery\Table::loadFromStorage()
now returns an instance ofGoogle\Cloud\BigQuery\LoadJobConfiguration
which can be used withstartJob()
orrunJob()
. (Introduce remaining BigQuery to GA items #686)Google\Cloud\BigQuery\Table::insertRows()
now supports an optional configuration option,$options.autoCreate
, which, if enabled, will attempt to automatically create the table if it does not exist. (Introduce remaining BigQuery to GA items #686)Cloud DLP v0.2.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679)Cloud Error Reporting v0.5.0
$psrBatchLogger
to$psrLogger
. (renames psrBatchLogger to psrLogger #690)google/gax
andgoogle/proto-client
. (Refresh gapics #679)Cloud Language v0.6.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679, Require google/gax and google/proto-client in grpc components #707)Cloud Logging v1.5.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679)Cloud Monitoring v0.5.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679)Cloud Pub/Sub v0.8.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679)Cloud Spanner v0.7.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679)Cloud Speech v0.8.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679, Require google/gax and google/proto-client in grpc components #707)Cloud Storage v1.2.0
projectId()
method toGoogle\Cloud\Storage\Connection\Rest
. (Provide project ID in storage connection #681)Cloud VideoIntelligence v0.5.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679)Cloud Vision v0.5.0
google/gax
andgoogle/proto-client
. (Refresh gapics #679, Require google/gax and google/proto-client in grpc components #707)