google-cloud-confidential_computing-v1 2.0.0 → 2.0.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: 57b75ce63cb2039f9c38df578852f71bb592dd7fc3c696af16c169d1e3d4437d
|
|
4
|
+
data.tar.gz: bc732ab1835317191b63c63cc752971e58b6592f3faa8c5bd18e9f6e61bad16f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd688bfa63bf80b94d27fb1bdd67c4d255c52028d8de17cd1fd3490d6f6b2529c4050bfdb438a29bc06bf96b06be623d7a2217f1b3a6f06300d227249362c8d5
|
|
7
|
+
data.tar.gz: 0c7e7f7a3e7c3c739b2127da76a54c87e997affcc7894829cda83a9e0347e8b0f7ccdfc4d43e54ce5a87e42943261b64b90bfc123a405c5dc1a1305be585a22d
|
|
@@ -655,8 +655,6 @@ module Google
|
|
|
655
655
|
# @return [::String,nil]
|
|
656
656
|
# @!attribute [rw] credentials
|
|
657
657
|
# Credentials to send with calls. You may provide any of the following types:
|
|
658
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
659
|
-
# * (`Hash`) A service account key as a Hash
|
|
660
658
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
661
659
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
662
660
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -665,7 +663,26 @@ module Google
|
|
|
665
663
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
666
664
|
# * (`nil`) indicating no credentials
|
|
667
665
|
#
|
|
668
|
-
# Warning:
|
|
666
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
667
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
668
|
+
# Google APIs can compromise the security of your systems and data.
|
|
669
|
+
#
|
|
670
|
+
# @example
|
|
671
|
+
#
|
|
672
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
673
|
+
# # on the appropriate credentials class for your environment.
|
|
674
|
+
#
|
|
675
|
+
# require "googleauth"
|
|
676
|
+
#
|
|
677
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
678
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
679
|
+
# )
|
|
680
|
+
#
|
|
681
|
+
# client = ::Google::Cloud::ConfidentialComputing::V1::ConfidentialComputing::Client.new do |config|
|
|
682
|
+
# config.credentials = credentials
|
|
683
|
+
# end
|
|
684
|
+
#
|
|
685
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
669
686
|
# external source for authentication to Google Cloud, you must validate it before
|
|
670
687
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
671
688
|
# configuration to Google APIs can compromise the security of your systems and data.
|