google-cloud-bigquery-storage-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: 75297df60393538987d9663c74022cf135367b2c135d560a1e7ccc5edca93d3a
|
|
4
|
+
data.tar.gz: 28d1b2cb1dd450b0a461cbe1763b151f91c14ba1d6da27292d577d49022078fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 247e6bae649a9e3a9b89f746dbf72e403abb5c01ded83289c4733057b25ba9826ee031f9aed6f140b356f7a2020b1c962e1410d86e84d2ecef8feb31f76c1ffc
|
|
7
|
+
data.tar.gz: db2c55f71e22d9a47c74f54d90eb2b25ae1dff3a122b1e0f73125f4400e419c9b2a84a6b11895f19b4fa23caf0d4e5a56e10f4297131d13e193a8b5b080e09e0
|
|
@@ -564,8 +564,6 @@ module Google
|
|
|
564
564
|
# @return [::String,nil]
|
|
565
565
|
# @!attribute [rw] credentials
|
|
566
566
|
# Credentials to send with calls. You may provide any of the following types:
|
|
567
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
568
|
-
# * (`Hash`) A service account key as a Hash
|
|
569
567
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
570
568
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
571
569
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -574,7 +572,26 @@ module Google
|
|
|
574
572
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
575
573
|
# * (`nil`) indicating no credentials
|
|
576
574
|
#
|
|
577
|
-
# Warning:
|
|
575
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
576
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
577
|
+
# Google APIs can compromise the security of your systems and data.
|
|
578
|
+
#
|
|
579
|
+
# @example
|
|
580
|
+
#
|
|
581
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
582
|
+
# # on the appropriate credentials class for your environment.
|
|
583
|
+
#
|
|
584
|
+
# require "googleauth"
|
|
585
|
+
#
|
|
586
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
587
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
588
|
+
# )
|
|
589
|
+
#
|
|
590
|
+
# client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryRead::Client.new do |config|
|
|
591
|
+
# config.credentials = credentials
|
|
592
|
+
# end
|
|
593
|
+
#
|
|
594
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
578
595
|
# external source for authentication to Google Cloud, you must validate it before
|
|
579
596
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
580
597
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -819,8 +819,6 @@ module Google
|
|
|
819
819
|
# @return [::String,nil]
|
|
820
820
|
# @!attribute [rw] credentials
|
|
821
821
|
# Credentials to send with calls. You may provide any of the following types:
|
|
822
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
823
|
-
# * (`Hash`) A service account key as a Hash
|
|
824
822
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
825
823
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
826
824
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -829,7 +827,26 @@ module Google
|
|
|
829
827
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
830
828
|
# * (`nil`) indicating no credentials
|
|
831
829
|
#
|
|
832
|
-
# Warning:
|
|
830
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
831
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
832
|
+
# Google APIs can compromise the security of your systems and data.
|
|
833
|
+
#
|
|
834
|
+
# @example
|
|
835
|
+
#
|
|
836
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
837
|
+
# # on the appropriate credentials class for your environment.
|
|
838
|
+
#
|
|
839
|
+
# require "googleauth"
|
|
840
|
+
#
|
|
841
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
842
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
843
|
+
# )
|
|
844
|
+
#
|
|
845
|
+
# client = ::Google::Cloud::Bigquery::Storage::V1::BigQueryWrite::Client.new do |config|
|
|
846
|
+
# config.credentials = credentials
|
|
847
|
+
# end
|
|
848
|
+
#
|
|
849
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
833
850
|
# external source for authentication to Google Cloud, you must validate it before
|
|
834
851
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
835
852
|
# configuration to Google APIs can compromise the security of your systems and data.
|