google-cloud-spanner-admin-instance-v1 0.8.0 → 0.10.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: e45852e87b314819518c748c09d7fa25b7ab6ffdd8926456b726bc48e95a315c
4
+ data.tar.gz: 8601ceb157937b1b523dbd1211d68777653e9a5642402a153eab41baa4a790db
5
5
  SHA512:
6
- metadata.gz: 800694d1056ac280057e976edd43f5689b02b6bbaf25802af2078717e70e31a5c97971c3c9e48c5b892741f4ee8f120534dfb04c173b2f3461bafe396eba4241
7
- data.tar.gz: 692b47d48501cbaff5ed8e96d45d04b149b146cc9f13e357d35df9274ad870ef2077611b4a7fa154cf8cdbe4a72d9d10cbea40c7e718f1d7c5906d5866a6311a
6
+ metadata.gz: 0ff717ce05a286c1e5a873817b0b21fe3c09f00cf6e6850f2d7398e5de467628625b79c07e2846140827e9fee3b8f1f25f7d452765242b749662d82351d3e957
7
+ data.tar.gz: a536221226be07a875f6fa8dd9089a2f320f6d06abd335bc95f5c64ace85ebcda7ef2e89adf680f604ca8e70c85d5d7f32f5bf0457140900f192695c7d610022
data/README.md CHANGED
@@ -46,8 +46,8 @@ 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,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
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://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
 
@@ -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
@@ -1877,9 +1871,9 @@ module Google
1877
1871
  # * (`String`) The path to a service account key file in JSON format
1878
1872
  # * (`Hash`) A service account key as a Hash
1879
1873
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1880
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1874
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1881
1875
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1882
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1876
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1883
1877
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1884
1878
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1885
1879
  # * (`nil`) indicating no credentials
@@ -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
@@ -624,9 +622,9 @@ module Google
624
622
  # * (`String`) The path to a service account key file in JSON format
625
623
  # * (`Hash`) A service account key as a Hash
626
624
  # * (`Google::Auth::Credentials`) A googleauth credentials object
627
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
625
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
628
626
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
629
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
627
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
630
628
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
631
629
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
632
630
  # * (`nil`) indicating no credentials