google-cloud-phishing_protection-v1beta1 0.12.0 → 0.13.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 674e334df2dff0faed30e696a238024677d2848906829ba1e9e9abba6771996e
|
|
4
|
+
data.tar.gz: 8dd1d384e34b4ebddc47abb56b561d445253c55c634d587521856c851adeb46a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87bdcd1f72208df0aa732bd3520708010fe74ddb0a2fe4e096bcda020228e67e57683cb1eef281796314b8a52c0c927f449eec57475fe73aa486a9aa9020a747
|
|
7
|
+
data.tar.gz: be61c3ee3e059fee796e7fe8a1b6bd0b96f007dfc1d88f34f81c24a92560804f8b689facd0a4be7a31eeffbddc850d14544c85b672e82207b137f12dd13ac671
|
|
@@ -314,8 +314,6 @@ module Google
|
|
|
314
314
|
# @return [::String,nil]
|
|
315
315
|
# @!attribute [rw] credentials
|
|
316
316
|
# Credentials to send with calls. You may provide any of the following types:
|
|
317
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
318
|
-
# * (`Hash`) A service account key as a Hash
|
|
319
317
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
320
318
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
321
319
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -324,7 +322,26 @@ module Google
|
|
|
324
322
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
325
323
|
# * (`nil`) indicating no credentials
|
|
326
324
|
#
|
|
327
|
-
# Warning:
|
|
325
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
326
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
327
|
+
# Google APIs can compromise the security of your systems and data.
|
|
328
|
+
#
|
|
329
|
+
# @example
|
|
330
|
+
#
|
|
331
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
332
|
+
# # on the appropriate credentials class for your environment.
|
|
333
|
+
#
|
|
334
|
+
# require "googleauth"
|
|
335
|
+
#
|
|
336
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
337
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
338
|
+
# )
|
|
339
|
+
#
|
|
340
|
+
# client = ::Google::Cloud::PhishingProtection::V1beta1::PhishingProtectionService::Client.new do |config|
|
|
341
|
+
# config.credentials = credentials
|
|
342
|
+
# end
|
|
343
|
+
#
|
|
344
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
328
345
|
# external source for authentication to Google Cloud, you must validate it before
|
|
329
346
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
330
347
|
# configuration to Google APIs can compromise the security of your systems and data.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-phishing_protection-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.2'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.2'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
91
91
|
- !ruby/object:Gem::Version
|
|
92
92
|
version: '0'
|
|
93
93
|
requirements: []
|
|
94
|
-
rubygems_version: 3.6.
|
|
94
|
+
rubygems_version: 3.6.9
|
|
95
95
|
specification_version: 4
|
|
96
96
|
summary: API Client library for the Phishing Protection V1beta1 API
|
|
97
97
|
test_files: []
|