Skip to content

Commit

Permalink
Prepare v0.48.0 (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpedrie authored Dec 22, 2017
1 parent f409de0 commit dbacddc
Show file tree
Hide file tree
Showing 29 changed files with 101 additions and 81 deletions.
84 changes: 42 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
32 changes: 16 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -127,4 +127,4 @@
]
}
}
}
}
17 changes: 17 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.48.0",
"v0.47.0",
"v0.46.0",
"v0.45.2",
Expand Down Expand Up @@ -80,6 +81,7 @@
"name": "google/cloud-bigquery",
"defaultService": "bigquery/bigqueryclient",
"versions": [
"v0.5.0",
"v0.4.0",
"v0.3.1",
"v0.3.0",
Expand All @@ -97,6 +99,7 @@
"name": "google/cloud-bigtable",
"defaultService": "bigtable/readme",
"versions": [
"v0.1.0",
"master"
]
},
Expand All @@ -105,6 +108,7 @@
"name": "google/cloud-container",
"defaultService": "container/readme",
"versions": [
"v0.1.0",
"master"
]
},
Expand Down Expand Up @@ -146,6 +150,7 @@
"name": "google/cloud-dataproc",
"defaultService": "dataproc/readme",
"versions": [
"v0.1.0",
"master"
]
},
Expand All @@ -169,6 +174,7 @@
"name": "google/cloud-dlp",
"defaultService": "dlp/readme",
"versions": [
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.1",
Expand All @@ -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",
Expand All @@ -206,6 +213,7 @@
"name": "google/cloud-firestore",
"defaultService": "firestore/firestoreclient",
"versions": [
"v0.3.1",
"v0.3.0",
"v0.2.0",
"v0.1.1",
Expand All @@ -218,6 +226,7 @@
"name": "google/cloud-language",
"defaultService": "language/languageclient",
"versions": [
"v0.11.1",
"v0.11.0",
"v0.10.0",
"v0.9.1",
Expand Down Expand Up @@ -262,6 +271,7 @@
"name": "google/cloud-monitoring",
"defaultService": "monitoring/readme",
"versions": [
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.1",
Expand All @@ -283,6 +293,7 @@
"name": "google/cloud-oslogin",
"defaultService": "oslogin/readme",
"versions": [
"v0.1.0",
"master"
]
},
Expand All @@ -291,6 +302,7 @@
"name": "google/cloud-pubsub",
"defaultService": "pubsub/pubsubclient",
"versions": [
"v0.11.1",
"v0.11.0",
"v0.10.0",
"v0.9.2",
Expand All @@ -315,6 +327,7 @@
"name": "google/cloud-spanner",
"defaultService": "spanner/spannerclient",
"versions": [
"v1.0.0",
"v0.11.0",
"v0.10.0",
"v0.9.1",
Expand All @@ -341,6 +354,7 @@
"name": "google/cloud-speech",
"defaultService": "speech/speechclient",
"versions": [
"v0.10.1",
"v0.10.0",
"v0.9.0",
"v0.8.1",
Expand Down Expand Up @@ -381,6 +395,7 @@
"name": "google/cloud-trace",
"defaultService": "trace/traceclient",
"versions": [
"v0.5.0",
"v0.4.0",
"v0.3.3",
"v0.3.2",
Expand Down Expand Up @@ -411,6 +426,7 @@
"name": "google/cloud-videointelligence",
"defaultService": "videointelligence/videointelligenceserviceclient",
"versions": [
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.0",
Expand All @@ -431,6 +447,7 @@
"name": "google/cloud-vision",
"defaultService": "vision/visionclient",
"versions": [
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.6.1",
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.4.0';
const VERSION = '0.5.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.4.0
0.5.0
2 changes: 1 addition & 1 deletion src/Bigtable/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.0
1 change: 1 addition & 0 deletions src/Container/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
1 change: 1 addition & 0 deletions src/Dataproc/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
2 changes: 1 addition & 1 deletion src/Dlp/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.1
0.4.2
2 changes: 1 addition & 1 deletion src/ErrorReporting/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.1
0.7.2
2 changes: 1 addition & 1 deletion src/Firestore/FirestoreClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class FirestoreClient
use SnapshotTrait;
use ValidateTrait;

const VERSION = '0.3.0';
const VERSION = '0.3.1';

const DEFAULT_DATABASE = '(default)';

Expand Down
2 changes: 1 addition & 1 deletion src/Firestore/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.3.1
2 changes: 1 addition & 1 deletion src/Language/LanguageClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/Language/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.0
0.11.1
2 changes: 1 addition & 1 deletion src/Monitoring/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.1
0.7.2
1 change: 1 addition & 0 deletions src/OsLogin/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0
2 changes: 1 addition & 1 deletion src/PubSub/PubSubClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/PubSub/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.0
0.11.1
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.47.0';
const VERSION = '0.48.0';
}
2 changes: 1 addition & 1 deletion src/Spanner/SpannerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Loading

0 comments on commit dbacddc

Please sign in to comment.