google-cloud-phishing_protection-v1beta1 0.13.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: 143c65eed5899958f328303277e3cf0257f83e5c12a5a76fec570e30db0f9638
4
- data.tar.gz: c37bdc00f870a7e3c2fe707cf54ec25892cef6940c4c96a9667d8e54b1120aaa
3
+ metadata.gz: 674e334df2dff0faed30e696a238024677d2848906829ba1e9e9abba6771996e
4
+ data.tar.gz: 8dd1d384e34b4ebddc47abb56b561d445253c55c634d587521856c851adeb46a
5
5
  SHA512:
6
- metadata.gz: b3c1c4c8204f035fa076570c89c1bb87045deba57748badd4f31bc64f17fbe7dfd83724b1727ce973ba119f31328d27927400afc2219fe72d18a3a0d36083425
7
- data.tar.gz: fbbd6c2176dbaae2afeabf817e62bfb22de68c2010c4046c3f6a4f92f6aca9f74e1e81851c27add8502311392f368d4ea037068f0a57574b4177938d1a847e19
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PhishingProtection
23
23
  module V1beta1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.13.1"
25
25
  end
26
26
  end
27
27
  end
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.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC