google-cloud-managed_identities-v1 0.5.0 → 0.5.1

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: 3b4f834523513b6db98ef6e13330b906dd6408d2f02c7a50cf9f3cad299ebd74
4
- data.tar.gz: bbc09a684663e2c3c7df888f313bc113cd32e3d4a883c817fe4679607d8b5f57
3
+ metadata.gz: 6e669a3f29b8f76d33e4de50e626753cec9482f8754cd54ea7313eff5e88c0cb
4
+ data.tar.gz: 4aa6eb7320f4a0986a756c2c6081bcafdaaa386ff301232789f4c59e96f4ff4c
5
5
  SHA512:
6
- metadata.gz: 96acc7b3c13e9ff5c2a5992b5f67411d12ed690d994592220c661012d57abcaccc38e15b680b052ae9cc977a5f7e1dc860f6e71a9a9dae095c73bde618e3aa0b
7
- data.tar.gz: 0e3ba1c3576a81a8db1c8b2c00342485c086fbc7bcae09ce52cd82e1ed337a3d25acfbd46fdff85fb4e0789f35be8c5ba13cc3b01407788ea85ec84f1f7adf30
6
+ metadata.gz: 99f25f456daab4c177df1c4e725adda6f006c92156daee6d19fe235cb59ae3e3f006c95a582bff1330bd289284448d72761a20229c463ca232699c7d8c26eea3
7
+ data.tar.gz: a5c57bad7a8af9aa48baaa6fb729c6e9ea66669feb864196b1288a7648793da929a5a81c255ec507e08454a0c76f067a2a7c12d33a37abca7e50b04f31644a48
@@ -174,7 +174,7 @@ module Google
174
174
  credentials = @config.credentials
175
175
  # Use self-signed JWT if the endpoint is unchanged from default,
176
176
  # but only if the default endpoint does not have a region prefix.
177
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
177
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
178
178
  !@config.endpoint.split(".").first.include?("-")
179
179
  credentials ||= Credentials.default scope: @config.scope,
180
180
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1264,7 +1264,9 @@ module Google
1264
1264
  class Configuration
1265
1265
  extend ::Gapic::Config
1266
1266
 
1267
- config_attr :endpoint, "managedidentities.googleapis.com", ::String
1267
+ DEFAULT_ENDPOINT = "managedidentities.googleapis.com"
1268
+
1269
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1268
1270
  config_attr :credentials, nil do |value|
1269
1271
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1270
1272
  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, "managedidentities.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "managedidentities.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 ManagedIdentities
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.5.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-managed_identities-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.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