google-cloud-datastore-admin-v1 0.7.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/client.rb +20 -22
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/operations.rb +12 -14
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/rest/client.rb +877 -0
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/rest/operations.rb +794 -0
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/rest/service_stub.rb +409 -0
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/rest.rb +114 -0
- data/lib/google/cloud/datastore/admin/v1/datastore_admin.rb +6 -0
- data/lib/google/cloud/datastore/admin/v1/rest.rb +39 -0
- data/lib/google/cloud/datastore/admin/v1/version.rb +1 -1
- data/lib/google/cloud/datastore/admin/v1.rb +5 -0
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9864e79ef84d8b352655ca594b7471b94a41c5f516d109162245bc81fad293cd
|
4
|
+
data.tar.gz: 4036d983b4a485f86499d095e81b80a363a6377c3717772de7650de16d9e354b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e30a156a7beb17ecfb0d6fb8a93a0b212b454f4e8464546e01b1f62bcbaf19b03515f0d22dbc944f61f4c53ae6da4ecf60d43a5fc6b0a703067fbae826cbb2e3
|
7
|
+
data.tar.gz: fedfc077f68aec253cc8a59da9a280785566bbe8b1de14d003f86db1621973bbc02dfa1fcdff2a86e70896e35ea6489b00c2184b570ced30b60673fafe53293d
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Firestore in Datastore mode Admin V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.
|
4
4
|
|
5
5
|
Firestore in Datastore mode is a NoSQL document database built for automatic scaling, high performance, and ease of application development.
|
6
6
|
|
@@ -305,14 +305,14 @@ module Google
|
|
305
305
|
# # Call the export_entities method.
|
306
306
|
# result = client.export_entities request
|
307
307
|
#
|
308
|
-
# # The returned object is of type Gapic::Operation. You can use
|
309
|
-
# #
|
310
|
-
# #
|
308
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
309
|
+
# # check the status of an operation, cancel it, or wait for results.
|
310
|
+
# # Here is how to wait for a response.
|
311
311
|
# result.wait_until_done! timeout: 60
|
312
312
|
# if result.response?
|
313
313
|
# p result.response
|
314
314
|
# else
|
315
|
-
# puts "
|
315
|
+
# puts "No response received."
|
316
316
|
# end
|
317
317
|
#
|
318
318
|
def export_entities request, options = nil
|
@@ -423,14 +423,14 @@ module Google
|
|
423
423
|
# # Call the import_entities method.
|
424
424
|
# result = client.import_entities request
|
425
425
|
#
|
426
|
-
# # The returned object is of type Gapic::Operation. You can use
|
427
|
-
# #
|
428
|
-
# #
|
426
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
427
|
+
# # check the status of an operation, cancel it, or wait for results.
|
428
|
+
# # Here is how to wait for a response.
|
429
429
|
# result.wait_until_done! timeout: 60
|
430
430
|
# if result.response?
|
431
431
|
# p result.response
|
432
432
|
# else
|
433
|
-
# puts "
|
433
|
+
# puts "No response received."
|
434
434
|
# end
|
435
435
|
#
|
436
436
|
def import_entities request, options = nil
|
@@ -532,14 +532,14 @@ module Google
|
|
532
532
|
# # Call the create_index method.
|
533
533
|
# result = client.create_index request
|
534
534
|
#
|
535
|
-
# # The returned object is of type Gapic::Operation. You can use
|
536
|
-
# #
|
537
|
-
# #
|
535
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
536
|
+
# # check the status of an operation, cancel it, or wait for results.
|
537
|
+
# # Here is how to wait for a response.
|
538
538
|
# result.wait_until_done! timeout: 60
|
539
539
|
# if result.response?
|
540
540
|
# p result.response
|
541
541
|
# else
|
542
|
-
# puts "
|
542
|
+
# puts "No response received."
|
543
543
|
# end
|
544
544
|
#
|
545
545
|
def create_index request, options = nil
|
@@ -636,14 +636,14 @@ module Google
|
|
636
636
|
# # Call the delete_index method.
|
637
637
|
# result = client.delete_index request
|
638
638
|
#
|
639
|
-
# # The returned object is of type Gapic::Operation. You can use
|
640
|
-
# #
|
641
|
-
# #
|
639
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
640
|
+
# # check the status of an operation, cancel it, or wait for results.
|
641
|
+
# # Here is how to wait for a response.
|
642
642
|
# result.wait_until_done! timeout: 60
|
643
643
|
# if result.response?
|
644
644
|
# p result.response
|
645
645
|
# else
|
646
|
-
# puts "
|
646
|
+
# puts "No response received."
|
647
647
|
# end
|
648
648
|
#
|
649
649
|
def delete_index request, options = nil
|
@@ -830,13 +830,11 @@ module Google
|
|
830
830
|
# # Call the list_indexes method.
|
831
831
|
# result = client.list_indexes request
|
832
832
|
#
|
833
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
834
|
-
# #
|
835
|
-
#
|
836
|
-
# # methods are also available for managing paging directly.
|
837
|
-
# result.each do |response|
|
833
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
834
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
835
|
+
# result.each do |item|
|
838
836
|
# # Each element is of type ::Google::Cloud::Datastore::Admin::V1::Index.
|
839
|
-
# p
|
837
|
+
# p item
|
840
838
|
# end
|
841
839
|
#
|
842
840
|
def list_indexes request, options = nil
|
@@ -159,13 +159,11 @@ module Google
|
|
159
159
|
# # Call the list_operations method.
|
160
160
|
# result = client.list_operations request
|
161
161
|
#
|
162
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
163
|
-
# #
|
164
|
-
#
|
165
|
-
# # methods are also available for managing paging directly.
|
166
|
-
# result.each do |response|
|
162
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
163
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
164
|
+
# result.each do |item|
|
167
165
|
# # Each element is of type ::Google::Longrunning::Operation.
|
168
|
-
# p
|
166
|
+
# p item
|
169
167
|
# end
|
170
168
|
#
|
171
169
|
def list_operations request, options = nil
|
@@ -254,14 +252,14 @@ module Google
|
|
254
252
|
# # Call the get_operation method.
|
255
253
|
# result = client.get_operation request
|
256
254
|
#
|
257
|
-
# # The returned object is of type Gapic::Operation. You can use
|
258
|
-
# #
|
259
|
-
# #
|
255
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
256
|
+
# # check the status of an operation, cancel it, or wait for results.
|
257
|
+
# # Here is how to wait for a response.
|
260
258
|
# result.wait_until_done! timeout: 60
|
261
259
|
# if result.response?
|
262
260
|
# p result.response
|
263
261
|
# else
|
264
|
-
# puts "
|
262
|
+
# puts "No response received."
|
265
263
|
# end
|
266
264
|
#
|
267
265
|
def get_operation request, options = nil
|
@@ -541,14 +539,14 @@ module Google
|
|
541
539
|
# # Call the wait_operation method.
|
542
540
|
# result = client.wait_operation request
|
543
541
|
#
|
544
|
-
# # The returned object is of type Gapic::Operation. You can use
|
545
|
-
# #
|
546
|
-
# #
|
542
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
543
|
+
# # check the status of an operation, cancel it, or wait for results.
|
544
|
+
# # Here is how to wait for a response.
|
547
545
|
# result.wait_until_done! timeout: 60
|
548
546
|
# if result.response?
|
549
547
|
# p result.response
|
550
548
|
# else
|
551
|
-
# puts "
|
549
|
+
# puts "No response received."
|
552
550
|
# end
|
553
551
|
#
|
554
552
|
def wait_operation request, options = nil
|