google-cloud-web_security_scanner-v1 0.3.0 → 0.3.4

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: 94a9aba2b1f9aa9681f0d12cd27663f012f21bc0ff1e5e03509869ab396adb56
4
- data.tar.gz: 922875e60ea9bafead2552b2c156743303de3a14f0071361140e7f80c2213b9a
3
+ metadata.gz: 3c6c9ea48a162fad1b46d501dadacebdfbe66104b03d1f0ef128865981c1e1cd
4
+ data.tar.gz: 7535b702021d618d00d40744e48cb292dcbffa39293db0c2048d7f0df3d48cda
5
5
  SHA512:
6
- metadata.gz: 63b798acf59961a09090b3092072792bd9d6353f427d99fcb6073637eeb6bdfac13d14997208ce1b5e7a37fe4a2f2357fa73f06fb9c7cc0c70d53c0304ec2fc3
7
- data.tar.gz: 26964bab273459363c543ede53dcfab4ea459efdbc87311282c3c513b310c249d09c8d379c7299f4f5d9feebebd9408077383023f2aa195a0d0caf3d5fcb8612
6
+ metadata.gz: a75ed7a3f971c4dc089510c3144ac9028e7e27b7d06e7722acf03629de3c8a330fec76ea354f2dd1aae232c315b12f7c7bb6c5011b6701479e6cbe12cc8c5109
7
+ data.tar.gz: f8ca7136f0aa0ce2b444be0f98dd7d15795d56118623270ed39bd11cc30fc7418b41d6df293d547c49561ce9ad87f90cde68d0c31338db6bce335c7158606a12
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-web_security_scanner-v1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Credentials}):
68
68
 
69
- 1. `WEB_SECURITY_SCANNER_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `WEB_SECURITY_SCANNER_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `WEB_SECURITY_SCANNER_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `WEB_SECURITY_SCANNER_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/web_security_scanner/v1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/web_security_scanner/v1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/web_security_scanner/v1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/web_security_scanner/v1"
34
34
 
35
35
  client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::WebSecurityScanner::V1::CreateScanConfigRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_scan_config request
38
38
  ```
39
39
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module WebSecurityScanner
23
23
  module V1
24
- VERSION = "0.3.0"
24
+ VERSION = "0.3.4"
25
25
  end
26
26
  end
27
27
  end
@@ -41,13 +41,12 @@ module Google
41
41
  # See {::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client::Configuration}
42
42
  # for a description of the configuration fields.
43
43
  #
44
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all WebSecurityScanner clients:
47
- #
48
- # ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.configure do |config|
49
- # config.timeout = 10.0
50
- # end
46
+ # # Modify the configuration for all WebSecurityScanner clients
47
+ # ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.configure do |config|
48
+ # config.timeout = 10.0
49
+ # end
51
50
  #
52
51
  # @yield [config] Configure the Client client.
53
52
  # @yieldparam config [Client::Configuration]
@@ -69,26 +68,17 @@ module Google
69
68
 
70
69
  default_config.rpcs.delete_scan_config.timeout = 600.0
71
70
  default_config.rpcs.delete_scan_config.retry_policy = {
72
- initial_delay: 0.1,
73
- max_delay: 60.0,
74
- multiplier: 1.3,
75
- retry_codes: [4, 14]
71
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
76
72
  }
77
73
 
78
74
  default_config.rpcs.get_scan_config.timeout = 600.0
79
75
  default_config.rpcs.get_scan_config.retry_policy = {
80
- initial_delay: 0.1,
81
- max_delay: 60.0,
82
- multiplier: 1.3,
83
- retry_codes: [4, 14]
76
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
84
77
  }
85
78
 
86
79
  default_config.rpcs.list_scan_configs.timeout = 600.0
87
80
  default_config.rpcs.list_scan_configs.retry_policy = {
88
- initial_delay: 0.1,
89
- max_delay: 60.0,
90
- multiplier: 1.3,
91
- retry_codes: [4, 14]
81
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
92
82
  }
93
83
 
94
84
  default_config.rpcs.update_scan_config.timeout = 600.0
@@ -97,52 +87,34 @@ module Google
97
87
 
98
88
  default_config.rpcs.get_scan_run.timeout = 600.0
99
89
  default_config.rpcs.get_scan_run.retry_policy = {
100
- initial_delay: 0.1,
101
- max_delay: 60.0,
102
- multiplier: 1.3,
103
- retry_codes: [4, 14]
90
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
104
91
  }
105
92
 
106
93
  default_config.rpcs.list_scan_runs.timeout = 600.0
107
94
  default_config.rpcs.list_scan_runs.retry_policy = {
108
- initial_delay: 0.1,
109
- max_delay: 60.0,
110
- multiplier: 1.3,
111
- retry_codes: [4, 14]
95
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
112
96
  }
113
97
 
114
98
  default_config.rpcs.stop_scan_run.timeout = 600.0
115
99
 
116
100
  default_config.rpcs.list_crawled_urls.timeout = 600.0
117
101
  default_config.rpcs.list_crawled_urls.retry_policy = {
118
- initial_delay: 0.1,
119
- max_delay: 60.0,
120
- multiplier: 1.3,
121
- retry_codes: [4, 14]
102
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
122
103
  }
123
104
 
124
105
  default_config.rpcs.get_finding.timeout = 600.0
125
106
  default_config.rpcs.get_finding.retry_policy = {
126
- initial_delay: 0.1,
127
- max_delay: 60.0,
128
- multiplier: 1.3,
129
- retry_codes: [4, 14]
107
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
130
108
  }
131
109
 
132
110
  default_config.rpcs.list_findings.timeout = 600.0
133
111
  default_config.rpcs.list_findings.retry_policy = {
134
- initial_delay: 0.1,
135
- max_delay: 60.0,
136
- multiplier: 1.3,
137
- retry_codes: [4, 14]
112
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
138
113
  }
139
114
 
140
115
  default_config.rpcs.list_finding_type_stats.timeout = 600.0
141
116
  default_config.rpcs.list_finding_type_stats.retry_policy = {
142
- initial_delay: 0.1,
143
- max_delay: 60.0,
144
- multiplier: 1.3,
145
- retry_codes: [4, 14]
117
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
146
118
  }
147
119
 
148
120
  default_config
@@ -174,19 +146,15 @@ module Google
174
146
  ##
175
147
  # Create a new WebSecurityScanner client object.
176
148
  #
177
- # ## Examples
178
- #
179
- # To create a new WebSecurityScanner client with the default
180
- # configuration:
149
+ # @example
181
150
  #
182
- # client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
151
+ # # Create a client using the default configuration
152
+ # client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
183
153
  #
184
- # To create a new WebSecurityScanner client with a custom
185
- # configuration:
186
- #
187
- # client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new do |config|
188
- # config.timeout = 10.0
189
- # end
154
+ # # Create a client using a custom configuration
155
+ # client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new do |config|
156
+ # config.timeout = 10.0
157
+ # end
190
158
  #
191
159
  # @yield [config] Configure the WebSecurityScanner client.
192
160
  # @yieldparam config [Client::Configuration]
@@ -206,14 +174,13 @@ module Google
206
174
 
207
175
  # Create credentials
208
176
  credentials = @config.credentials
209
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
177
+ # Use self-signed JWT if the endpoint is unchanged from default,
210
178
  # but only if the default endpoint does not have a region prefix.
211
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
212
- @config.endpoint == Client.configure.endpoint &&
179
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
213
180
  !@config.endpoint.split(".").first.include?("-")
214
181
  credentials ||= Credentials.default scope: @config.scope,
215
182
  enable_self_signed_jwt: enable_self_signed_jwt
216
- if credentials.is_a?(String) || credentials.is_a?(Hash)
183
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
217
184
  credentials = Credentials.new credentials, scope: @config.scope
218
185
  end
219
186
  @quota_project_id = @config.quota_project
@@ -262,6 +229,21 @@ module Google
262
229
  #
263
230
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
264
231
  #
232
+ # @example Basic example
233
+ # require "google/cloud/web_security_scanner/v1"
234
+ #
235
+ # # Create a client object. The client can be reused for multiple calls.
236
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
237
+ #
238
+ # # Create a request. To set request fields, pass in keyword arguments.
239
+ # request = Google::Cloud::WebSecurityScanner::V1::CreateScanConfigRequest.new
240
+ #
241
+ # # Call the create_scan_config method.
242
+ # result = client.create_scan_config request
243
+ #
244
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1::ScanConfig.
245
+ # p result
246
+ #
265
247
  def create_scan_config request, options = nil
266
248
  raise ::ArgumentError, "request must be provided" if request.nil?
267
249
 
@@ -279,16 +261,20 @@ module Google
279
261
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
280
262
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
281
263
 
282
- header_params = {
283
- "parent" => request.parent
284
- }
264
+ header_params = {}
265
+ if request.parent
266
+ header_params["parent"] = request.parent
267
+ end
268
+
285
269
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
286
270
  metadata[:"x-goog-request-params"] ||= request_params_header
287
271
 
288
272
  options.apply_defaults timeout: @config.rpcs.create_scan_config.timeout,
289
273
  metadata: metadata,
290
274
  retry_policy: @config.rpcs.create_scan_config.retry_policy
291
- options.apply_defaults metadata: @config.metadata,
275
+
276
+ options.apply_defaults timeout: @config.timeout,
277
+ metadata: @config.metadata,
292
278
  retry_policy: @config.retry_policy
293
279
 
294
280
  @web_security_scanner_stub.call_rpc :create_scan_config, request, options: options do |response, operation|
@@ -329,6 +315,21 @@ module Google
329
315
  #
330
316
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
331
317
  #
318
+ # @example Basic example
319
+ # require "google/cloud/web_security_scanner/v1"
320
+ #
321
+ # # Create a client object. The client can be reused for multiple calls.
322
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
323
+ #
324
+ # # Create a request. To set request fields, pass in keyword arguments.
325
+ # request = Google::Cloud::WebSecurityScanner::V1::DeleteScanConfigRequest.new
326
+ #
327
+ # # Call the delete_scan_config method.
328
+ # result = client.delete_scan_config request
329
+ #
330
+ # # The returned object is of type Google::Protobuf::Empty.
331
+ # p result
332
+ #
332
333
  def delete_scan_config request, options = nil
333
334
  raise ::ArgumentError, "request must be provided" if request.nil?
334
335
 
@@ -346,16 +347,20 @@ module Google
346
347
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
347
348
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
348
349
 
349
- header_params = {
350
- "name" => request.name
351
- }
350
+ header_params = {}
351
+ if request.name
352
+ header_params["name"] = request.name
353
+ end
354
+
352
355
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
353
356
  metadata[:"x-goog-request-params"] ||= request_params_header
354
357
 
355
358
  options.apply_defaults timeout: @config.rpcs.delete_scan_config.timeout,
356
359
  metadata: metadata,
357
360
  retry_policy: @config.rpcs.delete_scan_config.retry_policy
358
- options.apply_defaults metadata: @config.metadata,
361
+
362
+ options.apply_defaults timeout: @config.timeout,
363
+ metadata: @config.metadata,
359
364
  retry_policy: @config.retry_policy
360
365
 
361
366
  @web_security_scanner_stub.call_rpc :delete_scan_config, request, options: options do |response, operation|
@@ -396,6 +401,21 @@ module Google
396
401
  #
397
402
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
398
403
  #
404
+ # @example Basic example
405
+ # require "google/cloud/web_security_scanner/v1"
406
+ #
407
+ # # Create a client object. The client can be reused for multiple calls.
408
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
409
+ #
410
+ # # Create a request. To set request fields, pass in keyword arguments.
411
+ # request = Google::Cloud::WebSecurityScanner::V1::GetScanConfigRequest.new
412
+ #
413
+ # # Call the get_scan_config method.
414
+ # result = client.get_scan_config request
415
+ #
416
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1::ScanConfig.
417
+ # p result
418
+ #
399
419
  def get_scan_config request, options = nil
400
420
  raise ::ArgumentError, "request must be provided" if request.nil?
401
421
 
@@ -413,16 +433,20 @@ module Google
413
433
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
414
434
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
415
435
 
416
- header_params = {
417
- "name" => request.name
418
- }
436
+ header_params = {}
437
+ if request.name
438
+ header_params["name"] = request.name
439
+ end
440
+
419
441
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
420
442
  metadata[:"x-goog-request-params"] ||= request_params_header
421
443
 
422
444
  options.apply_defaults timeout: @config.rpcs.get_scan_config.timeout,
423
445
  metadata: metadata,
424
446
  retry_policy: @config.rpcs.get_scan_config.retry_policy
425
- options.apply_defaults metadata: @config.metadata,
447
+
448
+ options.apply_defaults timeout: @config.timeout,
449
+ metadata: @config.metadata,
426
450
  retry_policy: @config.retry_policy
427
451
 
428
452
  @web_security_scanner_stub.call_rpc :get_scan_config, request, options: options do |response, operation|
@@ -471,6 +495,27 @@ module Google
471
495
  #
472
496
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
473
497
  #
498
+ # @example Basic example
499
+ # require "google/cloud/web_security_scanner/v1"
500
+ #
501
+ # # Create a client object. The client can be reused for multiple calls.
502
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
503
+ #
504
+ # # Create a request. To set request fields, pass in keyword arguments.
505
+ # request = Google::Cloud::WebSecurityScanner::V1::ListScanConfigsRequest.new
506
+ #
507
+ # # Call the list_scan_configs method.
508
+ # result = client.list_scan_configs request
509
+ #
510
+ # # The returned object is of type Gapic::PagedEnumerable. You can
511
+ # # iterate over all elements by calling #each, and the enumerable
512
+ # # will lazily make API calls to fetch subsequent pages. Other
513
+ # # methods are also available for managing paging directly.
514
+ # result.each do |response|
515
+ # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1::ScanConfig.
516
+ # p response
517
+ # end
518
+ #
474
519
  def list_scan_configs request, options = nil
475
520
  raise ::ArgumentError, "request must be provided" if request.nil?
476
521
 
@@ -488,16 +533,20 @@ module Google
488
533
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
489
534
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
490
535
 
491
- header_params = {
492
- "parent" => request.parent
493
- }
536
+ header_params = {}
537
+ if request.parent
538
+ header_params["parent"] = request.parent
539
+ end
540
+
494
541
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
495
542
  metadata[:"x-goog-request-params"] ||= request_params_header
496
543
 
497
544
  options.apply_defaults timeout: @config.rpcs.list_scan_configs.timeout,
498
545
  metadata: metadata,
499
546
  retry_policy: @config.rpcs.list_scan_configs.retry_policy
500
- options.apply_defaults metadata: @config.metadata,
547
+
548
+ options.apply_defaults timeout: @config.timeout,
549
+ metadata: @config.metadata,
501
550
  retry_policy: @config.retry_policy
502
551
 
503
552
  @web_security_scanner_stub.call_rpc :list_scan_configs, request, options: options do |response, operation|
@@ -544,6 +593,21 @@ module Google
544
593
  #
545
594
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
546
595
  #
596
+ # @example Basic example
597
+ # require "google/cloud/web_security_scanner/v1"
598
+ #
599
+ # # Create a client object. The client can be reused for multiple calls.
600
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
601
+ #
602
+ # # Create a request. To set request fields, pass in keyword arguments.
603
+ # request = Google::Cloud::WebSecurityScanner::V1::UpdateScanConfigRequest.new
604
+ #
605
+ # # Call the update_scan_config method.
606
+ # result = client.update_scan_config request
607
+ #
608
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1::ScanConfig.
609
+ # p result
610
+ #
547
611
  def update_scan_config request, options = nil
548
612
  raise ::ArgumentError, "request must be provided" if request.nil?
549
613
 
@@ -561,16 +625,20 @@ module Google
561
625
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
562
626
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
563
627
 
564
- header_params = {
565
- "scan_config.name" => request.scan_config.name
566
- }
628
+ header_params = {}
629
+ if request.scan_config&.name
630
+ header_params["scan_config.name"] = request.scan_config.name
631
+ end
632
+
567
633
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
568
634
  metadata[:"x-goog-request-params"] ||= request_params_header
569
635
 
570
636
  options.apply_defaults timeout: @config.rpcs.update_scan_config.timeout,
571
637
  metadata: metadata,
572
638
  retry_policy: @config.rpcs.update_scan_config.retry_policy
573
- options.apply_defaults metadata: @config.metadata,
639
+
640
+ options.apply_defaults timeout: @config.timeout,
641
+ metadata: @config.metadata,
574
642
  retry_policy: @config.retry_policy
575
643
 
576
644
  @web_security_scanner_stub.call_rpc :update_scan_config, request, options: options do |response, operation|
@@ -611,6 +679,21 @@ module Google
611
679
  #
612
680
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
613
681
  #
682
+ # @example Basic example
683
+ # require "google/cloud/web_security_scanner/v1"
684
+ #
685
+ # # Create a client object. The client can be reused for multiple calls.
686
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
687
+ #
688
+ # # Create a request. To set request fields, pass in keyword arguments.
689
+ # request = Google::Cloud::WebSecurityScanner::V1::StartScanRunRequest.new
690
+ #
691
+ # # Call the start_scan_run method.
692
+ # result = client.start_scan_run request
693
+ #
694
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1::ScanRun.
695
+ # p result
696
+ #
614
697
  def start_scan_run request, options = nil
615
698
  raise ::ArgumentError, "request must be provided" if request.nil?
616
699
 
@@ -628,16 +711,20 @@ module Google
628
711
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
629
712
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
630
713
 
631
- header_params = {
632
- "name" => request.name
633
- }
714
+ header_params = {}
715
+ if request.name
716
+ header_params["name"] = request.name
717
+ end
718
+
634
719
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
635
720
  metadata[:"x-goog-request-params"] ||= request_params_header
636
721
 
637
722
  options.apply_defaults timeout: @config.rpcs.start_scan_run.timeout,
638
723
  metadata: metadata,
639
724
  retry_policy: @config.rpcs.start_scan_run.retry_policy
640
- options.apply_defaults metadata: @config.metadata,
725
+
726
+ options.apply_defaults timeout: @config.timeout,
727
+ metadata: @config.metadata,
641
728
  retry_policy: @config.retry_policy
642
729
 
643
730
  @web_security_scanner_stub.call_rpc :start_scan_run, request, options: options do |response, operation|
@@ -679,6 +766,21 @@ module Google
679
766
  #
680
767
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
681
768
  #
769
+ # @example Basic example
770
+ # require "google/cloud/web_security_scanner/v1"
771
+ #
772
+ # # Create a client object. The client can be reused for multiple calls.
773
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
774
+ #
775
+ # # Create a request. To set request fields, pass in keyword arguments.
776
+ # request = Google::Cloud::WebSecurityScanner::V1::GetScanRunRequest.new
777
+ #
778
+ # # Call the get_scan_run method.
779
+ # result = client.get_scan_run request
780
+ #
781
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1::ScanRun.
782
+ # p result
783
+ #
682
784
  def get_scan_run request, options = nil
683
785
  raise ::ArgumentError, "request must be provided" if request.nil?
684
786
 
@@ -696,16 +798,20 @@ module Google
696
798
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
697
799
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
698
800
 
699
- header_params = {
700
- "name" => request.name
701
- }
801
+ header_params = {}
802
+ if request.name
803
+ header_params["name"] = request.name
804
+ end
805
+
702
806
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
703
807
  metadata[:"x-goog-request-params"] ||= request_params_header
704
808
 
705
809
  options.apply_defaults timeout: @config.rpcs.get_scan_run.timeout,
706
810
  metadata: metadata,
707
811
  retry_policy: @config.rpcs.get_scan_run.retry_policy
708
- options.apply_defaults metadata: @config.metadata,
812
+
813
+ options.apply_defaults timeout: @config.timeout,
814
+ metadata: @config.metadata,
709
815
  retry_policy: @config.retry_policy
710
816
 
711
817
  @web_security_scanner_stub.call_rpc :get_scan_run, request, options: options do |response, operation|
@@ -755,6 +861,27 @@ module Google
755
861
  #
756
862
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
757
863
  #
864
+ # @example Basic example
865
+ # require "google/cloud/web_security_scanner/v1"
866
+ #
867
+ # # Create a client object. The client can be reused for multiple calls.
868
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
869
+ #
870
+ # # Create a request. To set request fields, pass in keyword arguments.
871
+ # request = Google::Cloud::WebSecurityScanner::V1::ListScanRunsRequest.new
872
+ #
873
+ # # Call the list_scan_runs method.
874
+ # result = client.list_scan_runs request
875
+ #
876
+ # # The returned object is of type Gapic::PagedEnumerable. You can
877
+ # # iterate over all elements by calling #each, and the enumerable
878
+ # # will lazily make API calls to fetch subsequent pages. Other
879
+ # # methods are also available for managing paging directly.
880
+ # result.each do |response|
881
+ # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1::ScanRun.
882
+ # p response
883
+ # end
884
+ #
758
885
  def list_scan_runs request, options = nil
759
886
  raise ::ArgumentError, "request must be provided" if request.nil?
760
887
 
@@ -772,16 +899,20 @@ module Google
772
899
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
773
900
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
774
901
 
775
- header_params = {
776
- "parent" => request.parent
777
- }
902
+ header_params = {}
903
+ if request.parent
904
+ header_params["parent"] = request.parent
905
+ end
906
+
778
907
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
779
908
  metadata[:"x-goog-request-params"] ||= request_params_header
780
909
 
781
910
  options.apply_defaults timeout: @config.rpcs.list_scan_runs.timeout,
782
911
  metadata: metadata,
783
912
  retry_policy: @config.rpcs.list_scan_runs.retry_policy
784
- options.apply_defaults metadata: @config.metadata,
913
+
914
+ options.apply_defaults timeout: @config.timeout,
915
+ metadata: @config.metadata,
785
916
  retry_policy: @config.retry_policy
786
917
 
787
918
  @web_security_scanner_stub.call_rpc :list_scan_runs, request, options: options do |response, operation|
@@ -824,6 +955,21 @@ module Google
824
955
  #
825
956
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
826
957
  #
958
+ # @example Basic example
959
+ # require "google/cloud/web_security_scanner/v1"
960
+ #
961
+ # # Create a client object. The client can be reused for multiple calls.
962
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
963
+ #
964
+ # # Create a request. To set request fields, pass in keyword arguments.
965
+ # request = Google::Cloud::WebSecurityScanner::V1::StopScanRunRequest.new
966
+ #
967
+ # # Call the stop_scan_run method.
968
+ # result = client.stop_scan_run request
969
+ #
970
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1::ScanRun.
971
+ # p result
972
+ #
827
973
  def stop_scan_run request, options = nil
828
974
  raise ::ArgumentError, "request must be provided" if request.nil?
829
975
 
@@ -841,16 +987,20 @@ module Google
841
987
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
842
988
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
843
989
 
844
- header_params = {
845
- "name" => request.name
846
- }
990
+ header_params = {}
991
+ if request.name
992
+ header_params["name"] = request.name
993
+ end
994
+
847
995
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
848
996
  metadata[:"x-goog-request-params"] ||= request_params_header
849
997
 
850
998
  options.apply_defaults timeout: @config.rpcs.stop_scan_run.timeout,
851
999
  metadata: metadata,
852
1000
  retry_policy: @config.rpcs.stop_scan_run.retry_policy
853
- options.apply_defaults metadata: @config.metadata,
1001
+
1002
+ options.apply_defaults timeout: @config.timeout,
1003
+ metadata: @config.metadata,
854
1004
  retry_policy: @config.retry_policy
855
1005
 
856
1006
  @web_security_scanner_stub.call_rpc :stop_scan_run, request, options: options do |response, operation|
@@ -900,6 +1050,27 @@ module Google
900
1050
  #
901
1051
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
902
1052
  #
1053
+ # @example Basic example
1054
+ # require "google/cloud/web_security_scanner/v1"
1055
+ #
1056
+ # # Create a client object. The client can be reused for multiple calls.
1057
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
1058
+ #
1059
+ # # Create a request. To set request fields, pass in keyword arguments.
1060
+ # request = Google::Cloud::WebSecurityScanner::V1::ListCrawledUrlsRequest.new
1061
+ #
1062
+ # # Call the list_crawled_urls method.
1063
+ # result = client.list_crawled_urls request
1064
+ #
1065
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1066
+ # # iterate over all elements by calling #each, and the enumerable
1067
+ # # will lazily make API calls to fetch subsequent pages. Other
1068
+ # # methods are also available for managing paging directly.
1069
+ # result.each do |response|
1070
+ # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1::CrawledUrl.
1071
+ # p response
1072
+ # end
1073
+ #
903
1074
  def list_crawled_urls request, options = nil
904
1075
  raise ::ArgumentError, "request must be provided" if request.nil?
905
1076
 
@@ -917,16 +1088,20 @@ module Google
917
1088
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
918
1089
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
919
1090
 
920
- header_params = {
921
- "parent" => request.parent
922
- }
1091
+ header_params = {}
1092
+ if request.parent
1093
+ header_params["parent"] = request.parent
1094
+ end
1095
+
923
1096
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
924
1097
  metadata[:"x-goog-request-params"] ||= request_params_header
925
1098
 
926
1099
  options.apply_defaults timeout: @config.rpcs.list_crawled_urls.timeout,
927
1100
  metadata: metadata,
928
1101
  retry_policy: @config.rpcs.list_crawled_urls.retry_policy
929
- options.apply_defaults metadata: @config.metadata,
1102
+
1103
+ options.apply_defaults timeout: @config.timeout,
1104
+ metadata: @config.metadata,
930
1105
  retry_policy: @config.retry_policy
931
1106
 
932
1107
  @web_security_scanner_stub.call_rpc :list_crawled_urls, request, options: options do |response, operation|
@@ -969,6 +1144,21 @@ module Google
969
1144
  #
970
1145
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
971
1146
  #
1147
+ # @example Basic example
1148
+ # require "google/cloud/web_security_scanner/v1"
1149
+ #
1150
+ # # Create a client object. The client can be reused for multiple calls.
1151
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
1152
+ #
1153
+ # # Create a request. To set request fields, pass in keyword arguments.
1154
+ # request = Google::Cloud::WebSecurityScanner::V1::GetFindingRequest.new
1155
+ #
1156
+ # # Call the get_finding method.
1157
+ # result = client.get_finding request
1158
+ #
1159
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1::Finding.
1160
+ # p result
1161
+ #
972
1162
  def get_finding request, options = nil
973
1163
  raise ::ArgumentError, "request must be provided" if request.nil?
974
1164
 
@@ -986,16 +1176,20 @@ module Google
986
1176
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
987
1177
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
988
1178
 
989
- header_params = {
990
- "name" => request.name
991
- }
1179
+ header_params = {}
1180
+ if request.name
1181
+ header_params["name"] = request.name
1182
+ end
1183
+
992
1184
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
993
1185
  metadata[:"x-goog-request-params"] ||= request_params_header
994
1186
 
995
1187
  options.apply_defaults timeout: @config.rpcs.get_finding.timeout,
996
1188
  metadata: metadata,
997
1189
  retry_policy: @config.rpcs.get_finding.retry_policy
998
- options.apply_defaults metadata: @config.metadata,
1190
+
1191
+ options.apply_defaults timeout: @config.timeout,
1192
+ metadata: @config.metadata,
999
1193
  retry_policy: @config.retry_policy
1000
1194
 
1001
1195
  @web_security_scanner_stub.call_rpc :get_finding, request, options: options do |response, operation|
@@ -1050,6 +1244,27 @@ module Google
1050
1244
  #
1051
1245
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1052
1246
  #
1247
+ # @example Basic example
1248
+ # require "google/cloud/web_security_scanner/v1"
1249
+ #
1250
+ # # Create a client object. The client can be reused for multiple calls.
1251
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
1252
+ #
1253
+ # # Create a request. To set request fields, pass in keyword arguments.
1254
+ # request = Google::Cloud::WebSecurityScanner::V1::ListFindingsRequest.new
1255
+ #
1256
+ # # Call the list_findings method.
1257
+ # result = client.list_findings request
1258
+ #
1259
+ # # The returned object is of type Gapic::PagedEnumerable. You can
1260
+ # # iterate over all elements by calling #each, and the enumerable
1261
+ # # will lazily make API calls to fetch subsequent pages. Other
1262
+ # # methods are also available for managing paging directly.
1263
+ # result.each do |response|
1264
+ # # Each element is of type ::Google::Cloud::WebSecurityScanner::V1::Finding.
1265
+ # p response
1266
+ # end
1267
+ #
1053
1268
  def list_findings request, options = nil
1054
1269
  raise ::ArgumentError, "request must be provided" if request.nil?
1055
1270
 
@@ -1067,16 +1282,20 @@ module Google
1067
1282
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
1068
1283
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1069
1284
 
1070
- header_params = {
1071
- "parent" => request.parent
1072
- }
1285
+ header_params = {}
1286
+ if request.parent
1287
+ header_params["parent"] = request.parent
1288
+ end
1289
+
1073
1290
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1074
1291
  metadata[:"x-goog-request-params"] ||= request_params_header
1075
1292
 
1076
1293
  options.apply_defaults timeout: @config.rpcs.list_findings.timeout,
1077
1294
  metadata: metadata,
1078
1295
  retry_policy: @config.rpcs.list_findings.retry_policy
1079
- options.apply_defaults metadata: @config.metadata,
1296
+
1297
+ options.apply_defaults timeout: @config.timeout,
1298
+ metadata: @config.metadata,
1080
1299
  retry_policy: @config.retry_policy
1081
1300
 
1082
1301
  @web_security_scanner_stub.call_rpc :list_findings, request, options: options do |response, operation|
@@ -1119,6 +1338,21 @@ module Google
1119
1338
  #
1120
1339
  # @raise [::Google::Cloud::Error] if the RPC is aborted.
1121
1340
  #
1341
+ # @example Basic example
1342
+ # require "google/cloud/web_security_scanner/v1"
1343
+ #
1344
+ # # Create a client object. The client can be reused for multiple calls.
1345
+ # client = Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new
1346
+ #
1347
+ # # Create a request. To set request fields, pass in keyword arguments.
1348
+ # request = Google::Cloud::WebSecurityScanner::V1::ListFindingTypeStatsRequest.new
1349
+ #
1350
+ # # Call the list_finding_type_stats method.
1351
+ # result = client.list_finding_type_stats request
1352
+ #
1353
+ # # The returned object is of type Google::Cloud::WebSecurityScanner::V1::ListFindingTypeStatsResponse.
1354
+ # p result
1355
+ #
1122
1356
  def list_finding_type_stats request, options = nil
1123
1357
  raise ::ArgumentError, "request must be provided" if request.nil?
1124
1358
 
@@ -1136,16 +1370,20 @@ module Google
1136
1370
  gapic_version: ::Google::Cloud::WebSecurityScanner::V1::VERSION
1137
1371
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1138
1372
 
1139
- header_params = {
1140
- "parent" => request.parent
1141
- }
1373
+ header_params = {}
1374
+ if request.parent
1375
+ header_params["parent"] = request.parent
1376
+ end
1377
+
1142
1378
  request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1143
1379
  metadata[:"x-goog-request-params"] ||= request_params_header
1144
1380
 
1145
1381
  options.apply_defaults timeout: @config.rpcs.list_finding_type_stats.timeout,
1146
1382
  metadata: metadata,
1147
1383
  retry_policy: @config.rpcs.list_finding_type_stats.retry_policy
1148
- options.apply_defaults metadata: @config.metadata,
1384
+
1385
+ options.apply_defaults timeout: @config.timeout,
1386
+ metadata: @config.metadata,
1149
1387
  retry_policy: @config.retry_policy
1150
1388
 
1151
1389
  @web_security_scanner_stub.call_rpc :list_finding_type_stats, request, options: options do |response, operation|
@@ -1169,22 +1407,21 @@ module Google
1169
1407
  # Configuration can be applied globally to all clients, or to a single client
1170
1408
  # on construction.
1171
1409
  #
1172
- # # Examples
1173
- #
1174
- # To modify the global config, setting the timeout for create_scan_config
1175
- # to 20 seconds, and all remaining timeouts to 10 seconds:
1176
- #
1177
- # ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.configure do |config|
1178
- # config.timeout = 10.0
1179
- # config.rpcs.create_scan_config.timeout = 20.0
1180
- # end
1181
- #
1182
- # To apply the above configuration only to a new client:
1183
- #
1184
- # client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new do |config|
1185
- # config.timeout = 10.0
1186
- # config.rpcs.create_scan_config.timeout = 20.0
1187
- # end
1410
+ # @example
1411
+ #
1412
+ # # Modify the global config, setting the timeout for
1413
+ # # create_scan_config to 20 seconds,
1414
+ # # and all remaining timeouts to 10 seconds.
1415
+ # ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.configure do |config|
1416
+ # config.timeout = 10.0
1417
+ # config.rpcs.create_scan_config.timeout = 20.0
1418
+ # end
1419
+ #
1420
+ # # Apply the above configuration only to a new client.
1421
+ # client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new do |config|
1422
+ # config.timeout = 10.0
1423
+ # config.rpcs.create_scan_config.timeout = 20.0
1424
+ # end
1188
1425
  #
1189
1426
  # @!attribute [rw] endpoint
1190
1427
  # The hostname or hostname:port of the service endpoint.
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1/finding.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/api/resource_pb'
8
6
  require 'google/cloud/websecurityscanner/v1/finding_addon_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/cloud/websecurityscanner/v1/finding.proto", :syntax => :proto3) do
11
11
  add_message "google.cloud.websecurityscanner.v1.Finding" do
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1/scan_config.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/field_behavior_pb'
7
5
  require 'google/protobuf/timestamp_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/cloud/websecurityscanner/v1/scan_config.proto", :syntax => :proto3) do
10
10
  add_message "google.cloud.websecurityscanner.v1.ScanConfig" do
@@ -1,9 +1,9 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1/scan_run_error_trace.proto
3
3
 
4
+ require 'google/cloud/websecurityscanner/v1/scan_config_error_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/cloud/websecurityscanner/v1/scan_config_error_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
8
  add_file("google/cloud/websecurityscanner/v1/scan_run_error_trace.proto", :syntax => :proto3) do
9
9
  add_message "google.cloud.websecurityscanner.v1.ScanRunErrorTrace" do
@@ -1,11 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1/scan_run.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/cloud/websecurityscanner/v1/scan_run_error_trace_pb'
7
5
  require 'google/cloud/websecurityscanner/v1/scan_run_warning_trace_pb'
8
6
  require 'google/protobuf/timestamp_pb'
7
+ require 'google/protobuf'
8
+
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_file("google/cloud/websecurityscanner/v1/scan_run.proto", :syntax => :proto3) do
11
11
  add_message "google.cloud.websecurityscanner.v1.ScanRun" do
@@ -1,8 +1,6 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/websecurityscanner/v1/web_security_scanner.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/api/annotations_pb'
7
5
  require 'google/cloud/websecurityscanner/v1/crawled_url_pb'
8
6
  require 'google/cloud/websecurityscanner/v1/finding_pb'
@@ -12,6 +10,8 @@ require 'google/cloud/websecurityscanner/v1/scan_run_pb'
12
10
  require 'google/protobuf/empty_pb'
13
11
  require 'google/protobuf/field_mask_pb'
14
12
  require 'google/api/client_pb'
13
+ require 'google/protobuf'
14
+
15
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  add_file("google/cloud/websecurityscanner/v1/web_security_scanner.proto", :syntax => :proto3) do
17
17
  add_message "google.cloud.websecurityscanner.v1.CreateScanConfigRequest" do
@@ -29,7 +29,7 @@ module Google
29
29
  # attempts to exercise as many user inputs and event handlers as possible.
30
30
  class Service
31
31
 
32
- include GRPC::GenericService
32
+ include ::GRPC::GenericService
33
33
 
34
34
  self.marshal_class_method = :encode
35
35
  self.unmarshal_class_method = :decode
@@ -57,9 +57,15 @@ module Google
57
57
 
58
58
  # Denotes that a (repeated) field is an unordered list.
59
59
  # This indicates that the service may provide the elements of the list
60
- # in any arbitrary order, rather than the order the user originally
60
+ # in any arbitrary order, rather than the order the user originally
61
61
  # provided. Additionally, the list's order may or may not be stable.
62
62
  UNORDERED_LIST = 6
63
+
64
+ # Denotes that this field returns a non-empty default value if not set.
65
+ # This indicates that if the user provides the empty value in a request,
66
+ # a non-empty value will be returned. The user will not be aware of what
67
+ # non-empty value to expect.
68
+ NON_EMPTY_DEFAULT = 7
63
69
  end
64
70
  end
65
71
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-web_security_scanner-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-09 00:00:00.000000000 Z
11
+ date: 2021-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.7'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '0.3'
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.7'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.3'
32
+ version: 2.a
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: google-cloud-errors
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -215,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
221
  - !ruby/object:Gem::Version
216
222
  version: '0'
217
223
  requirements: []
218
- rubygems_version: 3.2.13
224
+ rubygems_version: 3.2.17
219
225
  signing_key:
220
226
  specification_version: 4
221
227
  summary: API Client library for the Web Security Scanner V1 API