google-cloud-phishing_protection 0.16.2 → 0.16.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: bf445c4ee0e59b9ea06f97498aba92daf9c061dfb665fabe7329041f6ee5fa68
4
- data.tar.gz: cf6a55525cc72b887c5b8c1b295400bc42c32df8ebca4580737ac3e33744fe95
3
+ metadata.gz: 500dca2ec3707c2ceaad7c846d3fd576c20f39a16dd7a415a57a1d74a38c8cf4
4
+ data.tar.gz: c9b313716a3a2b79c702e399c3be364a75c2dc2b3742e076ce8926d366295a3e
5
5
  SHA512:
6
- metadata.gz: 6450d71a9be1134c5f93a9f9a8f40543602c0b3661213f3a3273a02304055065ab75a8a9c13f2eafd9d1a3feb18434c0481ac1790a4f86461fcca6e0983008b8
7
- data.tar.gz: 78478ef0a1ca8abb8c8a919420004eae405ed6c55a7c9ad0d41014a4795d4cfc812958c43579eb1f5514a1eeb5ac0f883279554d0436ddec0e92de2d40f5b7e0
6
+ metadata.gz: 8e7160ebbc80d3729edec3fc2c312ca8b7be11ba8f48513f02f93eb566574a39ccf560c712b909becfce39b8af8e22836b3389f437f3991135ccc406b5654c87
7
+ data.tar.gz: 9e261fb567ee113eec9ea39c727a11440dcfe79da6d80985df166bc3adc9adb4a3b67184ce765a960128129b52da551d64fd4f51a7b88b3bf4df6727a468bca6
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/phishingprotection.googleapis.com)
35
35
  1. {file:AUTHENTICATION.md Set up authentication.}
36
36
 
37
+ ```ruby
38
+ require "google/cloud/phishing_protection"
39
+
40
+ client = Google::Cloud::PhishingProtection.phishing_protection_service
41
+ request = ::Google::Cloud::PhishingProtection::V1beta1::ReportPhishingRequest.new # (request fields as keyword arguments...)
42
+ response = client.report_phishing request
43
+ ```
44
+
37
45
  ## Migrating from pre-0.10 versions
38
46
 
39
47
  The 0.10 release of the google-cloud-phishing_protection client is a significant upgrade
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Cloud
22
22
  module PhishingProtection
23
- VERSION = "0.16.2"
23
+ VERSION = "0.16.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-phishing_protection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.2
4
+ version: 0.16.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC