google-cloud-data_fusion-v1 2.3.0 → 2.3.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: 1b0880d7cf0ac256bc09bf324b4d9592c9e85b901d0861baef6cbe64e2b586bc
4
- data.tar.gz: aff34dcdbca371fbce46325312613e729c12a0252850a922ef6faddaa7bf768e
3
+ metadata.gz: d4b33bc2fb8dfb0a13e4dfc9b33cb08988fee796ab504211002ed28fb457aaa7
4
+ data.tar.gz: c06de9311914409205c2d8f22b1ff7af560f189a6c679b2b5ee74a546b85de47
5
5
  SHA512:
6
- metadata.gz: d0b14fe4f2002579fa7a67130d461166068bf79207e60b15de499268c6dc933a5f3caba4efc60377443fa1bc4b27132bc37bf6bddb353815742717d4490f4659
7
- data.tar.gz: 49833554c2d252eb6a1a3c13cb67efc0c3443c20b8b0afb82da9f70c58dc0c3ff200ffe3cadc633eaab3ac58dceb1e9de726bc12fb5752076f5b529bcd88d63e
6
+ metadata.gz: 58e981db5b3dffb2fe960d7a3a3858763ddaa08b905e7528e6d7ece0287617e6e6e8d0dafd22935b36edd2b5d577104ab37589a86ec4989d31c8a266f1fd6bf6
7
+ data.tar.gz: 07c9e618a9fa1ef90b287e2ee3a585e1a79c1d755ece581237c9335291fe348625078dacc35b5f5d7d7337390c4720cc27f2fc168fe8bfc5c69e921ece8cdaae
@@ -920,8 +920,6 @@ module Google
920
920
  # @return [::String,nil]
921
921
  # @!attribute [rw] credentials
922
922
  # Credentials to send with calls. You may provide any of the following types:
923
- # * (`String`) The path to a service account key file in JSON format
924
- # * (`Hash`) A service account key as a Hash
925
923
  # * (`Google::Auth::Credentials`) A googleauth credentials object
926
924
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
927
925
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -930,7 +928,26 @@ module Google
930
928
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
931
929
  # * (`nil`) indicating no credentials
932
930
  #
933
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
931
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
932
+ # is deprecated. Providing an unvalidated credential configuration to
933
+ # Google APIs can compromise the security of your systems and data.
934
+ #
935
+ # @example
936
+ #
937
+ # # The recommended way to provide credentials is to use the `make_creds` method
938
+ # # on the appropriate credentials class for your environment.
939
+ #
940
+ # require "googleauth"
941
+ #
942
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
943
+ # json_key_io: ::File.open("/path/to/keyfile.json")
944
+ # )
945
+ #
946
+ # client = ::Google::Cloud::DataFusion::V1::DataFusion::Client.new do |config|
947
+ # config.credentials = credentials
948
+ # end
949
+ #
950
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
934
951
  # external source for authentication to Google Cloud, you must validate it before
935
952
  # providing it to a Google API client library. Providing an unvalidated credential
936
953
  # 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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataFusion
23
23
  module V1
24
- VERSION = "2.3.0"
24
+ VERSION = "2.3.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-data_fusion-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC