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: 1ba264f747e0b078b69712c988c14fc73a38edc6d9a2e382b74bc5f170b5eb3b
4
- data.tar.gz: a055787d0475fb364058382eb822f16940e25b4072f1b131a74aa8a2afa538f3
3
+ metadata.gz: 0a998e6fb4927ed33789bdd42e12fbd8efca81a068e4a9adc7d8073d6a50659c
4
+ data.tar.gz: 308eddd0e52a2d295f50b2631f7edd7ae57e418a97b2fdba7577712229800e9e
5
5
  SHA512:
6
- metadata.gz: 8a6a78b19225d3f48901391f426664ffcc6ea2bb609f721863048b3aff73cf63d14ed58d4671475e7876b0789928edf280836d720916eeda7e3af99b61dcebc7
7
- data.tar.gz: 0c8ee2208d3a6226142b623e96a7c55adc813be9f416eb93f17a2e550e076ae635efa6ac65cf86184869d3ae754d6ad70cc24cf6a8bfd8164dd401a2d754ce51
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 == 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
@@ -1322,7 +1322,9 @@ module Google
1322
1322
  class Configuration
1323
1323
  extend ::Gapic::Config
1324
1324
 
1325
- config_attr :endpoint, "networkconnectivity.googleapis.com", ::String
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
- config_attr :endpoint, "networkconnectivity.googleapis.com", ::String
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module NetworkConnectivity
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.6.1"
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-network_connectivity-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
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-05-31 00:00:00.000000000 Z
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.0
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.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a