google-cloud-network_connectivity-v1 0.6.0 → 0.6.1
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: 0a998e6fb4927ed33789bdd42e12fbd8efca81a068e4a9adc7d8073d6a50659c
|
|
4
|
+
data.tar.gz: 308eddd0e52a2d295f50b2631f7edd7ae57e418a97b2fdba7577712229800e9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65166a48cfe3c8410475e9aec297afd98ce20b45cbb4a008b5e81139ddf6b98a89ffd3c914a5210c67a546e22b01dfa70c9a2ab63d26574c2538d520a245a958
|
|
7
|
+
data.tar.gz: adee37b844ee9d4505462d60fab629c966dc584ef96b6800ff103ee9c15fd0fe74f593eb195e8c5aa74e13af614b231d856e4420877873e436289191bb135bf3
|
|
@@ -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
|
|
@@ -1322,7 +1322,9 @@ module Google
|
|
|
1322
1322
|
class Configuration
|
|
1323
1323
|
extend ::Gapic::Config
|
|
1324
1324
|
|
|
1325
|
-
|
|
1325
|
+
DEFAULT_ENDPOINT = "networkconnectivity.googleapis.com"
|
|
1326
|
+
|
|
1327
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
1326
1328
|
config_attr :credentials, nil do |value|
|
|
1327
1329
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
1328
1330
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
|
@@ -664,7 +664,9 @@ module Google
|
|
|
664
664
|
class Configuration
|
|
665
665
|
extend ::Gapic::Config
|
|
666
666
|
|
|
667
|
-
|
|
667
|
+
DEFAULT_ENDPOINT = "networkconnectivity.googleapis.com"
|
|
668
|
+
|
|
669
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
|
668
670
|
config_attr :credentials, nil do |value|
|
|
669
671
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
|
670
672
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-network_connectivity-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
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-06-06 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.
|
|
19
|
+
version: 0.19.1
|
|
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.19.
|
|
29
|
+
version: 0.19.1
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|