google-cloud-connectors-v1 1.3.0 → 1.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: ddea03b65ec2a67294af58d8a594db4f475cf62f9969be91a3b0d1c387766142
4
- data.tar.gz: 2a67f5c2fcd5ce1429c8a48bbe2e81cf59e79dba42e6c054c2e836922ca76d62
3
+ metadata.gz: 73fdd2afd5af2d2c5ef933dd072dedf9a896769f14597df778ec1230251cbc00
4
+ data.tar.gz: 22f03b9477c916da3ccb27a5bd0f474928af4198aab962059194d48a39b383ec
5
5
  SHA512:
6
- metadata.gz: 3b2a30655c46fa4d1aa822fc0aa6f65bc229a6ce34cc5e076b0504e02c3978072be198de6cbb2ffdca1f24cb64d5f15d284ffea6d079c97778d9d139c38affef
7
- data.tar.gz: cb245315f66258c826e9e0b0e826fad10dbfa3898643b1b7341e06eaff2ba37dea553481122d097b5a975bf0899ace888f817c2091f77a396b7df4b0daf21d8a
6
+ metadata.gz: fda4d154681b84cdefd225e3cf4d77aaaafd1c2f93c798be68c7dfb915757c6d9b63c10d0d4c15e90a87dc4cc58463dd1d4dc3a7ca613cd1b6bc9c59f869e8af
7
+ data.tar.gz: 5999ebcf5a7177309cd5eeda0332d858ad2695ada835105de6c0e378709974b5d6e87d7115307cd94239e858c1252fa55c9a17faa809a6c0253553b91b3b239a
@@ -1951,8 +1951,6 @@ module Google
1951
1951
  # @return [::String,nil]
1952
1952
  # @!attribute [rw] credentials
1953
1953
  # Credentials to send with calls. You may provide any of the following types:
1954
- # * (`String`) The path to a service account key file in JSON format
1955
- # * (`Hash`) A service account key as a Hash
1956
1954
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1957
1955
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1958
1956
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1961,7 +1959,26 @@ module Google
1961
1959
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1962
1960
  # * (`nil`) indicating no credentials
1963
1961
  #
1964
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1962
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1963
+ # is deprecated. Providing an unvalidated credential configuration to
1964
+ # Google APIs can compromise the security of your systems and data.
1965
+ #
1966
+ # @example
1967
+ #
1968
+ # # The recommended way to provide credentials is to use the `make_creds` method
1969
+ # # on the appropriate credentials class for your environment.
1970
+ #
1971
+ # require "googleauth"
1972
+ #
1973
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1974
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1975
+ # )
1976
+ #
1977
+ # client = ::Google::Cloud::Connectors::V1::Connectors::Client.new do |config|
1978
+ # config.credentials = credentials
1979
+ # end
1980
+ #
1981
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1965
1982
  # external source for authentication to Google Cloud, you must validate it before
1966
1983
  # providing it to a Google API client library. Providing an unvalidated credential
1967
1984
  # 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 Connectors
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "1.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-connectors-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC