google-cloud-device_streaming-v1 0.2.0 → 0.2.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: a1370542bea083df759658463b18a83b215da10bbe81de077870c7806ac1d573
|
|
4
|
+
data.tar.gz: 2180f9b4ba2ff18a51280418de3f4508681a7053bde0273a6e6a1a09a86ea94b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 725c01c1a07a8c3456e6d72bc2735d46ae0c3e4e935978d0816176e61ddf7b9eab80a0c8829b2bf038e578d574a59d763791899eae892b58fc23d7f6802bb58c
|
|
7
|
+
data.tar.gz: fe084385b8779da3af2974e2d62a96c66172c3f513e22650daa1351952da1b93febaf496534a25757f7736dca7bf4c5cbbb5c6dcc64a8c3901fb730dd6db3d57
|
|
@@ -789,8 +789,6 @@ module Google
|
|
|
789
789
|
# @return [::String,nil]
|
|
790
790
|
# @!attribute [rw] credentials
|
|
791
791
|
# Credentials to send with calls. You may provide any of the following types:
|
|
792
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
793
|
-
# * (`Hash`) A service account key as a Hash
|
|
794
792
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
795
793
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
796
794
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -799,7 +797,26 @@ module Google
|
|
|
799
797
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
800
798
|
# * (`nil`) indicating no credentials
|
|
801
799
|
#
|
|
802
|
-
# Warning:
|
|
800
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
801
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
802
|
+
# Google APIs can compromise the security of your systems and data.
|
|
803
|
+
#
|
|
804
|
+
# @example
|
|
805
|
+
#
|
|
806
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
807
|
+
# # on the appropriate credentials class for your environment.
|
|
808
|
+
#
|
|
809
|
+
# require "googleauth"
|
|
810
|
+
#
|
|
811
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
812
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
813
|
+
# )
|
|
814
|
+
#
|
|
815
|
+
# client = ::Google::Cloud::DeviceStreaming::V1::DirectAccessService::Client.new do |config|
|
|
816
|
+
# config.credentials = credentials
|
|
817
|
+
# end
|
|
818
|
+
#
|
|
819
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
803
820
|
# external source for authentication to Google Cloud, you must validate it before
|
|
804
821
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
805
822
|
# configuration to Google APIs can compromise the security of your systems and data.
|