google-cloud-advisory_notifications-v1 0.14.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: dad464950e62138b38fcbbd5620e325837851d41b9d6a6e1275a0633ae2dd5f1
|
|
4
|
+
data.tar.gz: bb1e728e82672dc14101f07cd54c2e1e07e40680a9c1dbb704da90c00d2cefba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1eda014014c2628cfd1cd4ca68de34c8e60ff27d40a467ae7f2d23d5f64788532fd0bb4937437b3dc50614fef2876efb0048dd988af64645782f9f264581571a
|
|
7
|
+
data.tar.gz: 7069aea887e74cc404dcb00609067638587955a9513c718e7131426beb8c16e2727d96b4db3b711b047b28a499b6af771d14cb85a2a198e65daa6f1439189139
|
|
@@ -606,8 +606,6 @@ module Google
|
|
|
606
606
|
# @return [::String,nil]
|
|
607
607
|
# @!attribute [rw] credentials
|
|
608
608
|
# Credentials to send with calls. You may provide any of the following types:
|
|
609
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
610
|
-
# * (`Hash`) A service account key as a Hash
|
|
611
609
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
612
610
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
613
611
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -616,7 +614,26 @@ module Google
|
|
|
616
614
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
617
615
|
# * (`nil`) indicating no credentials
|
|
618
616
|
#
|
|
619
|
-
# Warning:
|
|
617
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
618
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
619
|
+
# Google APIs can compromise the security of your systems and data.
|
|
620
|
+
#
|
|
621
|
+
# @example
|
|
622
|
+
#
|
|
623
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
624
|
+
# # on the appropriate credentials class for your environment.
|
|
625
|
+
#
|
|
626
|
+
# require "googleauth"
|
|
627
|
+
#
|
|
628
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
629
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
630
|
+
# )
|
|
631
|
+
#
|
|
632
|
+
# client = ::Google::Cloud::AdvisoryNotifications::V1::AdvisoryNotificationsService::Client.new do |config|
|
|
633
|
+
# config.credentials = credentials
|
|
634
|
+
# end
|
|
635
|
+
#
|
|
636
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
620
637
|
# external source for authentication to Google Cloud, you must validate it before
|
|
621
638
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
622
639
|
# configuration to Google APIs can compromise the security of your systems and data.
|