google-cloud-eventarc-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: e79c79840e2f232d0f43a5f00b9d14b07d0a453640ef23079fbb2e24bc63bd84
|
|
4
|
+
data.tar.gz: 9ea0113df741600c87ee8ba0ecb685ce4f5fec48196505ad9bf0f5668e0e6c04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e5856e43dd19e86e4dc746c1578caba1574c889cf8d56e7565d4f3df297914436126208cd8a3f4ef346446aafba470a370fbf485ecf601feb1952a70ae1353f
|
|
7
|
+
data.tar.gz: fb66a83afe2f056ba5a5dd07f9ca7bd358adbc7f34d637e59b96b96a23579c61fdffeebcf1a9de04d3055205499eb95d6f8abc46463944ea5343f63bcc6b99b3
|
|
@@ -4243,8 +4243,6 @@ module Google
|
|
|
4243
4243
|
# @return [::String,nil]
|
|
4244
4244
|
# @!attribute [rw] credentials
|
|
4245
4245
|
# Credentials to send with calls. You may provide any of the following types:
|
|
4246
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
4247
|
-
# * (`Hash`) A service account key as a Hash
|
|
4248
4246
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
4249
4247
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
4250
4248
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -4253,7 +4251,26 @@ module Google
|
|
|
4253
4251
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
4254
4252
|
# * (`nil`) indicating no credentials
|
|
4255
4253
|
#
|
|
4256
|
-
# Warning:
|
|
4254
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
4255
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
4256
|
+
# Google APIs can compromise the security of your systems and data.
|
|
4257
|
+
#
|
|
4258
|
+
# @example
|
|
4259
|
+
#
|
|
4260
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
4261
|
+
# # on the appropriate credentials class for your environment.
|
|
4262
|
+
#
|
|
4263
|
+
# require "googleauth"
|
|
4264
|
+
#
|
|
4265
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
4266
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
4267
|
+
# )
|
|
4268
|
+
#
|
|
4269
|
+
# client = ::Google::Cloud::Eventarc::V1::Eventarc::Client.new do |config|
|
|
4270
|
+
# config.credentials = credentials
|
|
4271
|
+
# end
|
|
4272
|
+
#
|
|
4273
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
4257
4274
|
# external source for authentication to Google Cloud, you must validate it before
|
|
4258
4275
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
4259
4276
|
# 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.
|