google-cloud-bigtable-v2 1.10.0 → 1.10.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: 63f904f0304e6d2348a03a594590060814a9c862126450f419630086f79f04f3
4
- data.tar.gz: 743d117b411acc5baa92ab177430bae3e1b619f6b3657b0987ac37e5c475214b
3
+ metadata.gz: 5361712d7da92b32643b8fb8b69c245ce814df515f00dff763797ca7ee014a87
4
+ data.tar.gz: d2fefd82d860d90268335a9595c094afeef3834d82338f46bb3dc15227060961
5
5
  SHA512:
6
- metadata.gz: '065429e0a3033394f76394184475d96187b7289a65a6b9c7ca2a93e8a1e550af72751e09ac6e058bfe13c39cc140376a092c6a5bb38f9f0d4fa7e2bfce0c7f80'
7
- data.tar.gz: 91b51f5be9a697c33e9790bcc60d014217a87032c0a7e603873ea837d6af3604c67babcba719c9aa709cde35643c735958eeb8278847ac1f7640635414c602fd
6
+ metadata.gz: 1e02f1d1af5be3be76a77801c2b096a181f0c7a0fc898e3d8937a0a31038bdec6ab5eced701c6f730f8dff3b005659a71a7d106dc9560b8f04309379ffadc2ef
7
+ data.tar.gz: d448c27f6f2caf91ab1aa866aa356939ca4dc829ffc4e37730d0f70de90aea1e24faa70d9ffd32c670178224af6d89dc648e72bcb669d0691a07bc72efc69b57
@@ -1579,8 +1579,6 @@ module Google
1579
1579
  # @return [::String,nil]
1580
1580
  # @!attribute [rw] credentials
1581
1581
  # Credentials to send with calls. You may provide any of the following types:
1582
- # * (`String`) The path to a service account key file in JSON format
1583
- # * (`Hash`) A service account key as a Hash
1584
1582
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1585
1583
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1586
1584
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1589,7 +1587,26 @@ module Google
1589
1587
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1590
1588
  # * (`nil`) indicating no credentials
1591
1589
  #
1592
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1590
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1591
+ # is deprecated. Providing an unvalidated credential configuration to
1592
+ # Google APIs can compromise the security of your systems and data.
1593
+ #
1594
+ # @example
1595
+ #
1596
+ # # The recommended way to provide credentials is to use the `make_creds` method
1597
+ # # on the appropriate credentials class for your environment.
1598
+ #
1599
+ # require "googleauth"
1600
+ #
1601
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1602
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1603
+ # )
1604
+ #
1605
+ # client = ::Google::Cloud::Bigtable::V2::Bigtable::Client.new do |config|
1606
+ # config.credentials = credentials
1607
+ # end
1608
+ #
1609
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1593
1610
  # external source for authentication to Google Cloud, you must validate it before
1594
1611
  # providing it to a Google API client library. Providing an unvalidated credential
1595
1612
  # 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 Bigtable
23
23
  module V2
24
- VERSION = "1.10.0"
24
+ VERSION = "1.10.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-bigtable-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC