google-cloud-beyond_corp-app_connections-v1 0.10.0 → 0.10.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: 5c136c54176e922cbdd7cc77f0822a3fb5d03657293393704a2fd51a01f9658a
|
|
4
|
+
data.tar.gz: 77b83bb7c46bda733be9b1eab28b61dffb08c920c75c6e35daf48f758bd1fc02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3ca18c08984775fcb00611e2a9529360eea9461648f00c353e4ac5caf07bb0b5352ed0d17c56885c20e36485a5636f770d98e37dda9fb6bb90cd878349d14d5
|
|
7
|
+
data.tar.gz: 6ca83a63c7e52269b4eff1d9bcce66ed391c6159a80f9aaf583cf58dc6bed90112c3f2c9f53da2a53309997150917b661e719c6f14cac5f0df470f7c7f94179d
|
|
@@ -934,8 +934,6 @@ module Google
|
|
|
934
934
|
# @return [::String,nil]
|
|
935
935
|
# @!attribute [rw] credentials
|
|
936
936
|
# Credentials to send with calls. You may provide any of the following types:
|
|
937
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
938
|
-
# * (`Hash`) A service account key as a Hash
|
|
939
937
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
940
938
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
941
939
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -944,7 +942,26 @@ module Google
|
|
|
944
942
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
945
943
|
# * (`nil`) indicating no credentials
|
|
946
944
|
#
|
|
947
|
-
# Warning:
|
|
945
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
946
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
947
|
+
# Google APIs can compromise the security of your systems and data.
|
|
948
|
+
#
|
|
949
|
+
# @example
|
|
950
|
+
#
|
|
951
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
952
|
+
# # on the appropriate credentials class for your environment.
|
|
953
|
+
#
|
|
954
|
+
# require "googleauth"
|
|
955
|
+
#
|
|
956
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
957
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
958
|
+
# )
|
|
959
|
+
#
|
|
960
|
+
# client = ::Google::Cloud::BeyondCorp::AppConnections::V1::AppConnectionsService::Client.new do |config|
|
|
961
|
+
# config.credentials = credentials
|
|
962
|
+
# end
|
|
963
|
+
#
|
|
964
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
948
965
|
# external source for authentication to Google Cloud, you must validate it before
|
|
949
966
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
950
967
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -643,8 +643,6 @@ module Google
|
|
|
643
643
|
# @return [::String,nil]
|
|
644
644
|
# @!attribute [rw] credentials
|
|
645
645
|
# Credentials to send with calls. You may provide any of the following types:
|
|
646
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
647
|
-
# * (`Hash`) A service account key as a Hash
|
|
648
646
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
649
647
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
650
648
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -653,7 +651,26 @@ module Google
|
|
|
653
651
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
654
652
|
# * (`nil`) indicating no credentials
|
|
655
653
|
#
|
|
656
|
-
# Warning:
|
|
654
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
655
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
656
|
+
# Google APIs can compromise the security of your systems and data.
|
|
657
|
+
#
|
|
658
|
+
# @example
|
|
659
|
+
#
|
|
660
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
661
|
+
# # on the appropriate credentials class for your environment.
|
|
662
|
+
#
|
|
663
|
+
# require "googleauth"
|
|
664
|
+
#
|
|
665
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
666
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
667
|
+
# )
|
|
668
|
+
#
|
|
669
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
670
|
+
# config.credentials = credentials
|
|
671
|
+
# end
|
|
672
|
+
#
|
|
673
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
657
674
|
# external source for authentication to Google Cloud, you must validate it before
|
|
658
675
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
659
676
|
# configuration to Google APIs can compromise the security of your systems and data.
|