google-cloud-build-v2 0.12.0 → 0.12.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: f0fd8b0a88033cfe5144f528c283b08f2666c5c840c46fff61bf5a49efebbb76
|
|
4
|
+
data.tar.gz: 8651d2326b0dca8991196710c6e7390e705f1c89bfacb3cd89acabf3abce21ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43f0ec14622e1d796b8ab10ace639c4f6db5ece56e4e05227faa92af7c6e4e43fd287f540e0383ccc58723981b92939d6f2e7257996eb6f347ad4626eec90010
|
|
7
|
+
data.tar.gz: dddeeaf98831761fbc9fd24b24c662e3bb0d4bdfd05eb691e41ffd7dc1989ae7f7c66f0a1938c0bc766d94236b1a760e8c9b9bd31e831d8ffe7c497e87ec6c18
|
|
@@ -1647,8 +1647,6 @@ module Google
|
|
|
1647
1647
|
# @return [::String,nil]
|
|
1648
1648
|
# @!attribute [rw] credentials
|
|
1649
1649
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1650
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1651
|
-
# * (`Hash`) A service account key as a Hash
|
|
1652
1650
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1653
1651
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1654
1652
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1657,7 +1655,26 @@ module Google
|
|
|
1657
1655
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1658
1656
|
# * (`nil`) indicating no credentials
|
|
1659
1657
|
#
|
|
1660
|
-
# Warning:
|
|
1658
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1659
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1660
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1661
|
+
#
|
|
1662
|
+
# @example
|
|
1663
|
+
#
|
|
1664
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1665
|
+
# # on the appropriate credentials class for your environment.
|
|
1666
|
+
#
|
|
1667
|
+
# require "googleauth"
|
|
1668
|
+
#
|
|
1669
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1670
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1671
|
+
# )
|
|
1672
|
+
#
|
|
1673
|
+
# client = ::Google::Cloud::Build::V2::RepositoryManager::Client.new do |config|
|
|
1674
|
+
# config.credentials = credentials
|
|
1675
|
+
# end
|
|
1676
|
+
#
|
|
1677
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1661
1678
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1662
1679
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1663
1680
|
# 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.
|