google-cloud-private_catalog-v1beta1 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: 398313b58f2f7e84c0ecbe12d8cb9cb2c8597edad7100946d98851bdebe717c9
4
- data.tar.gz: d00f95f861224b78068489918151eb428c46c74b9ed3a50b06d0464997d41d65
3
+ metadata.gz: eacff26dd3127ef7e601a302f1c338e60fe0fbf836f379c3adb74c906e457b57
4
+ data.tar.gz: 1f5e3d7ca92525d59e7f221904f2b7ddbcb3bc4ea8ca27ccb375fc53f4850739
5
5
  SHA512:
6
- metadata.gz: 488e54f400f88d1f8331072b3231d15c2c949f8616be80b28c37e0e4ec1d8e3da4b46a12f0fd91a67666b93a06d9d436c3b12cd0a989be79bb44b2866cf022c5
7
- data.tar.gz: 0c28ba7cc04688680af7e8328935726c4de83dbdcbd74b4f6f2c0096bce2bdcdc78e46b113d1007808d2912331d146a55fa372f39f573ed2291ab83d72743d54
6
+ metadata.gz: da10cdf25b291ae7a0f4e7a5697f12e4bf31387e00f4ddd99a42bff732061220e35f000575123180039dae2cea7092330962998aece5f444f73ce4ceb82e997a
7
+ data.tar.gz: 29ab60da4fcdfd1605de96cc062d57c522d80cd9b1ab698f62c79df18879da8a4afb7c0d732a3b7d413d2360077d04d4d86ab7dd52c0fffcebdce7353b129eaa
@@ -553,8 +553,6 @@ module Google
553
553
  # @return [::String,nil]
554
554
  # @!attribute [rw] credentials
555
555
  # Credentials to send with calls. You may provide any of the following types:
556
- # * (`String`) The path to a service account key file in JSON format
557
- # * (`Hash`) A service account key as a Hash
558
556
  # * (`Google::Auth::Credentials`) A googleauth credentials object
559
557
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
560
558
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -563,7 +561,26 @@ module Google
563
561
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
564
562
  # * (`nil`) indicating no credentials
565
563
  #
566
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
564
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
565
+ # is deprecated. Providing an unvalidated credential configuration to
566
+ # Google APIs can compromise the security of your systems and data.
567
+ #
568
+ # @example
569
+ #
570
+ # # The recommended way to provide credentials is to use the `make_creds` method
571
+ # # on the appropriate credentials class for your environment.
572
+ #
573
+ # require "googleauth"
574
+ #
575
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
576
+ # json_key_io: ::File.open("/path/to/keyfile.json")
577
+ # )
578
+ #
579
+ # client = ::Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Client.new do |config|
580
+ # config.credentials = credentials
581
+ # end
582
+ #
583
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
567
584
  # external source for authentication to Google Cloud, you must validate it before
568
585
  # providing it to a Google API client library. Providing an unvalidated credential
569
586
  # 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 PrivateCatalog
23
23
  module V1beta1
24
- VERSION = "0.12.0"
24
+ VERSION = "0.12.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-private_catalog-v1beta1
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