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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 30e5efc282f4ff2caa0702796cb0003c340257743dfa36a428f16c10f05d7f37
|
|
4
|
+
data.tar.gz: 13004212be7207d24015e560511d293b51a36f18ec3df5f6e8157d516c201176
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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:
|
|
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.
|