google-cloud-firestore-admin-v1 0.7.1 → 0.9.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: 44272042c309e5302eec5551cd6a25645a0b73d4cc0beec3f9adf8670bb41248
4
+ data.tar.gz: 2d6525b835a1fa295c255479e83f4212aa309dd3427178109d7aa49bd71dcaf4
5
5
  SHA512:
6
- metadata.gz: e6b90a823c1e230c0592167cb2ada5a128d665027e6e0b30e4f5e91073adc7309404f244938d4563dcdef9751cc7eba1a2fc716d074d64d1457d167affdf0099
7
- data.tar.gz: 652211218a72f7fdc5b4afe6af68c574e2399123a8a4f0a2d07a045dc692787790a039c805ebf520b97d01f57aaa3ca0da2b38943963d9e6e9ea162284d37a4f
6
+ metadata.gz: f033088ffadc96e0ad1ab201745f0b16656bf799ac926afc7d9239aa4c1ce5097f41adf73de2a7a005381af6393da8680b525a4a7c57955f6af205de37a4e5d6
7
+ data.tar.gz: cea92f85b56fde40ef31de9a3a9f6282cc9bd7680b812638e88f9b842c3a7b3c505de6b15847c679679604cc008d8db2a045e1ad0b1eec317b20870a6a587f47
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
 
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -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
@@ -1434,9 +1430,9 @@ module Google
1434
1430
  # * (`String`) The path to a service account key file in JSON format
1435
1431
  # * (`Hash`) A service account key as a Hash
1436
1432
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1437
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1433
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1438
1434
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1439
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1435
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1440
1436
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1441
1437
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1442
1438
  # * (`nil`) indicating no credentials
@@ -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
@@ -623,9 +621,9 @@ module Google
623
621
  # * (`String`) The path to a service account key file in JSON format
624
622
  # * (`Hash`) A service account key as a Hash
625
623
  # * (`Google::Auth::Credentials`) A googleauth credentials object
626
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
624
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
627
625
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
628
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
626
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
629
627
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
630
628
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
631
629
  # * (`nil`) indicating no credentials