google-cloud-bigtable-admin-v2 1.15.0 → 1.15.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: 41ff7b534e24050bea3142c02584f8b511d5894c582bc844faa7926efe3396c8
4
- data.tar.gz: 477c2425541401f9ace528ac4a4442ba24d736873334d0df85ee09ae3ab8e791
3
+ metadata.gz: 8cfa0562140d7d3c525cf52480af3ea0f3bd89cf7b6093d26cc479dea1d2b3ca
4
+ data.tar.gz: 4caedc639fd55eecd1bd7214a1e09fb4897223abfc04d1d7d60e329f08c5771b
5
5
  SHA512:
6
- metadata.gz: add3a5611a4be1c0b2d637dbb735d0c92453deff8ff72f0619e4852120490830c76b6bb2442ad572dd0c801eeba14c2a396705da6b37b5e22c8ef826e1022f8e
7
- data.tar.gz: 73d95caf95d20351e5e5b57f9c3cbb34d2691fd574efad919c45b0290ec0a8bf61719cdfa86e735c260297e7f194781e034104e5790a243ee43d9f658e15dd8f
6
+ metadata.gz: 804c574aa88c1f07abecd63d526581d39f51f126b3b95a901ddf0b0aa2b4bfede09579f6ab1c1e6ec47c64570c4094b21bb0d2450a1357dc2c48fd2814b461c3
7
+ data.tar.gz: de7b760cb520e988699a4d3901dad79abfec3e945c317610d8bfcdb9405dcd5456d3d75ac29951540ecc9b159e429aead87ea711174fdc27264bdc7e7e0bbb2f
@@ -3328,8 +3328,6 @@ module Google
3328
3328
  # @return [::String,nil]
3329
3329
  # @!attribute [rw] credentials
3330
3330
  # Credentials to send with calls. You may provide any of the following types:
3331
- # * (`String`) The path to a service account key file in JSON format
3332
- # * (`Hash`) A service account key as a Hash
3333
3331
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3334
3332
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3335
3333
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3338,7 +3336,26 @@ module Google
3338
3336
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3339
3337
  # * (`nil`) indicating no credentials
3340
3338
  #
3341
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3339
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3340
+ # is deprecated. Providing an unvalidated credential configuration to
3341
+ # Google APIs can compromise the security of your systems and data.
3342
+ #
3343
+ # @example
3344
+ #
3345
+ # # The recommended way to provide credentials is to use the `make_creds` method
3346
+ # # on the appropriate credentials class for your environment.
3347
+ #
3348
+ # require "googleauth"
3349
+ #
3350
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3351
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3352
+ # )
3353
+ #
3354
+ # client = ::Google::Cloud::Bigtable::Admin::V2::BigtableInstanceAdmin::Client.new do |config|
3355
+ # config.credentials = credentials
3356
+ # end
3357
+ #
3358
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3342
3359
  # external source for authentication to Google Cloud, you must validate it before
3343
3360
  # providing it to a Google API client library. Providing an unvalidated credential
3344
3361
  # 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.
@@ -3856,8 +3856,6 @@ module Google
3856
3856
  # @return [::String,nil]
3857
3857
  # @!attribute [rw] credentials
3858
3858
  # Credentials to send with calls. You may provide any of the following types:
3859
- # * (`String`) The path to a service account key file in JSON format
3860
- # * (`Hash`) A service account key as a Hash
3861
3859
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3862
3860
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3863
3861
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3866,7 +3864,26 @@ module Google
3866
3864
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3867
3865
  # * (`nil`) indicating no credentials
3868
3866
  #
3869
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3867
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3868
+ # is deprecated. Providing an unvalidated credential configuration to
3869
+ # Google APIs can compromise the security of your systems and data.
3870
+ #
3871
+ # @example
3872
+ #
3873
+ # # The recommended way to provide credentials is to use the `make_creds` method
3874
+ # # on the appropriate credentials class for your environment.
3875
+ #
3876
+ # require "googleauth"
3877
+ #
3878
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3879
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3880
+ # )
3881
+ #
3882
+ # client = ::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new do |config|
3883
+ # config.credentials = credentials
3884
+ # end
3885
+ #
3886
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3870
3887
  # external source for authentication to Google Cloud, you must validate it before
3871
3888
  # providing it to a Google API client library. Providing an unvalidated credential
3872
3889
  # 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 Bigtable
23
23
  module Admin
24
24
  module V2
25
- VERSION = "1.15.0"
25
+ VERSION = "1.15.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-bigtable-admin-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC