google-cloud-web_security_scanner-v1beta 0.6.0 → 0.6.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: f1fec21f017f24121eda0e324cdca17a58143778e14d24917dc1f1473b32af41
4
- data.tar.gz: baa2bcbba4127dcd2505894e93eaa2807ff71f4ba2394a28cbf7f3860ffd52b9
3
+ metadata.gz: 41608f1f678f7cc7e6beab96eb6a79ace97af4d2259326159282241346524207
4
+ data.tar.gz: 58fd1388bc01f0775fd7b4990cc29d9b6c85188b0b24965ab5d8760236f25faa
5
5
  SHA512:
6
- metadata.gz: a04a5d470e4cc1b44e0a1def668555e58b02f0f66e3c88f0c41c37463172addb5cfc975e9cebea2b070aedabc04927a8697c050047f21a2854b6095b348a034b
7
- data.tar.gz: bc12ff0082ee4192eefc2f3bb715b9976d3a42950915a18cb209a3dce4fd0cad4d0fc7d8d8aeeb67ad10edf33920fdd8cad68667d7ed1e0872d0f6a71d36cbd7
6
+ metadata.gz: b662bcc2d8fccc7959dd1ccf85f7f07ee3f9d8de06cdce5c027172b48ce3557edd79ab93a898758ac48c2d68dfee248885f838995e6e7559af28751d9063f0e0
7
+ data.tar.gz: d1c27b8b8c216767abed2101324f9c2b4f5dc9317754e536eea413e0053ced69aa99ae2f6e874253e82263f9d3a36410117c7b5d705548512da8532e8d49b7fd
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebSecurityScanner
23
23
  module V1beta
24
- VERSION = "0.6.0"
24
+ VERSION = "0.6.1"
25
25
  end
26
26
  end
27
27
  end
@@ -178,7 +178,7 @@ module Google
178
178
  credentials = @config.credentials
179
179
  # Use self-signed JWT if the endpoint is unchanged from default,
180
180
  # but only if the default endpoint does not have a region prefix.
181
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
181
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
182
182
  !@config.endpoint.split(".").first.include?("-")
183
183
  credentials ||= Credentials.default scope: @config.scope,
184
184
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1470,7 +1470,9 @@ module Google
1470
1470
  class Configuration
1471
1471
  extend ::Gapic::Config
1472
1472
 
1473
- config_attr :endpoint, "websecurityscanner.googleapis.com", ::String
1473
+ DEFAULT_ENDPOINT = "websecurityscanner.googleapis.com"
1474
+
1475
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1474
1476
  config_attr :credentials, nil do |value|
1475
1477
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1476
1478
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -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
@@ -1137,7 +1137,9 @@ module Google
1137
1137
  class Configuration
1138
1138
  extend ::Gapic::Config
1139
1139
 
1140
- config_attr :endpoint, "websecurityscanner.googleapis.com", ::String
1140
+ DEFAULT_ENDPOINT = "websecurityscanner.googleapis.com"
1141
+
1142
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1141
1143
  config_attr :credentials, nil do |value|
1142
1144
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1143
1145
  allowed.any? { |klass| klass === value }
@@ -59,7 +59,7 @@ module Google
59
59
 
60
60
  verb, uri, query_string_params, body = ServiceStub.transcode_create_scan_config_request request_pb
61
61
  query_string_params = if query_string_params.any?
62
- query_string_params.to_h { |p| p.split("=", 2) }
62
+ query_string_params.to_h { |p| p.split "=", 2 }
63
63
  else
64
64
  {}
65
65
  end
@@ -97,7 +97,7 @@ module Google
97
97
 
98
98
  verb, uri, query_string_params, body = ServiceStub.transcode_delete_scan_config_request request_pb
99
99
  query_string_params = if query_string_params.any?
100
- query_string_params.to_h { |p| p.split("=", 2) }
100
+ query_string_params.to_h { |p| p.split "=", 2 }
101
101
  else
102
102
  {}
103
103
  end
@@ -135,7 +135,7 @@ module Google
135
135
 
136
136
  verb, uri, query_string_params, body = ServiceStub.transcode_get_scan_config_request request_pb
137
137
  query_string_params = if query_string_params.any?
138
- query_string_params.to_h { |p| p.split("=", 2) }
138
+ query_string_params.to_h { |p| p.split "=", 2 }
139
139
  else
140
140
  {}
141
141
  end
@@ -173,7 +173,7 @@ module Google
173
173
 
174
174
  verb, uri, query_string_params, body = ServiceStub.transcode_list_scan_configs_request request_pb
175
175
  query_string_params = if query_string_params.any?
176
- query_string_params.to_h { |p| p.split("=", 2) }
176
+ query_string_params.to_h { |p| p.split "=", 2 }
177
177
  else
178
178
  {}
179
179
  end
@@ -211,7 +211,7 @@ module Google
211
211
 
212
212
  verb, uri, query_string_params, body = ServiceStub.transcode_update_scan_config_request request_pb
213
213
  query_string_params = if query_string_params.any?
214
- query_string_params.to_h { |p| p.split("=", 2) }
214
+ query_string_params.to_h { |p| p.split "=", 2 }
215
215
  else
216
216
  {}
217
217
  end
@@ -249,7 +249,7 @@ module Google
249
249
 
250
250
  verb, uri, query_string_params, body = ServiceStub.transcode_start_scan_run_request request_pb
251
251
  query_string_params = if query_string_params.any?
252
- query_string_params.to_h { |p| p.split("=", 2) }
252
+ query_string_params.to_h { |p| p.split "=", 2 }
253
253
  else
254
254
  {}
255
255
  end
@@ -287,7 +287,7 @@ module Google
287
287
 
288
288
  verb, uri, query_string_params, body = ServiceStub.transcode_get_scan_run_request request_pb
289
289
  query_string_params = if query_string_params.any?
290
- query_string_params.to_h { |p| p.split("=", 2) }
290
+ query_string_params.to_h { |p| p.split "=", 2 }
291
291
  else
292
292
  {}
293
293
  end
@@ -325,7 +325,7 @@ module Google
325
325
 
326
326
  verb, uri, query_string_params, body = ServiceStub.transcode_list_scan_runs_request request_pb
327
327
  query_string_params = if query_string_params.any?
328
- query_string_params.to_h { |p| p.split("=", 2) }
328
+ query_string_params.to_h { |p| p.split "=", 2 }
329
329
  else
330
330
  {}
331
331
  end
@@ -363,7 +363,7 @@ module Google
363
363
 
364
364
  verb, uri, query_string_params, body = ServiceStub.transcode_stop_scan_run_request request_pb
365
365
  query_string_params = if query_string_params.any?
366
- query_string_params.to_h { |p| p.split("=", 2) }
366
+ query_string_params.to_h { |p| p.split "=", 2 }
367
367
  else
368
368
  {}
369
369
  end
@@ -401,7 +401,7 @@ module Google
401
401
 
402
402
  verb, uri, query_string_params, body = ServiceStub.transcode_list_crawled_urls_request request_pb
403
403
  query_string_params = if query_string_params.any?
404
- query_string_params.to_h { |p| p.split("=", 2) }
404
+ query_string_params.to_h { |p| p.split "=", 2 }
405
405
  else
406
406
  {}
407
407
  end
@@ -439,7 +439,7 @@ module Google
439
439
 
440
440
  verb, uri, query_string_params, body = ServiceStub.transcode_get_finding_request request_pb
441
441
  query_string_params = if query_string_params.any?
442
- query_string_params.to_h { |p| p.split("=", 2) }
442
+ query_string_params.to_h { |p| p.split "=", 2 }
443
443
  else
444
444
  {}
445
445
  end
@@ -477,7 +477,7 @@ module Google
477
477
 
478
478
  verb, uri, query_string_params, body = ServiceStub.transcode_list_findings_request request_pb
479
479
  query_string_params = if query_string_params.any?
480
- query_string_params.to_h { |p| p.split("=", 2) }
480
+ query_string_params.to_h { |p| p.split "=", 2 }
481
481
  else
482
482
  {}
483
483
  end
@@ -515,7 +515,7 @@ module Google
515
515
 
516
516
  verb, uri, query_string_params, body = ServiceStub.transcode_list_finding_type_stats_request request_pb
517
517
  query_string_params = if query_string_params.any?
518
- query_string_params.to_h { |p| p.split("=", 2) }
518
+ query_string_params.to_h { |p| p.split "=", 2 }
519
519
  else
520
520
  {}
521
521
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-web_security_scanner-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.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