google-cloud-apigee_connect-v1 0.1.1 → 0.1.2

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: 2bd1c80aa872cd5e81187969ba8b64fbf4bc1a1db9969ccf445986e64d94201a
4
- data.tar.gz: 2020844ff3ff0fa697796b69dd357c2df51e8c3ed30fcdd4c445fd99c1edf927
3
+ metadata.gz: 216abd964967c120ea8b4a6927c41ea0d97bf2bc5e1d576e1e1d13eba4fb183a
4
+ data.tar.gz: 6fa985d759d9b78ed004f90a1459ff1f4cd660495c7e71641bcc26bfb8d30b3b
5
5
  SHA512:
6
- metadata.gz: 7773275b503c328260f506311e40d3e000aef5e52eee682a88f175cde459224619304504b741b6f6eadab39ef320278cf4b9b33b0ed708296a250853d31469eb
7
- data.tar.gz: 77d34f39433d3845a4d9b7e55cbc222a3a202303b90731918da4b92694860138c2cac396138d11a3c3f72831352b63bb227ac9df193f6ffc16c20874c85b3cdc
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
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all ConnectionService clients:
47
- #
48
- # ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.configure do |config|
49
- # config.timeout = 10.0
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
- # ## Examples
103
- #
104
- # To create a new ConnectionService client with the default
105
- # configuration:
101
+ # @example
106
102
  #
107
- # client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new
103
+ # # Create a client using the default configuration
104
+ # client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new
108
105
  #
109
- # To create a new ConnectionService client with a custom
110
- # configuration:
111
- #
112
- # client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new do |config|
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
251
- #
252
- # To modify the global config, setting the timeout for list_connections
253
- # to 20 seconds, and all remaining timeouts to 10 seconds:
254
- #
255
- # ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.configure do |config|
256
- # config.timeout = 10.0
257
- # config.rpcs.list_connections.timeout = 20.0
258
- # end
259
- #
260
- # To apply the above configuration only to a new client:
261
- #
262
- # client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new do |config|
263
- # config.timeout = 10.0
264
- # config.rpcs.list_connections.timeout = 20.0
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
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all Tether clients:
47
- #
48
- # ::Google::Cloud::ApigeeConnect::V1::Tether::Client.configure do |config|
49
- # config.timeout = 10.0
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
- # ## Examples
98
- #
99
- # To create a new Tether client with the default
100
- # configuration:
96
+ # @example
101
97
  #
102
- # client = ::Google::Cloud::ApigeeConnect::V1::Tether::Client.new
98
+ # # Create a client using the default configuration
99
+ # client = ::Google::Cloud::ApigeeConnect::V1::Tether::Client.new
103
100
  #
104
- # To create a new Tether client with a custom
105
- # configuration:
106
- #
107
- # client = ::Google::Cloud::ApigeeConnect::V1::Tether::Client.new do |config|
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
225
- #
226
- # To modify the global config, setting the timeout for egress
227
- # to 20 seconds, and all remaining timeouts to 10 seconds:
228
- #
229
- # ::Google::Cloud::ApigeeConnect::V1::Tether::Client.configure do |config|
230
- # config.timeout = 10.0
231
- # config.rpcs.egress.timeout = 20.0
232
- # end
233
- #
234
- # To apply the above configuration only to a new client:
235
- #
236
- # client = ::Google::Cloud::ApigeeConnect::V1::Tether::Client.new do |config|
237
- # config.timeout = 10.0
238
- # config.rpcs.egress.timeout = 20.0
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApigeeConnect
23
23
  module V1
24
- VERSION = "0.1.1"
24
+ VERSION = "0.1.2"
25
25
  end
26
26
  end
27
27
  end
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.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-07-12 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a