google-cloud-apigee_connect-v1 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 216abd964967c120ea8b4a6927c41ea0d97bf2bc5e1d576e1e1d13eba4fb183a
|
4
|
+
data.tar.gz: 6fa985d759d9b78ed004f90a1459ff1f4cd660495c7e71641bcc26bfb8d30b3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44900abfd393b4895f18ff089077f9a72bc7f11e485ebf58b08e361f66c1f80010c80b28c8b73d832c9dc6a85272c01726085e86d54b10f245433639a2b91f4e
|
7
|
+
data.tar.gz: 4afafee3c1037ed4d8a004afbedbfe04ed0ac3418873c9d832a5454c664ff5535bd480d7b7256021a9b6672daaecdea2b05732e76456d15864408e87abf95efb
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all ConnectionService clients
|
47
|
+
# ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -99,19 +98,15 @@ module Google
|
|
99
98
|
##
|
100
99
|
# Create a new ConnectionService client object.
|
101
100
|
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
# To create a new ConnectionService client with the default
|
105
|
-
# configuration:
|
101
|
+
# @example
|
106
102
|
#
|
107
|
-
#
|
103
|
+
# # Create a client using the default configuration
|
104
|
+
# client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new
|
108
105
|
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
# config.timeout = 10.0
|
114
|
-
# end
|
106
|
+
# # Create a client using a custom configuration
|
107
|
+
# client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new do |config|
|
108
|
+
# config.timeout = 10.0
|
109
|
+
# end
|
115
110
|
#
|
116
111
|
# @yield [config] Configure the ConnectionService client.
|
117
112
|
# @yieldparam config [Client::Configuration]
|
@@ -131,10 +126,9 @@ module Google
|
|
131
126
|
|
132
127
|
# Create credentials
|
133
128
|
credentials = @config.credentials
|
134
|
-
# Use self-signed JWT if the
|
129
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
135
130
|
# but only if the default endpoint does not have a region prefix.
|
136
|
-
enable_self_signed_jwt = @config.
|
137
|
-
@config.endpoint == Client.configure.endpoint &&
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
138
132
|
!@config.endpoint.split(".").first.include?("-")
|
139
133
|
credentials ||= Credentials.default scope: @config.scope,
|
140
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -222,7 +216,9 @@ module Google
|
|
222
216
|
options.apply_defaults timeout: @config.rpcs.list_connections.timeout,
|
223
217
|
metadata: metadata,
|
224
218
|
retry_policy: @config.rpcs.list_connections.retry_policy
|
225
|
-
|
219
|
+
|
220
|
+
options.apply_defaults timeout: @config.timeout,
|
221
|
+
metadata: @config.metadata,
|
226
222
|
retry_policy: @config.retry_policy
|
227
223
|
|
228
224
|
@connection_service_stub.call_rpc :list_connections, request, options: options do |response, operation|
|
@@ -247,22 +243,21 @@ module Google
|
|
247
243
|
# Configuration can be applied globally to all clients, or to a single client
|
248
244
|
# on construction.
|
249
245
|
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
# to 20 seconds,
|
254
|
-
#
|
255
|
-
#
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
#
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
# end
|
246
|
+
# @example
|
247
|
+
#
|
248
|
+
# # Modify the global config, setting the timeout for
|
249
|
+
# # list_connections to 20 seconds,
|
250
|
+
# # and all remaining timeouts to 10 seconds.
|
251
|
+
# ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.configure do |config|
|
252
|
+
# config.timeout = 10.0
|
253
|
+
# config.rpcs.list_connections.timeout = 20.0
|
254
|
+
# end
|
255
|
+
#
|
256
|
+
# # Apply the above configuration only to a new client.
|
257
|
+
# client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new do |config|
|
258
|
+
# config.timeout = 10.0
|
259
|
+
# config.rpcs.list_connections.timeout = 20.0
|
260
|
+
# end
|
266
261
|
#
|
267
262
|
# @!attribute [rw] endpoint
|
268
263
|
# The hostname or hostname:port of the service endpoint.
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::ApigeeConnect::V1::Tether::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all Tether clients
|
47
|
+
# ::Google::Cloud::ApigeeConnect::V1::Tether::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -94,19 +93,15 @@ module Google
|
|
94
93
|
##
|
95
94
|
# Create a new Tether client object.
|
96
95
|
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
# To create a new Tether client with the default
|
100
|
-
# configuration:
|
96
|
+
# @example
|
101
97
|
#
|
102
|
-
#
|
98
|
+
# # Create a client using the default configuration
|
99
|
+
# client = ::Google::Cloud::ApigeeConnect::V1::Tether::Client.new
|
103
100
|
#
|
104
|
-
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
# config.timeout = 10.0
|
109
|
-
# end
|
101
|
+
# # Create a client using a custom configuration
|
102
|
+
# client = ::Google::Cloud::ApigeeConnect::V1::Tether::Client.new do |config|
|
103
|
+
# config.timeout = 10.0
|
104
|
+
# end
|
110
105
|
#
|
111
106
|
# @yield [config] Configure the Tether client.
|
112
107
|
# @yieldparam config [Client::Configuration]
|
@@ -126,10 +121,9 @@ module Google
|
|
126
121
|
|
127
122
|
# Create credentials
|
128
123
|
credentials = @config.credentials
|
129
|
-
# Use self-signed JWT if the
|
124
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
130
125
|
# but only if the default endpoint does not have a region prefix.
|
131
|
-
enable_self_signed_jwt = @config.
|
132
|
-
@config.endpoint == Client.configure.endpoint &&
|
126
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
133
127
|
!@config.endpoint.split(".").first.include?("-")
|
134
128
|
credentials ||= Credentials.default scope: @config.scope,
|
135
129
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -197,7 +191,9 @@ module Google
|
|
197
191
|
options.apply_defaults timeout: @config.rpcs.egress.timeout,
|
198
192
|
metadata: metadata,
|
199
193
|
retry_policy: @config.rpcs.egress.retry_policy
|
200
|
-
|
194
|
+
|
195
|
+
options.apply_defaults timeout: @config.timeout,
|
196
|
+
metadata: @config.metadata,
|
201
197
|
retry_policy: @config.retry_policy
|
202
198
|
|
203
199
|
@tether_stub.call_rpc :egress, request, options: options do |response, operation|
|
@@ -221,22 +217,21 @@ module Google
|
|
221
217
|
# Configuration can be applied globally to all clients, or to a single client
|
222
218
|
# on construction.
|
223
219
|
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
# to 20 seconds,
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
# end
|
220
|
+
# @example
|
221
|
+
#
|
222
|
+
# # Modify the global config, setting the timeout for
|
223
|
+
# # egress to 20 seconds,
|
224
|
+
# # and all remaining timeouts to 10 seconds.
|
225
|
+
# ::Google::Cloud::ApigeeConnect::V1::Tether::Client.configure do |config|
|
226
|
+
# config.timeout = 10.0
|
227
|
+
# config.rpcs.egress.timeout = 20.0
|
228
|
+
# end
|
229
|
+
#
|
230
|
+
# # Apply the above configuration only to a new client.
|
231
|
+
# client = ::Google::Cloud::ApigeeConnect::V1::Tether::Client.new do |config|
|
232
|
+
# config.timeout = 10.0
|
233
|
+
# config.rpcs.egress.timeout = 20.0
|
234
|
+
# end
|
240
235
|
#
|
241
236
|
# @!attribute [rw] endpoint
|
242
237
|
# The hostname or hostname:port of the service endpoint.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-apigee_connect-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|