google-cloud-artifact_registry-v1 1.7.0 → 1.7.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: 801362f5ca7405fe0e94ae7ebf941801821e6962cbde2c9ff473219d8beda197
|
|
4
|
+
data.tar.gz: ee2dc49929a7b5eb8995853aa4cf15414d8323313f8c868bde20cb373825067f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 81bdeee3f5c3eea134e8fc0ccdb5bba46983fbd2cbb029c358a67aa9040e598dae4ea7edcc2e5cb810890ac6ad44bd3a1d261caa7f2f6e93e1714a0e2fe0ab5b
|
|
7
|
+
data.tar.gz: c3d877511d880bc83024961ec9ab63e79308ab6bd2416e25d802fba31c9a054bc6ca8f533d0a53b9c07766e30d20aad66ef26ee513d2af90dea7d2c1a8da4326
|
|
@@ -4947,8 +4947,6 @@ module Google
|
|
|
4947
4947
|
# @return [::String,nil]
|
|
4948
4948
|
# @!attribute [rw] credentials
|
|
4949
4949
|
# Credentials to send with calls. You may provide any of the following types:
|
|
4950
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
4951
|
-
# * (`Hash`) A service account key as a Hash
|
|
4952
4950
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
4953
4951
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
4954
4952
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -4957,7 +4955,26 @@ module Google
|
|
|
4957
4955
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
4958
4956
|
# * (`nil`) indicating no credentials
|
|
4959
4957
|
#
|
|
4960
|
-
# Warning:
|
|
4958
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
4959
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
4960
|
+
# Google APIs can compromise the security of your systems and data.
|
|
4961
|
+
#
|
|
4962
|
+
# @example
|
|
4963
|
+
#
|
|
4964
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
4965
|
+
# # on the appropriate credentials class for your environment.
|
|
4966
|
+
#
|
|
4967
|
+
# require "googleauth"
|
|
4968
|
+
#
|
|
4969
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
4970
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
4971
|
+
# )
|
|
4972
|
+
#
|
|
4973
|
+
# client = ::Google::Cloud::ArtifactRegistry::V1::ArtifactRegistry::Client.new do |config|
|
|
4974
|
+
# config.credentials = credentials
|
|
4975
|
+
# end
|
|
4976
|
+
#
|
|
4977
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
4961
4978
|
# external source for authentication to Google Cloud, you must validate it before
|
|
4962
4979
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
4963
4980
|
# 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.
|