google-cloud-domains-v1beta1 0.14.0 → 0.14.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: 0764b8d06d07c8f0e0840eb844b1f000cd3b87219790fcacde611141c830f33a
|
|
4
|
+
data.tar.gz: aff92043623b5ca75c24c34761066b160a5753eab35e43a2176c11f0613b0392
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d336c8a87016d0ef6fb25e3b9309d0d9b64303e49ea5eb04dfd7b8374558bc98b3427524ebcb0a3c7745596529520c3ca7c77dd57d4cd37816733a440c7c6419
|
|
7
|
+
data.tar.gz: 19e5d6fd74d78c58637ce70b7011708e9d30bce8768e43b070cdf81629ec15827138899abec7a3ca7fe20d383f50dfbb2f3f9af07532fe86d8b0778e37cad637
|
|
@@ -1778,8 +1778,6 @@ module Google
|
|
|
1778
1778
|
# @return [::String,nil]
|
|
1779
1779
|
# @!attribute [rw] credentials
|
|
1780
1780
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1781
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1782
|
-
# * (`Hash`) A service account key as a Hash
|
|
1783
1781
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1784
1782
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1785
1783
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1788,7 +1786,26 @@ module Google
|
|
|
1788
1786
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1789
1787
|
# * (`nil`) indicating no credentials
|
|
1790
1788
|
#
|
|
1791
|
-
# Warning:
|
|
1789
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1790
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1791
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1792
|
+
#
|
|
1793
|
+
# @example
|
|
1794
|
+
#
|
|
1795
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1796
|
+
# # on the appropriate credentials class for your environment.
|
|
1797
|
+
#
|
|
1798
|
+
# require "googleauth"
|
|
1799
|
+
#
|
|
1800
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1801
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1802
|
+
# )
|
|
1803
|
+
#
|
|
1804
|
+
# client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new do |config|
|
|
1805
|
+
# config.credentials = credentials
|
|
1806
|
+
# end
|
|
1807
|
+
#
|
|
1808
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1792
1809
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1793
1810
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1794
1811
|
# 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.
|