google-cloud-web_security_scanner-v1 1.4.0 → 1.4.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: 1183f78b47e48daade633142b4006e301917f2b70a3922cad73707fdce2a582b
|
|
4
|
+
data.tar.gz: 8acf310f12db733f82257b79bba6b3bbe0d77465bcb3d7be4779dad61028c0c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6aa3bfce546235118d6d188ae5db5851dde82e255b8c6dd63319e5c9bda14ca53c487b4c1901194cf388476b0ecc5bd214df4b57efa8f1176dd5581c6d05dbdd
|
|
7
|
+
data.tar.gz: b44d871180a8c109e64b55f68757b949d31b03f4a31bff141a3a244c646161a25af9948f5a5d8e8411243278be2da7489fac3afc4b3506d0f6b35fe12f0e48e5
|
|
@@ -1464,8 +1464,6 @@ module Google
|
|
|
1464
1464
|
# @return [::String,nil]
|
|
1465
1465
|
# @!attribute [rw] credentials
|
|
1466
1466
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1467
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1468
|
-
# * (`Hash`) A service account key as a Hash
|
|
1469
1467
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1470
1468
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1471
1469
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1474,7 +1472,26 @@ module Google
|
|
|
1474
1472
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1475
1473
|
# * (`nil`) indicating no credentials
|
|
1476
1474
|
#
|
|
1477
|
-
# Warning:
|
|
1475
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1476
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1477
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1478
|
+
#
|
|
1479
|
+
# @example
|
|
1480
|
+
#
|
|
1481
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1482
|
+
# # on the appropriate credentials class for your environment.
|
|
1483
|
+
#
|
|
1484
|
+
# require "googleauth"
|
|
1485
|
+
#
|
|
1486
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1487
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1488
|
+
# )
|
|
1489
|
+
#
|
|
1490
|
+
# client = ::Google::Cloud::WebSecurityScanner::V1::WebSecurityScanner::Client.new do |config|
|
|
1491
|
+
# config.credentials = credentials
|
|
1492
|
+
# end
|
|
1493
|
+
#
|
|
1494
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1478
1495
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1479
1496
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1480
1497
|
# configuration to Google APIs can compromise the security of your systems and data.
|