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: 768a26160ca452189a6602168c85c78d83344162bb9499bf27c7957f8481eff7
4
- data.tar.gz: 798d271bf3a446a4028b59bc5bc01d94ccd7f3296c57a012ee47d3727dec7caa
3
+ metadata.gz: 75297df60393538987d9663c74022cf135367b2c135d560a1e7ccc5edca93d3a
4
+ data.tar.gz: 28d1b2cb1dd450b0a461cbe1763b151f91c14ba1d6da27292d577d49022078fc
5
5
  SHA512:
6
- metadata.gz: 9843fc5a9e924010ae560d67f319fc46cbcf76fa7d81cf29e0f178f79d01982141f988223a4a7ce02fc113d597bb6537402b5162fca58b58839c1a7e4543c632
7
- data.tar.gz: 6ece4e6205302ff14e2d0ce327163e693cc92ea2a1725e53ab0e951d3cb3a6caaf817d7feab6bcf1e6712351e00c466c5283aa53f22f2b76635e898789f9fd37
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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Storage
24
24
  module V1
25
- VERSION = "1.5.0"
25
+ VERSION = "1.5.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-storage-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC