google-identity-access_context_manager-v1 0.13.0 → 0.13.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: 6bff30c0437d46da59ddca5187e7e6ff2397cac94ca0546242834a7542f0487f
4
- data.tar.gz: f51aeaf3433c045837aa8417d5f855f48daf15d98a8386d5db909d0872df0fc7
3
+ metadata.gz: 30e5efc282f4ff2caa0702796cb0003c340257743dfa36a428f16c10f05d7f37
4
+ data.tar.gz: 13004212be7207d24015e560511d293b51a36f18ec3df5f6e8157d516c201176
5
5
  SHA512:
6
- metadata.gz: 17b84ec8d4df6b98c0dab9b149d73ecd2a4fc3cf95f13e96938fde023f68dcea7ca194643f15d4cf0539ca8060cb30a23bfa6c729275114c6ae826947b5b48a0
7
- data.tar.gz: '039b17ee169493ad151dce9eae777691b15db75341f7aacbfbab30f025cad4ad4581b6c11890bd4d6d4996ad8dc8fae3b77c519bea724c8c62ee6cdcdcada551'
6
+ metadata.gz: c52b29a128dc5b0e4c7ccce032ef821b75ca08e3391b4c15845b5db4f84c7e6aa2e6e915d0feac3937ebedd8909190e4798ed42dadeaf7e7ce5a85d9a54d41d3
7
+ data.tar.gz: 0c54d4c1672b19f66051d02ecc0896edf3d2061952aa2a9fb44d2e331377f529d3d5f9ebcd2125497f43d31bc0acaa8a8cfe794af94f64879e180f202dc9c7b4
@@ -2951,8 +2951,6 @@ module Google
2951
2951
  # @return [::String,nil]
2952
2952
  # @!attribute [rw] credentials
2953
2953
  # Credentials to send with calls. You may provide any of the following types:
2954
- # * (`String`) The path to a service account key file in JSON format
2955
- # * (`Hash`) A service account key as a Hash
2956
2954
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2957
2955
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2958
2956
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2961,7 +2959,26 @@ module Google
2961
2959
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2962
2960
  # * (`nil`) indicating no credentials
2963
2961
  #
2964
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2962
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2963
+ # is deprecated. Providing an unvalidated credential configuration to
2964
+ # Google APIs can compromise the security of your systems and data.
2965
+ #
2966
+ # @example
2967
+ #
2968
+ # # The recommended way to provide credentials is to use the `make_creds` method
2969
+ # # on the appropriate credentials class for your environment.
2970
+ #
2971
+ # require "googleauth"
2972
+ #
2973
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2974
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2975
+ # )
2976
+ #
2977
+ # client = ::Google::Identity::AccessContextManager::V1::AccessContextManager::Client.new do |config|
2978
+ # config.credentials = credentials
2979
+ # end
2980
+ #
2981
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2965
2982
  # external source for authentication to Google Cloud, you must validate it before
2966
2983
  # providing it to a Google API client library. Providing an unvalidated credential
2967
2984
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Identity
22
22
  module AccessContextManager
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.13.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-identity-access_context_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC