google-cloud-tpu-v1 0.4.0 → 0.4.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: e14303d3eb033d52ff2b194cba6687932d362037f763eb32b190155f127d8d03
4
- data.tar.gz: 2f1fa6e57f8b7f3677866d8e71584b68ba4e7ce17d1dda5a41819677fc0fd5d1
3
+ metadata.gz: 7f8bd2985f455677113f5f989d6a18f648cc3bb8b147560144ba618ab67d57bb
4
+ data.tar.gz: f8eda499464c01a7ab3b2006e56f582428c85bcb3dd76cd1df2b1f626dbb1fd8
5
5
  SHA512:
6
- metadata.gz: de6b41c152b031af7335c78b1dd7a9082410749dd49303307b857e0f558106c0f911cac44c1b16e59e1aa75549fcea165f6f32829831e027b9819787eacfea6e
7
- data.tar.gz: b4dbcb43d5eef0141c44f29f5b7a9929d463a23c951ce17fa2ea8270612c961c07ee01318a9658cdd25d23c0af224cb8246d61586f006bb95b1e6b71163e9c37
6
+ metadata.gz: 56367e1e1a38907c1cbdd921bc206e9f62261b590566436f30f17ab0bfdfb5eaecf10c5fae22eaf1701e8fb597514853d55dd42745808f5f23fefb1bb31a39d4
7
+ data.tar.gz: 2dcf5c58daad127c7570a2aaa8c553e06e15d5d11ea1dc584186a45508b7f5ec8d0c52c1b0831c5831a9ffdc78cb2af5798741afc4b71b44e1095b4eede983af
@@ -128,7 +128,7 @@ module Google
128
128
  credentials = @config.credentials
129
129
  # Use self-signed JWT if the endpoint is unchanged from default,
130
130
  # but only if the default endpoint does not have a region prefix.
131
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
131
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
132
132
  !@config.endpoint.split(".").first.include?("-")
133
133
  credentials ||= Credentials.default scope: @config.scope,
134
134
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1273,7 +1273,9 @@ module Google
1273
1273
  class Configuration
1274
1274
  extend ::Gapic::Config
1275
1275
 
1276
- config_attr :endpoint, "tpu.googleapis.com", ::String
1276
+ DEFAULT_ENDPOINT = "tpu.googleapis.com"
1277
+
1278
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1277
1279
  config_attr :credentials, nil do |value|
1278
1280
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1279
1281
  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, "tpu.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "tpu.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 Tpu
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.4.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-tpu-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.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