google-cloud-beyond_corp-app_connectors-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: 25cc6b0bd6028c17a590fa3e0894cd4f1a09167e20230042fe867d0e20db64ba
|
|
4
|
+
data.tar.gz: 4e05dcc532247843caafe6faaa7a09cf6decbc0205f50bcc768ed6f372953f53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f36c926bde43092de515ebfa108f16a929f904be1e799e80a98b5268bb3fb58009673fe723b22dd12f02b98b41483f2b8d0e606bc49bba8ec03306792b7ab040
|
|
7
|
+
data.tar.gz: cbf9c2dc85307cc9132716604f85762139c6ad5ffdb4c0f0d349d1cef9a90dc6475baa669a60bf6bddc9b6722354801c5b2aa15a1c73b493120154bb6d527d59
|
|
@@ -937,8 +937,6 @@ module Google
|
|
|
937
937
|
# @return [::String,nil]
|
|
938
938
|
# @!attribute [rw] credentials
|
|
939
939
|
# Credentials to send with calls. You may provide any of the following types:
|
|
940
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
941
|
-
# * (`Hash`) A service account key as a Hash
|
|
942
940
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
943
941
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
944
942
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -947,7 +945,26 @@ module Google
|
|
|
947
945
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
948
946
|
# * (`nil`) indicating no credentials
|
|
949
947
|
#
|
|
950
|
-
# Warning:
|
|
948
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
949
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
950
|
+
# Google APIs can compromise the security of your systems and data.
|
|
951
|
+
#
|
|
952
|
+
# @example
|
|
953
|
+
#
|
|
954
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
955
|
+
# # on the appropriate credentials class for your environment.
|
|
956
|
+
#
|
|
957
|
+
# require "googleauth"
|
|
958
|
+
#
|
|
959
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
960
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
961
|
+
# )
|
|
962
|
+
#
|
|
963
|
+
# client = ::Google::Cloud::BeyondCorp::AppConnectors::V1::AppConnectorsService::Client.new do |config|
|
|
964
|
+
# config.credentials = credentials
|
|
965
|
+
# end
|
|
966
|
+
#
|
|
967
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
951
968
|
# external source for authentication to Google Cloud, you must validate it before
|
|
952
969
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
953
970
|
# 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.
|