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: 7fd58f318c59500b031dd3ece5cda1ec95a0d9189c64eb2e8368f17d82a997c5
4
- data.tar.gz: f79f32ae873e3b410d130a0bcc020ab8166e1f725ce0ffdc486a217735f5fad8
3
+ metadata.gz: 57b75ce63cb2039f9c38df578852f71bb592dd7fc3c696af16c169d1e3d4437d
4
+ data.tar.gz: bc732ab1835317191b63c63cc752971e58b6592f3faa8c5bd18e9f6e61bad16f
5
5
  SHA512:
6
- metadata.gz: 6adbeeab0d6be5cdd313e68e354cb64350ae7b4388c72d11926ca9d41a060264fb15721a1f1e589d703e55bed6becf9c2dc4426bdf5da4ac4fbc38411299438b
7
- data.tar.gz: 9e7ee1d64bc2c25d5762691368c850ea4a4b38095dc74c911fcac6c2cbb7002cf751363b2e7ebddd42a2ef41bb87656c6a57b99f7594b2854f736b763c929c27
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ConfidentialComputing
23
23
  module V1
24
- VERSION = "2.0.0"
24
+ VERSION = "2.0.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-confidential_computing-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC