google-cloud-network_connectivity-v1 0.6.0 → 0.7.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: 1ba264f747e0b078b69712c988c14fc73a38edc6d9a2e382b74bc5f170b5eb3b
4
- data.tar.gz: a055787d0475fb364058382eb822f16940e25b4072f1b131a74aa8a2afa538f3
3
+ metadata.gz: b9ac5818f86a233037ab34c541dc44ab2cc319f9c9e75e4b6f9764d4cb5872be
4
+ data.tar.gz: 12b9c57756c155002fcc0712c1aeca5d683751130fa11308d0faf0965402ab95
5
5
  SHA512:
6
- metadata.gz: 8a6a78b19225d3f48901391f426664ffcc6ea2bb609f721863048b3aff73cf63d14ed58d4671475e7876b0789928edf280836d720916eeda7e3af99b61dcebc7
7
- data.tar.gz: 0c8ee2208d3a6226142b623e96a7c55adc813be9f416eb93f17a2e550e076ae635efa6ac65cf86184869d3ae754d6ad70cc24cf6a8bfd8164dd401a2d754ce51
6
+ metadata.gz: fe847b1d206c6c3330b1a4baae6d3236144a9dbf8cdfad9649452891326cbc413cf28b94802263a58aa9cbba4a225713f96886e05b06c5dfdd651572a6ced2b2
7
+ data.tar.gz: 046bcb3c57f63641ea3d880bd06dfdb999aa97c7da592992fa7a6ee280e01096287e4c7521bda02d181be2f0fa80dd82c98ea80e61a449d20b42b6f3bcf0c938
@@ -144,7 +144,7 @@ module Google
144
144
  credentials = @config.credentials
145
145
  # Use self-signed JWT if the endpoint is unchanged from default,
146
146
  # but only if the default endpoint does not have a region prefix.
147
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
147
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
148
148
  !@config.endpoint.split(".").first.include?("-")
149
149
  credentials ||= Credentials.default scope: @config.scope,
150
150
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -177,7 +177,8 @@ module Google
177
177
  credentials: credentials,
178
178
  endpoint: @config.endpoint,
179
179
  channel_args: @config.channel_args,
180
- interceptors: @config.interceptors
180
+ interceptors: @config.interceptors,
181
+ channel_pool_config: @config.channel_pool
181
182
  )
182
183
  end
183
184
 
@@ -1322,7 +1323,9 @@ module Google
1322
1323
  class Configuration
1323
1324
  extend ::Gapic::Config
1324
1325
 
1325
- config_attr :endpoint, "networkconnectivity.googleapis.com", ::String
1326
+ DEFAULT_ENDPOINT = "networkconnectivity.googleapis.com"
1327
+
1328
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1326
1329
  config_attr :credentials, nil do |value|
1327
1330
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1328
1331
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -1357,6 +1360,14 @@ module Google
1357
1360
  end
1358
1361
  end
1359
1362
 
1363
+ ##
1364
+ # Configuration for the channel pool
1365
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1366
+ #
1367
+ def channel_pool
1368
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1369
+ end
1370
+
1360
1371
  ##
1361
1372
  # Configuration RPC class for the HubService API.
1362
1373
  #
@@ -93,7 +93,8 @@ module Google
93
93
  credentials: credentials,
94
94
  endpoint: @config.endpoint,
95
95
  channel_args: @config.channel_args,
96
- interceptors: @config.interceptors
96
+ interceptors: @config.interceptors,
97
+ channel_pool_config: @config.channel_pool
97
98
  )
98
99
 
99
100
  # Used by an LRO wrapper for some methods of this service
@@ -664,7 +665,9 @@ module Google
664
665
  class Configuration
665
666
  extend ::Gapic::Config
666
667
 
667
- config_attr :endpoint, "networkconnectivity.googleapis.com", ::String
668
+ DEFAULT_ENDPOINT = "networkconnectivity.googleapis.com"
669
+
670
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
671
  config_attr :credentials, nil do |value|
669
672
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
673
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -699,6 +702,14 @@ module Google
699
702
  end
700
703
  end
701
704
 
705
+ ##
706
+ # Configuration for the channel pool
707
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
708
+ #
709
+ def channel_pool
710
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
711
+ end
712
+
702
713
  ##
703
714
  # Configuration RPC class for the Operations API.
704
715
  #