google-cloud-firestore-admin-v1 0.3.0 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +4 -4
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/client.rb +62 -66
- data/lib/google/cloud/firestore/admin/v1/firestore_admin/operations.rb +34 -25
- data/lib/google/cloud/firestore/admin/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- metadata +14 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ec94329da44cbf69fb8da7da4798527b1c69a211e05c997ccc06023c5ecb1cc
|
4
|
+
data.tar.gz: 2a3d672da358618d579b438cd9dce22a575b8a1e49702aa414d68db54328e337
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6ec3dbb8c0dbf5043fc3e7628b087d844b2e135bfdf1812e00b0fe3f81b3061a6b1bb50b13fed4ed7ed7d69037bb3767377e23319c44f7601a022120b495d6c
|
7
|
+
data.tar.gz: 79ca4ac5e22154f033042fae357d25e39e6f23a7faa077b054a3c1683be9197f26a7d35b93c6d9c9c0a982b7019d91c157dd22ef134ebf09ba80f3ebb57fd3bc
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-firestore-admin-v1
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `FIRESTORE_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `FIRESTORE_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/firestore/admin/v1"
|
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new
|
|
82
82
|
|
83
83
|
### Configuration
|
84
84
|
|
85
|
-
The **Credentials JSON** can be configured instead of
|
86
|
-
environment
|
85
|
+
The path to the **Credentials JSON** file can be configured instead of storing
|
86
|
+
it in an environment variable. Either on an individual client initialization:
|
87
87
|
|
88
88
|
```ruby
|
89
89
|
require "google/cloud/firestore/admin/v1"
|
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new do |c
|
|
93
93
|
end
|
94
94
|
```
|
95
95
|
|
96
|
-
Or
|
96
|
+
Or globally for all clients:
|
97
97
|
|
98
98
|
```ruby
|
99
99
|
require "google/cloud/firestore/admin/v1"
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ https://github.com/googleapis/google-cloud-ruby
|
|
9
9
|
This gem is a _versioned_ client. It provides basic client classes for a
|
10
10
|
specific version of the Cloud Firestore Admin V1 API. Most users should consider using
|
11
11
|
the main client gem,
|
12
|
-
[google-cloud-firestore
|
12
|
+
[google-cloud-firestore](https://rubygems.org/gems/google-cloud-firestore).
|
13
13
|
See the section below titled *Which client should I use?* for more information.
|
14
14
|
|
15
15
|
## Installation
|
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/cloud/firestore/admin/v1"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Firestore::Admin::V1::CreateIndexRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.create_index request
|
38
38
|
```
|
39
39
|
|
@@ -83,7 +83,7 @@ about the Ruby support schedule.
|
|
83
83
|
## Which client should I use?
|
84
84
|
|
85
85
|
Most modern Ruby client libraries for Google APIs come in two flavors: the main
|
86
|
-
client library with a name such as `google-cloud-firestore
|
86
|
+
client library with a name such as `google-cloud-firestore`,
|
87
87
|
and lower-level _versioned_ client libraries with names such as
|
88
88
|
`google-cloud-firestore-admin-v1`.
|
89
89
|
_In most cases, you should install the main client._
|
@@ -110,7 +110,7 @@ service version.
|
|
110
110
|
|
111
111
|
We recommend that most users install the main client gem for a service. You can
|
112
112
|
identify this gem as the one _without_ a version in its name, e.g.
|
113
|
-
`google-cloud-firestore
|
113
|
+
`google-cloud-firestore`.
|
114
114
|
The main client is recommended because it will embody the best practices for
|
115
115
|
accessing the service, and may also provide more convenient interfaces or
|
116
116
|
tighter integration into frameworks and third-party libraries. In addition, the
|
@@ -43,13 +43,12 @@ module Google
|
|
43
43
|
# See {::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client::Configuration}
|
44
44
|
# for a description of the configuration fields.
|
45
45
|
#
|
46
|
-
#
|
46
|
+
# @example
|
47
47
|
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
# end
|
48
|
+
# # Modify the configuration for all FirestoreAdmin clients
|
49
|
+
# ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.configure do |config|
|
50
|
+
# config.timeout = 10.0
|
51
|
+
# end
|
53
52
|
#
|
54
53
|
# @yield [config] Configure the Client client.
|
55
54
|
# @yieldparam config [Client::Configuration]
|
@@ -71,44 +70,29 @@ module Google
|
|
71
70
|
|
72
71
|
default_config.rpcs.list_indexes.timeout = 60.0
|
73
72
|
default_config.rpcs.list_indexes.retry_policy = {
|
74
|
-
initial_delay: 0.1,
|
75
|
-
max_delay: 60.0,
|
76
|
-
multiplier: 1.3,
|
77
|
-
retry_codes: [14, 13, 4]
|
73
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 13, 4]
|
78
74
|
}
|
79
75
|
|
80
76
|
default_config.rpcs.get_index.timeout = 60.0
|
81
77
|
default_config.rpcs.get_index.retry_policy = {
|
82
|
-
initial_delay: 0.1,
|
83
|
-
max_delay: 60.0,
|
84
|
-
multiplier: 1.3,
|
85
|
-
retry_codes: [14, 13, 4]
|
78
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 13, 4]
|
86
79
|
}
|
87
80
|
|
88
81
|
default_config.rpcs.delete_index.timeout = 60.0
|
89
82
|
default_config.rpcs.delete_index.retry_policy = {
|
90
|
-
initial_delay: 0.1,
|
91
|
-
max_delay: 60.0,
|
92
|
-
multiplier: 1.3,
|
93
|
-
retry_codes: [14, 13, 4]
|
83
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 13, 4]
|
94
84
|
}
|
95
85
|
|
96
86
|
default_config.rpcs.get_field.timeout = 60.0
|
97
87
|
default_config.rpcs.get_field.retry_policy = {
|
98
|
-
initial_delay: 0.1,
|
99
|
-
max_delay: 60.0,
|
100
|
-
multiplier: 1.3,
|
101
|
-
retry_codes: [14, 13, 4]
|
88
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 13, 4]
|
102
89
|
}
|
103
90
|
|
104
91
|
default_config.rpcs.update_field.timeout = 60.0
|
105
92
|
|
106
93
|
default_config.rpcs.list_fields.timeout = 60.0
|
107
94
|
default_config.rpcs.list_fields.retry_policy = {
|
108
|
-
initial_delay: 0.1,
|
109
|
-
max_delay: 60.0,
|
110
|
-
multiplier: 1.3,
|
111
|
-
retry_codes: [14, 13, 4]
|
95
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 13, 4]
|
112
96
|
}
|
113
97
|
|
114
98
|
default_config.rpcs.export_documents.timeout = 60.0
|
@@ -144,19 +128,15 @@ module Google
|
|
144
128
|
##
|
145
129
|
# Create a new FirestoreAdmin client object.
|
146
130
|
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
# To create a new FirestoreAdmin client with the default
|
150
|
-
# configuration:
|
131
|
+
# @example
|
151
132
|
#
|
152
|
-
#
|
133
|
+
# # Create a client using the default configuration
|
134
|
+
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new
|
153
135
|
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
158
|
-
# config.timeout = 10.0
|
159
|
-
# end
|
136
|
+
# # Create a client using a custom configuration
|
137
|
+
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new do |config|
|
138
|
+
# config.timeout = 10.0
|
139
|
+
# end
|
160
140
|
#
|
161
141
|
# @yield [config] Configure the FirestoreAdmin client.
|
162
142
|
# @yieldparam config [Client::Configuration]
|
@@ -176,14 +156,13 @@ module Google
|
|
176
156
|
|
177
157
|
# Create credentials
|
178
158
|
credentials = @config.credentials
|
179
|
-
# Use self-signed JWT if the
|
159
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
180
160
|
# but only if the default endpoint does not have a region prefix.
|
181
|
-
enable_self_signed_jwt = @config.
|
182
|
-
@config.endpoint == Client.configure.endpoint &&
|
161
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
183
162
|
!@config.endpoint.split(".").first.include?("-")
|
184
163
|
credentials ||= Credentials.default scope: @config.scope,
|
185
164
|
enable_self_signed_jwt: enable_self_signed_jwt
|
186
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
165
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
187
166
|
credentials = Credentials.new credentials, scope: @config.scope
|
188
167
|
end
|
189
168
|
@quota_project_id = @config.quota_project
|
@@ -272,7 +251,9 @@ module Google
|
|
272
251
|
options.apply_defaults timeout: @config.rpcs.create_index.timeout,
|
273
252
|
metadata: metadata,
|
274
253
|
retry_policy: @config.rpcs.create_index.retry_policy
|
275
|
-
|
254
|
+
|
255
|
+
options.apply_defaults timeout: @config.timeout,
|
256
|
+
metadata: @config.metadata,
|
276
257
|
retry_policy: @config.retry_policy
|
277
258
|
|
278
259
|
@firestore_admin_stub.call_rpc :create_index, request, options: options do |response, operation|
|
@@ -348,7 +329,9 @@ module Google
|
|
348
329
|
options.apply_defaults timeout: @config.rpcs.list_indexes.timeout,
|
349
330
|
metadata: metadata,
|
350
331
|
retry_policy: @config.rpcs.list_indexes.retry_policy
|
351
|
-
|
332
|
+
|
333
|
+
options.apply_defaults timeout: @config.timeout,
|
334
|
+
metadata: @config.metadata,
|
352
335
|
retry_policy: @config.retry_policy
|
353
336
|
|
354
337
|
@firestore_admin_stub.call_rpc :list_indexes, request, options: options do |response, operation|
|
@@ -416,7 +399,9 @@ module Google
|
|
416
399
|
options.apply_defaults timeout: @config.rpcs.get_index.timeout,
|
417
400
|
metadata: metadata,
|
418
401
|
retry_policy: @config.rpcs.get_index.retry_policy
|
419
|
-
|
402
|
+
|
403
|
+
options.apply_defaults timeout: @config.timeout,
|
404
|
+
metadata: @config.metadata,
|
420
405
|
retry_policy: @config.retry_policy
|
421
406
|
|
422
407
|
@firestore_admin_stub.call_rpc :get_index, request, options: options do |response, operation|
|
@@ -483,7 +468,9 @@ module Google
|
|
483
468
|
options.apply_defaults timeout: @config.rpcs.delete_index.timeout,
|
484
469
|
metadata: metadata,
|
485
470
|
retry_policy: @config.rpcs.delete_index.retry_policy
|
486
|
-
|
471
|
+
|
472
|
+
options.apply_defaults timeout: @config.timeout,
|
473
|
+
metadata: @config.metadata,
|
487
474
|
retry_policy: @config.retry_policy
|
488
475
|
|
489
476
|
@firestore_admin_stub.call_rpc :delete_index, request, options: options do |response, operation|
|
@@ -550,7 +537,9 @@ module Google
|
|
550
537
|
options.apply_defaults timeout: @config.rpcs.get_field.timeout,
|
551
538
|
metadata: metadata,
|
552
539
|
retry_policy: @config.rpcs.get_field.retry_policy
|
553
|
-
|
540
|
+
|
541
|
+
options.apply_defaults timeout: @config.timeout,
|
542
|
+
metadata: @config.metadata,
|
554
543
|
retry_policy: @config.retry_policy
|
555
544
|
|
556
545
|
@firestore_admin_stub.call_rpc :get_field, request, options: options do |response, operation|
|
@@ -631,7 +620,9 @@ module Google
|
|
631
620
|
options.apply_defaults timeout: @config.rpcs.update_field.timeout,
|
632
621
|
metadata: metadata,
|
633
622
|
retry_policy: @config.rpcs.update_field.retry_policy
|
634
|
-
|
623
|
+
|
624
|
+
options.apply_defaults timeout: @config.timeout,
|
625
|
+
metadata: @config.metadata,
|
635
626
|
retry_policy: @config.retry_policy
|
636
627
|
|
637
628
|
@firestore_admin_stub.call_rpc :update_field, request, options: options do |response, operation|
|
@@ -716,7 +707,9 @@ module Google
|
|
716
707
|
options.apply_defaults timeout: @config.rpcs.list_fields.timeout,
|
717
708
|
metadata: metadata,
|
718
709
|
retry_policy: @config.rpcs.list_fields.retry_policy
|
719
|
-
|
710
|
+
|
711
|
+
options.apply_defaults timeout: @config.timeout,
|
712
|
+
metadata: @config.metadata,
|
720
713
|
retry_policy: @config.retry_policy
|
721
714
|
|
722
715
|
@firestore_admin_stub.call_rpc :list_fields, request, options: options do |response, operation|
|
@@ -802,7 +795,9 @@ module Google
|
|
802
795
|
options.apply_defaults timeout: @config.rpcs.export_documents.timeout,
|
803
796
|
metadata: metadata,
|
804
797
|
retry_policy: @config.rpcs.export_documents.retry_policy
|
805
|
-
|
798
|
+
|
799
|
+
options.apply_defaults timeout: @config.timeout,
|
800
|
+
metadata: @config.metadata,
|
806
801
|
retry_policy: @config.retry_policy
|
807
802
|
|
808
803
|
@firestore_admin_stub.call_rpc :export_documents, request, options: options do |response, operation|
|
@@ -883,7 +878,9 @@ module Google
|
|
883
878
|
options.apply_defaults timeout: @config.rpcs.import_documents.timeout,
|
884
879
|
metadata: metadata,
|
885
880
|
retry_policy: @config.rpcs.import_documents.retry_policy
|
886
|
-
|
881
|
+
|
882
|
+
options.apply_defaults timeout: @config.timeout,
|
883
|
+
metadata: @config.metadata,
|
887
884
|
retry_policy: @config.retry_policy
|
888
885
|
|
889
886
|
@firestore_admin_stub.call_rpc :import_documents, request, options: options do |response, operation|
|
@@ -908,22 +905,21 @@ module Google
|
|
908
905
|
# Configuration can be applied globally to all clients, or to a single client
|
909
906
|
# on construction.
|
910
907
|
#
|
911
|
-
#
|
912
|
-
#
|
913
|
-
#
|
914
|
-
# to 20 seconds,
|
915
|
-
#
|
916
|
-
#
|
917
|
-
#
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
921
|
-
#
|
922
|
-
#
|
923
|
-
#
|
924
|
-
#
|
925
|
-
#
|
926
|
-
# end
|
908
|
+
# @example
|
909
|
+
#
|
910
|
+
# # Modify the global config, setting the timeout for
|
911
|
+
# # create_index to 20 seconds,
|
912
|
+
# # and all remaining timeouts to 10 seconds.
|
913
|
+
# ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.configure do |config|
|
914
|
+
# config.timeout = 10.0
|
915
|
+
# config.rpcs.create_index.timeout = 20.0
|
916
|
+
# end
|
917
|
+
#
|
918
|
+
# # Apply the above configuration only to a new client.
|
919
|
+
# client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new do |config|
|
920
|
+
# config.timeout = 10.0
|
921
|
+
# config.rpcs.create_index.timeout = 20.0
|
922
|
+
# end
|
927
923
|
#
|
928
924
|
# @!attribute [rw] endpoint
|
929
925
|
# The hostname or hostname:port of the service endpoint.
|
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# Create credentials
|
84
84
|
credentials = @config.credentials
|
85
85
|
credentials ||= Credentials.default scope: @config.scope
|
86
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
86
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
87
87
|
credentials = Credentials.new credentials, scope: @config.scope
|
88
88
|
end
|
89
89
|
@quota_project_id = @config.quota_project
|
@@ -170,7 +170,9 @@ module Google
|
|
170
170
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
171
171
|
metadata: metadata,
|
172
172
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
173
|
-
|
173
|
+
|
174
|
+
options.apply_defaults timeout: @config.timeout,
|
175
|
+
metadata: @config.metadata,
|
174
176
|
retry_policy: @config.retry_policy
|
175
177
|
|
176
178
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -240,7 +242,9 @@ module Google
|
|
240
242
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
241
243
|
metadata: metadata,
|
242
244
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
243
|
-
|
245
|
+
|
246
|
+
options.apply_defaults timeout: @config.timeout,
|
247
|
+
metadata: @config.metadata,
|
244
248
|
retry_policy: @config.retry_policy
|
245
249
|
|
246
250
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -310,7 +314,9 @@ module Google
|
|
310
314
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
311
315
|
metadata: metadata,
|
312
316
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
313
|
-
|
317
|
+
|
318
|
+
options.apply_defaults timeout: @config.timeout,
|
319
|
+
metadata: @config.metadata,
|
314
320
|
retry_policy: @config.retry_policy
|
315
321
|
|
316
322
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -385,7 +391,9 @@ module Google
|
|
385
391
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
386
392
|
metadata: metadata,
|
387
393
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
388
|
-
|
394
|
+
|
395
|
+
options.apply_defaults timeout: @config.timeout,
|
396
|
+
metadata: @config.metadata,
|
389
397
|
retry_policy: @config.retry_policy
|
390
398
|
|
391
399
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -397,9 +405,9 @@ module Google
|
|
397
405
|
end
|
398
406
|
|
399
407
|
##
|
400
|
-
# Waits
|
401
|
-
#
|
402
|
-
#
|
408
|
+
# Waits until the specified long-running operation is done or reaches at most
|
409
|
+
# a specified timeout, returning the latest state. If the operation is
|
410
|
+
# already done, the latest state is immediately returned. If the timeout
|
403
411
|
# specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
|
404
412
|
# timeout is used. If the server does not support this method, it returns
|
405
413
|
# `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -457,7 +465,9 @@ module Google
|
|
457
465
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
458
466
|
metadata: metadata,
|
459
467
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
460
|
-
|
468
|
+
|
469
|
+
options.apply_defaults timeout: @config.timeout,
|
470
|
+
metadata: @config.metadata,
|
461
471
|
retry_policy: @config.retry_policy
|
462
472
|
|
463
473
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -482,22 +492,21 @@ module Google
|
|
482
492
|
# Configuration can be applied globally to all clients, or to a single client
|
483
493
|
# on construction.
|
484
494
|
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
488
|
-
# to 20 seconds,
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
#
|
500
|
-
# end
|
495
|
+
# @example
|
496
|
+
#
|
497
|
+
# # Modify the global config, setting the timeout for
|
498
|
+
# # list_operations to 20 seconds,
|
499
|
+
# # and all remaining timeouts to 10 seconds.
|
500
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
501
|
+
# config.timeout = 10.0
|
502
|
+
# config.rpcs.list_operations.timeout = 20.0
|
503
|
+
# end
|
504
|
+
#
|
505
|
+
# # Apply the above configuration only to a new client.
|
506
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
507
|
+
# config.timeout = 10.0
|
508
|
+
# config.rpcs.list_operations.timeout = 20.0
|
509
|
+
# end
|
501
510
|
#
|
502
511
|
# @!attribute [rw] endpoint
|
503
512
|
# The hostname or hostname:port of the service endpoint.
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-firestore-admin-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.7'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -153,8 +159,7 @@ dependencies:
|
|
153
159
|
description: Cloud Firestore is a NoSQL document database built for automatic scaling,
|
154
160
|
high performance, and ease of application development. Note that google-cloud-firestore-admin-v1
|
155
161
|
is a version-specific client library. For most uses, we recommend installing the
|
156
|
-
main client library google-cloud-firestore
|
157
|
-
details.
|
162
|
+
main client library google-cloud-firestore instead. See the readme for more details.
|
158
163
|
email: googleapis-packages@google.com
|
159
164
|
executables: []
|
160
165
|
extensions: []
|
@@ -213,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
218
|
- !ruby/object:Gem::Version
|
214
219
|
version: '0'
|
215
220
|
requirements: []
|
216
|
-
rubygems_version: 3.2.
|
221
|
+
rubygems_version: 3.2.17
|
217
222
|
signing_key:
|
218
223
|
specification_version: 4
|
219
224
|
summary: API Client library for the Cloud Firestore Admin V1 API
|