gcloud 0.12.2 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/gcloud.rb +27 -456
- data/lib/gcloud/bigquery.rb +2 -382
- data/lib/gcloud/datastore.rb +2 -576
- data/lib/gcloud/dns.rb +2 -321
- data/lib/gcloud/logging.rb +1 -322
- data/lib/gcloud/pubsub.rb +2 -476
- data/lib/gcloud/resource_manager.rb +2 -273
- data/lib/gcloud/storage.rb +2 -440
- data/lib/gcloud/translate.rb +1 -250
- data/lib/gcloud/version.rb +2 -2
- data/lib/gcloud/vision.rb +1 -501
- metadata +36 -332
- data/AUTHENTICATION.md +0 -75
- data/CHANGELOG.md +0 -382
- data/OVERVIEW.md +0 -259
- data/lib/gcloud/backoff.rb +0 -150
- data/lib/gcloud/bigquery/copy_job.rb +0 -97
- data/lib/gcloud/bigquery/credentials.rb +0 -29
- data/lib/gcloud/bigquery/data.rb +0 -239
- data/lib/gcloud/bigquery/dataset.rb +0 -753
- data/lib/gcloud/bigquery/dataset/access.rb +0 -507
- data/lib/gcloud/bigquery/dataset/list.rb +0 -169
- data/lib/gcloud/bigquery/extract_job.rb +0 -117
- data/lib/gcloud/bigquery/insert_response.rb +0 -81
- data/lib/gcloud/bigquery/job.rb +0 -299
- data/lib/gcloud/bigquery/job/list.rb +0 -172
- data/lib/gcloud/bigquery/load_job.rb +0 -202
- data/lib/gcloud/bigquery/project.rb +0 -475
- data/lib/gcloud/bigquery/query_data.rb +0 -234
- data/lib/gcloud/bigquery/query_job.rb +0 -137
- data/lib/gcloud/bigquery/schema.rb +0 -359
- data/lib/gcloud/bigquery/service.rb +0 -506
- data/lib/gcloud/bigquery/table.rb +0 -1141
- data/lib/gcloud/bigquery/table/list.rb +0 -180
- data/lib/gcloud/bigquery/view.rb +0 -475
- data/lib/gcloud/credentials.rb +0 -129
- data/lib/gcloud/datastore/commit.rb +0 -148
- data/lib/gcloud/datastore/credentials.rb +0 -35
- data/lib/gcloud/datastore/cursor.rb +0 -76
- data/lib/gcloud/datastore/dataset.rb +0 -660
- data/lib/gcloud/datastore/dataset/lookup_results.rb +0 -219
- data/lib/gcloud/datastore/dataset/query_results.rb +0 -386
- data/lib/gcloud/datastore/entity.rb +0 -449
- data/lib/gcloud/datastore/errors.rb +0 -41
- data/lib/gcloud/datastore/gql_query.rb +0 -211
- data/lib/gcloud/datastore/grpc_utils.rb +0 -132
- data/lib/gcloud/datastore/key.rb +0 -281
- data/lib/gcloud/datastore/properties.rb +0 -128
- data/lib/gcloud/datastore/query.rb +0 -348
- data/lib/gcloud/datastore/service.rb +0 -167
- data/lib/gcloud/datastore/transaction.rb +0 -362
- data/lib/gcloud/dns/change.rb +0 -158
- data/lib/gcloud/dns/change/list.rb +0 -173
- data/lib/gcloud/dns/credentials.rb +0 -29
- data/lib/gcloud/dns/importer.rb +0 -183
- data/lib/gcloud/dns/project.rb +0 -247
- data/lib/gcloud/dns/record.rb +0 -170
- data/lib/gcloud/dns/record/list.rb +0 -174
- data/lib/gcloud/dns/service.rb +0 -167
- data/lib/gcloud/dns/zone.rb +0 -759
- data/lib/gcloud/dns/zone/list.rb +0 -168
- data/lib/gcloud/dns/zone/transaction.rb +0 -176
- data/lib/gcloud/errors.rb +0 -206
- data/lib/gcloud/gce.rb +0 -56
- data/lib/gcloud/grpc_utils.rb +0 -87
- data/lib/gcloud/logging/credentials.rb +0 -29
- data/lib/gcloud/logging/entry.rb +0 -465
- data/lib/gcloud/logging/entry/http_request.rb +0 -141
- data/lib/gcloud/logging/entry/list.rb +0 -177
- data/lib/gcloud/logging/entry/operation.rb +0 -90
- data/lib/gcloud/logging/logger.rb +0 -307
- data/lib/gcloud/logging/metric.rb +0 -169
- data/lib/gcloud/logging/metric/list.rb +0 -172
- data/lib/gcloud/logging/project.rb +0 -642
- data/lib/gcloud/logging/resource.rb +0 -84
- data/lib/gcloud/logging/resource_descriptor.rb +0 -137
- data/lib/gcloud/logging/resource_descriptor/list.rb +0 -174
- data/lib/gcloud/logging/service.rb +0 -267
- data/lib/gcloud/logging/sink.rb +0 -227
- data/lib/gcloud/logging/sink/list.rb +0 -171
- data/lib/gcloud/pubsub/credentials.rb +0 -29
- data/lib/gcloud/pubsub/message.rb +0 -94
- data/lib/gcloud/pubsub/policy.rb +0 -204
- data/lib/gcloud/pubsub/project.rb +0 -482
- data/lib/gcloud/pubsub/received_message.rb +0 -160
- data/lib/gcloud/pubsub/service.rb +0 -334
- data/lib/gcloud/pubsub/subscription.rb +0 -565
- data/lib/gcloud/pubsub/subscription/list.rb +0 -208
- data/lib/gcloud/pubsub/topic.rb +0 -511
- data/lib/gcloud/pubsub/topic/list.rb +0 -174
- data/lib/gcloud/pubsub/topic/publisher.rb +0 -85
- data/lib/gcloud/resource_manager/credentials.rb +0 -30
- data/lib/gcloud/resource_manager/manager.rb +0 -266
- data/lib/gcloud/resource_manager/policy.rb +0 -211
- data/lib/gcloud/resource_manager/project.rb +0 -484
- data/lib/gcloud/resource_manager/project/list.rb +0 -167
- data/lib/gcloud/resource_manager/project/updater.rb +0 -130
- data/lib/gcloud/resource_manager/service.rb +0 -127
- data/lib/gcloud/storage/bucket.rb +0 -775
- data/lib/gcloud/storage/bucket/acl.rb +0 -810
- data/lib/gcloud/storage/bucket/cors.rb +0 -153
- data/lib/gcloud/storage/bucket/list.rb +0 -172
- data/lib/gcloud/storage/credentials.rb +0 -29
- data/lib/gcloud/storage/errors.rb +0 -65
- data/lib/gcloud/storage/file.rb +0 -842
- data/lib/gcloud/storage/file/acl.rb +0 -425
- data/lib/gcloud/storage/file/list.rb +0 -191
- data/lib/gcloud/storage/file/verifier.rb +0 -67
- data/lib/gcloud/storage/project.rb +0 -316
- data/lib/gcloud/storage/service.rb +0 -347
- data/lib/gcloud/translate/api.rb +0 -241
- data/lib/gcloud/translate/detection.rb +0 -137
- data/lib/gcloud/translate/language.rb +0 -69
- data/lib/gcloud/translate/service.rb +0 -80
- data/lib/gcloud/translate/translation.rb +0 -112
- data/lib/gcloud/vision/annotate.rb +0 -224
- data/lib/gcloud/vision/annotation.rb +0 -455
- data/lib/gcloud/vision/annotation/entity.rb +0 -234
- data/lib/gcloud/vision/annotation/face.rb +0 -1750
- data/lib/gcloud/vision/annotation/properties.rb +0 -245
- data/lib/gcloud/vision/annotation/safe_search.rb +0 -161
- data/lib/gcloud/vision/annotation/text.rb +0 -236
- data/lib/gcloud/vision/annotation/vertex.rb +0 -108
- data/lib/gcloud/vision/credentials.rb +0 -29
- data/lib/gcloud/vision/image.rb +0 -590
- data/lib/gcloud/vision/location.rb +0 -115
- data/lib/gcloud/vision/project.rb +0 -278
- data/lib/gcloud/vision/service.rb +0 -66
- data/lib/google/api/annotations.rb +0 -14
- data/lib/google/api/http.rb +0 -30
- data/lib/google/api/label.rb +0 -24
- data/lib/google/api/monitored_resource.rb +0 -25
- data/lib/google/datastore/v1beta3/datastore.rb +0 -115
- data/lib/google/datastore/v1beta3/datastore_services.rb +0 -33
- data/lib/google/datastore/v1beta3/entity.rb +0 -63
- data/lib/google/datastore/v1beta3/query.rb +0 -128
- data/lib/google/devtools/cloudtrace/v1/trace.rb +0 -78
- data/lib/google/devtools/cloudtrace/v1/trace_services.rb +0 -32
- data/lib/google/example/library/v1/library.rb +0 -91
- data/lib/google/example/library/v1/library_services.rb +0 -40
- data/lib/google/iam/v1/iam_policy.rb +0 -33
- data/lib/google/iam/v1/iam_policy_services.rb +0 -30
- data/lib/google/iam/v1/policy.rb +0 -25
- data/lib/google/logging/type/http_request.rb +0 -28
- data/lib/google/logging/type/log_severity.rb +0 -27
- data/lib/google/logging/v2/log_entry.rb +0 -44
- data/lib/google/logging/v2/logging.rb +0 -56
- data/lib/google/logging/v2/logging_config.rb +0 -59
- data/lib/google/logging/v2/logging_config_services.rb +0 -32
- data/lib/google/logging/v2/logging_metrics.rb +0 -51
- data/lib/google/logging/v2/logging_metrics_services.rb +0 -32
- data/lib/google/logging/v2/logging_services.rb +0 -31
- data/lib/google/longrunning/operations.rb +0 -50
- data/lib/google/longrunning/operations_services.rb +0 -29
- data/lib/google/protobuf/descriptor.rb +0 -0
- data/lib/google/pubsub/v1/pubsub.rb +0 -129
- data/lib/google/pubsub/v1/pubsub_services.rb +0 -56
- data/lib/google/pubsub/v1beta2/pubsub.rb +0 -126
- data/lib/google/pubsub/v1beta2/pubsub_services.rb +0 -56
- data/lib/google/rpc/code.rb +0 -32
- data/lib/google/rpc/error_details.rb +0 -61
- data/lib/google/rpc/status.rb +0 -19
- data/lib/google/type/color.rb +0 -20
- data/lib/google/type/date.rb +0 -18
- data/lib/google/type/dayofweek.rb +0 -23
- data/lib/google/type/latlng.rb +0 -17
- data/lib/google/type/money.rb +0 -18
- data/lib/google/type/timeofday.rb +0 -19
data/AUTHENTICATION.md
DELETED
@@ -1,75 +0,0 @@
|
|
1
|
-
# Authentication
|
2
|
-
|
3
|
-
## Creating a Service Account
|
4
|
-
|
5
|
-
The gcloud-ruby library aims to make authentication as simple as possible. Google Cloud requires a **Project ID** and **Service Account Credentials** to connect to the APIs. To create a service account:
|
6
|
-
|
7
|
-
1. Visit the [Google Developers Console Projects page](https://console.developers.google.com/project).
|
8
|
-
1. Create a new project or click on an existing project that you wish to use.
|
9
|
-
1. In the project's **Dashboard**, under **Explore other services**, click **Enable APIs and get credentials like keys**.
|
10
|
-
1. Turn on one or more of the following APIs by clicking on each API name and then clicking **Enable API** (click **More** if you do not see an API; also, you may need to enable billing in order to use some services):
|
11
|
-
* BigQuery API
|
12
|
-
* Cloud Datastore API
|
13
|
-
* Cloud DNS API
|
14
|
-
* Cloud Pub/Sub API
|
15
|
-
* Cloud Storage Service
|
16
|
-
* Cloud Storage JSON API
|
17
|
-
1. In the left nav, click **Credentials**.
|
18
|
-
1. Under **New credentials**, select **Service account key**.
|
19
|
-
1. If you want to create a new service account, under **Service account**, select **New service account**. Otherwise, select an existing service account. Submit the form to download a JSON type key. Save the downloaded JSON key file to authorize your requests.
|
20
|
-
|
21
|
-
You will use the **Project ID** and **JSON file** to connect to services with gcloud-ruby.
|
22
|
-
|
23
|
-
## Project and Credential Lookup
|
24
|
-
|
25
|
-
The gcloud-ruby library aims to make authentication as simple as possible, and provides several mechanisms to configure your system without providing **Project ID** and **Service Account Credentials** directly in code.
|
26
|
-
|
27
|
-
**Project ID** is discovered in the following order:
|
28
|
-
|
29
|
-
1. Specify project ID in code
|
30
|
-
2. Discover project ID in environment variables
|
31
|
-
3. Discover GCE project ID
|
32
|
-
|
33
|
-
**Credentials** are discovered in the following order:
|
34
|
-
|
35
|
-
1. Specify credentials in code
|
36
|
-
2. Discover credentials path in environment variables
|
37
|
-
3. Discover credentials JSON in environment variables
|
38
|
-
4. Discover credentials file in the Cloud SDK's path
|
39
|
-
5. Discover GCE credentials
|
40
|
-
|
41
|
-
### Compute Engine
|
42
|
-
|
43
|
-
While running on Google Compute Engine no extra work is needed. The **Project ID** and **Credentials** and are discovered automatically. Code should be written as if already authenticated.
|
44
|
-
|
45
|
-
### Environment Variables
|
46
|
-
|
47
|
-
The **Project ID** and **Credentials JSON** can be placed in environment variables instead of declaring them directly in code. Each service has its own environment variable, allowing for different service accounts to be used for different services. The path to the **Credentials JSON** file can be stored in the environment variable, or the **Credentials JSON** itself can be stored for environments such as Docker containers where writing files is difficult or not encouraged.
|
48
|
-
|
49
|
-
Here are the environment variables that Datastore checks for project ID:
|
50
|
-
|
51
|
-
1. DATASTORE_PROJECT
|
52
|
-
2. GCLOUD_PROJECT
|
53
|
-
|
54
|
-
Here are the environment variables that Datastore checks for credentials:
|
55
|
-
|
56
|
-
1. DATASTORE_KEYFILE - Path to JSON file
|
57
|
-
2. GCLOUD_KEYFILE - Path to JSON file
|
58
|
-
3. DATASTORE_KEYFILE_JSON - JSON contents
|
59
|
-
4. GCLOUD_KEYFILE_JSON - JSON contents
|
60
|
-
|
61
|
-
### Cloud SDK
|
62
|
-
|
63
|
-
This option allows for an easy way to authenticate during development. If credentials are not provided in code or in environment variables, then Cloud SDK credentials are discovered.
|
64
|
-
|
65
|
-
To configure your system for this, simply:
|
66
|
-
|
67
|
-
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
68
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
69
|
-
3. Write code as if already authenticated.
|
70
|
-
|
71
|
-
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK should only be used during development.
|
72
|
-
|
73
|
-
## Troubleshooting
|
74
|
-
|
75
|
-
If you're having trouble authenticating open a [Github Issue](https://github.com/GoogleCloudPlatform/gcloud-ruby/issues/new?title=Authentication+question) to get help. Also consider searching or asking [questions](http://stackoverflow.com/questions/tagged/gcloud-ruby) on [StackOverflow](http://stackoverflow.com).
|
data/CHANGELOG.md
DELETED
@@ -1,382 +0,0 @@
|
|
1
|
-
# Release History
|
2
|
-
|
3
|
-
### 0.12.2 / 2016-08-09
|
4
|
-
|
5
|
-
#### Changes
|
6
|
-
|
7
|
-
* BigQuery
|
8
|
-
* Allow `Dataset#create_table` syntax used prior to v0.12.0.
|
9
|
-
|
10
|
-
### 0.12.1 / 2016-08-01
|
11
|
-
|
12
|
-
#### Changes
|
13
|
-
|
14
|
-
* Datastore
|
15
|
-
* Change `Datastore#next?` to use `NOT_FINISHED` (timanovsky)
|
16
|
-
* Pub/Sub
|
17
|
-
* Fix bug in pull timeout (mpcm)
|
18
|
-
* Minor code cleanup and acceptance testing changes
|
19
|
-
|
20
|
-
### 0.12.0 / 2016-07-25
|
21
|
-
|
22
|
-
In addition to upgrading the `google-api-client` dependency to the latest version (a significant change in the HTTP stack), this release makes a number of small, breaking changes in anticipation of gcloud-ruby `1.0`.
|
23
|
-
|
24
|
-
#### Changes
|
25
|
-
|
26
|
-
* Core
|
27
|
-
* Upgrade Google API Client dependency to `0.9`
|
28
|
-
* Upgrade gRPC dependency to `1.0.0.pre1`
|
29
|
-
* Add optional arguments `retries` and `timeout` to service factories
|
30
|
-
* Remove `Gcloud::Error#inner`, use `#cause` instead
|
31
|
-
* Remove `Gcloud::Backoff`
|
32
|
-
* Remove `Gcloud::Upload`
|
33
|
-
* BigQuery
|
34
|
-
* Replace `Bigquery::Error` and `Bigquery::ApiError` classes with `Gcloud::Error` classes
|
35
|
-
* Update `Dataset#access` to return a frozen `Dataset::Access` object (was array of hashes)
|
36
|
-
* Remove `Dataset#access=`, use `Dataset#access` with a block to make changes
|
37
|
-
* Update `Dataset#create_table` method
|
38
|
-
* Remove `schema` optional argument
|
39
|
-
* Add `fields` optional argument
|
40
|
-
* Yield `Table::Updater` instead of `Table::Schema`
|
41
|
-
* Remove erroneous `Dataset::Access` methods
|
42
|
-
* `Dataset::Access#add_owner_view`
|
43
|
-
* `Dataset::Access#add_writer_view`
|
44
|
-
* `Dataset::Access#remove_writer_view`
|
45
|
-
* `Dataset::Access#remove_owner_view`
|
46
|
-
* `Dataset::Access#writer_view?`
|
47
|
-
* `Dataset::Access#owner_view?`
|
48
|
-
* Remove erroneous `Job::List#total` accessor
|
49
|
-
* Remove erroneous `Project#access` method
|
50
|
-
* Move `Table::Schema` to `Schema`
|
51
|
-
* Update `Table#schema` to return a frozen `Schema` object (was hash)
|
52
|
-
* Remove `Table#schema=`, use `Table#schema` with a block to make changes
|
53
|
-
* Add `Schema::Field`
|
54
|
-
* Add `View#id` and `#query_id` methods, to match `Table`
|
55
|
-
* Add `Dataset::Updater` class
|
56
|
-
* Add `Table::Updater` class
|
57
|
-
* Remove `Table#load` optional argument `chunk_size`
|
58
|
-
* Datastore
|
59
|
-
* Replace `Datastore::Error` and `Datastore::KeyfileError` classes with `Gcloud::Error` classes
|
60
|
-
* Add `KeyError` class
|
61
|
-
* Remove `TransactionError#commit_error` and `#transaction_error` methods, use `#cause` instead
|
62
|
-
* Add `Entity#serialized_size` method
|
63
|
-
* Add `Key#serialized_size` method
|
64
|
-
* Update documentation for emulator (pcostell)
|
65
|
-
* DNS
|
66
|
-
* Replace `Dns::Error` and `Dns::ApiError` classes with `Gcloud::Error` classes
|
67
|
-
* Logging
|
68
|
-
* Update `Project#entry` with convenient optional arguments
|
69
|
-
* Add `Entry#resource=` method
|
70
|
-
* Add `Entry` severity convenience methods
|
71
|
-
* `Entry#default!`
|
72
|
-
* `Entry#debug!`
|
73
|
-
* `Entry#info!`
|
74
|
-
* `Entry#notice!`
|
75
|
-
* `Entry#warning!`
|
76
|
-
* `Entry#error!`
|
77
|
-
* `Entry#critical!`
|
78
|
-
* `Entry#alert!`
|
79
|
-
* `Entry#emergency!`
|
80
|
-
* Pub/Sub
|
81
|
-
* Add `Policy` class
|
82
|
-
* Update `Topic#policy` to yield a `Policy` object to be updated
|
83
|
-
* Update `Topic#policy`/`#policy=` to return/receive `Policy` object (was hash)
|
84
|
-
* Update `Subscription#policy` to yield a `Policy` object to be updated
|
85
|
-
* Update `Subscription#policy`/`#policy=` to return/receive `Policy` object (was hash)
|
86
|
-
* Rename `Topic::Batch` to `Topic::Publisher`
|
87
|
-
* Resource Manager
|
88
|
-
* Upgrade to `V1` API
|
89
|
-
* Add `Policy` class
|
90
|
-
* Update `Project#policy` to yield a `Policy` object to be updated
|
91
|
-
* Update `Project#policy`/`#policy=` to return/receive `Policy` object (was hash)
|
92
|
-
* Storage
|
93
|
-
* Replace `Storage::Error` and `Storage::ApiError` classes with `Gcloud::Error` classes
|
94
|
-
* Update `Project#create_bucket`
|
95
|
-
* Yield `Bucket::Updater` object instead of a `Bucket::Cors` object
|
96
|
-
* Remove `cors` optional argument
|
97
|
-
* Remove `Bucket#create_file` optional argument `chunk_size`
|
98
|
-
* Remove `Bucket#cors=`, use `Bucket#cors` with a block to make changes
|
99
|
-
* Add `Bucket::Cors::Rule` class
|
100
|
-
* Remove erroneous `Bucket::DefaultAcl` methods
|
101
|
-
* `Bucket::DefaultAcl#writers`
|
102
|
-
* `Bucket::DefaultAcl#add_writer`
|
103
|
-
* Remove erroneous `File::Acl` methods
|
104
|
-
* `File::Acl#writers`
|
105
|
-
* `File::Acl#add_writer`
|
106
|
-
* Translate
|
107
|
-
* Replace `Translate::Error` and `Translate::ApiError` classes with `Gcloud::Error` classes
|
108
|
-
* Vision
|
109
|
-
* Replace `Vision::Error` and `Vision::ApiError` classes with `Gcloud::Error` classes
|
110
|
-
|
111
|
-
|
112
|
-
### 0.11.0 / 2016-06-13
|
113
|
-
|
114
|
-
#### Changes
|
115
|
-
|
116
|
-
* Add backoff to all requests (dolzenko)
|
117
|
-
* BigQuery
|
118
|
-
* Add `#all` to `Data`
|
119
|
-
* Add `#all`, `#next` and `#next?` to `Dataset::List`, `Job::List`,
|
120
|
-
`QueryData`, `Table::List` and `Dataset::LookupResults`
|
121
|
-
* `#all` methods now return lazy enumerator with `request_limit`
|
122
|
-
* Datastore
|
123
|
-
* Add `#cursor_for`, `#each_with_cursor` and `#all_with_cursor` to
|
124
|
-
`Dataset::QueryResults`
|
125
|
-
* `#all` and `#all_with_cursor` methods now return lazy enumerator with
|
126
|
-
`request_limit`
|
127
|
-
* DNS
|
128
|
-
* Add `#all` to `Change::List` and `Zone::List`
|
129
|
-
* `#all` methods now return lazy enumerator with `request_limit`
|
130
|
-
* Logging
|
131
|
-
* `#all` methods now return lazy enumerator with `request_limit`
|
132
|
-
* Pub/Sub
|
133
|
-
* Fix bug when publishing multi-byte strings
|
134
|
-
* Add support for IO-ish objects
|
135
|
-
* Add `#all`, `#next` and `#next?` to `Subscription::List` and `Topic::List`
|
136
|
-
* `#all` methods now return lazy enumerator with `request_limit`
|
137
|
-
* Resource Manager
|
138
|
-
* `#all` methods now return lazy enumerator with `request_limit`
|
139
|
-
* Storage
|
140
|
-
* Breaking Change: Remove `retries` option from `Bucket#delete` and
|
141
|
-
`Project#create_bucket` (configure in `Backoff` instead)
|
142
|
-
* Add support for customer-supplied encryption keys
|
143
|
-
* Fix issue verifying large files (Aguasvivas22)
|
144
|
-
* `#all` methods now return lazy enumerator with `request_limit`
|
145
|
-
* Vision
|
146
|
-
* Add support for IO-ish objects
|
147
|
-
|
148
|
-
### 0.10.0 / 2016-05-19
|
149
|
-
|
150
|
-
#### Major Changes
|
151
|
-
|
152
|
-
* Add Vision service implementation
|
153
|
-
|
154
|
-
#### Minor Changes
|
155
|
-
|
156
|
-
* BigQuery
|
157
|
-
* Restore chunk_size argument on Gcloud::Bigquery::Table#load (gramos74)
|
158
|
-
* Storage
|
159
|
-
* Gcloud::Storage::Bucket#create_file now uses default chunk_size
|
160
|
-
* Datastore
|
161
|
-
* Fixed documentation (bmclean)
|
162
|
-
* Add Gcloud::Upload.default_chunk_size
|
163
|
-
* Pegged dependency to google-protobuf version 3.0.0.alpha.5.0.5.1
|
164
|
-
|
165
|
-
### 0.9.0 / 2016-05-11
|
166
|
-
|
167
|
-
#### Major Changes
|
168
|
-
|
169
|
-
* Datastore
|
170
|
-
* Upgrade Datastore to v1beta3 using gRPC
|
171
|
-
* Add GQL query support
|
172
|
-
* Breaking Changes:
|
173
|
-
* `QueryResults#more_results` is now a symbol, was a string
|
174
|
-
* `ApiError` is removed, top-level Gcloud errors returned now
|
175
|
-
* `DATASTORE_HOST` environment variable removed, use
|
176
|
-
`DATASTORE_EMULATOR_HOST` now
|
177
|
-
|
178
|
-
#### Minor Changes
|
179
|
-
|
180
|
-
* Datastore
|
181
|
-
* Add insert and update methods to specify persistence behavior
|
182
|
-
* Allow different updates (upsert/insert/update/delete) in a
|
183
|
-
single commit outside of a transaction
|
184
|
-
* Entity can now have Location property values
|
185
|
-
* `QueryResults#more_after_cursor?` was added
|
186
|
-
* `QueryResults#next?`, `#next`, `#all` were added
|
187
|
-
* Allow array of objects as well as splat arguments
|
188
|
-
* Translate
|
189
|
-
* Allow array of strings as well as splat arguments
|
190
|
-
|
191
|
-
### 0.8.2 / 2016-05-04
|
192
|
-
|
193
|
-
#### Changes
|
194
|
-
|
195
|
-
* Datastore
|
196
|
-
* Fix issue with blob values being stored in base64 (bmclean)
|
197
|
-
|
198
|
-
### 0.8.1 / 2016-05-03
|
199
|
-
|
200
|
-
#### Changes
|
201
|
-
|
202
|
-
* Datastore
|
203
|
-
* Add support for blob values (bmclean)
|
204
|
-
* Add support for Date and DateTime values
|
205
|
-
* Add support for setting read consistency
|
206
|
-
* Add support for batch operations outside of a transaction (timanovsky)
|
207
|
-
* Fix handling of rollback errors (timanovsky)
|
208
|
-
* Remove setting of project/dataset_id in query partition (toots)
|
209
|
-
|
210
|
-
### 0.8.0 / 2016-04-28
|
211
|
-
|
212
|
-
#### Major changes
|
213
|
-
|
214
|
-
* Add support for Translate API
|
215
|
-
* Drop support for Search service
|
216
|
-
|
217
|
-
#### Minor changes
|
218
|
-
|
219
|
-
* Pub/Sub
|
220
|
-
* Add support for emulator (dlorenc)
|
221
|
-
* Datastore
|
222
|
-
* Fix bug where entities were not properly marked persisted after being saved
|
223
|
-
* Fix bug in transaction delete accepting keys (timanovsky)
|
224
|
-
* Update access token logic to avoid expired credentials (timanovsky)
|
225
|
-
|
226
|
-
### 0.7.2 / 2016-04-01
|
227
|
-
|
228
|
-
#### Changes
|
229
|
-
|
230
|
-
* Pub/Sub
|
231
|
-
* Fixed issue with unnecessary acknowledge requests in autoack (maxstudener)
|
232
|
-
|
233
|
-
### 0.7.1 / 2016-04-01
|
234
|
-
|
235
|
-
#### Changes
|
236
|
-
|
237
|
-
* Pub/Sub
|
238
|
-
* Fixed issue with unnecessary base-64 encoding of message data (ptinsley)
|
239
|
-
|
240
|
-
### 0.7.0 / 2016-03-31
|
241
|
-
|
242
|
-
#### Changes
|
243
|
-
|
244
|
-
* Add support for Logging service
|
245
|
-
* gRPC
|
246
|
-
* Add dependency on gRPC gem
|
247
|
-
* Pub/Sub transport layer now uses gRPC
|
248
|
-
* New Logging transport layer uses gRPC
|
249
|
-
* Future releases will migrate more services to gRPC
|
250
|
-
|
251
|
-
### 0.6.2 / 2016-03-02
|
252
|
-
|
253
|
-
#### Changes
|
254
|
-
|
255
|
-
* BigQuery
|
256
|
-
* Fix error accessing a job's data before the job is complete (yhirano55)
|
257
|
-
* Fix undefined local variable in Dataset's access rules (yhirano55)
|
258
|
-
* Optionally specify location when creating a Dataset (gramos74)
|
259
|
-
* Datastore
|
260
|
-
* Fix bug in calculating an Entity's `exclude_from_indexes` (bmclean)
|
261
|
-
* Pub/Sub
|
262
|
-
* Correctly raise error when accessing a policy without permissions
|
263
|
-
* Update policy permissions documentation
|
264
|
-
|
265
|
-
### 0.6.1 / 2015-12-29
|
266
|
-
|
267
|
-
#### Changes
|
268
|
-
|
269
|
-
* Add delimiter parameter for listing Storage files
|
270
|
-
* Add support for Ruby 2.3
|
271
|
-
|
272
|
-
### 0.6.0 / 2015-12-11
|
273
|
-
|
274
|
-
#### Changes
|
275
|
-
|
276
|
-
* Add support for Search service
|
277
|
-
* Drop support for Ruby 1.9.3
|
278
|
-
* Replace options hash parameter with named parameters
|
279
|
-
|
280
|
-
### 0.5.0 / 2015-10-29
|
281
|
-
|
282
|
-
#### Changes
|
283
|
-
|
284
|
-
* Add support for Release Manager service
|
285
|
-
* Pub/Sub Additions
|
286
|
-
* Fix issue getting and setting policies (jeffmendoza)
|
287
|
-
* Modified `autocreate` default value and behavior
|
288
|
-
* Add `skip_lookup` option on resource lookup methods
|
289
|
-
* Add `Project#publish` method
|
290
|
-
* Add `Project#subscribe` method
|
291
|
-
* Datastore Additions
|
292
|
-
* Add `namespace` option on running queries (jondot)
|
293
|
-
* Add `query`, `entity`, and `key` helpers to Dataset
|
294
|
-
|
295
|
-
### 0.4.1 / 2015-10-20
|
296
|
-
|
297
|
-
#### Changes
|
298
|
-
|
299
|
-
* Add support for Bucket attributes, including:
|
300
|
-
* CORS
|
301
|
-
* logging
|
302
|
-
* versioning
|
303
|
-
* location
|
304
|
-
* website
|
305
|
-
* storage class
|
306
|
-
* Add support for File attributes, including:
|
307
|
-
* cache_control
|
308
|
-
* content_dispostion
|
309
|
-
* content_encoding
|
310
|
-
* content_language
|
311
|
-
* content_type
|
312
|
-
* Add support for File upload validation with MD5 or CRC32c
|
313
|
-
* Add File#public_url
|
314
|
-
* Improve stability and error reporting of Storage ACL helpers
|
315
|
-
|
316
|
-
### 0.4.0 / 2015-10-12
|
317
|
-
|
318
|
-
#### Major changes
|
319
|
-
|
320
|
-
* Add DNS Service
|
321
|
-
|
322
|
-
#### Minor changes
|
323
|
-
|
324
|
-
* Improved BigQuery table recognition from a string (vitaliel)
|
325
|
-
* Add missing options from BigQuery `Table#load` (gramos74)
|
326
|
-
* Add missing options from BigQuery `Table#extract`
|
327
|
-
|
328
|
-
### 0.3.1 / 2015-09-08
|
329
|
-
|
330
|
-
#### Changes
|
331
|
-
|
332
|
-
* Auto-discovery of project-id on Google Compute Engine
|
333
|
-
* Support getting project id from GCE auth compute
|
334
|
-
* New dataset access DSL for BigQuery
|
335
|
-
* New table schema DSL for BigQuery
|
336
|
-
* Add Code of Conduct
|
337
|
-
|
338
|
-
#### Minor changes
|
339
|
-
|
340
|
-
* Load data to BigQuery from Datastore backup
|
341
|
-
* Add `Job#wait_until_complete` convenience method to BigQuery
|
342
|
-
* Add String representation of tables in BigQuery
|
343
|
-
* Add `refresh!` methods to Storage and BigQuery
|
344
|
-
* Support `DATASTORE_DATASET` environment variable
|
345
|
-
* Update Storage and BigQuery documentation for possible errors during large file uploads
|
346
|
-
* Fix missing Pathname require
|
347
|
-
* Truncate object representation in interactive output
|
348
|
-
|
349
|
-
### 0.3.0 / 2015-08-21
|
350
|
-
|
351
|
-
#### Major changes
|
352
|
-
|
353
|
-
Add BigQuery service
|
354
|
-
|
355
|
-
#### Minor changes
|
356
|
-
|
357
|
-
* Improve error messaging when uploading files to Storage
|
358
|
-
* Add `GCLOUD_PROJECT` and `GCLOUD_KEYFILE` environment variables
|
359
|
-
* Specify OAuth 2.0 scopes when connecting to services
|
360
|
-
|
361
|
-
### 0.2.0 / 2015-07-22
|
362
|
-
|
363
|
-
#### Major changes
|
364
|
-
|
365
|
-
Add Pub/Sub service
|
366
|
-
|
367
|
-
#### Minor changes
|
368
|
-
|
369
|
-
* Add top-level `Gcloud` object with instance methods to initialize connections
|
370
|
-
with individual services (e.g. `Gcloud#storage`)
|
371
|
-
* Add credential options to `Gcloud::Storage::File#signed_url`
|
372
|
-
* Add method aliases to improve usability of Storage API
|
373
|
-
* Improve documentation
|
374
|
-
|
375
|
-
### 0.1.1 / 2015-06-16
|
376
|
-
|
377
|
-
* Storage downloads files in binary mode (premist).
|
378
|
-
* Updated documentation.
|
379
|
-
|
380
|
-
### 0.1.0 / 2015-03-31
|
381
|
-
|
382
|
-
Initial release supporting Datastore and Storage services.
|