google-cloud-web_risk-v1beta1 0.13.0 → 0.14.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: 436375d5dbaeef2c2eccb61aad1328427e1f7ce36143f0bbec16f53124334b81
|
|
4
|
+
data.tar.gz: d2c00425d2ecb4f4f4627f2287c89cd4d82b40227f41d5b0faf09c6a226f2986
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7944ce2ce6f8cac60b9960accafe8fafad26f5610b337f70a599e0e827c78bf8c231914099f8a4cb115ff9fc1b3390f55cf2271e690e7819b9bf67db68806af
|
|
7
|
+
data.tar.gz: 1b195bb8ead14203ac5b092ccd8182ecbd34f4440c29249ad5d98e4eb8d5c0bbdf787d56df7791686ba86dd3fb15f604740685f218ed3ce1fc1c6c35f3c1d1e4
|
|
@@ -477,8 +477,6 @@ module Google
|
|
|
477
477
|
# @return [::String,nil]
|
|
478
478
|
# @!attribute [rw] credentials
|
|
479
479
|
# Credentials to send with calls. You may provide any of the following types:
|
|
480
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
481
|
-
# * (`Hash`) A service account key as a Hash
|
|
482
480
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
483
481
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
484
482
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -487,7 +485,26 @@ module Google
|
|
|
487
485
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
488
486
|
# * (`nil`) indicating no credentials
|
|
489
487
|
#
|
|
490
|
-
# Warning:
|
|
488
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
489
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
490
|
+
# Google APIs can compromise the security of your systems and data.
|
|
491
|
+
#
|
|
492
|
+
# @example
|
|
493
|
+
#
|
|
494
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
495
|
+
# # on the appropriate credentials class for your environment.
|
|
496
|
+
#
|
|
497
|
+
# require "googleauth"
|
|
498
|
+
#
|
|
499
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
500
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
501
|
+
# )
|
|
502
|
+
#
|
|
503
|
+
# client = ::Google::Cloud::WebRisk::V1beta1::WebRiskService::Client.new do |config|
|
|
504
|
+
# config.credentials = credentials
|
|
505
|
+
# end
|
|
506
|
+
#
|
|
507
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
491
508
|
# external source for authentication to Google Cloud, you must validate it before
|
|
492
509
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
493
510
|
# 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-web_risk-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.14.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
|
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
90
|
version: '0'
|
|
91
91
|
requirements: []
|
|
92
|
-
rubygems_version: 3.6.
|
|
92
|
+
rubygems_version: 3.6.9
|
|
93
93
|
specification_version: 4
|
|
94
94
|
summary: API Client library for the Web Risk V1beta1 API
|
|
95
95
|
test_files: []
|