google-cloud-container_analysis-v1 1.5.0 → 1.5.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: e4017495727b0115d11dc133d70299d9f8043047d64fb419fc2be4cbd32d7ea9
4
- data.tar.gz: 32a09fabe0f3f6c54a69248887e483bd973e81be0e8acda6669eb0bbf9636110
3
+ metadata.gz: 19a33f16ebfbfb5e0bebd23b261089f84f819856f56d016a1cee7c07b013473c
4
+ data.tar.gz: e7568a3694f99f21b840f672c998be328248bbaaf449d8e2539707ce41fdc6e5
5
5
  SHA512:
6
- metadata.gz: 4e66100de19ac222b9b02d414c605f0856bfb36b4bafd4abb1e07105ced5d5295d43e98e489f8f0f4eff3a008a9e59b186dcad6bd3bb183f72682e8ca69d38e5
7
- data.tar.gz: 58cd48416bd6005aec271a4740a37e8f220076a4f64898df6a73c00a0a51d0d23a7b5985b35cb38dc478883781f43838dd2e4174594c93429fa60dcae863c05f
6
+ metadata.gz: c8d923256a786e6537387911cd2fb1d26bd9a078f0c4c18aa43be5a08bc0819e5c5cc09c80a7475e649508be3681eebe0063c9ce496edcaf58cdebf3fee4c128
7
+ data.tar.gz: b2ad98813223b2c66b915d206fc71d8c18a4481a7ed1cb0b31dddee14bad471a1c301a7d147bdbe8ea62d3a2cb4aad72da73c7d038226d5c0ea510e9a22ef893
@@ -710,8 +710,6 @@ module Google
710
710
  # @return [::String,nil]
711
711
  # @!attribute [rw] credentials
712
712
  # Credentials to send with calls. You may provide any of the following types:
713
- # * (`String`) The path to a service account key file in JSON format
714
- # * (`Hash`) A service account key as a Hash
715
713
  # * (`Google::Auth::Credentials`) A googleauth credentials object
716
714
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
717
715
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -720,7 +718,26 @@ module Google
720
718
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
721
719
  # * (`nil`) indicating no credentials
722
720
  #
723
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
721
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
722
+ # is deprecated. Providing an unvalidated credential configuration to
723
+ # Google APIs can compromise the security of your systems and data.
724
+ #
725
+ # @example
726
+ #
727
+ # # The recommended way to provide credentials is to use the `make_creds` method
728
+ # # on the appropriate credentials class for your environment.
729
+ #
730
+ # require "googleauth"
731
+ #
732
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
733
+ # json_key_io: ::File.open("/path/to/keyfile.json")
734
+ # )
735
+ #
736
+ # client = ::Google::Cloud::ContainerAnalysis::V1::ContainerAnalysis::Client.new do |config|
737
+ # config.credentials = credentials
738
+ # end
739
+ #
740
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
724
741
  # external source for authentication to Google Cloud, you must validate it before
725
742
  # providing it to a Google API client library. Providing an unvalidated credential
726
743
  # 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 ContainerAnalysis
23
23
  module V1
24
- VERSION = "1.5.0"
24
+ VERSION = "1.5.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-container_analysis-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC