google-cloud-deploy-v1 2.4.0 → 2.4.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: c97a709e084c9fb698af7c78dc7595c1ecf68cea214e83208ec9bb97e03afe3b
|
|
4
|
+
data.tar.gz: fb35dbd60bd3bfef94e52345f539246639ede5038893251d398674d4eeb5db02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4afb76130a9fbf8c26c2cef8a4a9a5a6ae34ef854d0a67e54e33326503dff62334fa9fa166871f67b4d6b7d3d923cef3d446738664029bd31ef7f0d75cddd22
|
|
7
|
+
data.tar.gz: f1265798b1c2b647744199abdb4b75a5a55debfafb2f18dbd8d258d4f9e4ed382dec42d3df11621217fdd61868f52e2f90f5c5f64d9767025ed7bea67d13e976
|
|
@@ -5098,8 +5098,6 @@ module Google
|
|
|
5098
5098
|
# @return [::String,nil]
|
|
5099
5099
|
# @!attribute [rw] credentials
|
|
5100
5100
|
# Credentials to send with calls. You may provide any of the following types:
|
|
5101
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
5102
|
-
# * (`Hash`) A service account key as a Hash
|
|
5103
5101
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
5104
5102
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
5105
5103
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -5108,7 +5106,26 @@ module Google
|
|
|
5108
5106
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
5109
5107
|
# * (`nil`) indicating no credentials
|
|
5110
5108
|
#
|
|
5111
|
-
# Warning:
|
|
5109
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
5110
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
5111
|
+
# Google APIs can compromise the security of your systems and data.
|
|
5112
|
+
#
|
|
5113
|
+
# @example
|
|
5114
|
+
#
|
|
5115
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
5116
|
+
# # on the appropriate credentials class for your environment.
|
|
5117
|
+
#
|
|
5118
|
+
# require "googleauth"
|
|
5119
|
+
#
|
|
5120
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
5121
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
5122
|
+
# )
|
|
5123
|
+
#
|
|
5124
|
+
# client = ::Google::Cloud::Deploy::V1::CloudDeploy::Client.new do |config|
|
|
5125
|
+
# config.credentials = credentials
|
|
5126
|
+
# end
|
|
5127
|
+
#
|
|
5128
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
5112
5129
|
# external source for authentication to Google Cloud, you must validate it before
|
|
5113
5130
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
5114
5131
|
# 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.
|