google-cloud-datastore 0.21.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +7 -0
- data/LICENSE +201 -0
- data/README.md +75 -0
- data/lib/google-cloud-datastore.rb +2 -2
- data/lib/google/cloud/datastore.rb +24 -0
- data/lib/google/cloud/datastore/commit.rb +17 -2
- data/lib/google/cloud/datastore/cursor.rb +1 -1
- data/lib/google/cloud/datastore/dataset.rb +143 -4
- data/lib/google/cloud/datastore/dataset/lookup_results.rb +21 -5
- data/lib/google/cloud/datastore/dataset/query_results.rb +14 -4
- data/lib/google/cloud/datastore/entity.rb +88 -9
- data/lib/google/cloud/datastore/gql_query.rb +12 -0
- data/lib/google/cloud/datastore/key.rb +21 -1
- data/lib/google/cloud/datastore/query.rb +82 -0
- data/lib/google/cloud/datastore/service.rb +2 -2
- data/lib/google/cloud/datastore/transaction.rb +45 -11
- data/lib/google/cloud/datastore/v1.rb +1 -1
- data/lib/google/cloud/datastore/v1/{datastore_api.rb → datastore_client.rb} +42 -42
- data/lib/google/cloud/datastore/v1/doc/google/datastore/v1/datastore.rb +240 -0
- data/lib/google/cloud/datastore/v1/doc/google/datastore/v1/entity.rb +187 -0
- data/lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb +292 -0
- data/lib/google/cloud/datastore/v1/doc/google/protobuf/wrappers.rb +89 -0
- data/lib/google/cloud/datastore/version.rb +1 -1
- metadata +13 -6
@@ -0,0 +1,89 @@
|
|
1
|
+
# Copyright 2016 Google Inc. All rights reserved.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Protobuf
|
17
|
+
# Wrapper message for +double+.
|
18
|
+
#
|
19
|
+
# The JSON representation for +DoubleValue+ is JSON number.
|
20
|
+
# @!attribute [rw] value
|
21
|
+
# @return [Float]
|
22
|
+
# The double value.
|
23
|
+
class DoubleValue; end
|
24
|
+
|
25
|
+
# Wrapper message for +float+.
|
26
|
+
#
|
27
|
+
# The JSON representation for +FloatValue+ is JSON number.
|
28
|
+
# @!attribute [rw] value
|
29
|
+
# @return [Float]
|
30
|
+
# The float value.
|
31
|
+
class FloatValue; end
|
32
|
+
|
33
|
+
# Wrapper message for +int64+.
|
34
|
+
#
|
35
|
+
# The JSON representation for +Int64Value+ is JSON string.
|
36
|
+
# @!attribute [rw] value
|
37
|
+
# @return [Integer]
|
38
|
+
# The int64 value.
|
39
|
+
class Int64Value; end
|
40
|
+
|
41
|
+
# Wrapper message for +uint64+.
|
42
|
+
#
|
43
|
+
# The JSON representation for +UInt64Value+ is JSON string.
|
44
|
+
# @!attribute [rw] value
|
45
|
+
# @return [Integer]
|
46
|
+
# The uint64 value.
|
47
|
+
class UInt64Value; end
|
48
|
+
|
49
|
+
# Wrapper message for +int32+.
|
50
|
+
#
|
51
|
+
# The JSON representation for +Int32Value+ is JSON number.
|
52
|
+
# @!attribute [rw] value
|
53
|
+
# @return [Integer]
|
54
|
+
# The int32 value.
|
55
|
+
class Int32Value; end
|
56
|
+
|
57
|
+
# Wrapper message for +uint32+.
|
58
|
+
#
|
59
|
+
# The JSON representation for +UInt32Value+ is JSON number.
|
60
|
+
# @!attribute [rw] value
|
61
|
+
# @return [Integer]
|
62
|
+
# The uint32 value.
|
63
|
+
class UInt32Value; end
|
64
|
+
|
65
|
+
# Wrapper message for +bool+.
|
66
|
+
#
|
67
|
+
# The JSON representation for +BoolValue+ is JSON +true+ and +false+.
|
68
|
+
# @!attribute [rw] value
|
69
|
+
# @return [true, false]
|
70
|
+
# The bool value.
|
71
|
+
class BoolValue; end
|
72
|
+
|
73
|
+
# Wrapper message for +string+.
|
74
|
+
#
|
75
|
+
# The JSON representation for +StringValue+ is JSON string.
|
76
|
+
# @!attribute [rw] value
|
77
|
+
# @return [String]
|
78
|
+
# The string value.
|
79
|
+
class StringValue; end
|
80
|
+
|
81
|
+
# Wrapper message for +bytes+.
|
82
|
+
#
|
83
|
+
# The JSON representation for +BytesValue+ is JSON string.
|
84
|
+
# @!attribute [rw] value
|
85
|
+
# @return [String]
|
86
|
+
# The bytes value.
|
87
|
+
class BytesValue; end
|
88
|
+
end
|
89
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-datastore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: google-cloud-core
|
@@ -199,14 +199,14 @@ dependencies:
|
|
199
199
|
requirements:
|
200
200
|
- - "~>"
|
201
201
|
- !ruby/object:Gem::Version
|
202
|
-
version: 0.1.
|
202
|
+
version: 0.1.8
|
203
203
|
type: :development
|
204
204
|
prerelease: false
|
205
205
|
version_requirements: !ruby/object:Gem::Requirement
|
206
206
|
requirements:
|
207
207
|
- - "~>"
|
208
208
|
- !ruby/object:Gem::Version
|
209
|
-
version: 0.1.
|
209
|
+
version: 0.1.8
|
210
210
|
description: google-cloud-datastore is the official library for Google Cloud Datastore.
|
211
211
|
email:
|
212
212
|
- mike@blowmage.com
|
@@ -215,6 +215,9 @@ executables: []
|
|
215
215
|
extensions: []
|
216
216
|
extra_rdoc_files: []
|
217
217
|
files:
|
218
|
+
- ".yardopts"
|
219
|
+
- LICENSE
|
220
|
+
- README.md
|
218
221
|
- lib/google-cloud-datastore.rb
|
219
222
|
- lib/google/cloud/datastore.rb
|
220
223
|
- lib/google/cloud/datastore/commit.rb
|
@@ -233,8 +236,12 @@ files:
|
|
233
236
|
- lib/google/cloud/datastore/service.rb
|
234
237
|
- lib/google/cloud/datastore/transaction.rb
|
235
238
|
- lib/google/cloud/datastore/v1.rb
|
236
|
-
- lib/google/cloud/datastore/v1/
|
239
|
+
- lib/google/cloud/datastore/v1/datastore_client.rb
|
237
240
|
- lib/google/cloud/datastore/v1/datastore_client_config.json
|
241
|
+
- lib/google/cloud/datastore/v1/doc/google/datastore/v1/datastore.rb
|
242
|
+
- lib/google/cloud/datastore/v1/doc/google/datastore/v1/entity.rb
|
243
|
+
- lib/google/cloud/datastore/v1/doc/google/datastore/v1/query.rb
|
244
|
+
- lib/google/cloud/datastore/v1/doc/google/protobuf/wrappers.rb
|
238
245
|
- lib/google/cloud/datastore/version.rb
|
239
246
|
- lib/google/datastore/v1/datastore_pb.rb
|
240
247
|
- lib/google/datastore/v1/datastore_services_pb.rb
|
@@ -260,7 +267,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
267
|
version: '0'
|
261
268
|
requirements: []
|
262
269
|
rubyforge_project:
|
263
|
-
rubygems_version: 2.
|
270
|
+
rubygems_version: 2.4.5.1
|
264
271
|
signing_key:
|
265
272
|
specification_version: 4
|
266
273
|
summary: API Client library for Google Cloud Datastore
|