google-cloud-logging-v2 0.10.0 → 0.10.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: a889079ca36237781388bdc28fd1035058412e2cc008acb5bb3d43fed2704343
4
- data.tar.gz: fda685a8fc1d66713f9728a2b9fa2468f8d912c0eef5d4df2e78d9096e6db6be
3
+ metadata.gz: 8ddd9e598bb736786e05ecabb68cadd0dcda3567d14030b2722eca92c7b5b2cf
4
+ data.tar.gz: 1cb9943a82723ffc1d7b9f76ee8749097f18e1198c8051cea2c392ea52b975b3
5
5
  SHA512:
6
- metadata.gz: a92ca1ed92a1bbcf19e4c5231e73fb45fac8cc16f9ce7efc8d0eed67b1d059debef6480139eb888121449bbba671ed8c40888c40536338e177e5ea7b20422c31
7
- data.tar.gz: 9f4fde23ee45304025a8f301490c6c47cff81bd1cfd8e096a0f73e45b26a8b4fba23b455659a333829c8e3d584f4d7dc97ce143ba8bbd1e5454b62d63bb61c47
6
+ metadata.gz: 1380f453b2517ec21a5247efdaa6fbcf3e424bc7ca69c5af3e7bfc5c92ce0ad825e86f5ebb38bcac1a33325148ad12b8f58a094fead871fe0179f36d7aa2dbe2
7
+ data.tar.gz: f2e2fbdc301267ade81fee64cc80a01d6c7ac05ada161720505c33304ab0a2870f50646f4a02b45a047d280eb9700de98e3e4a16aabc4c9e84e98ea1dd23d0b5
@@ -164,7 +164,7 @@ module Google
164
164
  credentials = @config.credentials
165
165
  # Use self-signed JWT if the endpoint is unchanged from default,
166
166
  # but only if the default endpoint does not have a region prefix.
167
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
167
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
168
168
  !@config.endpoint.split(".").first.include?("-")
169
169
  credentials ||= Credentials.default scope: @config.scope,
170
170
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -3597,7 +3597,9 @@ module Google
3597
3597
  class Configuration
3598
3598
  extend ::Gapic::Config
3599
3599
 
3600
- config_attr :endpoint, "logging.googleapis.com", ::String
3600
+ DEFAULT_ENDPOINT = "logging.googleapis.com"
3601
+
3602
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
3601
3603
  config_attr :credentials, nil do |value|
3602
3604
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3603
3605
  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, "logging.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "logging.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
@@ -153,7 +153,7 @@ module Google
153
153
  credentials = @config.credentials
154
154
  # Use self-signed JWT if the endpoint is unchanged from default,
155
155
  # but only if the default endpoint does not have a region prefix.
156
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
156
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
157
157
  !@config.endpoint.split(".").first.include?("-")
158
158
  credentials ||= Credentials.default scope: @config.scope,
159
159
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -914,7 +914,9 @@ module Google
914
914
  class Configuration
915
915
  extend ::Gapic::Config
916
916
 
917
- config_attr :endpoint, "logging.googleapis.com", ::String
917
+ DEFAULT_ENDPOINT = "logging.googleapis.com"
918
+
919
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
918
920
  config_attr :credentials, nil do |value|
919
921
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
920
922
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -145,7 +145,7 @@ module Google
145
145
  credentials = @config.credentials
146
146
  # Use self-signed JWT if the endpoint is unchanged from default,
147
147
  # but only if the default endpoint does not have a region prefix.
148
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
148
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
149
149
  !@config.endpoint.split(".").first.include?("-")
150
150
  credentials ||= Credentials.default scope: @config.scope,
151
151
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -708,7 +708,9 @@ module Google
708
708
  class Configuration
709
709
  extend ::Gapic::Config
710
710
 
711
- config_attr :endpoint, "logging.googleapis.com", ::String
711
+ DEFAULT_ENDPOINT = "logging.googleapis.com"
712
+
713
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
712
714
  config_attr :credentials, nil do |value|
713
715
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
714
716
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Logging
23
23
  module V2
24
- VERSION = "0.10.0"
24
+ VERSION = "0.10.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-logging-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.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