google-cloud-firestore-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 662f74a6d1aa36039b5f3539b475b6f4fb4b703a9ff1e8b3a227fe6bb72713c3
4
- data.tar.gz: 429d18a2f317a7e22aae8c17917737a38b2f2a6fcb15c7b5adacd88e3fd491be
3
+ metadata.gz: e8332e8f997799ea3eca52fa8b19300bfac3c708835eadda9f4fdba79beddbe0
4
+ data.tar.gz: d3d92ee8ccc16ca13091baa7e42fbfa270ef20f89fc782980fcd7aa602bbd32b
5
5
  SHA512:
6
- metadata.gz: e6b90a823c1e230c0592167cb2ada5a128d665027e6e0b30e4f5e91073adc7309404f244938d4563dcdef9751cc7eba1a2fc716d074d64d1457d167affdf0099
7
- data.tar.gz: 652211218a72f7fdc5b4afe6af68c574e2399123a8a4f0a2d07a045dc692787790a039c805ebf520b97d01f57aaa3ca0da2b38943963d9e6e9ea162284d37a4f
6
+ metadata.gz: d95fab527f7af306d03f515a4ed0ff6e95e5ad2240ec847ec3aab727200126c69c29881e3070f97f90e5ff5cd28188ccaf8f7f75d7562b86c8289cb8197b2fce
7
+ data.tar.gz: bc83c74251f2056b3ade43dcb58008244ee91175813f48cc47bb6744a5d14501439acec1868f64cfec9e3d8029b22056d62752760b529df3188c501e1b7553b2
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Firestore Admin V1 API
2
2
 
3
- API Client library for the Cloud Firestore Admin V1 API
3
+ Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.
4
4
 
5
5
  Cloud Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development.
6
6
 
@@ -278,14 +278,14 @@ module Google
278
278
  # # Call the create_index method.
279
279
  # result = client.create_index request
280
280
  #
281
- # # The returned object is of type Gapic::Operation. You can use this
282
- # # object to check the status of an operation, cancel it, or wait
283
- # # for results. Here is how to block until completion:
281
+ # # The returned object is of type Gapic::Operation. You can use it to
282
+ # # check the status of an operation, cancel it, or wait for results.
283
+ # # Here is how to wait for a response.
284
284
  # result.wait_until_done! timeout: 60
285
285
  # if result.response?
286
286
  # p result.response
287
287
  # else
288
- # puts "Error!"
288
+ # puts "No response received."
289
289
  # end
290
290
  #
291
291
  def create_index request, options = nil
@@ -380,13 +380,11 @@ module Google
380
380
  # # Call the list_indexes method.
381
381
  # result = client.list_indexes request
382
382
  #
383
- # # The returned object is of type Gapic::PagedEnumerable. You can
384
- # # iterate over all elements by calling #each, and the enumerable
385
- # # will lazily make API calls to fetch subsequent pages. Other
386
- # # methods are also available for managing paging directly.
387
- # result.each do |response|
383
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
384
+ # # over elements, and API calls will be issued to fetch pages as needed.
385
+ # result.each do |item|
388
386
  # # Each element is of type ::Google::Cloud::Firestore::Admin::V1::Index.
389
- # p response
387
+ # p item
390
388
  # end
391
389
  #
392
390
  def list_indexes request, options = nil
@@ -745,14 +743,14 @@ module Google
745
743
  # # Call the update_field method.
746
744
  # result = client.update_field request
747
745
  #
748
- # # The returned object is of type Gapic::Operation. You can use this
749
- # # object to check the status of an operation, cancel it, or wait
750
- # # for results. Here is how to block until completion:
746
+ # # The returned object is of type Gapic::Operation. You can use it to
747
+ # # check the status of an operation, cancel it, or wait for results.
748
+ # # Here is how to wait for a response.
751
749
  # result.wait_until_done! timeout: 60
752
750
  # if result.response?
753
751
  # p result.response
754
752
  # else
755
- # puts "Error!"
753
+ # puts "No response received."
756
754
  # end
757
755
  #
758
756
  def update_field request, options = nil
@@ -856,13 +854,11 @@ module Google
856
854
  # # Call the list_fields method.
857
855
  # result = client.list_fields request
858
856
  #
859
- # # The returned object is of type Gapic::PagedEnumerable. You can
860
- # # iterate over all elements by calling #each, and the enumerable
861
- # # will lazily make API calls to fetch subsequent pages. Other
862
- # # methods are also available for managing paging directly.
863
- # result.each do |response|
857
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
858
+ # # over elements, and API calls will be issued to fetch pages as needed.
859
+ # result.each do |item|
864
860
  # # Each element is of type ::Google::Cloud::Firestore::Admin::V1::Field.
865
- # p response
861
+ # p item
866
862
  # end
867
863
  #
868
864
  def list_fields request, options = nil
@@ -970,14 +966,14 @@ module Google
970
966
  # # Call the export_documents method.
971
967
  # result = client.export_documents request
972
968
  #
973
- # # The returned object is of type Gapic::Operation. You can use this
974
- # # object to check the status of an operation, cancel it, or wait
975
- # # for results. Here is how to block until completion:
969
+ # # The returned object is of type Gapic::Operation. You can use it to
970
+ # # check the status of an operation, cancel it, or wait for results.
971
+ # # Here is how to wait for a response.
976
972
  # result.wait_until_done! timeout: 60
977
973
  # if result.response?
978
974
  # p result.response
979
975
  # else
980
- # puts "Error!"
976
+ # puts "No response received."
981
977
  # end
982
978
  #
983
979
  def export_documents request, options = nil
@@ -1077,14 +1073,14 @@ module Google
1077
1073
  # # Call the import_documents method.
1078
1074
  # result = client.import_documents request
1079
1075
  #
1080
- # # The returned object is of type Gapic::Operation. You can use this
1081
- # # object to check the status of an operation, cancel it, or wait
1082
- # # for results. Here is how to block until completion:
1076
+ # # The returned object is of type Gapic::Operation. You can use it to
1077
+ # # check the status of an operation, cancel it, or wait for results.
1078
+ # # Here is how to wait for a response.
1083
1079
  # result.wait_until_done! timeout: 60
1084
1080
  # if result.response?
1085
1081
  # p result.response
1086
1082
  # else
1087
- # puts "Error!"
1083
+ # puts "No response received."
1088
1084
  # end
1089
1085
  #
1090
1086
  def import_documents request, options = nil
@@ -1344,14 +1340,14 @@ module Google
1344
1340
  # # Call the update_database method.
1345
1341
  # result = client.update_database request
1346
1342
  #
1347
- # # The returned object is of type Gapic::Operation. You can use this
1348
- # # object to check the status of an operation, cancel it, or wait
1349
- # # for results. Here is how to block until completion:
1343
+ # # The returned object is of type Gapic::Operation. You can use it to
1344
+ # # check the status of an operation, cancel it, or wait for results.
1345
+ # # Here is how to wait for a response.
1350
1346
  # result.wait_until_done! timeout: 60
1351
1347
  # if result.response?
1352
1348
  # p result.response
1353
1349
  # else
1354
- # puts "Error!"
1350
+ # puts "No response received."
1355
1351
  # end
1356
1352
  #
1357
1353
  def update_database 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
- # # iterate over all elements by calling #each, and the enumerable
164
- # # will lazily make API calls to fetch subsequent pages. Other
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 response
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 this
258
- # # object to check the status of an operation, cancel it, or wait
259
- # # for results. Here is how to block until completion:
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 "Error!"
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 this
545
- # # object to check the status of an operation, cancel it, or wait
546
- # # for results. Here is how to block until completion:
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 "Error!"
549
+ # puts "No response received."
552
550
  # end
553
551
  #
554
552
  def wait_operation request, options = nil