From dbacddca110aa87d45a61b7777218ea7622db9bd Mon Sep 17 00:00:00 2001 From: John Pedrie Date: Fri, 22 Dec 2017 17:15:49 -0500 Subject: [PATCH] Prepare v0.48.0 (#814) --- README.md | 84 +++++++++++++++---------------- composer.json | 32 ++++++------ docs/manifest.json | 17 +++++++ src/BigQuery/BigQueryClient.php | 2 +- src/BigQuery/VERSION | 2 +- src/Bigtable/VERSION | 2 +- src/Container/VERSION | 1 + src/Dataproc/VERSION | 1 + src/Dlp/VERSION | 2 +- src/ErrorReporting/VERSION | 2 +- src/Firestore/FirestoreClient.php | 2 +- src/Firestore/VERSION | 2 +- src/Language/LanguageClient.php | 2 +- src/Language/VERSION | 2 +- src/Monitoring/VERSION | 2 +- src/OsLogin/VERSION | 1 + src/PubSub/PubSubClient.php | 2 +- src/PubSub/VERSION | 2 +- src/ServiceBuilder.php | 2 +- src/Spanner/SpannerClient.php | 2 +- src/Spanner/VERSION | 2 +- src/Speech/SpeechClient.php | 2 +- src/Speech/VERSION | 2 +- src/Trace/TraceClient.php | 2 +- src/Trace/VERSION | 2 +- src/Version.php | 2 +- src/VideoIntelligence/VERSION | 2 +- src/Vision/VERSION | 2 +- src/Vision/VisionClient.php | 2 +- 29 files changed, 101 insertions(+), 81 deletions(-) create mode 100644 src/Container/VERSION create mode 100644 src/Dataproc/VERSION create mode 100644 src/OsLogin/VERSION diff --git a/README.md b/README.md index 309f2506597f..96b25c72acee 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ This client supports the following Google Cloud Platform services at a [General Availability](#versioning) quality level: * [Cloud Spanner](#cloud-spanner-ga) (GA) -* [Google BigQuery](#google-bigquery-ga) (GA) * [Google Cloud Datastore](#google-cloud-datastore-ga) (GA) * [Google Cloud Storage](#google-cloud-storage-ga) (GA) * [Google Cloud Translation](#google-cloud-translation-ga) (GA) @@ -17,6 +16,7 @@ This client supports the following Google Cloud Platform services at a [General This client supports the following Google Cloud Platform services at a [Beta](#versioning) quality level: * [Cloud Firestore](#cloud-firestore-beta) (Beta) +* [Google BigQuery](#google-bigquery-beta) (Beta) * [Google Cloud Container](#google-cloud-container-beta) (Beta) * [Google Cloud Dataproc](#google-cloud-dataproc-beta) (Beta) * [Google Cloud Natural Language](#google-cloud-natural-language-beta) (Beta) @@ -137,47 +137,6 @@ Cloud Spanner can be installed separately by requiring the `google/cloud-spanner $ composer require google/cloud-spanner ``` -## Google BigQuery (GA) - -- [API Documentation](http://googlecloudplatform.github.io/google-cloud-php/#/docs/latest/bigquery/bigqueryclient) -- [Official Documentation](https://cloud.google.com/bigquery/docs) - -#### Preview - -```php -require 'vendor/autoload.php'; - -use Google\Cloud\BigQuery\BigQueryClient; - -$bigQuery = new BigQueryClient([ - 'projectId' => 'my_project' -]); - -// Get an instance of a previously created table. -$dataset = $bigQuery->dataset('my_dataset'); -$table = $dataset->table('my_table'); - -// Begin a job to import data from a CSV file into the table. -$job = $table->load( - fopen('/data/my_data.csv', 'r') -); - -// Run a query and inspect the results. -$queryResults = $bigQuery->runQuery('SELECT * FROM [my_project:my_dataset.my_table]'); - -foreach ($queryResults->rows() as $row) { - print_r($row); -} -``` - -#### google/cloud-bigquery - -Google BigQuery can be installed separately by requiring the `google/cloud-bigquery` composer package: - -``` -$ composer require google/cloud-bigquery -``` - ## Google Cloud Datastore (GA) - [API Documentation](http://googlecloudplatform.github.io/google-cloud-php/#/docs/latest/datastore/datastoreclient) @@ -402,6 +361,47 @@ Cloud Firestore can be installed separately by requiring the `google/cloud-fires $ composer require google/cloud-firestore ``` +## Google BigQuery (Beta) + +- [API Documentation](http://googlecloudplatform.github.io/google-cloud-php/#/docs/latest/bigquery/bigqueryclient) +- [Official Documentation](https://cloud.google.com/bigquery/docs) + +#### Preview + +```php +require 'vendor/autoload.php'; + +use Google\Cloud\BigQuery\BigQueryClient; + +$bigQuery = new BigQueryClient([ + 'projectId' => 'my_project' +]); + +// Get an instance of a previously created table. +$dataset = $bigQuery->dataset('my_dataset'); +$table = $dataset->table('my_table'); + +// Begin a job to import data from a CSV file into the table. +$job = $table->load( + fopen('/data/my_data.csv', 'r') +); + +// Run a query and inspect the results. +$queryResults = $bigQuery->runQuery('SELECT * FROM [my_project:my_dataset.my_table]'); + +foreach ($queryResults->rows() as $row) { + print_r($row); +} +``` + +#### google/cloud-bigquery + +Google BigQuery can be installed separately by requiring the `google/cloud-bigquery` composer package: + +``` +$ composer require google/cloud-bigquery +``` + ## Google Cloud Container (Beta) - [API Documentation](http://googlecloudplatform.github.io/google-cloud-php/#/docs/latest/monitoring/readme) diff --git a/composer.json b/composer.json index 5ddd1ade88db..e80aba0f5e66 100644 --- a/composer.json +++ b/composer.json @@ -64,27 +64,27 @@ "phpseclib/phpseclib": "^2" }, "replace": { - "google/cloud-bigquery": "0.4.0", + "google/cloud-bigquery": "0.5.0", "google/cloud-bigtable": "0.1.0", - "google/cloud-container": "master", + "google/cloud-container": "0.1.0", "google/cloud-core": "1.14.1", - "google/cloud-dataproc": "master", + "google/cloud-dataproc": "0.1.0", "google/cloud-datastore": "1.2.0", - "google/cloud-dlp": "0.4.1", - "google/cloud-error-reporting": "0.7.1", - "google/cloud-firestore": "0.3.0", - "google/cloud-language": "0.11.0", + "google/cloud-dlp": "0.4.2", + "google/cloud-error-reporting": "0.7.2", + "google/cloud-firestore": "0.3.1", + "google/cloud-language": "0.11.1", "google/cloud-logging": "1.8.0", - "google/cloud-monitoring": "0.7.1", - "google/cloud-oslogin": "master", - "google/cloud-pubsub": "0.11.0", - "google/cloud-spanner": "0.11.0", - "google/cloud-speech": "0.10.0", + "google/cloud-monitoring": "0.7.2", + "google/cloud-oslogin": "0.1.0", + "google/cloud-pubsub": "0.11.1", + "google/cloud-spanner": "1.0.0", + "google/cloud-speech": "0.10.1", "google/cloud-storage": "1.3.0", - "google/cloud-trace": "0.4.0", + "google/cloud-trace": "0.5.0", "google/cloud-translate": "1.1.0", - "google/cloud-videointelligence": "0.8.1", - "google/cloud-vision": "0.8.0" + "google/cloud-videointelligence": "0.8.2", + "google/cloud-vision": "0.8.1" }, "suggest": { "phpseclib/phpseclib": "May be used in place of OpenSSL for creating signed Cloud Storage URLs. Please require version ^2.", @@ -127,4 +127,4 @@ ] } } -} +} \ No newline at end of file diff --git a/docs/manifest.json b/docs/manifest.json index af371b2cb7b3..ced64bdcb27f 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -11,6 +11,7 @@ "name": "google/cloud", "defaultService": "readme", "versions": [ + "v0.48.0", "v0.47.0", "v0.46.0", "v0.45.2", @@ -80,6 +81,7 @@ "name": "google/cloud-bigquery", "defaultService": "bigquery/bigqueryclient", "versions": [ + "v0.5.0", "v0.4.0", "v0.3.1", "v0.3.0", @@ -97,6 +99,7 @@ "name": "google/cloud-bigtable", "defaultService": "bigtable/readme", "versions": [ + "v0.1.0", "master" ] }, @@ -105,6 +108,7 @@ "name": "google/cloud-container", "defaultService": "container/readme", "versions": [ + "v0.1.0", "master" ] }, @@ -146,6 +150,7 @@ "name": "google/cloud-dataproc", "defaultService": "dataproc/readme", "versions": [ + "v0.1.0", "master" ] }, @@ -169,6 +174,7 @@ "name": "google/cloud-dlp", "defaultService": "dlp/readme", "versions": [ + "v0.4.2", "v0.4.1", "v0.4.0", "v0.3.1", @@ -185,6 +191,7 @@ "name": "google/cloud-error-reporting", "defaultService": "errorreporting/readme", "versions": [ + "v0.7.2", "v0.7.1", "v0.7.0", "v0.6.1", @@ -206,6 +213,7 @@ "name": "google/cloud-firestore", "defaultService": "firestore/firestoreclient", "versions": [ + "v0.3.1", "v0.3.0", "v0.2.0", "v0.1.1", @@ -218,6 +226,7 @@ "name": "google/cloud-language", "defaultService": "language/languageclient", "versions": [ + "v0.11.1", "v0.11.0", "v0.10.0", "v0.9.1", @@ -262,6 +271,7 @@ "name": "google/cloud-monitoring", "defaultService": "monitoring/readme", "versions": [ + "v0.7.2", "v0.7.1", "v0.7.0", "v0.6.1", @@ -283,6 +293,7 @@ "name": "google/cloud-oslogin", "defaultService": "oslogin/readme", "versions": [ + "v0.1.0", "master" ] }, @@ -291,6 +302,7 @@ "name": "google/cloud-pubsub", "defaultService": "pubsub/pubsubclient", "versions": [ + "v0.11.1", "v0.11.0", "v0.10.0", "v0.9.2", @@ -315,6 +327,7 @@ "name": "google/cloud-spanner", "defaultService": "spanner/spannerclient", "versions": [ + "v1.0.0", "v0.11.0", "v0.10.0", "v0.9.1", @@ -341,6 +354,7 @@ "name": "google/cloud-speech", "defaultService": "speech/speechclient", "versions": [ + "v0.10.1", "v0.10.0", "v0.9.0", "v0.8.1", @@ -381,6 +395,7 @@ "name": "google/cloud-trace", "defaultService": "trace/traceclient", "versions": [ + "v0.5.0", "v0.4.0", "v0.3.3", "v0.3.2", @@ -411,6 +426,7 @@ "name": "google/cloud-videointelligence", "defaultService": "videointelligence/videointelligenceserviceclient", "versions": [ + "v0.8.2", "v0.8.1", "v0.8.0", "v0.7.0", @@ -431,6 +447,7 @@ "name": "google/cloud-vision", "defaultService": "vision/visionclient", "versions": [ + "v0.8.1", "v0.8.0", "v0.7.0", "v0.6.1", diff --git a/src/BigQuery/BigQueryClient.php b/src/BigQuery/BigQueryClient.php index f6da0425155c..7b93aabd1c3e 100644 --- a/src/BigQuery/BigQueryClient.php +++ b/src/BigQuery/BigQueryClient.php @@ -48,7 +48,7 @@ class BigQueryClient use ClientTrait; use RetryDeciderTrait; - const VERSION = '0.4.0'; + const VERSION = '0.5.0'; const MAX_DELAY_MICROSECONDS = 32000000; diff --git a/src/BigQuery/VERSION b/src/BigQuery/VERSION index 60a2d3e96c80..79a2734bbf3d 100644 --- a/src/BigQuery/VERSION +++ b/src/BigQuery/VERSION @@ -1 +1 @@ -0.4.0 \ No newline at end of file +0.5.0 \ No newline at end of file diff --git a/src/Bigtable/VERSION b/src/Bigtable/VERSION index 6e8bf73aa550..6c6aa7cb0918 100644 --- a/src/Bigtable/VERSION +++ b/src/Bigtable/VERSION @@ -1 +1 @@ -0.1.0 +0.1.0 \ No newline at end of file diff --git a/src/Container/VERSION b/src/Container/VERSION new file mode 100644 index 000000000000..6c6aa7cb0918 --- /dev/null +++ b/src/Container/VERSION @@ -0,0 +1 @@ +0.1.0 \ No newline at end of file diff --git a/src/Dataproc/VERSION b/src/Dataproc/VERSION new file mode 100644 index 000000000000..6c6aa7cb0918 --- /dev/null +++ b/src/Dataproc/VERSION @@ -0,0 +1 @@ +0.1.0 \ No newline at end of file diff --git a/src/Dlp/VERSION b/src/Dlp/VERSION index 44bb5d1f7435..f7abe273d307 100644 --- a/src/Dlp/VERSION +++ b/src/Dlp/VERSION @@ -1 +1 @@ -0.4.1 \ No newline at end of file +0.4.2 \ No newline at end of file diff --git a/src/ErrorReporting/VERSION b/src/ErrorReporting/VERSION index 7deb86fee428..d5cc44d1d3f2 100644 --- a/src/ErrorReporting/VERSION +++ b/src/ErrorReporting/VERSION @@ -1 +1 @@ -0.7.1 \ No newline at end of file +0.7.2 \ No newline at end of file diff --git a/src/Firestore/FirestoreClient.php b/src/Firestore/FirestoreClient.php index d9db3497f99c..aa806f4fced2 100644 --- a/src/Firestore/FirestoreClient.php +++ b/src/Firestore/FirestoreClient.php @@ -53,7 +53,7 @@ class FirestoreClient use SnapshotTrait; use ValidateTrait; - const VERSION = '0.3.0'; + const VERSION = '0.3.1'; const DEFAULT_DATABASE = '(default)'; diff --git a/src/Firestore/VERSION b/src/Firestore/VERSION index 9325c3ccda98..a2268e2de445 100644 --- a/src/Firestore/VERSION +++ b/src/Firestore/VERSION @@ -1 +1 @@ -0.3.0 \ No newline at end of file +0.3.1 \ No newline at end of file diff --git a/src/Language/LanguageClient.php b/src/Language/LanguageClient.php index 52f5541b066d..600aaf85dd67 100644 --- a/src/Language/LanguageClient.php +++ b/src/Language/LanguageClient.php @@ -43,7 +43,7 @@ class LanguageClient use ClientTrait; use RetryDeciderTrait; - const VERSION = '0.11.0'; + const VERSION = '0.11.1'; const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/src/Language/VERSION b/src/Language/VERSION index 142464bf22b4..027934ea1a1a 100644 --- a/src/Language/VERSION +++ b/src/Language/VERSION @@ -1 +1 @@ -0.11.0 \ No newline at end of file +0.11.1 \ No newline at end of file diff --git a/src/Monitoring/VERSION b/src/Monitoring/VERSION index 7deb86fee428..d5cc44d1d3f2 100644 --- a/src/Monitoring/VERSION +++ b/src/Monitoring/VERSION @@ -1 +1 @@ -0.7.1 \ No newline at end of file +0.7.2 \ No newline at end of file diff --git a/src/OsLogin/VERSION b/src/OsLogin/VERSION new file mode 100644 index 000000000000..6c6aa7cb0918 --- /dev/null +++ b/src/OsLogin/VERSION @@ -0,0 +1 @@ +0.1.0 \ No newline at end of file diff --git a/src/PubSub/PubSubClient.php b/src/PubSub/PubSubClient.php index ae7cb64dea2d..b08eba97d209 100644 --- a/src/PubSub/PubSubClient.php +++ b/src/PubSub/PubSubClient.php @@ -84,7 +84,7 @@ class PubSubClient use IncomingMessageTrait; use ResourceNameTrait; - const VERSION = '0.11.0'; + const VERSION = '0.11.1'; const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/pubsub'; diff --git a/src/PubSub/VERSION b/src/PubSub/VERSION index 142464bf22b4..027934ea1a1a 100644 --- a/src/PubSub/VERSION +++ b/src/PubSub/VERSION @@ -1 +1 @@ -0.11.0 \ No newline at end of file +0.11.1 \ No newline at end of file diff --git a/src/ServiceBuilder.php b/src/ServiceBuilder.php index 4331cf4ba8b9..20ff843498f5 100644 --- a/src/ServiceBuilder.php +++ b/src/ServiceBuilder.php @@ -30,5 +30,5 @@ class ServiceBuilder extends CoreServiceBuilder /** * @deprecated */ - const VERSION = '0.47.0'; + const VERSION = '0.48.0'; } diff --git a/src/Spanner/SpannerClient.php b/src/Spanner/SpannerClient.php index 5e00bb8f2182..116f1253bef7 100644 --- a/src/Spanner/SpannerClient.php +++ b/src/Spanner/SpannerClient.php @@ -73,7 +73,7 @@ class SpannerClient use LROTrait; use ValidateTrait; - const VERSION = '0.11.0'; + const VERSION = '1.0.0'; const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/spanner.data'; const ADMIN_SCOPE = 'https://www.googleapis.com/auth/spanner.admin'; diff --git a/src/Spanner/VERSION b/src/Spanner/VERSION index 142464bf22b4..afaf360d37fb 100644 --- a/src/Spanner/VERSION +++ b/src/Spanner/VERSION @@ -1 +1 @@ -0.11.0 \ No newline at end of file +1.0.0 \ No newline at end of file diff --git a/src/Speech/SpeechClient.php b/src/Speech/SpeechClient.php index eaa765561be9..9e67de756f2a 100644 --- a/src/Speech/SpeechClient.php +++ b/src/Speech/SpeechClient.php @@ -42,7 +42,7 @@ class SpeechClient { use ClientTrait; - const VERSION = '0.10.0'; + const VERSION = '0.10.1'; const SCOPE = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/src/Speech/VERSION b/src/Speech/VERSION index 2774f8587f40..71172b43ae95 100644 --- a/src/Speech/VERSION +++ b/src/Speech/VERSION @@ -1 +1 @@ -0.10.0 \ No newline at end of file +0.10.1 \ No newline at end of file diff --git a/src/Trace/TraceClient.php b/src/Trace/TraceClient.php index d5c73a52fb95..261e72a4eb74 100644 --- a/src/Trace/TraceClient.php +++ b/src/Trace/TraceClient.php @@ -41,7 +41,7 @@ class TraceClient { use ClientTrait; - const VERSION = '0.4.0'; + const VERSION = '0.5.0'; const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/cloud-platform'; diff --git a/src/Trace/VERSION b/src/Trace/VERSION index 60a2d3e96c80..79a2734bbf3d 100644 --- a/src/Trace/VERSION +++ b/src/Trace/VERSION @@ -1 +1 @@ -0.4.0 \ No newline at end of file +0.5.0 \ No newline at end of file diff --git a/src/Version.php b/src/Version.php index 9efe297b324e..26a764840c02 100644 --- a/src/Version.php +++ b/src/Version.php @@ -22,5 +22,5 @@ */ class Version { - const VERSION = '0.47.0'; + const VERSION = '0.48.0'; } diff --git a/src/VideoIntelligence/VERSION b/src/VideoIntelligence/VERSION index c18d72be3037..53a48a1e8c64 100644 --- a/src/VideoIntelligence/VERSION +++ b/src/VideoIntelligence/VERSION @@ -1 +1 @@ -0.8.1 \ No newline at end of file +0.8.2 \ No newline at end of file diff --git a/src/Vision/VERSION b/src/Vision/VERSION index 8adc70fdd9d6..c18d72be3037 100644 --- a/src/Vision/VERSION +++ b/src/Vision/VERSION @@ -1 +1 @@ -0.8.0 \ No newline at end of file +0.8.1 \ No newline at end of file diff --git a/src/Vision/VisionClient.php b/src/Vision/VisionClient.php index b70eded6d256..62a3c47fbb4f 100644 --- a/src/Vision/VisionClient.php +++ b/src/Vision/VisionClient.php @@ -42,7 +42,7 @@ class VisionClient use ClientTrait; use ValidateTrait; - const VERSION = '0.8.0'; + const VERSION = '0.8.1'; const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/cloud-platform';