google-cloud-monitoring-dashboard-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: 5d9a369067a5a94484fcde54ebb5079f9e16f7c891872fee4eb10f6c663b6a09
|
|
4
|
+
data.tar.gz: a12f214647ca97d7aa65dad8940b6c2db4d07fa2e2cf1360547d706dc9f5a00b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ccf9873bf077d0a5a65441ceb2524db88968bcda346b4149ea7ffcfd0a84aec76024906beef22de50101e59be4d523963effedee6c054dbb8e7aaadf3ec4a1dc
|
|
7
|
+
data.tar.gz: 4e83c1cd8d2875fc869cf5ae7db6183cde84cae8344a5577eadc2220dc936f6b0f2d61e9d113c726a8a0fd01d06092ce7756a1c2f939fdbbeae2a77f66f431e3
|
|
@@ -711,8 +711,6 @@ module Google
|
|
|
711
711
|
# @return [::String,nil]
|
|
712
712
|
# @!attribute [rw] credentials
|
|
713
713
|
# Credentials to send with calls. You may provide any of the following types:
|
|
714
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
715
|
-
# * (`Hash`) A service account key as a Hash
|
|
716
714
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
717
715
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
718
716
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -721,7 +719,26 @@ module Google
|
|
|
721
719
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
722
720
|
# * (`nil`) indicating no credentials
|
|
723
721
|
#
|
|
724
|
-
# Warning:
|
|
722
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
723
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
724
|
+
# Google APIs can compromise the security of your systems and data.
|
|
725
|
+
#
|
|
726
|
+
# @example
|
|
727
|
+
#
|
|
728
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
729
|
+
# # on the appropriate credentials class for your environment.
|
|
730
|
+
#
|
|
731
|
+
# require "googleauth"
|
|
732
|
+
#
|
|
733
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
734
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
735
|
+
# )
|
|
736
|
+
#
|
|
737
|
+
# client = ::Google::Cloud::Monitoring::Dashboard::V1::DashboardsService::Client.new do |config|
|
|
738
|
+
# config.credentials = credentials
|
|
739
|
+
# end
|
|
740
|
+
#
|
|
741
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
725
742
|
# external source for authentication to Google Cloud, you must validate it before
|
|
726
743
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
727
744
|
# configuration to Google APIs can compromise the security of your systems and data.
|