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 +4 -4
- data/lib/google/cloud/network_connectivity/v1/hub_service/client.rb +14 -3
- data/lib/google/cloud/network_connectivity/v1/hub_service/operations.rb +13 -2
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/client.rb +786 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/credentials.rb +51 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/operations.rb +779 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service/paths.rb +84 -0
- data/lib/google/cloud/network_connectivity/v1/policy_based_routing_service.rb +51 -0
- data/lib/google/cloud/network_connectivity/v1/version.rb +1 -1
- data/lib/google/cloud/network_connectivity/v1.rb +1 -0
- data/lib/google/cloud/networkconnectivity/v1/policy_based_routing_pb.rb +64 -0
- data/lib/google/cloud/networkconnectivity/v1/policy_based_routing_services_pb.rb +52 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/networkconnectivity/v1/policy_based_routing.rb +312 -0
- metadata +13 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9ac5818f86a233037ab34c541dc44ab2cc319f9c9e75e4b6f9764d4cb5872be
|
4
|
+
data.tar.gz: 12b9c57756c155002fcc0712c1aeca5d683751130fa11308d0faf0965402ab95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 ==
|
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
|
-
|
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
|
-
|
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
|
#
|