google-cloud-redis-v1 0.8.0 → 0.10.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 +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +3 -3
- data/lib/google/cloud/redis/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/redis/v1/cloud_redis/client.rb +56 -42
- data/lib/google/cloud/redis/v1/cloud_redis/operations.rb +14 -16
- data/lib/google/cloud/redis/v1/cloud_redis/rest/client.rb +1224 -0
- data/lib/google/cloud/redis/v1/cloud_redis/rest/operations.rb +792 -0
- data/lib/google/cloud/redis/v1/cloud_redis/rest/service_stub.rb +704 -0
- data/lib/google/cloud/redis/v1/cloud_redis/rest.rb +68 -0
- data/lib/google/cloud/redis/v1/cloud_redis.rb +7 -1
- data/lib/google/cloud/redis/v1/cloud_redis_pb.rb +32 -0
- data/lib/google/cloud/redis/v1/rest.rb +38 -0
- data/lib/google/cloud/redis/v1/version.rb +1 -1
- data/lib/google/cloud/redis/v1.rb +7 -2
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/redis/v1/cloud_redis.rb +127 -29
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +36 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b6921bb85c1c295783cfe299632f1d45e29feca9e6099bad5ba3df49d2062a1
|
4
|
+
data.tar.gz: ceac7bd3252e263fe8465f9552f1f8247237ba7cc3ffe75400c75a25fd05899d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b439dd405fb841002437330facc0950b465683d6779485b9b8c0a18e93fee1b8798fbefcc13c0d756ed7c3fa2ee92cd5cba3866f6b1d86399d14293b5d19daf5
|
7
|
+
data.tar.gz: 26196b63a5c3ba1d95fb7a1801f306667b596ccd97d97b4c8d52428894f636a1fff32681363b8d98577a9c75d65016b8c6c112ea0547fa8fc52c04ef2dc3523b
|
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 Google Cloud Memorystore for Redis V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Creates and manages Redis instances on the Google Cloud Platform.
|
4
4
|
|
5
5
|
Creates and manages Redis instances on the Google Cloud Platform.
|
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/
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
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
|
|
@@ -0,0 +1,102 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/config"
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Cloud
|
23
|
+
module Redis
|
24
|
+
##
|
25
|
+
# @example Loading just the REST part of this package, including all its services, and instantiating a REST client
|
26
|
+
#
|
27
|
+
# require "google/cloud/redis/v1/rest"
|
28
|
+
# client = ::Google::Cloud::Redis::V1::CloudRedis::Rest::Client.new
|
29
|
+
#
|
30
|
+
module V1
|
31
|
+
##
|
32
|
+
# @private
|
33
|
+
# Initialize the mixin bindings configuration
|
34
|
+
#
|
35
|
+
def self.configure
|
36
|
+
@configure ||= begin
|
37
|
+
namespace = ["Google", "Cloud", "Redis"]
|
38
|
+
parent_config = while namespace.any?
|
39
|
+
parent_name = namespace.join "::"
|
40
|
+
parent_const = const_get parent_name
|
41
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
42
|
+
namespace.pop
|
43
|
+
end
|
44
|
+
|
45
|
+
default_config = Configuration.new parent_config
|
46
|
+
default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
|
47
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
48
|
+
uri_method: :get,
|
49
|
+
uri_template: "/v1/{name}",
|
50
|
+
matches: [
|
51
|
+
["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
|
52
|
+
],
|
53
|
+
body: nil
|
54
|
+
)
|
55
|
+
]
|
56
|
+
default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
|
57
|
+
|
58
|
+
Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
|
59
|
+
uri_method: :get,
|
60
|
+
uri_template: "/v1/{name}/locations",
|
61
|
+
matches: [
|
62
|
+
["name", %r{^projects/[^/]+/?$}, false]
|
63
|
+
],
|
64
|
+
body: nil
|
65
|
+
)
|
66
|
+
]
|
67
|
+
default_config
|
68
|
+
end
|
69
|
+
yield @configure if block_given?
|
70
|
+
@configure
|
71
|
+
end
|
72
|
+
|
73
|
+
##
|
74
|
+
# @private
|
75
|
+
# Configuration class for the google.cloud.redis.v1 package.
|
76
|
+
#
|
77
|
+
# This class contains common configuration for all services
|
78
|
+
# of the google.cloud.redis.v1 package.
|
79
|
+
#
|
80
|
+
# This configuration is for internal use of the client library classes,
|
81
|
+
# and it is not intended that the end-users will read or change it.
|
82
|
+
#
|
83
|
+
class Configuration
|
84
|
+
extend ::Gapic::Config
|
85
|
+
|
86
|
+
# @private
|
87
|
+
# Overrides for http bindings for the RPC of the mixins for this package.
|
88
|
+
# Services in this package should use these when creating clients for the mixin services.
|
89
|
+
# @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
|
90
|
+
config_attr :bindings_override, {}, ::Hash, nil
|
91
|
+
|
92
|
+
# @private
|
93
|
+
def initialize parent_config = nil
|
94
|
+
@parent_config = parent_config unless parent_config.nil?
|
95
|
+
|
96
|
+
yield self if block_given?
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -18,6 +18,7 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/errors"
|
20
20
|
require "google/cloud/redis/v1/cloud_redis_pb"
|
21
|
+
require "google/cloud/location"
|
21
22
|
|
22
23
|
module Google
|
23
24
|
module Cloud
|
@@ -175,6 +176,12 @@ module Google
|
|
175
176
|
config.endpoint = @config.endpoint
|
176
177
|
end
|
177
178
|
|
179
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
180
|
+
config.credentials = credentials
|
181
|
+
config.quota_project = @quota_project_id
|
182
|
+
config.endpoint = @config.endpoint
|
183
|
+
end
|
184
|
+
|
178
185
|
@cloud_redis_stub = ::Gapic::ServiceStub.new(
|
179
186
|
::Google::Cloud::Redis::V1::CloudRedis::Stub,
|
180
187
|
credentials: credentials,
|
@@ -191,6 +198,13 @@ module Google
|
|
191
198
|
#
|
192
199
|
attr_reader :operations_client
|
193
200
|
|
201
|
+
##
|
202
|
+
# Get the associated client for mix-in of the Locations.
|
203
|
+
#
|
204
|
+
# @return [Google::Cloud::Location::Locations::Client]
|
205
|
+
#
|
206
|
+
attr_reader :location_client
|
207
|
+
|
194
208
|
# Service calls
|
195
209
|
|
196
210
|
##
|
@@ -233,7 +247,8 @@ module Google
|
|
233
247
|
# to determine if there are more instances left to be queried.
|
234
248
|
# @param page_token [::String]
|
235
249
|
# The `next_page_token` value returned from a previous
|
236
|
-
# {::Google::Cloud::Redis::V1::CloudRedis::Client#list_instances ListInstances} request, if
|
250
|
+
# {::Google::Cloud::Redis::V1::CloudRedis::Client#list_instances ListInstances} request, if
|
251
|
+
# any.
|
237
252
|
#
|
238
253
|
# @yield [response, operation] Access the result along with the RPC operation
|
239
254
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Redis::V1::Instance>]
|
@@ -255,13 +270,11 @@ module Google
|
|
255
270
|
# # Call the list_instances method.
|
256
271
|
# result = client.list_instances request
|
257
272
|
#
|
258
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
259
|
-
# #
|
260
|
-
#
|
261
|
-
# # methods are also available for managing paging directly.
|
262
|
-
# result.each do |response|
|
273
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
274
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
275
|
+
# result.each do |item|
|
263
276
|
# # Each element is of type ::Google::Cloud::Redis::V1::Instance.
|
264
|
-
# p
|
277
|
+
# p item
|
265
278
|
# end
|
266
279
|
#
|
267
280
|
def list_instances request, options = nil
|
@@ -547,14 +560,14 @@ module Google
|
|
547
560
|
# # Call the create_instance method.
|
548
561
|
# result = client.create_instance request
|
549
562
|
#
|
550
|
-
# # The returned object is of type Gapic::Operation. You can use
|
551
|
-
# #
|
552
|
-
# #
|
563
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
564
|
+
# # check the status of an operation, cancel it, or wait for results.
|
565
|
+
# # Here is how to wait for a response.
|
553
566
|
# result.wait_until_done! timeout: 60
|
554
567
|
# if result.response?
|
555
568
|
# p result.response
|
556
569
|
# else
|
557
|
-
# puts "
|
570
|
+
# puts "No response received."
|
558
571
|
# end
|
559
572
|
#
|
560
573
|
def create_instance request, options = nil
|
@@ -655,14 +668,14 @@ module Google
|
|
655
668
|
# # Call the update_instance method.
|
656
669
|
# result = client.update_instance request
|
657
670
|
#
|
658
|
-
# # The returned object is of type Gapic::Operation. You can use
|
659
|
-
# #
|
660
|
-
# #
|
671
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
672
|
+
# # check the status of an operation, cancel it, or wait for results.
|
673
|
+
# # Here is how to wait for a response.
|
661
674
|
# result.wait_until_done! timeout: 60
|
662
675
|
# if result.response?
|
663
676
|
# p result.response
|
664
677
|
# else
|
665
|
-
# puts "
|
678
|
+
# puts "No response received."
|
666
679
|
# end
|
667
680
|
#
|
668
681
|
def update_instance request, options = nil
|
@@ -753,14 +766,14 @@ module Google
|
|
753
766
|
# # Call the upgrade_instance method.
|
754
767
|
# result = client.upgrade_instance request
|
755
768
|
#
|
756
|
-
# # The returned object is of type Gapic::Operation. You can use
|
757
|
-
# #
|
758
|
-
# #
|
769
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
770
|
+
# # check the status of an operation, cancel it, or wait for results.
|
771
|
+
# # Here is how to wait for a response.
|
759
772
|
# result.wait_until_done! timeout: 60
|
760
773
|
# if result.response?
|
761
774
|
# p result.response
|
762
775
|
# else
|
763
|
-
# puts "
|
776
|
+
# puts "No response received."
|
764
777
|
# end
|
765
778
|
#
|
766
779
|
def upgrade_instance request, options = nil
|
@@ -857,14 +870,14 @@ module Google
|
|
857
870
|
# # Call the import_instance method.
|
858
871
|
# result = client.import_instance request
|
859
872
|
#
|
860
|
-
# # The returned object is of type Gapic::Operation. You can use
|
861
|
-
# #
|
862
|
-
# #
|
873
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
874
|
+
# # check the status of an operation, cancel it, or wait for results.
|
875
|
+
# # Here is how to wait for a response.
|
863
876
|
# result.wait_until_done! timeout: 60
|
864
877
|
# if result.response?
|
865
878
|
# p result.response
|
866
879
|
# else
|
867
|
-
# puts "
|
880
|
+
# puts "No response received."
|
868
881
|
# end
|
869
882
|
#
|
870
883
|
def import_instance request, options = nil
|
@@ -959,14 +972,14 @@ module Google
|
|
959
972
|
# # Call the export_instance method.
|
960
973
|
# result = client.export_instance request
|
961
974
|
#
|
962
|
-
# # The returned object is of type Gapic::Operation. You can use
|
963
|
-
# #
|
964
|
-
# #
|
975
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
976
|
+
# # check the status of an operation, cancel it, or wait for results.
|
977
|
+
# # Here is how to wait for a response.
|
965
978
|
# result.wait_until_done! timeout: 60
|
966
979
|
# if result.response?
|
967
980
|
# p result.response
|
968
981
|
# else
|
969
|
-
# puts "
|
982
|
+
# puts "No response received."
|
970
983
|
# end
|
971
984
|
#
|
972
985
|
def export_instance request, options = nil
|
@@ -1058,14 +1071,14 @@ module Google
|
|
1058
1071
|
# # Call the failover_instance method.
|
1059
1072
|
# result = client.failover_instance request
|
1060
1073
|
#
|
1061
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1062
|
-
# #
|
1063
|
-
# #
|
1074
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1075
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1076
|
+
# # Here is how to wait for a response.
|
1064
1077
|
# result.wait_until_done! timeout: 60
|
1065
1078
|
# if result.response?
|
1066
1079
|
# p result.response
|
1067
1080
|
# else
|
1068
|
-
# puts "
|
1081
|
+
# puts "No response received."
|
1069
1082
|
# end
|
1070
1083
|
#
|
1071
1084
|
def failover_instance request, options = nil
|
@@ -1154,14 +1167,14 @@ module Google
|
|
1154
1167
|
# # Call the delete_instance method.
|
1155
1168
|
# result = client.delete_instance request
|
1156
1169
|
#
|
1157
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1158
|
-
# #
|
1159
|
-
# #
|
1170
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1171
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1172
|
+
# # Here is how to wait for a response.
|
1160
1173
|
# result.wait_until_done! timeout: 60
|
1161
1174
|
# if result.response?
|
1162
1175
|
# p result.response
|
1163
1176
|
# else
|
1164
|
-
# puts "
|
1177
|
+
# puts "No response received."
|
1165
1178
|
# end
|
1166
1179
|
#
|
1167
1180
|
def delete_instance request, options = nil
|
@@ -1230,7 +1243,8 @@ module Google
|
|
1230
1243
|
# `projects/{project_id}/locations/{location_id}/instances/{instance_id}`
|
1231
1244
|
# where `location_id` refers to a GCP region.
|
1232
1245
|
# @param reschedule_type [::Google::Cloud::Redis::V1::RescheduleMaintenanceRequest::RescheduleType]
|
1233
|
-
# Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as
|
1246
|
+
# Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as
|
1247
|
+
# well.
|
1234
1248
|
# @param schedule_time [::Google::Protobuf::Timestamp, ::Hash]
|
1235
1249
|
# Optional. Timestamp when the maintenance shall be rescheduled to if
|
1236
1250
|
# reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for
|
@@ -1256,14 +1270,14 @@ module Google
|
|
1256
1270
|
# # Call the reschedule_maintenance method.
|
1257
1271
|
# result = client.reschedule_maintenance request
|
1258
1272
|
#
|
1259
|
-
# # The returned object is of type Gapic::Operation. You can use
|
1260
|
-
# #
|
1261
|
-
# #
|
1273
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
1274
|
+
# # check the status of an operation, cancel it, or wait for results.
|
1275
|
+
# # Here is how to wait for a response.
|
1262
1276
|
# result.wait_until_done! timeout: 60
|
1263
1277
|
# if result.response?
|
1264
1278
|
# p result.response
|
1265
1279
|
# else
|
1266
|
-
# puts "
|
1280
|
+
# puts "No response received."
|
1267
1281
|
# end
|
1268
1282
|
#
|
1269
1283
|
def reschedule_maintenance request, options = nil
|
@@ -1346,9 +1360,9 @@ module Google
|
|
1346
1360
|
# * (`String`) The path to a service account key file in JSON format
|
1347
1361
|
# * (`Hash`) A service account key as a Hash
|
1348
1362
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
1349
|
-
# (see the [googleauth docs](https://
|
1363
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
1350
1364
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1351
|
-
# (see the [signet docs](https://
|
1365
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1352
1366
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1353
1367
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1354
1368
|
# * (`nil`) indicating no credentials
|
@@ -158,13 +158,11 @@ module Google
|
|
158
158
|
# # Call the list_operations method.
|
159
159
|
# result = client.list_operations request
|
160
160
|
#
|
161
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
162
|
-
# #
|
163
|
-
#
|
164
|
-
# # methods are also available for managing paging directly.
|
165
|
-
# result.each do |response|
|
161
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
162
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
163
|
+
# result.each do |item|
|
166
164
|
# # Each element is of type ::Google::Longrunning::Operation.
|
167
|
-
# p
|
165
|
+
# p item
|
168
166
|
# end
|
169
167
|
#
|
170
168
|
def list_operations request, options = nil
|
@@ -253,14 +251,14 @@ module Google
|
|
253
251
|
# # Call the get_operation method.
|
254
252
|
# result = client.get_operation request
|
255
253
|
#
|
256
|
-
# # The returned object is of type Gapic::Operation. You can use
|
257
|
-
# #
|
258
|
-
# #
|
254
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
255
|
+
# # check the status of an operation, cancel it, or wait for results.
|
256
|
+
# # Here is how to wait for a response.
|
259
257
|
# result.wait_until_done! timeout: 60
|
260
258
|
# if result.response?
|
261
259
|
# p result.response
|
262
260
|
# else
|
263
|
-
# puts "
|
261
|
+
# puts "No response received."
|
264
262
|
# end
|
265
263
|
#
|
266
264
|
def get_operation request, options = nil
|
@@ -540,14 +538,14 @@ module Google
|
|
540
538
|
# # Call the wait_operation method.
|
541
539
|
# result = client.wait_operation request
|
542
540
|
#
|
543
|
-
# # The returned object is of type Gapic::Operation. You can use
|
544
|
-
# #
|
545
|
-
# #
|
541
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
542
|
+
# # check the status of an operation, cancel it, or wait for results.
|
543
|
+
# # Here is how to wait for a response.
|
546
544
|
# result.wait_until_done! timeout: 60
|
547
545
|
# if result.response?
|
548
546
|
# p result.response
|
549
547
|
# else
|
550
|
-
# puts "
|
548
|
+
# puts "No response received."
|
551
549
|
# end
|
552
550
|
#
|
553
551
|
def wait_operation request, options = nil
|
@@ -622,9 +620,9 @@ module Google
|
|
622
620
|
# * (`String`) The path to a service account key file in JSON format
|
623
621
|
# * (`Hash`) A service account key as a Hash
|
624
622
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
625
|
-
# (see the [googleauth docs](https://
|
623
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
626
624
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
627
|
-
# (see the [signet docs](https://
|
625
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
628
626
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
629
627
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
630
628
|
# * (`nil`) indicating no credentials
|