google-cloud-beyond_corp-client_gateways-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: 2af977c62978071646e6429a1360d4b0fb8bf50cf0d51b4aa29daa960cb3a108
|
|
4
|
+
data.tar.gz: 2b0e6bc6344e9093bc04187ce20ffac1ce5fa8cfaa782097517126cd985381f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abccd3c0bcead19b767b70c96221fcc1b0883e0f39e0f3ffc811be066ab0639e0dad57f788a6c8eea06d9998b56d92be89514832fd957130f584ef1d09f54a5c
|
|
7
|
+
data.tar.gz: f7833fda248d31ec05cd740d3a2a5c55596f1d35f2e537bfbba4d2e0695694b28424ef49aa851de7a5c309945cd0616fe798e6374bc1e5a7fbb065137d5786eb
|
|
@@ -689,8 +689,6 @@ module Google
|
|
|
689
689
|
# @return [::String,nil]
|
|
690
690
|
# @!attribute [rw] credentials
|
|
691
691
|
# Credentials to send with calls. You may provide any of the following types:
|
|
692
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
693
|
-
# * (`Hash`) A service account key as a Hash
|
|
694
692
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
695
693
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
696
694
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -699,7 +697,26 @@ module Google
|
|
|
699
697
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
700
698
|
# * (`nil`) indicating no credentials
|
|
701
699
|
#
|
|
702
|
-
# Warning:
|
|
700
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
701
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
702
|
+
# Google APIs can compromise the security of your systems and data.
|
|
703
|
+
#
|
|
704
|
+
# @example
|
|
705
|
+
#
|
|
706
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
707
|
+
# # on the appropriate credentials class for your environment.
|
|
708
|
+
#
|
|
709
|
+
# require "googleauth"
|
|
710
|
+
#
|
|
711
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
712
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
713
|
+
# )
|
|
714
|
+
#
|
|
715
|
+
# client = ::Google::Cloud::BeyondCorp::ClientGateways::V1::ClientGatewaysService::Client.new do |config|
|
|
716
|
+
# config.credentials = credentials
|
|
717
|
+
# end
|
|
718
|
+
#
|
|
719
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
703
720
|
# external source for authentication to Google Cloud, you must validate it before
|
|
704
721
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
705
722
|
# 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.
|