google-cloud-phishing_protection 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/phishing_protection.rb +1 -1
- data/lib/google/cloud/phishing_protection/v1beta1.rb +1 -1
- data/lib/google/cloud/phishing_protection/v1beta1/phishing_protection_client.rb +3 -0
- data/lib/google/cloud/phishing_protection/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c0fce797090191b8b45001a3dd54c4976f2f8c7469d87261a4c80e4f919dd07
|
4
|
+
data.tar.gz: 379782f00e55ecad736026b843bfebd5f97691690a12624f591dc52721f47d11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dce8d687371020b4cd23f411bef35aad59d074ba32d26e1a04edbf9f6566238b8b6396108a8a92dc6d1c37f6db2fd1cefd2a7c1db2950a02606cbd8919df4414
|
7
|
+
data.tar.gz: 7941c1c23c288ce04e13b5ae2a140681d17b5b61108e18d3d9134c63e0d750390c18a7854a24ccee22e1a2e9e909ffd1bdb4efe34cb90a048d886a25672de0d7
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ module Google
|
|
21
21
|
# rubocop:disable LineLength
|
22
22
|
|
23
23
|
##
|
24
|
-
# # Ruby Client for Phishing Protection API
|
24
|
+
# # Ruby Client for Phishing Protection API
|
25
25
|
#
|
26
26
|
# [Phishing Protection API][Product Documentation]:
|
27
27
|
#
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# rubocop:disable LineLength
|
23
23
|
|
24
24
|
##
|
25
|
-
# # Ruby Client for Phishing Protection API
|
25
|
+
# # Ruby Client for Phishing Protection API
|
26
26
|
#
|
27
27
|
# [Phishing Protection API][Product Documentation]:
|
28
28
|
#
|
@@ -151,6 +151,9 @@ module Google
|
|
151
151
|
google_api_client.freeze
|
152
152
|
|
153
153
|
headers = { :"x-goog-api-client" => google_api_client }
|
154
|
+
if credentials.respond_to?(:quota_project_id) && credentials.quota_project_id
|
155
|
+
headers[:"x-goog-user-project"] = credentials.quota_project_id
|
156
|
+
end
|
154
157
|
headers.merge!(metadata) unless metadata.nil?
|
155
158
|
client_config_file = Pathname.new(__dir__).join(
|
156
159
|
"phishing_protection_client_config.json"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-phishing_protection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|