google-cloud-firestore 1.4.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/CHANGELOG.md +47 -0
- data/TROUBLESHOOTING.md +2 -8
- data/lib/google-cloud-firestore.rb +14 -21
- data/lib/google/cloud/firestore.rb +12 -23
- data/lib/google/cloud/firestore/client.rb +12 -14
- data/lib/google/cloud/firestore/collection_reference.rb +1 -0
- data/lib/google/cloud/firestore/collection_reference_list.rb +137 -0
- data/lib/google/cloud/firestore/convert.rb +39 -39
- data/lib/google/cloud/firestore/credentials.rb +2 -2
- data/lib/google/cloud/firestore/document_reference.rb +8 -8
- data/lib/google/cloud/firestore/document_reference/list.rb +2 -2
- data/lib/google/cloud/firestore/document_snapshot.rb +4 -4
- data/lib/google/cloud/firestore/query.rb +114 -22
- data/lib/google/cloud/firestore/service.rb +63 -104
- data/lib/google/cloud/firestore/transaction.rb +2 -2
- data/lib/google/cloud/firestore/version.rb +1 -1
- data/lib/google/cloud/firestore/watch/inventory.rb +2 -0
- data/lib/google/cloud/firestore/watch/listener.rb +9 -9
- data/lib/google/cloud/firestore/watch/order.rb +1 -1
- metadata +11 -109
- data/lib/google/cloud/firestore/admin.rb +0 -144
- data/lib/google/cloud/firestore/admin/v1.rb +0 -151
- data/lib/google/cloud/firestore/admin/v1/credentials.rb +0 -44
- data/lib/google/cloud/firestore/admin/v1/doc/google/firestore/admin/v1/field.rb +0 -86
- data/lib/google/cloud/firestore/admin/v1/doc/google/firestore/admin/v1/firestore_admin.rb +0 -161
- data/lib/google/cloud/firestore/admin/v1/doc/google/firestore/admin/v1/index.rb +0 -142
- data/lib/google/cloud/firestore/admin/v1/doc/google/longrunning/operations.rb +0 -51
- data/lib/google/cloud/firestore/admin/v1/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/firestore/admin/v1/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/firestore/admin/v1/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/firestore/admin/v1/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/firestore/admin/v1/firestore_admin_client.rb +0 -902
- data/lib/google/cloud/firestore/admin/v1/firestore_admin_client_config.json +0 -71
- data/lib/google/cloud/firestore/v1.rb +0 -152
- data/lib/google/cloud/firestore/v1/credentials.rb +0 -42
- data/lib/google/cloud/firestore/v1/doc/google/firestore/v1/common.rb +0 -64
- data/lib/google/cloud/firestore/v1/doc/google/firestore/v1/document.rb +0 -136
- data/lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb +0 -566
- data/lib/google/cloud/firestore/v1/doc/google/firestore/v1/query.rb +0 -227
- data/lib/google/cloud/firestore/v1/doc/google/firestore/v1/write.rb +0 -241
- data/lib/google/cloud/firestore/v1/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/firestore/v1/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/firestore/v1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/firestore/v1/doc/google/protobuf/wrappers.rb +0 -26
- data/lib/google/cloud/firestore/v1/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/firestore/v1/firestore_client.rb +0 -1011
- data/lib/google/cloud/firestore/v1/firestore_client_config.json +0 -100
- data/lib/google/cloud/firestore/v1beta1.rb +0 -160
- data/lib/google/cloud/firestore/v1beta1/credentials.rb +0 -42
- data/lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/common.rb +0 -64
- data/lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb +0 -136
- data/lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb +0 -564
- data/lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb +0 -227
- data/lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb +0 -237
- data/lib/google/cloud/firestore/v1beta1/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/firestore/v1beta1/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/firestore/v1beta1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/firestore/v1beta1/doc/google/protobuf/wrappers.rb +0 -26
- data/lib/google/cloud/firestore/v1beta1/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/firestore/v1beta1/firestore_client.rb +0 -1019
- data/lib/google/cloud/firestore/v1beta1/firestore_client_config.json +0 -100
- data/lib/google/firestore/admin/v1/field_pb.rb +0 -32
- data/lib/google/firestore/admin/v1/firestore_admin_pb.rb +0 -84
- data/lib/google/firestore/admin/v1/firestore_admin_services_pb.rb +0 -94
- data/lib/google/firestore/admin/v1/index_pb.rb +0 -58
- data/lib/google/firestore/admin/v1/location_pb.rb +0 -22
- data/lib/google/firestore/admin/v1/operation_pb.rb +0 -90
- data/lib/google/firestore/v1/common_pb.rb +0 -45
- data/lib/google/firestore/v1/document_pb.rb +0 -50
- data/lib/google/firestore/v1/firestore_pb.rb +0 -222
- data/lib/google/firestore/v1/firestore_services_pb.rb +0 -80
- data/lib/google/firestore/v1/query_pb.rb +0 -107
- data/lib/google/firestore/v1/write_pb.rb +0 -80
- data/lib/google/firestore/v1beta1/common_pb.rb +0 -45
- data/lib/google/firestore/v1beta1/document_pb.rb +0 -50
- data/lib/google/firestore/v1beta1/firestore_pb.rb +0 -222
- data/lib/google/firestore/v1beta1/firestore_services_pb.rb +0 -89
- data/lib/google/firestore/v1beta1/query_pb.rb +0 -107
- data/lib/google/firestore/v1beta1/write_pb.rb +0 -79
@@ -26,65 +26,42 @@ module Google
|
|
26
26
|
# @private Represents the gRPC Firestore service, including all the API
|
27
27
|
# methods.
|
28
28
|
class Service
|
29
|
-
attr_accessor :project, :credentials, :timeout, :
|
29
|
+
attr_accessor :project, :credentials, :timeout, :host
|
30
30
|
|
31
31
|
##
|
32
32
|
# Creates a new Service instance.
|
33
|
-
def initialize project, credentials, host: nil, timeout: nil
|
34
|
-
client_config: nil
|
33
|
+
def initialize project, credentials, host: nil, timeout: nil
|
35
34
|
@project = project
|
36
35
|
@credentials = credentials
|
37
|
-
@host = host
|
36
|
+
@host = host
|
38
37
|
@timeout = timeout
|
39
|
-
@client_config = client_config || {}
|
40
|
-
end
|
41
|
-
|
42
|
-
def channel
|
43
|
-
require "grpc"
|
44
|
-
GRPC::Core::Channel.new host, chan_args, chan_creds
|
45
|
-
end
|
46
|
-
|
47
|
-
def chan_args
|
48
|
-
{ "grpc.service_config_disable_resolution" => 1 }
|
49
|
-
end
|
50
|
-
|
51
|
-
def chan_creds
|
52
|
-
return credentials if insecure?
|
53
|
-
require "grpc"
|
54
|
-
GRPC::Core::ChannelCredentials.new.compose \
|
55
|
-
GRPC::Core::CallCredentials.new credentials.client.updater_proc
|
56
38
|
end
|
57
39
|
|
58
40
|
def firestore
|
59
41
|
@firestore ||= \
|
60
|
-
V1::
|
61
|
-
credentials
|
62
|
-
timeout
|
63
|
-
|
64
|
-
lib_name
|
65
|
-
lib_version
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
def insecure?
|
70
|
-
credentials == :this_channel_is_insecure
|
42
|
+
V1::Firestore::Client.new do |config|
|
43
|
+
config.credentials = credentials if credentials
|
44
|
+
config.timeout = timeout if timeout
|
45
|
+
config.endpoint = host if host
|
46
|
+
config.lib_name = "gccl"
|
47
|
+
config.lib_version = Google::Cloud::Firestore::VERSION
|
48
|
+
config.metadata = { "google-cloud-resource-prefix": "projects/#{@project}" }
|
49
|
+
end
|
71
50
|
end
|
72
51
|
|
73
52
|
def get_documents document_paths, mask: nil, transaction: nil
|
74
|
-
|
53
|
+
batch_get_req = {
|
54
|
+
database: database_path,
|
75
55
|
documents: document_paths,
|
76
56
|
mask: document_mask(mask)
|
77
57
|
}
|
78
58
|
if transaction.is_a? String
|
79
|
-
|
59
|
+
batch_get_req[:transaction] = transaction
|
80
60
|
elsif transaction
|
81
|
-
|
61
|
+
batch_get_req[:new_transaction] = transaction
|
82
62
|
end
|
83
|
-
batch_get_args[:options] = call_options parent: database_path
|
84
63
|
|
85
|
-
|
86
|
-
firestore.batch_get_documents database_path, **batch_get_args
|
87
|
-
end
|
64
|
+
firestore.batch_get_documents batch_get_req, call_options(parent: database_path)
|
88
65
|
end
|
89
66
|
|
90
67
|
##
|
@@ -96,81 +73,72 @@ module Google
|
|
96
73
|
# method.
|
97
74
|
def list_documents parent, collection_id, token: nil, max: nil
|
98
75
|
mask = { field_paths: [] }
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
list_args[:options] = call_options parent: database_path
|
118
|
-
|
119
|
-
execute do
|
120
|
-
firestore.list_collection_ids parent, **list_args
|
121
|
-
end
|
76
|
+
paged_enum = firestore.list_documents parent: parent,
|
77
|
+
collection_id: collection_id,
|
78
|
+
page_size: max,
|
79
|
+
page_token: token,
|
80
|
+
mask: mask,
|
81
|
+
show_missing: true
|
82
|
+
paged_enum.response
|
83
|
+
end
|
84
|
+
|
85
|
+
def list_collections parent, token: nil, max: nil
|
86
|
+
firestore.list_collection_ids(
|
87
|
+
{
|
88
|
+
parent: parent,
|
89
|
+
page_size: max,
|
90
|
+
page_token: token
|
91
|
+
},
|
92
|
+
call_options(parent: database_path)
|
93
|
+
)
|
122
94
|
end
|
123
95
|
|
124
96
|
def run_query path, query_grpc, transaction: nil
|
125
|
-
|
97
|
+
run_query_req = {
|
98
|
+
parent: path,
|
99
|
+
structured_query: query_grpc
|
100
|
+
}
|
126
101
|
if transaction.is_a? String
|
127
|
-
|
102
|
+
run_query_req[:transaction] = transaction
|
128
103
|
elsif transaction
|
129
|
-
|
104
|
+
run_query_req[:new_transaction] = transaction
|
130
105
|
end
|
131
|
-
run_query_args[:options] = call_options parent: database_path
|
132
106
|
|
133
|
-
|
134
|
-
firestore.run_query path, **run_query_args
|
135
|
-
end
|
107
|
+
firestore.run_query run_query_req, call_options(parent: database_path)
|
136
108
|
end
|
137
109
|
|
138
110
|
def listen enum
|
139
|
-
|
140
|
-
|
141
|
-
execute do
|
142
|
-
firestore.listen enum, options: options
|
143
|
-
end
|
111
|
+
firestore.listen enum, call_options(parent: database_path)
|
144
112
|
end
|
145
113
|
|
146
114
|
def begin_transaction transaction_opt
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
115
|
+
firestore.begin_transaction(
|
116
|
+
{
|
117
|
+
database: database_path,
|
118
|
+
options: transaction_opt
|
119
|
+
},
|
120
|
+
call_options(parent: database_path)
|
121
|
+
)
|
154
122
|
end
|
155
123
|
|
156
124
|
def commit writes, transaction: nil
|
157
|
-
|
158
|
-
|
125
|
+
commit_req = {
|
126
|
+
database: database_path,
|
127
|
+
writes: writes
|
159
128
|
}
|
160
|
-
|
161
|
-
commit_args[:options] = call_options parent: database_path
|
129
|
+
commit_req[:transaction] = transaction if transaction
|
162
130
|
|
163
|
-
|
164
|
-
firestore.commit database_path, **commit_args
|
165
|
-
end
|
131
|
+
firestore.commit commit_req, call_options(parent: database_path)
|
166
132
|
end
|
167
133
|
|
168
134
|
def rollback transaction
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
135
|
+
firestore.rollback(
|
136
|
+
{
|
137
|
+
database: database_path,
|
138
|
+
transaction: transaction
|
139
|
+
},
|
140
|
+
call_options(parent: database_path)
|
141
|
+
)
|
174
142
|
end
|
175
143
|
|
176
144
|
def database_path project_id: project, database_id: "(default)"
|
@@ -195,7 +163,7 @@ module Google
|
|
195
163
|
end
|
196
164
|
|
197
165
|
def call_options parent: nil, token: nil
|
198
|
-
|
166
|
+
Gapic::CallOptions.new(**{
|
199
167
|
metadata: default_headers(parent),
|
200
168
|
page_token: token
|
201
169
|
}.delete_if { |_, v| v.nil? })
|
@@ -207,16 +175,7 @@ module Google
|
|
207
175
|
mask = Array(mask).map(&:to_s).reject(&:nil?).reject(&:empty?)
|
208
176
|
return nil if mask.empty?
|
209
177
|
|
210
|
-
Google::Firestore::V1::DocumentMask.new field_paths: mask
|
211
|
-
end
|
212
|
-
|
213
|
-
def execute
|
214
|
-
yield
|
215
|
-
rescue Google::Gax::GaxError => e
|
216
|
-
# GaxError wraps BadStatus, but exposes it as #cause
|
217
|
-
raise Google::Cloud::Error.from_error(e.cause)
|
218
|
-
rescue GRPC::BadStatus => e
|
219
|
-
raise Google::Cloud::Error.from_error(e)
|
178
|
+
Google::Cloud::Firestore::V1::DocumentMask.new field_paths: mask
|
220
179
|
end
|
221
180
|
end
|
222
181
|
end
|
@@ -700,14 +700,14 @@ module Google
|
|
700
700
|
# @private
|
701
701
|
def transaction_opt
|
702
702
|
read_write = \
|
703
|
-
Google::Firestore::V1::TransactionOptions::ReadWrite.new
|
703
|
+
Google::Cloud::Firestore::V1::TransactionOptions::ReadWrite.new
|
704
704
|
|
705
705
|
if @previous_transaction
|
706
706
|
read_write.retry_transaction = @previous_transaction
|
707
707
|
@previous_transaction = nil
|
708
708
|
end
|
709
709
|
|
710
|
-
Google::Firestore::V1::TransactionOptions.new(
|
710
|
+
Google::Cloud::Firestore::V1::TransactionOptions.new(
|
711
711
|
read_write: read_write
|
712
712
|
)
|
713
713
|
end
|
@@ -34,12 +34,12 @@ module Google
|
|
34
34
|
raise ArgumentError if doc_ref.nil?
|
35
35
|
raise ArgumentError if callback.nil?
|
36
36
|
|
37
|
-
documents = Google::Firestore::V1::Target::DocumentsTarget.new(
|
37
|
+
documents = Google::Cloud::Firestore::V1::Target::DocumentsTarget.new(
|
38
38
|
documents: [doc_ref.path]
|
39
39
|
)
|
40
|
-
init_listen_req = Google::Firestore::V1::ListenRequest.new(
|
40
|
+
init_listen_req = Google::Cloud::Firestore::V1::ListenRequest.new(
|
41
41
|
database: doc_ref.client.path,
|
42
|
-
add_target: Google::Firestore::V1::Target.new(
|
42
|
+
add_target: Google::Cloud::Firestore::V1::Target.new(
|
43
43
|
documents: documents
|
44
44
|
)
|
45
45
|
)
|
@@ -51,10 +51,10 @@ module Google
|
|
51
51
|
raise ArgumentError if query.nil?
|
52
52
|
raise ArgumentError if callback.nil?
|
53
53
|
|
54
|
-
init_listen_req = Google::Firestore::V1::ListenRequest.new(
|
54
|
+
init_listen_req = Google::Cloud::Firestore::V1::ListenRequest.new(
|
55
55
|
database: query.client.path,
|
56
|
-
add_target: Google::Firestore::V1::Target.new(
|
57
|
-
query: Google::Firestore::V1::Target::QueryTarget.new(
|
56
|
+
add_target: Google::Cloud::Firestore::V1::Target.new(
|
57
|
+
query: Google::Cloud::Firestore::V1::Target::QueryTarget.new(
|
58
58
|
parent: query.parent_path,
|
59
59
|
structured_query: query.query
|
60
60
|
)
|
@@ -223,7 +223,7 @@ module Google
|
|
223
223
|
raise RestartStream # Raise to restart the stream
|
224
224
|
end
|
225
225
|
when :document_change
|
226
|
-
# A {Google::Firestore::V1::Document Document} has changed.
|
226
|
+
# A {Google::Cloud::Firestore::V1::Document Document} has changed.
|
227
227
|
|
228
228
|
if response.document_change.removed_target_ids.any?
|
229
229
|
@inventory.delete response.document_change.document.name
|
@@ -231,12 +231,12 @@ module Google
|
|
231
231
|
@inventory.add response.document_change.document
|
232
232
|
end
|
233
233
|
when :document_delete
|
234
|
-
# A {Google::Firestore::V1::Document Document} has been
|
234
|
+
# A {Google::Cloud::Firestore::V1::Document Document} has been
|
235
235
|
# deleted.
|
236
236
|
|
237
237
|
@inventory.delete response.document_delete.document
|
238
238
|
when :document_remove
|
239
|
-
# A {Google::Firestore::V1::Document Document} has been
|
239
|
+
# A {Google::Cloud::Firestore::V1::Document Document} has been
|
240
240
|
# removed from a target (because it is no longer relevant to
|
241
241
|
# that target).
|
242
242
|
|
@@ -77,7 +77,7 @@ module Google
|
|
77
77
|
return value if value.is_a? String
|
78
78
|
return value.string if value.is_a? StringIO
|
79
79
|
if value.is_a? DocumentReference
|
80
|
-
return value.path.split "/"
|
80
|
+
return value.path.split "/"
|
81
81
|
end
|
82
82
|
return value.map { |v| field_comparison v } if value.is_a? Array
|
83
83
|
if value.is_a? Hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-firestore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -16,68 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.5'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: google-
|
28
|
+
name: google-cloud-firestore-v1
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: googleapis-common-protos
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 1.3.9
|
48
|
-
- - "<"
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: '2.0'
|
51
|
-
type: :runtime
|
52
|
-
prerelease: false
|
53
|
-
version_requirements: !ruby/object:Gem::Requirement
|
54
|
-
requirements:
|
55
|
-
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: 1.3.9
|
58
|
-
- - "<"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '2.0'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: googleapis-common-protos-types
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.0.4
|
68
|
-
- - "<"
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '2.0'
|
71
|
-
type: :runtime
|
72
|
-
prerelease: false
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 1.0.4
|
78
|
-
- - "<"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '2.0'
|
40
|
+
version: '0.0'
|
81
41
|
- !ruby/object:Gem::Dependency
|
82
42
|
name: concurrent-ruby
|
83
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,14 +86,14 @@ dependencies:
|
|
126
86
|
requirements:
|
127
87
|
- - "~>"
|
128
88
|
- !ruby/object:Gem::Version
|
129
|
-
version: '5.
|
89
|
+
version: '5.14'
|
130
90
|
type: :development
|
131
91
|
prerelease: false
|
132
92
|
version_requirements: !ruby/object:Gem::Requirement
|
133
93
|
requirements:
|
134
94
|
- - "~>"
|
135
95
|
- !ruby/object:Gem::Version
|
136
|
-
version: '5.
|
96
|
+
version: '5.14'
|
137
97
|
- !ruby/object:Gem::Dependency
|
138
98
|
name: minitest-autotest
|
139
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -265,22 +225,10 @@ files:
|
|
265
225
|
- TROUBLESHOOTING.md
|
266
226
|
- lib/google-cloud-firestore.rb
|
267
227
|
- lib/google/cloud/firestore.rb
|
268
|
-
- lib/google/cloud/firestore/admin.rb
|
269
|
-
- lib/google/cloud/firestore/admin/v1.rb
|
270
|
-
- lib/google/cloud/firestore/admin/v1/credentials.rb
|
271
|
-
- lib/google/cloud/firestore/admin/v1/doc/google/firestore/admin/v1/field.rb
|
272
|
-
- lib/google/cloud/firestore/admin/v1/doc/google/firestore/admin/v1/firestore_admin.rb
|
273
|
-
- lib/google/cloud/firestore/admin/v1/doc/google/firestore/admin/v1/index.rb
|
274
|
-
- lib/google/cloud/firestore/admin/v1/doc/google/longrunning/operations.rb
|
275
|
-
- lib/google/cloud/firestore/admin/v1/doc/google/protobuf/any.rb
|
276
|
-
- lib/google/cloud/firestore/admin/v1/doc/google/protobuf/empty.rb
|
277
|
-
- lib/google/cloud/firestore/admin/v1/doc/google/protobuf/field_mask.rb
|
278
|
-
- lib/google/cloud/firestore/admin/v1/doc/google/rpc/status.rb
|
279
|
-
- lib/google/cloud/firestore/admin/v1/firestore_admin_client.rb
|
280
|
-
- lib/google/cloud/firestore/admin/v1/firestore_admin_client_config.json
|
281
228
|
- lib/google/cloud/firestore/batch.rb
|
282
229
|
- lib/google/cloud/firestore/client.rb
|
283
230
|
- lib/google/cloud/firestore/collection_reference.rb
|
231
|
+
- lib/google/cloud/firestore/collection_reference_list.rb
|
284
232
|
- lib/google/cloud/firestore/commit_response.rb
|
285
233
|
- lib/google/cloud/firestore/convert.rb
|
286
234
|
- lib/google/cloud/firestore/credentials.rb
|
@@ -297,57 +245,11 @@ files:
|
|
297
245
|
- lib/google/cloud/firestore/query_snapshot.rb
|
298
246
|
- lib/google/cloud/firestore/service.rb
|
299
247
|
- lib/google/cloud/firestore/transaction.rb
|
300
|
-
- lib/google/cloud/firestore/v1.rb
|
301
|
-
- lib/google/cloud/firestore/v1/credentials.rb
|
302
|
-
- lib/google/cloud/firestore/v1/doc/google/firestore/v1/common.rb
|
303
|
-
- lib/google/cloud/firestore/v1/doc/google/firestore/v1/document.rb
|
304
|
-
- lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb
|
305
|
-
- lib/google/cloud/firestore/v1/doc/google/firestore/v1/query.rb
|
306
|
-
- lib/google/cloud/firestore/v1/doc/google/firestore/v1/write.rb
|
307
|
-
- lib/google/cloud/firestore/v1/doc/google/protobuf/any.rb
|
308
|
-
- lib/google/cloud/firestore/v1/doc/google/protobuf/empty.rb
|
309
|
-
- lib/google/cloud/firestore/v1/doc/google/protobuf/timestamp.rb
|
310
|
-
- lib/google/cloud/firestore/v1/doc/google/protobuf/wrappers.rb
|
311
|
-
- lib/google/cloud/firestore/v1/doc/google/rpc/status.rb
|
312
|
-
- lib/google/cloud/firestore/v1/firestore_client.rb
|
313
|
-
- lib/google/cloud/firestore/v1/firestore_client_config.json
|
314
|
-
- lib/google/cloud/firestore/v1beta1.rb
|
315
|
-
- lib/google/cloud/firestore/v1beta1/credentials.rb
|
316
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/common.rb
|
317
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/document.rb
|
318
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/firestore.rb
|
319
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb
|
320
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/write.rb
|
321
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/protobuf/any.rb
|
322
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/protobuf/empty.rb
|
323
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/protobuf/timestamp.rb
|
324
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/protobuf/wrappers.rb
|
325
|
-
- lib/google/cloud/firestore/v1beta1/doc/google/rpc/status.rb
|
326
|
-
- lib/google/cloud/firestore/v1beta1/firestore_client.rb
|
327
|
-
- lib/google/cloud/firestore/v1beta1/firestore_client_config.json
|
328
248
|
- lib/google/cloud/firestore/version.rb
|
329
249
|
- lib/google/cloud/firestore/watch/enumerator_queue.rb
|
330
250
|
- lib/google/cloud/firestore/watch/inventory.rb
|
331
251
|
- lib/google/cloud/firestore/watch/listener.rb
|
332
252
|
- lib/google/cloud/firestore/watch/order.rb
|
333
|
-
- lib/google/firestore/admin/v1/field_pb.rb
|
334
|
-
- lib/google/firestore/admin/v1/firestore_admin_pb.rb
|
335
|
-
- lib/google/firestore/admin/v1/firestore_admin_services_pb.rb
|
336
|
-
- lib/google/firestore/admin/v1/index_pb.rb
|
337
|
-
- lib/google/firestore/admin/v1/location_pb.rb
|
338
|
-
- lib/google/firestore/admin/v1/operation_pb.rb
|
339
|
-
- lib/google/firestore/v1/common_pb.rb
|
340
|
-
- lib/google/firestore/v1/document_pb.rb
|
341
|
-
- lib/google/firestore/v1/firestore_pb.rb
|
342
|
-
- lib/google/firestore/v1/firestore_services_pb.rb
|
343
|
-
- lib/google/firestore/v1/query_pb.rb
|
344
|
-
- lib/google/firestore/v1/write_pb.rb
|
345
|
-
- lib/google/firestore/v1beta1/common_pb.rb
|
346
|
-
- lib/google/firestore/v1beta1/document_pb.rb
|
347
|
-
- lib/google/firestore/v1beta1/firestore_pb.rb
|
348
|
-
- lib/google/firestore/v1beta1/firestore_services_pb.rb
|
349
|
-
- lib/google/firestore/v1beta1/query_pb.rb
|
350
|
-
- lib/google/firestore/v1beta1/write_pb.rb
|
351
253
|
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-firestore
|
352
254
|
licenses:
|
353
255
|
- Apache-2.0
|
@@ -367,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
367
269
|
- !ruby/object:Gem::Version
|
368
270
|
version: '0'
|
369
271
|
requirements: []
|
370
|
-
rubygems_version: 3.
|
272
|
+
rubygems_version: 3.1.3
|
371
273
|
signing_key:
|
372
274
|
specification_version: 4
|
373
275
|
summary: API Client library for Google Cloud Firestore API
|