Skip to content

Commit

Permalink
Prepare v0.50.0 (#833)
Browse files Browse the repository at this point in the history
* Prepare v0.50.0

* correct link
  • Loading branch information
dwsupplee authored Jan 5, 2018
1 parent 0ee21c7 commit a150406
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 56 deletions.
85 changes: 42 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

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)
Expand All @@ -17,7 +18,6 @@ This client supports the following Google Cloud Platform services at a [Beta](#v

* [Cloud Firestore](#cloud-firestore-beta) (Beta)
* [Google Bigtable](#google-bigtable-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)
Expand Down Expand Up @@ -139,6 +139,47 @@ 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)
Expand Down Expand Up @@ -396,48 +437,6 @@ Google Bigtable can be installed separately by requiring the `google/cloud-bigta
$ composer require google/cloud-bigtable
```


## 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)
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,23 @@
"phpseclib/phpseclib": "^2"
},
"replace": {
"google/cloud-bigquery": "0.6.0",
"google/cloud-bigquery": "1.0.0",
"google/cloud-bigtable": "0.1.1",
"google/cloud-container": "0.1.1",
"google/cloud-core": "1.15.0",
"google/cloud-core": "1.15.1",
"google/cloud-dataproc": "0.1.1",
"google/cloud-datastore": "1.2.0",
"google/cloud-dlp": "0.4.3",
"google/cloud-error-reporting": "0.7.3",
"google/cloud-firestore": "0.3.2",
"google/cloud-language": "0.11.2",
"google/cloud-logging": "1.8.1",
"google/cloud-logging": "1.8.2",
"google/cloud-monitoring": "0.7.3",
"google/cloud-oslogin": "0.1.1",
"google/cloud-pubsub": "0.11.2",
"google/cloud-spanner": "1.0.1",
"google/cloud-speech": "0.10.2",
"google/cloud-storage": "1.3.0",
"google/cloud-storage": "1.3.1",
"google/cloud-trace": "0.5.1",
"google/cloud-translate": "1.1.0",
"google/cloud-videointelligence": "0.8.3",
Expand Down
5 changes: 5 additions & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"name": "google/cloud",
"defaultService": "readme",
"versions": [
"v0.50.0",
"v0.49.0",
"v0.48.0",
"v0.47.0",
Expand Down Expand Up @@ -82,6 +83,7 @@
"name": "google/cloud-bigquery",
"defaultService": "bigquery/bigqueryclient",
"versions": [
"v1.0.0",
"v0.6.0",
"v0.5.0",
"v0.4.0",
Expand Down Expand Up @@ -121,6 +123,7 @@
"name": "google/cloud-core",
"defaultService": "core/servicebuilder",
"versions": [
"v1.15.1",
"v1.15.0",
"v1.14.1",
"v1.14.0",
Expand Down Expand Up @@ -268,6 +271,7 @@
"name": "google/cloud-logging",
"defaultService": "logging/loggingclient",
"versions": [
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.0",
Expand Down Expand Up @@ -401,6 +405,7 @@
"name": "google/cloud-storage",
"defaultService": "storage/storageclient",
"versions": [
"v1.3.1",
"v1.3.0",
"v1.2.1",
"v1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/BigQuery/BigQueryClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class BigQueryClient
use ClientTrait;
use RetryDeciderTrait;

const VERSION = '0.6.0';
const VERSION = '1.0.0';

const MAX_DELAY_MICROSECONDS = 32000000;

Expand Down
2 changes: 1 addition & 1 deletion src/BigQuery/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.0
1.0.0
2 changes: 1 addition & 1 deletion src/Core/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.15.0
1.15.1
2 changes: 1 addition & 1 deletion src/Logging/LoggingClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class LoggingClient
use ArrayTrait;
use ClientTrait;

const VERSION = '1.8.1';
const VERSION = '1.8.2';

const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/logging.admin';
const READ_ONLY_SCOPE = 'https://www.googleapis.com/auth/logging.read';
Expand Down
2 changes: 1 addition & 1 deletion src/Logging/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.1
1.8.2
2 changes: 1 addition & 1 deletion src/ServiceBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ class ServiceBuilder extends CoreServiceBuilder
/**
* @deprecated
*/
const VERSION = '0.49.0';
const VERSION = '0.50.0';
}
2 changes: 1 addition & 1 deletion src/Storage/StorageClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class StorageClient
use ArrayTrait;
use ClientTrait;

const VERSION = '1.3.0';
const VERSION = '1.3.1';

const FULL_CONTROL_SCOPE = 'https://www.googleapis.com/auth/devstorage.full_control';
const READ_ONLY_SCOPE = 'https://www.googleapis.com/auth/devstorage.read_only';
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0
1.3.1
2 changes: 1 addition & 1 deletion src/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
*/
class Version
{
const VERSION = '0.49.0';
const VERSION = '0.50.0';
}

0 comments on commit a150406

Please sign in to comment.