google-cloud-data_catalog-lineage-v1 0.12.0 → 0.12.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: c165d9807710fa3b2bf38c0a69084a3580b6097e31f47463168772ceda6c5d33
4
- data.tar.gz: 752b2594cad01c777436796ae58c5f7b60f8587ca5a657a48a60a546c864479d
3
+ metadata.gz: 0cf0b55e575278f9e4d11f2bb68f23345984887946147288aad867bdf8438c59
4
+ data.tar.gz: f62304758719ce6284b704dc33e0be165e40148b5943539f21ca5c72fe81bca4
5
5
  SHA512:
6
- metadata.gz: debd7abaf2098632f7c4361992dfab199f4b7d5a132f7acb7fe1ecf70b1de7bf9c0f856c9d747fe03264fb05bbee35d6ed3252ae949525a840d858cc520ecd0b
7
- data.tar.gz: 3014ef43c8b5bfc840d3ebff01675ce905a2a913d546f14b4faad3fe0dc479655d016cd710b847c27b9b0032fbd145e3e802f1042c4b2fc2e61fb589fbe6ea27
6
+ metadata.gz: b42857f20524c8a7c9182a1bc09bbf8e08b39cfe70cf0d6b76a094aa9cad2d5d4290ba2a65e8e799ae0bfa13bc8b9f8ff1aca6429e7cbcc57916bb58b711c9d2
7
+ data.tar.gz: 31b034f2ad87eed06bdf3914fb65b9188431a0e4fff87837387a77c959c5b8f04c6077db490b0cc028905bf38e6483edc9c3c69961e8c7d611f5616a0682971c
@@ -1891,8 +1891,6 @@ module Google
1891
1891
  # @return [::String,nil]
1892
1892
  # @!attribute [rw] credentials
1893
1893
  # Credentials to send with calls. You may provide any of the following types:
1894
- # * (`String`) The path to a service account key file in JSON format
1895
- # * (`Hash`) A service account key as a Hash
1896
1894
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1897
1895
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1898
1896
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1901,7 +1899,26 @@ module Google
1901
1899
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1902
1900
  # * (`nil`) indicating no credentials
1903
1901
  #
1904
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1902
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1903
+ # is deprecated. Providing an unvalidated credential configuration to
1904
+ # Google APIs can compromise the security of your systems and data.
1905
+ #
1906
+ # @example
1907
+ #
1908
+ # # The recommended way to provide credentials is to use the `make_creds` method
1909
+ # # on the appropriate credentials class for your environment.
1910
+ #
1911
+ # require "googleauth"
1912
+ #
1913
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1914
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1915
+ # )
1916
+ #
1917
+ # client = ::Google::Cloud::DataCatalog::Lineage::V1::Lineage::Client.new do |config|
1918
+ # config.credentials = credentials
1919
+ # end
1920
+ #
1921
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1905
1922
  # external source for authentication to Google Cloud, you must validate it before
1906
1923
  # providing it to a Google API client library. Providing an unvalidated credential
1907
1924
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module DataCatalog
23
23
  module Lineage
24
24
  module V1
25
- VERSION = "0.12.0"
25
+ VERSION = "0.12.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-data_catalog-lineage-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC