google-cloud-web_risk 2.0.2 → 2.0.3

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: c25bceb603e4643b78a00a261a43e05ce77e0500b98133d8e300c89d2c99ff71
4
- data.tar.gz: 3100d044f1995d4a62c3897258d1ac6c3d9850c8298330e6e8b943081c7659e9
3
+ metadata.gz: '05792e781080ec3419d8a4fbaab6c609af8fcfba0d5c25854a8d5779f25dbbd2'
4
+ data.tar.gz: b47f18220c0568b5540a171833482f4b42093b8a4f9ac425e89b329dd8cdc14a
5
5
  SHA512:
6
- metadata.gz: f43bb47c7d27b363edde4015eadc5c4f04d93f5737784c832ca86fce60d1dff16fe0106b0d39bbd9077d56ce832ba63910844baf24d072a1dbbeb16068a3128e
7
- data.tar.gz: d35a4ac9f05b697eb0fc0306d7ef1f169642bd39b842f7b023a15a2b0f8ef2d97347f07e77453dbd34b39074557190b2bc8606dce56b47c9d5f2b6b38c6b4857
6
+ metadata.gz: 4f10de89a8ab99335a21b9244290836c1e66438446da8046b65dfb192cbab0c872fd16d96a15eb9acee6d05b372f45b3bda1f19b3a783e7101ea9f8b6b119d90
7
+ data.tar.gz: 4f512e1c56ed8661d289f3eb40a05f491573d38d8e86f90cc4ec2c9951d95934bee61ed142e3093b1c1a6adc8fdb5927e65a1cdbce50907393bd216d51e1c9a7
data/README.md CHANGED
@@ -34,6 +34,14 @@ In order to use this library, you first need to go through the following steps:
34
34
  1. [Enable the API.](https://console.cloud.google.com/apis/library/webrisk.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/web_risk"
39
+
40
+ client = Google::Cloud::WebRisk.web_risk_service
41
+ request = ::Google::Cloud::WebRisk::V1::ComputeThreatListDiffRequest.new # (request fields as keyword arguments...)
42
+ response = client.compute_threat_list_diff request
43
+ ```
44
+
37
45
  ## Debug Logging
38
46
 
39
47
  This library comes with opt-in Debug Logging that can help you troubleshoot
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module WebRisk
23
- VERSION = "2.0.2"
23
+ VERSION = "2.0.3"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-web_risk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC