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 +4 -4
- data/lib/google/cloud/logging/v2/config_service/client.rb +4 -2
- data/lib/google/cloud/logging/v2/config_service/operations.rb +3 -1
- data/lib/google/cloud/logging/v2/logging_service/client.rb +4 -2
- data/lib/google/cloud/logging/v2/metrics_service/client.rb +4 -2
- data/lib/google/cloud/logging/v2/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ddd9e598bb736786e05ecabb68cadd0dcda3567d14030b2722eca92c7b5b2cf
|
|
4
|
+
data.tar.gz: 1cb9943a82723ffc1d7b9f76ee8749097f18e1198c8051cea2c392ea52b975b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 ==
|
|
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
|
-
|
|
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
|
-
|
|
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 ==
|
|
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
|
-
|
|
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 ==
|
|
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
|
-
|
|
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
|
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.
|
|
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-
|
|
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
|