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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eacff26dd3127ef7e601a302f1c338e60fe0fbf836f379c3adb74c906e457b57
|
|
4
|
+
data.tar.gz: 1f5e3d7ca92525d59e7f221904f2b7ddbcb3bc4ea8ca27ccb375fc53f4850739
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|