google-cloud-metastore-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: 2b33390a8c95f3e755443a66249476251338d4a58a5510d3b6000190df883acf
4
- data.tar.gz: 78a628ba7a9c3f083db9de3876683b88619fd3f409432a2f2583a835e6aef82a
3
+ metadata.gz: 29c5245896b7d9ca007c1d775ce76e8a778a497756f774f0bd3d673f1e49e243
4
+ data.tar.gz: f53154a975a92eb1b92b637533ca52061a65843838fe83865ad1462bd51f4d00
5
5
  SHA512:
6
- metadata.gz: 8fff5481415397ebe40328e54ef3dadbc2d7632ebe00bb6d1fc94e10ccc78120352dd8ac7a591674b3399b73fbcf709d2be8556e5d84269295837f738ce3a5bf
7
- data.tar.gz: f76075777aec73b6875b92562be7e28df2bd5dbe05e57afdbe31e4de5d800301c2c043bb7968bd3f8bc051de264362cf772ba8409d033feb4112a3254fdd49eb
6
+ metadata.gz: eb8b198c26528e1a534854d9ead685f0644300e29af8e0a7a68f8e3c6acc6a4e03cc6b1610f48905f6297f9acae8859d1bee7835af58504b03a4ab0462fc2e1e
7
+ data.tar.gz: 6f860c55949dc4c28165326b8cdb65e48d1b37fba7422dff4e125603199a69513128eaaafa0da4b7882ab088e721e5ead6c538d8253bb44d1a86fc508bf6b490
@@ -2272,8 +2272,6 @@ module Google
2272
2272
  # @return [::String,nil]
2273
2273
  # @!attribute [rw] credentials
2274
2274
  # Credentials to send with calls. You may provide any of the following types:
2275
- # * (`String`) The path to a service account key file in JSON format
2276
- # * (`Hash`) A service account key as a Hash
2277
2275
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2278
2276
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2279
2277
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2282,7 +2280,26 @@ module Google
2282
2280
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2283
2281
  # * (`nil`) indicating no credentials
2284
2282
  #
2285
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2283
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2284
+ # is deprecated. Providing an unvalidated credential configuration to
2285
+ # Google APIs can compromise the security of your systems and data.
2286
+ #
2287
+ # @example
2288
+ #
2289
+ # # The recommended way to provide credentials is to use the `make_creds` method
2290
+ # # on the appropriate credentials class for your environment.
2291
+ #
2292
+ # require "googleauth"
2293
+ #
2294
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2295
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2296
+ # )
2297
+ #
2298
+ # client = ::Google::Cloud::Metastore::V1::DataprocMetastore::Client.new do |config|
2299
+ # config.credentials = credentials
2300
+ # end
2301
+ #
2302
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2286
2303
  # external source for authentication to Google Cloud, you must validate it before
2287
2304
  # providing it to a Google API client library. Providing an unvalidated credential
2288
2305
  # 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.
@@ -824,8 +824,6 @@ module Google
824
824
  # @return [::String,nil]
825
825
  # @!attribute [rw] credentials
826
826
  # Credentials to send with calls. You may provide any of the following types:
827
- # * (`String`) The path to a service account key file in JSON format
828
- # * (`Hash`) A service account key as a Hash
829
827
  # * (`Google::Auth::Credentials`) A googleauth credentials object
830
828
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
831
829
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -834,7 +832,26 @@ module Google
834
832
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
835
833
  # * (`nil`) indicating no credentials
836
834
  #
837
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
835
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
836
+ # is deprecated. Providing an unvalidated credential configuration to
837
+ # Google APIs can compromise the security of your systems and data.
838
+ #
839
+ # @example
840
+ #
841
+ # # The recommended way to provide credentials is to use the `make_creds` method
842
+ # # on the appropriate credentials class for your environment.
843
+ #
844
+ # require "googleauth"
845
+ #
846
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
847
+ # json_key_io: ::File.open("/path/to/keyfile.json")
848
+ # )
849
+ #
850
+ # client = ::Google::Cloud::Metastore::V1::DataprocMetastoreFederation::Client.new do |config|
851
+ # config.credentials = credentials
852
+ # end
853
+ #
854
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
838
855
  # external source for authentication to Google Cloud, you must validate it before
839
856
  # providing it to a Google API client library. Providing an unvalidated credential
840
857
  # 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 Metastore
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-metastore-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