google-cloud-monitoring-v3 0.12.0 → 0.12.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: 9ea82e6eee819aeab257d1b3454988994a2b721f51b92735924a2925d236d515
4
- data.tar.gz: 31651636d5aa0fe098f1d5582b46977be26baae6d329c5fe297689311c6c1b92
3
+ metadata.gz: a9685d55b01473369cc5a81b67b94f2a17a612efb8d38338821e349b28cd52cc
4
+ data.tar.gz: cbbabaa1a06806a2f542a3aa42658774440d378adb6bc29a27a91556b907737f
5
5
  SHA512:
6
- metadata.gz: 6bc97efd999089c50d700449b6cb632574dd293fb557b00d1ddaf0a0b3614d3caecd8064dfc01018fa576c7f55e26cd0f473793a101a2ca50bccb7ac37066b61
7
- data.tar.gz: cf6c3262bdab9ca87049a638feab869980359ff9c2630d9f7d1defc26bb5e48bbf8538d7ab1dade54514427b4a93081ed6175160bac33fa2a8308072947ff306
6
+ metadata.gz: 9c4b265f0e51b680b13e4b771e4dd143adcb03561a947db7e309e876c7e362862029351fbc6cde3d715727d5d41329d79c70fe4bf06fcd6d60f814bd2256a635
7
+ data.tar.gz: a6c47dfd96980d80212749b7cdeec6db013fccce2b9351535ccaae10ae2c0251dcd45496ba7346183f447ffe82ece4693095448536c2933845ab97a080764a10
@@ -150,7 +150,7 @@ module Google
150
150
  credentials = @config.credentials
151
151
  # Use self-signed JWT if the endpoint is unchanged from default,
152
152
  # but only if the default endpoint does not have a region prefix.
153
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
153
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
154
154
  !@config.endpoint.split(".").first.include?("-")
155
155
  credentials ||= Credentials.default scope: @config.scope,
156
156
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -760,7 +760,9 @@ module Google
760
760
  class Configuration
761
761
  extend ::Gapic::Config
762
762
 
763
- config_attr :endpoint, "monitoring.googleapis.com", ::String
763
+ DEFAULT_ENDPOINT = "monitoring.googleapis.com"
764
+
765
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
764
766
  config_attr :credentials, nil do |value|
765
767
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
766
768
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -161,7 +161,7 @@ module Google
161
161
  credentials = @config.credentials
162
162
  # Use self-signed JWT if the endpoint is unchanged from default,
163
163
  # but only if the default endpoint does not have a region prefix.
164
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
164
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
165
165
  !@config.endpoint.split(".").first.include?("-")
166
166
  credentials ||= Credentials.default scope: @config.scope,
167
167
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -859,7 +859,9 @@ module Google
859
859
  class Configuration
860
860
  extend ::Gapic::Config
861
861
 
862
- config_attr :endpoint, "monitoring.googleapis.com", ::String
862
+ DEFAULT_ENDPOINT = "monitoring.googleapis.com"
863
+
864
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
863
865
  config_attr :credentials, nil do |value|
864
866
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
865
867
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -158,7 +158,7 @@ module Google
158
158
  credentials = @config.credentials
159
159
  # Use self-signed JWT if the endpoint is unchanged from default,
160
160
  # but only if the default endpoint does not have a region prefix.
161
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
161
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
162
162
  !@config.endpoint.split(".").first.include?("-")
163
163
  credentials ||= Credentials.default scope: @config.scope,
164
164
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1176,7 +1176,9 @@ module Google
1176
1176
  class Configuration
1177
1177
  extend ::Gapic::Config
1178
1178
 
1179
- config_attr :endpoint, "monitoring.googleapis.com", ::String
1179
+ DEFAULT_ENDPOINT = "monitoring.googleapis.com"
1180
+
1181
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1180
1182
  config_attr :credentials, nil do |value|
1181
1183
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1182
1184
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -165,7 +165,7 @@ module Google
165
165
  credentials = @config.credentials
166
166
  # Use self-signed JWT if the endpoint is unchanged from default,
167
167
  # but only if the default endpoint does not have a region prefix.
168
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
168
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
169
169
  !@config.endpoint.split(".").first.include?("-")
170
170
  credentials ||= Credentials.default scope: @config.scope,
171
171
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1254,7 +1254,9 @@ module Google
1254
1254
  class Configuration
1255
1255
  extend ::Gapic::Config
1256
1256
 
1257
- config_attr :endpoint, "monitoring.googleapis.com", ::String
1257
+ DEFAULT_ENDPOINT = "monitoring.googleapis.com"
1258
+
1259
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1258
1260
  config_attr :credentials, nil do |value|
1259
1261
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1260
1262
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -123,7 +123,7 @@ module Google
123
123
  credentials = @config.credentials
124
124
  # Use self-signed JWT if the endpoint is unchanged from default,
125
125
  # but only if the default endpoint does not have a region prefix.
126
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
126
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
127
127
  !@config.endpoint.split(".").first.include?("-")
128
128
  credentials ||= Credentials.default scope: @config.scope,
129
129
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -329,7 +329,9 @@ module Google
329
329
  class Configuration
330
330
  extend ::Gapic::Config
331
331
 
332
- config_attr :endpoint, "monitoring.googleapis.com", ::String
332
+ DEFAULT_ENDPOINT = "monitoring.googleapis.com"
333
+
334
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
333
335
  config_attr :credentials, nil do |value|
334
336
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
335
337
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -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
@@ -1214,7 +1214,9 @@ module Google
1214
1214
  class Configuration
1215
1215
  extend ::Gapic::Config
1216
1216
 
1217
- config_attr :endpoint, "monitoring.googleapis.com", ::String
1217
+ DEFAULT_ENDPOINT = "monitoring.googleapis.com"
1218
+
1219
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1218
1220
  config_attr :credentials, nil do |value|
1219
1221
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1220
1222
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -139,7 +139,7 @@ module Google
139
139
  credentials = @config.credentials
140
140
  # Use self-signed JWT if the endpoint is unchanged from default,
141
141
  # but only if the default endpoint does not have a region prefix.
142
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
142
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
143
143
  !@config.endpoint.split(".").first.include?("-")
144
144
  credentials ||= Credentials.default scope: @config.scope,
145
145
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -649,7 +649,9 @@ module Google
649
649
  class Configuration
650
650
  extend ::Gapic::Config
651
651
 
652
- config_attr :endpoint, "monitoring.googleapis.com", ::String
652
+ DEFAULT_ENDPOINT = "monitoring.googleapis.com"
653
+
654
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
653
655
  config_attr :credentials, nil do |value|
654
656
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
655
657
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -154,7 +154,7 @@ module Google
154
154
  credentials = @config.credentials
155
155
  # Use self-signed JWT if the endpoint is unchanged from default,
156
156
  # but only if the default endpoint does not have a region prefix.
157
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
157
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
158
158
  !@config.endpoint.split(".").first.include?("-")
159
159
  credentials ||= Credentials.default scope: @config.scope,
160
160
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -828,7 +828,9 @@ module Google
828
828
  class Configuration
829
829
  extend ::Gapic::Config
830
830
 
831
- config_attr :endpoint, "monitoring.googleapis.com", ::String
831
+ DEFAULT_ENDPOINT = "monitoring.googleapis.com"
832
+
833
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
832
834
  config_attr :credentials, nil do |value|
833
835
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
834
836
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Monitoring
23
23
  module V3
24
- VERSION = "0.12.0"
24
+ VERSION = "0.12.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-monitoring-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.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