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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5fe7019c727ad11cba9bea03451359cd630f7d0763c438f6b8fff99136d2ff7
4
- data.tar.gz: e03d956024b5f9813bd9f44b76ad4d75122cbadabd696a97f3900232fe029852
3
+ metadata.gz: 7c0fce797090191b8b45001a3dd54c4976f2f8c7469d87261a4c80e4f919dd07
4
+ data.tar.gz: 379782f00e55ecad736026b843bfebd5f97691690a12624f591dc52721f47d11
5
5
  SHA512:
6
- metadata.gz: 6969af2d2846c4816df549b8b862b9109d36d9daf9f1623d42c987b6adee2e0f26064b1678bac18c0218c09f4e0216336589e3c5ce651f3479ce7caf8bce01a6
7
- data.tar.gz: 5a00cb8c7117d4ab816ffb934da63606b039d9fabb14cbd06f886dbe1a1afceb1a41c0f81667e55f690e259239cb1efddfa31fa11319d5abf270cac1eb895047
6
+ metadata.gz: dce8d687371020b4cd23f411bef35aad59d074ba32d26e1a04edbf9f6566238b8b6396108a8a92dc6d1c37f6db2fd1cefd2a7c1db2950a02606cbd8919df4414
7
+ data.tar.gz: 7941c1c23c288ce04e13b5ae2a140681d17b5b61108e18d3d9134c63e0d750390c18a7854a24ccee22e1a2e9e909ffd1bdb4efe34cb90a048d886a25672de0d7
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ruby Client for Phishing Protection API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
1
+ # Ruby Client for Phishing Protection API
2
2
 
3
3
  [Phishing Protection API][Product Documentation]:
4
4
 
@@ -21,7 +21,7 @@ module Google
21
21
  # rubocop:disable LineLength
22
22
 
23
23
  ##
24
- # # Ruby Client for Phishing Protection API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
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 ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
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"
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PhishingProtection
19
- VERSION = "0.3.2".freeze
19
+ VERSION = "0.4.0".freeze
20
20
  end
21
21
  end
22
22
  end
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.3.2
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-01-23 00:00:00.000000000 Z
11
+ date: 2020-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax