google-cloud-spanner-admin-instance-v1 0.8.0 → 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: c4bae5085b08440f43991627061bae7b3ad405d23e5f79c18712dc2f7e39586d
4
- data.tar.gz: 4b3ac7b65847f45f689a50eedfef695c64e5986d0a2f6d5da58904ea07744c50
3
+ metadata.gz: 276c00474aac9657725db28deeb043afc788319d7096b5cc570ec495366d2ec8
4
+ data.tar.gz: bae07af2b455584a84d48b718d3eb9eccc9837db8d0cacaf2bf751b50433d9bf
5
5
  SHA512:
6
- metadata.gz: 800694d1056ac280057e976edd43f5689b02b6bbaf25802af2078717e70e31a5c97971c3c9e48c5b892741f4ee8f120534dfb04c173b2f3461bafe396eba4241
7
- data.tar.gz: 692b47d48501cbaff5ed8e96d45d04b149b146cc9f13e357d35df9274ad870ef2077611b4a7fa154cf8cdbe4a72d9d10cbea40c7e718f1d7c5906d5866a6311a
6
+ metadata.gz: 9560a499b8ee39cb00b65d99703bc715a654f3af304cb24381e49694eb4d2b9c06ff3b607cc237e4d3fc53590413a29910e278c6cd85f255d8d14d7a7389ec35
7
+ data.tar.gz: 8b3ce86f7c9b563dc46095aa1b023af382df9b41375694417b050b6257a8ffdb0d84bec80751ed7d0fa4aeba3e0e20db5abf8149050a7689e0ae9efe80b294a8
data/README.md CHANGED
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
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
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
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
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/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.
@@ -268,13 +268,11 @@ module Google
268
268
  # # Call the list_instance_configs method.
269
269
  # result = client.list_instance_configs request
270
270
  #
271
- # # The returned object is of type Gapic::PagedEnumerable. You can
272
- # # iterate over all elements by calling #each, and the enumerable
273
- # # will lazily make API calls to fetch subsequent pages. Other
274
- # # methods are also available for managing paging directly.
275
- # result.each do |response|
271
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
272
+ # # over elements, and API calls will be issued to fetch pages as needed.
273
+ # result.each do |item|
276
274
  # # Each element is of type ::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig.
277
- # p response
275
+ # p item
278
276
  # end
279
277
  #
280
278
  def list_instance_configs request, options = nil
@@ -501,14 +499,14 @@ module Google
501
499
  # # Call the create_instance_config method.
502
500
  # result = client.create_instance_config request
503
501
  #
504
- # # The returned object is of type Gapic::Operation. You can use this
505
- # # object to check the status of an operation, cancel it, or wait
506
- # # for results. Here is how to block until completion:
502
+ # # The returned object is of type Gapic::Operation. You can use it to
503
+ # # check the status of an operation, cancel it, or wait for results.
504
+ # # Here is how to wait for a response.
507
505
  # result.wait_until_done! timeout: 60
508
506
  # if result.response?
509
507
  # p result.response
510
508
  # else
511
- # puts "Error!"
509
+ # puts "No response received."
512
510
  # end
513
511
  #
514
512
  def create_instance_config request, options = nil
@@ -652,14 +650,14 @@ module Google
652
650
  # # Call the update_instance_config method.
653
651
  # result = client.update_instance_config request
654
652
  #
655
- # # The returned object is of type Gapic::Operation. You can use this
656
- # # object to check the status of an operation, cancel it, or wait
657
- # # for results. Here is how to block until completion:
653
+ # # The returned object is of type Gapic::Operation. You can use it to
654
+ # # check the status of an operation, cancel it, or wait for results.
655
+ # # Here is how to wait for a response.
658
656
  # result.wait_until_done! timeout: 60
659
657
  # if result.response?
660
658
  # p result.response
661
659
  # else
662
- # puts "Error!"
660
+ # puts "No response received."
663
661
  # end
664
662
  #
665
663
  def update_instance_config request, options = nil
@@ -914,13 +912,11 @@ module Google
914
912
  # # Call the list_instance_config_operations method.
915
913
  # result = client.list_instance_config_operations request
916
914
  #
917
- # # The returned object is of type Gapic::PagedEnumerable. You can
918
- # # iterate over all elements by calling #each, and the enumerable
919
- # # will lazily make API calls to fetch subsequent pages. Other
920
- # # methods are also available for managing paging directly.
921
- # result.each do |response|
915
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
916
+ # # over elements, and API calls will be issued to fetch pages as needed.
917
+ # result.each do |item|
922
918
  # # Each element is of type ::Google::Longrunning::Operation.
923
- # p response
919
+ # p item
924
920
  # end
925
921
  #
926
922
  def list_instance_config_operations request, options = nil
@@ -1036,13 +1032,11 @@ module Google
1036
1032
  # # Call the list_instances method.
1037
1033
  # result = client.list_instances request
1038
1034
  #
1039
- # # The returned object is of type Gapic::PagedEnumerable. You can
1040
- # # iterate over all elements by calling #each, and the enumerable
1041
- # # will lazily make API calls to fetch subsequent pages. Other
1042
- # # methods are also available for managing paging directly.
1043
- # result.each do |response|
1035
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1036
+ # # over elements, and API calls will be issued to fetch pages as needed.
1037
+ # result.each do |item|
1044
1038
  # # Each element is of type ::Google::Cloud::Spanner::Admin::Instance::V1::Instance.
1045
- # p response
1039
+ # p item
1046
1040
  # end
1047
1041
  #
1048
1042
  def list_instances request, options = nil
@@ -1260,14 +1254,14 @@ module Google
1260
1254
  # # Call the create_instance method.
1261
1255
  # result = client.create_instance request
1262
1256
  #
1263
- # # The returned object is of type Gapic::Operation. You can use this
1264
- # # object to check the status of an operation, cancel it, or wait
1265
- # # for results. Here is how to block until completion:
1257
+ # # The returned object is of type Gapic::Operation. You can use it to
1258
+ # # check the status of an operation, cancel it, or wait for results.
1259
+ # # Here is how to wait for a response.
1266
1260
  # result.wait_until_done! timeout: 60
1267
1261
  # if result.response?
1268
1262
  # p result.response
1269
1263
  # else
1270
- # puts "Error!"
1264
+ # puts "No response received."
1271
1265
  # end
1272
1266
  #
1273
1267
  def create_instance request, options = nil
@@ -1401,14 +1395,14 @@ module Google
1401
1395
  # # Call the update_instance method.
1402
1396
  # result = client.update_instance request
1403
1397
  #
1404
- # # The returned object is of type Gapic::Operation. You can use this
1405
- # # object to check the status of an operation, cancel it, or wait
1406
- # # for results. Here is how to block until completion:
1398
+ # # The returned object is of type Gapic::Operation. You can use it to
1399
+ # # check the status of an operation, cancel it, or wait for results.
1400
+ # # Here is how to wait for a response.
1407
1401
  # result.wait_until_done! timeout: 60
1408
1402
  # if result.response?
1409
1403
  # p result.response
1410
1404
  # else
1411
- # puts "Error!"
1405
+ # puts "No response received."
1412
1406
  # end
1413
1407
  #
1414
1408
  def update_instance request, options = nil
@@ -160,13 +160,11 @@ module Google
160
160
  # # Call the list_operations method.
161
161
  # result = client.list_operations request
162
162
  #
163
- # # The returned object is of type Gapic::PagedEnumerable. You can
164
- # # iterate over all elements by calling #each, and the enumerable
165
- # # will lazily make API calls to fetch subsequent pages. Other
166
- # # methods are also available for managing paging directly.
167
- # result.each do |response|
163
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
164
+ # # over elements, and API calls will be issued to fetch pages as needed.
165
+ # result.each do |item|
168
166
  # # Each element is of type ::Google::Longrunning::Operation.
169
- # p response
167
+ # p item
170
168
  # end
171
169
  #
172
170
  def list_operations request, options = nil
@@ -255,14 +253,14 @@ module Google
255
253
  # # Call the get_operation method.
256
254
  # result = client.get_operation request
257
255
  #
258
- # # The returned object is of type Gapic::Operation. You can use this
259
- # # object to check the status of an operation, cancel it, or wait
260
- # # for results. Here is how to block until completion:
256
+ # # The returned object is of type Gapic::Operation. You can use it to
257
+ # # check the status of an operation, cancel it, or wait for results.
258
+ # # Here is how to wait for a response.
261
259
  # result.wait_until_done! timeout: 60
262
260
  # if result.response?
263
261
  # p result.response
264
262
  # else
265
- # puts "Error!"
263
+ # puts "No response received."
266
264
  # end
267
265
  #
268
266
  def get_operation request, options = nil
@@ -542,14 +540,14 @@ module Google
542
540
  # # Call the wait_operation method.
543
541
  # result = client.wait_operation request
544
542
  #
545
- # # The returned object is of type Gapic::Operation. You can use this
546
- # # object to check the status of an operation, cancel it, or wait
547
- # # for results. Here is how to block until completion:
543
+ # # The returned object is of type Gapic::Operation. You can use it to
544
+ # # check the status of an operation, cancel it, or wait for results.
545
+ # # Here is how to wait for a response.
548
546
  # result.wait_until_done! timeout: 60
549
547
  # if result.response?
550
548
  # p result.response
551
549
  # else
552
- # puts "Error!"
550
+ # puts "No response received."
553
551
  # end
554
552
  #
555
553
  def wait_operation request, options = nil