google-cloud-datastream-v1 1.5.0 → 1.5.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: a34f91c963c589379988d80aeff486ac43c63d1b097635102562567daecd8bcc
|
|
4
|
+
data.tar.gz: 0fa98300a83042b0e60d6eddb6e0790c5f632283d438c17be0a484fd02a324f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2530107fedf180ea1bf947d56efec243b93019435e9d3765df803988e4b082a9a6cb111d5440ca7647c52d797c61ea6d75c31a7bdcc9d9137bf68efa4686a194
|
|
7
|
+
data.tar.gz: 45401051fdadd84c0a3082c2e338c4603a6f12a51a3ffb737b22ea3294200471ab470816c78c746fec7d34ec02dbde6dfe6cc2a297c25d2ac29aca3f78bbf242
|
|
@@ -2963,8 +2963,6 @@ module Google
|
|
|
2963
2963
|
# @return [::String,nil]
|
|
2964
2964
|
# @!attribute [rw] credentials
|
|
2965
2965
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2966
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2967
|
-
# * (`Hash`) A service account key as a Hash
|
|
2968
2966
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2969
2967
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2970
2968
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2973,7 +2971,26 @@ module Google
|
|
|
2973
2971
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2974
2972
|
# * (`nil`) indicating no credentials
|
|
2975
2973
|
#
|
|
2976
|
-
# Warning:
|
|
2974
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2975
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2976
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2977
|
+
#
|
|
2978
|
+
# @example
|
|
2979
|
+
#
|
|
2980
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2981
|
+
# # on the appropriate credentials class for your environment.
|
|
2982
|
+
#
|
|
2983
|
+
# require "googleauth"
|
|
2984
|
+
#
|
|
2985
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2986
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2987
|
+
# )
|
|
2988
|
+
#
|
|
2989
|
+
# client = ::Google::Cloud::Datastream::V1::Datastream::Client.new do |config|
|
|
2990
|
+
# config.credentials = credentials
|
|
2991
|
+
# end
|
|
2992
|
+
#
|
|
2993
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2977
2994
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2978
2995
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2979
2996
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|