google-cloud-artifact_registry-v1beta2 0.17.0 → 0.17.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: 94480f5b072b6eb8352e49d235fb4761733f8315da0c81d060f7ed81b1d02699
|
|
4
|
+
data.tar.gz: 6806a6b98ab8d80ee1e0a69bc780591fe2c2cca3ce7cad0d43597f7230eaa4c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ec9a66c1839465a70d410f995e0932d25885bea2df6c0a04f1d30ca80cfa4f1a8b6246f8c8bc115f5354adbefe9f29765838308de9f7a41f7a6b92d8d687e4c
|
|
7
|
+
data.tar.gz: c2c8ee381ef7a3fd37cf831b026000e2ec86ccf9d49da649056aefa5b823127431cbf73fdae5da5f25f91e866be5914100404dfd4b2f313c7878511cf5b7a2cf
|
|
@@ -2663,8 +2663,6 @@ module Google
|
|
|
2663
2663
|
# @return [::String,nil]
|
|
2664
2664
|
# @!attribute [rw] credentials
|
|
2665
2665
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2666
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2667
|
-
# * (`Hash`) A service account key as a Hash
|
|
2668
2666
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2669
2667
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2670
2668
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2673,7 +2671,26 @@ module Google
|
|
|
2673
2671
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2674
2672
|
# * (`nil`) indicating no credentials
|
|
2675
2673
|
#
|
|
2676
|
-
# Warning:
|
|
2674
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2675
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2676
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2677
|
+
#
|
|
2678
|
+
# @example
|
|
2679
|
+
#
|
|
2680
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2681
|
+
# # on the appropriate credentials class for your environment.
|
|
2682
|
+
#
|
|
2683
|
+
# require "googleauth"
|
|
2684
|
+
#
|
|
2685
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2686
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2687
|
+
# )
|
|
2688
|
+
#
|
|
2689
|
+
# client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new do |config|
|
|
2690
|
+
# config.credentials = credentials
|
|
2691
|
+
# end
|
|
2692
|
+
#
|
|
2693
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2677
2694
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2678
2695
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2679
2696
|
# 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.
|