google-cloud-network_connectivity-v1alpha1 0.6.0 → 0.7.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/lib/google/cloud/network_connectivity/v1alpha1/hub_service/client.rb +14 -3
- data/lib/google/cloud/network_connectivity/v1alpha1/hub_service/operations.rb +13 -2
- data/lib/google/cloud/network_connectivity/v1alpha1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c017abdf3ea0c68ccc200e44e09ca2fd497b27a138cd712eaad8b53eaed7bc8e
|
|
4
|
+
data.tar.gz: 9fb4f1b4cd8d31c428ef7610c198bae3c7033135e777dd41117a03c6bdb572fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 997d7b159ec196d888c0689236b2e9cac137b73270dee0518e4074725841871c25c5c3de9d94fd24bf82c90643a063b624cdde3385ba8e7f321206c44c3ee927
|
|
7
|
+
data.tar.gz: 0caaff916dca8a9dc035ba2747ba0dc7bf4c701282773ca91d7b930253014afbf3e68d572daf4af4c6dbb47b893901a8b980de885973631362475d38b225f026
|
|
@@ -143,7 +143,7 @@ module Google
|
|
|
143
143
|
credentials = @config.credentials
|
|
144
144
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
|
145
145
|
# but only if the default endpoint does not have a region prefix.
|
|
146
|
-
enable_self_signed_jwt = @config.endpoint ==
|
|
146
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
|
147
147
|
!@config.endpoint.split(".").first.include?("-")
|
|
148
148
|
credentials ||= Credentials.default scope: @config.scope,
|
|
149
149
|
enable_self_signed_jwt: enable_self_signed_jwt
|
|
@@ -164,7 +164,8 @@ module Google
|
|
|
164
164
|
credentials: credentials,
|
|
165
165
|
endpoint: @config.endpoint,
|
|
166
166
|
channel_args: @config.channel_args,
|
|
167
|
-
interceptors: @config.interceptors
|
|
167
|
+
interceptors: @config.interceptors,
|
|
168
|
+
channel_pool_config: @config.channel_pool
|
|
168
169
|
)
|
|
169
170
|
end
|
|
170
171
|
|
|
@@ -1287,7 +1288,9 @@ module Google
|
|
|
1287
1288
|
class Configuration
|
|
1288
1289
|
extend ::Gapic::Config
|
|
1289
1290
|
|
|
1290
|
-
|
|
1291
|
+
DEFAULT_ENDPOINT = "networkconnectivity.googleapis.com"
|
|
1292
|
+
|
|
1293
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
1291
1294
|
config_attr :credentials, nil do |value|
|
|
1292
1295
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
1293
1296
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -1322,6 +1325,14 @@ module Google
|
|
|
1322
1325
|
end
|
|
1323
1326
|
end
|
|
1324
1327
|
|
|
1328
|
+
##
|
|
1329
|
+
# Configuration for the channel pool
|
|
1330
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
|
1331
|
+
#
|
|
1332
|
+
def channel_pool
|
|
1333
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
|
1334
|
+
end
|
|
1335
|
+
|
|
1325
1336
|
##
|
|
1326
1337
|
# Configuration RPC class for the HubService API.
|
|
1327
1338
|
#
|
|
@@ -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
|
#
|
|
@@ -66,6 +66,20 @@ module Google
|
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
|
67
67
|
# non-empty value to expect.
|
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
|
69
|
+
|
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
|
73
|
+
# `name` field on the resource.
|
|
74
|
+
#
|
|
75
|
+
# This behavior should not be applied to references to other resources within
|
|
76
|
+
# the message.
|
|
77
|
+
#
|
|
78
|
+
# The identifier field of resources often have different field behavior
|
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
|
82
|
+
IDENTIFIER = 8
|
|
69
83
|
end
|
|
70
84
|
end
|
|
71
85
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-network_connectivity-v1alpha1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-09-12 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.20.0
|
|
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.20.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|
|
@@ -215,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
215
215
|
- !ruby/object:Gem::Version
|
|
216
216
|
version: '0'
|
|
217
217
|
requirements: []
|
|
218
|
-
rubygems_version: 3.4.
|
|
218
|
+
rubygems_version: 3.4.19
|
|
219
219
|
signing_key:
|
|
220
220
|
specification_version: 4
|
|
221
221
|
summary: The Network Connectivity API will be home to various services which provide
|