google-cloud-spanner-admin-database-v1 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6929ebcdea92158c0fad9c88ab18ca86cb421e901e4ba3a99f06e6985c0606f8
4
- data.tar.gz: 1afdec85fdeaadf2e9b34261a223c69143ea3bf3d62b446e4d3c65e6d0f193f7
3
+ metadata.gz: a0ccba22ec473311d535a4a9ec4f1d63be050ca80ae187550ad5419b67ed4186
4
+ data.tar.gz: b9b3b52d6758e734fefb309638b24dec4d0f5d9b778f7ad17fc3ad8d87b5cdde
5
5
  SHA512:
6
- metadata.gz: 46a4bdf68256441bbe8baf778177e5a5dbe8b9596c89befdefcc22a272bd437aa0a2dc34efe0b95155bff3d0577e5f96c1f6d77f9ac598a2a138323e31fca43c
7
- data.tar.gz: e916351643479cb10eb263e5b55c780bdad6699eed851d405e52b24fb2cf351fd3197ad35ad714defa3368ef153a2561804cb00707230f2317084d745419487f
6
+ metadata.gz: 183dcd7dc9b8cf46f6b0e66576a77f755a42f0ba736462eb8cfc6ffc3b7fa07012c2a1982eb205dc1f97d2faecca6478e23cf680fea63545fd05bdd0d4378700
7
+ data.tar.gz: 73f6bd6d455658a016a16ed91e53eab5098dc883eae2b5312e90d6b621025b3a7d69171b20eab7bb248eba60e5903cf1f12e3fcafb26590d829c1de9b8f0699f
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Spanner Database Admin V1 API
2
2
 
3
- API Client library for the Cloud Spanner Database Admin V1 API
3
+ Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.
4
4
 
5
5
  Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.
6
6
 
@@ -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
 
@@ -84,6 +84,11 @@ module Google
84
84
  initial_delay: 1.0, max_delay: 32.0, multiplier: 1.3, retry_codes: [14, 4]
85
85
  }
86
86
 
87
+ default_config.rpcs.update_database.timeout = 3600.0
88
+ default_config.rpcs.update_database.retry_policy = {
89
+ initial_delay: 1.0, max_delay: 32.0, multiplier: 1.3, retry_codes: [14, 4]
90
+ }
91
+
87
92
  default_config.rpcs.update_database_ddl.timeout = 3600.0
88
93
  default_config.rpcs.update_database_ddl.retry_policy = {
89
94
  initial_delay: 1.0, max_delay: 32.0, multiplier: 1.3, retry_codes: [14, 4]
@@ -291,13 +296,11 @@ module Google
291
296
  # # Call the list_databases method.
292
297
  # result = client.list_databases request
293
298
  #
294
- # # The returned object is of type Gapic::PagedEnumerable. You can
295
- # # iterate over all elements by calling #each, and the enumerable
296
- # # will lazily make API calls to fetch subsequent pages. Other
297
- # # methods are also available for managing paging directly.
298
- # result.each do |response|
299
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
300
+ # # over elements, and API calls will be issued to fetch pages as needed.
301
+ # result.each do |item|
299
302
  # # Each element is of type ::Google::Cloud::Spanner::Admin::Database::V1::Database.
300
- # p response
303
+ # p item
301
304
  # end
302
305
  #
303
306
  def list_databases request, options = nil
@@ -408,14 +411,14 @@ module Google
408
411
  # # Call the create_database method.
409
412
  # result = client.create_database request
410
413
  #
411
- # # The returned object is of type Gapic::Operation. You can use this
412
- # # object to check the status of an operation, cancel it, or wait
413
- # # for results. Here is how to block until completion:
414
+ # # The returned object is of type Gapic::Operation. You can use it to
415
+ # # check the status of an operation, cancel it, or wait for results.
416
+ # # Here is how to wait for a response.
414
417
  # result.wait_until_done! timeout: 60
415
418
  # if result.response?
416
419
  # p result.response
417
420
  # else
418
- # puts "Error!"
421
+ # puts "No response received."
419
422
  # end
420
423
  #
421
424
  def create_database request, options = nil
@@ -546,6 +549,139 @@ module Google
546
549
  raise ::Google::Cloud::Error.from_error(e)
547
550
  end
548
551
 
552
+ ##
553
+ # Updates a Cloud Spanner database. The returned
554
+ # {::Google::Longrunning::Operation long-running operation} can be used to track
555
+ # the progress of updating the database. If the named database does not
556
+ # exist, returns `NOT_FOUND`.
557
+ #
558
+ # While the operation is pending:
559
+ #
560
+ # * The database's
561
+ # {::Google::Cloud::Spanner::Admin::Database::V1::Database#reconciling reconciling}
562
+ # field is set to true.
563
+ # * Cancelling the operation is best-effort. If the cancellation succeeds,
564
+ # the operation metadata's
565
+ # {::Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseMetadata#cancel_time cancel_time}
566
+ # is set, the updates are reverted, and the operation terminates with a
567
+ # `CANCELLED` status.
568
+ # * New UpdateDatabase requests will return a `FAILED_PRECONDITION` error
569
+ # until the pending operation is done (returns successfully or with
570
+ # error).
571
+ # * Reading the database via the API continues to give the pre-request
572
+ # values.
573
+ #
574
+ # Upon completion of the returned operation:
575
+ #
576
+ # * The new values are in effect and readable via the API.
577
+ # * The database's
578
+ # {::Google::Cloud::Spanner::Admin::Database::V1::Database#reconciling reconciling}
579
+ # field becomes false.
580
+ #
581
+ # The returned {::Google::Longrunning::Operation long-running operation} will
582
+ # have a name of the format
583
+ # `projects/<project>/instances/<instance>/databases/<database>/operations/<operation_id>`
584
+ # and can be used to track the database modification. The
585
+ # {::Google::Longrunning::Operation#metadata metadata} field type is
586
+ # {::Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseMetadata UpdateDatabaseMetadata}.
587
+ # The {::Google::Longrunning::Operation#response response} field type is
588
+ # {::Google::Cloud::Spanner::Admin::Database::V1::Database Database}, if successful.
589
+ #
590
+ # @overload update_database(request, options = nil)
591
+ # Pass arguments to `update_database` via a request object, either of type
592
+ # {::Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseRequest} or an equivalent Hash.
593
+ #
594
+ # @param request [::Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseRequest, ::Hash]
595
+ # A request object representing the call parameters. Required. To specify no
596
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
597
+ # @param options [::Gapic::CallOptions, ::Hash]
598
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
599
+ #
600
+ # @overload update_database(database: nil, update_mask: nil)
601
+ # Pass arguments to `update_database` via keyword arguments. Note that at
602
+ # least one keyword argument is required. To specify no parameters, or to keep all
603
+ # the default parameter values, pass an empty Hash as a request object (see above).
604
+ #
605
+ # @param database [::Google::Cloud::Spanner::Admin::Database::V1::Database, ::Hash]
606
+ # Required. The database to update.
607
+ # The `name` field of the database is of the form
608
+ # `projects/<project>/instances/<instance>/databases/<database>`.
609
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
610
+ # Required. The list of fields to update. Currently, only
611
+ # `enable_drop_protection` field can be updated.
612
+ #
613
+ # @yield [response, operation] Access the result along with the RPC operation
614
+ # @yieldparam response [::Gapic::Operation]
615
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
616
+ #
617
+ # @return [::Gapic::Operation]
618
+ #
619
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
620
+ #
621
+ # @example Basic example
622
+ # require "google/cloud/spanner/admin/database/v1"
623
+ #
624
+ # # Create a client object. The client can be reused for multiple calls.
625
+ # client = Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Client.new
626
+ #
627
+ # # Create a request. To set request fields, pass in keyword arguments.
628
+ # request = Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseRequest.new
629
+ #
630
+ # # Call the update_database method.
631
+ # result = client.update_database request
632
+ #
633
+ # # The returned object is of type Gapic::Operation. You can use it to
634
+ # # check the status of an operation, cancel it, or wait for results.
635
+ # # Here is how to wait for a response.
636
+ # result.wait_until_done! timeout: 60
637
+ # if result.response?
638
+ # p result.response
639
+ # else
640
+ # puts "No response received."
641
+ # end
642
+ #
643
+ def update_database request, options = nil
644
+ raise ::ArgumentError, "request must be provided" if request.nil?
645
+
646
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Spanner::Admin::Database::V1::UpdateDatabaseRequest
647
+
648
+ # Converts hash and nil to an options object
649
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
650
+
651
+ # Customize the options with defaults
652
+ metadata = @config.rpcs.update_database.metadata.to_h
653
+
654
+ # Set x-goog-api-client and x-goog-user-project headers
655
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
656
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
657
+ gapic_version: ::Google::Cloud::Spanner::Admin::Database::V1::VERSION
658
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
659
+
660
+ header_params = {}
661
+ if request.database&.name
662
+ header_params["database.name"] = request.database.name
663
+ end
664
+
665
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
666
+ metadata[:"x-goog-request-params"] ||= request_params_header
667
+
668
+ options.apply_defaults timeout: @config.rpcs.update_database.timeout,
669
+ metadata: metadata,
670
+ retry_policy: @config.rpcs.update_database.retry_policy
671
+
672
+ options.apply_defaults timeout: @config.timeout,
673
+ metadata: @config.metadata,
674
+ retry_policy: @config.retry_policy
675
+
676
+ @database_admin_stub.call_rpc :update_database, request, options: options do |response, operation|
677
+ response = ::Gapic::Operation.new response, @operations_client, options: options
678
+ yield response, operation if block_given?
679
+ return response
680
+ end
681
+ rescue ::GRPC::BadStatus => e
682
+ raise ::Google::Cloud::Error.from_error(e)
683
+ end
684
+
549
685
  ##
550
686
  # Updates the schema of a Cloud Spanner database by
551
687
  # creating/altering/dropping tables, columns, indexes, etc. The returned
@@ -615,14 +751,14 @@ module Google
615
751
  # # Call the update_database_ddl method.
616
752
  # result = client.update_database_ddl request
617
753
  #
618
- # # The returned object is of type Gapic::Operation. You can use this
619
- # # object to check the status of an operation, cancel it, or wait
620
- # # for results. Here is how to block until completion:
754
+ # # The returned object is of type Gapic::Operation. You can use it to
755
+ # # check the status of an operation, cancel it, or wait for results.
756
+ # # Here is how to wait for a response.
621
757
  # result.wait_until_done! timeout: 60
622
758
  # if result.response?
623
759
  # p result.response
624
760
  # else
625
- # puts "Error!"
761
+ # puts "No response received."
626
762
  # end
627
763
  #
628
764
  def update_database_ddl request, options = nil
@@ -1213,14 +1349,14 @@ module Google
1213
1349
  # # Call the create_backup method.
1214
1350
  # result = client.create_backup request
1215
1351
  #
1216
- # # The returned object is of type Gapic::Operation. You can use this
1217
- # # object to check the status of an operation, cancel it, or wait
1218
- # # for results. Here is how to block until completion:
1352
+ # # The returned object is of type Gapic::Operation. You can use it to
1353
+ # # check the status of an operation, cancel it, or wait for results.
1354
+ # # Here is how to wait for a response.
1219
1355
  # result.wait_until_done! timeout: 60
1220
1356
  # if result.response?
1221
1357
  # p result.response
1222
1358
  # else
1223
- # puts "Error!"
1359
+ # puts "No response received."
1224
1360
  # end
1225
1361
  #
1226
1362
  def create_backup request, options = nil
@@ -1341,14 +1477,14 @@ module Google
1341
1477
  # # Call the copy_backup method.
1342
1478
  # result = client.copy_backup request
1343
1479
  #
1344
- # # The returned object is of type Gapic::Operation. You can use this
1345
- # # object to check the status of an operation, cancel it, or wait
1346
- # # for results. Here is how to block until completion:
1480
+ # # The returned object is of type Gapic::Operation. You can use it to
1481
+ # # check the status of an operation, cancel it, or wait for results.
1482
+ # # Here is how to wait for a response.
1347
1483
  # result.wait_until_done! timeout: 60
1348
1484
  # if result.response?
1349
1485
  # p result.response
1350
1486
  # else
1351
- # puts "Error!"
1487
+ # puts "No response received."
1352
1488
  # end
1353
1489
  #
1354
1490
  def copy_backup request, options = nil
@@ -1749,13 +1885,11 @@ module Google
1749
1885
  # # Call the list_backups method.
1750
1886
  # result = client.list_backups request
1751
1887
  #
1752
- # # The returned object is of type Gapic::PagedEnumerable. You can
1753
- # # iterate over all elements by calling #each, and the enumerable
1754
- # # will lazily make API calls to fetch subsequent pages. Other
1755
- # # methods are also available for managing paging directly.
1756
- # result.each do |response|
1888
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1889
+ # # over elements, and API calls will be issued to fetch pages as needed.
1890
+ # result.each do |item|
1757
1891
  # # Each element is of type ::Google::Cloud::Spanner::Admin::Database::V1::Backup.
1758
- # p response
1892
+ # p item
1759
1893
  # end
1760
1894
  #
1761
1895
  def list_backups request, options = nil
@@ -1876,14 +2010,14 @@ module Google
1876
2010
  # # Call the restore_database method.
1877
2011
  # result = client.restore_database request
1878
2012
  #
1879
- # # The returned object is of type Gapic::Operation. You can use this
1880
- # # object to check the status of an operation, cancel it, or wait
1881
- # # for results. Here is how to block until completion:
2013
+ # # The returned object is of type Gapic::Operation. You can use it to
2014
+ # # check the status of an operation, cancel it, or wait for results.
2015
+ # # Here is how to wait for a response.
1882
2016
  # result.wait_until_done! timeout: 60
1883
2017
  # if result.response?
1884
2018
  # p result.response
1885
2019
  # else
1886
- # puts "Error!"
2020
+ # puts "No response received."
1887
2021
  # end
1888
2022
  #
1889
2023
  def restore_database request, options = nil
@@ -2028,13 +2162,11 @@ module Google
2028
2162
  # # Call the list_database_operations method.
2029
2163
  # result = client.list_database_operations request
2030
2164
  #
2031
- # # The returned object is of type Gapic::PagedEnumerable. You can
2032
- # # iterate over all elements by calling #each, and the enumerable
2033
- # # will lazily make API calls to fetch subsequent pages. Other
2034
- # # methods are also available for managing paging directly.
2035
- # result.each do |response|
2165
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2166
+ # # over elements, and API calls will be issued to fetch pages as needed.
2167
+ # result.each do |item|
2036
2168
  # # Each element is of type ::Google::Longrunning::Operation.
2037
- # p response
2169
+ # p item
2038
2170
  # end
2039
2171
  #
2040
2172
  def list_database_operations request, options = nil
@@ -2206,13 +2338,11 @@ module Google
2206
2338
  # # Call the list_backup_operations method.
2207
2339
  # result = client.list_backup_operations request
2208
2340
  #
2209
- # # The returned object is of type Gapic::PagedEnumerable. You can
2210
- # # iterate over all elements by calling #each, and the enumerable
2211
- # # will lazily make API calls to fetch subsequent pages. Other
2212
- # # methods are also available for managing paging directly.
2213
- # result.each do |response|
2341
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2342
+ # # over elements, and API calls will be issued to fetch pages as needed.
2343
+ # result.each do |item|
2214
2344
  # # Each element is of type ::Google::Longrunning::Operation.
2215
- # p response
2345
+ # p item
2216
2346
  # end
2217
2347
  #
2218
2348
  def list_backup_operations request, options = nil
@@ -2308,13 +2438,11 @@ module Google
2308
2438
  # # Call the list_database_roles method.
2309
2439
  # result = client.list_database_roles request
2310
2440
  #
2311
- # # The returned object is of type Gapic::PagedEnumerable. You can
2312
- # # iterate over all elements by calling #each, and the enumerable
2313
- # # will lazily make API calls to fetch subsequent pages. Other
2314
- # # methods are also available for managing paging directly.
2315
- # result.each do |response|
2441
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
2442
+ # # over elements, and API calls will be issued to fetch pages as needed.
2443
+ # result.each do |item|
2316
2444
  # # Each element is of type ::Google::Cloud::Spanner::Admin::Database::V1::DatabaseRole.
2317
- # p response
2445
+ # p item
2318
2446
  # end
2319
2447
  #
2320
2448
  def list_database_roles request, options = nil
@@ -2397,9 +2525,9 @@ module Google
2397
2525
  # * (`String`) The path to a service account key file in JSON format
2398
2526
  # * (`Hash`) A service account key as a Hash
2399
2527
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2400
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
2528
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2401
2529
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2402
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
2530
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2403
2531
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2404
2532
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2405
2533
  # * (`nil`) indicating no credentials
@@ -2510,6 +2638,11 @@ module Google
2510
2638
  #
2511
2639
  attr_reader :get_database
2512
2640
  ##
2641
+ # RPC-specific configuration for `update_database`
2642
+ # @return [::Gapic::Config::Method]
2643
+ #
2644
+ attr_reader :update_database
2645
+ ##
2513
2646
  # RPC-specific configuration for `update_database_ddl`
2514
2647
  # @return [::Gapic::Config::Method]
2515
2648
  #
@@ -2598,6 +2731,8 @@ module Google
2598
2731
  @create_database = ::Gapic::Config::Method.new create_database_config
2599
2732
  get_database_config = parent_rpcs.get_database if parent_rpcs.respond_to? :get_database
2600
2733
  @get_database = ::Gapic::Config::Method.new get_database_config
2734
+ update_database_config = parent_rpcs.update_database if parent_rpcs.respond_to? :update_database
2735
+ @update_database = ::Gapic::Config::Method.new update_database_config
2601
2736
  update_database_ddl_config = parent_rpcs.update_database_ddl if parent_rpcs.respond_to? :update_database_ddl
2602
2737
  @update_database_ddl = ::Gapic::Config::Method.new update_database_ddl_config
2603
2738
  drop_database_config = parent_rpcs.drop_database if parent_rpcs.respond_to? :drop_database
@@ -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