google-cloud-recommender-v1 1.4.0 → 1.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: '05582de862581b0a45ebe76c311d81c3f4223197905bc79c2da82b1231487ec2'
|
|
4
|
+
data.tar.gz: eaccbbeca016a8d8576488f28bc46c637959738afa348bd116873f6dabdb4bea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 86fb0653f886145bd92de039ccbd87720cdfdbdc659f2cea6ea5bfc340a656c755a1542487fb66ffbc5c72839254f58acdbebc86d4c156a4cc84950b3b58fd9a
|
|
7
|
+
data.tar.gz: be6fa2032b109d75d1679eb30520f3a7428a8fac4ea4d58f893ef7259055f3cf1a4a1ec39638be20f5986c19e021e2744be4ed852da29294774f7509a7b7aba1
|
|
@@ -1582,8 +1582,6 @@ module Google
|
|
|
1582
1582
|
# @return [::String,nil]
|
|
1583
1583
|
# @!attribute [rw] credentials
|
|
1584
1584
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1585
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1586
|
-
# * (`Hash`) A service account key as a Hash
|
|
1587
1585
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1588
1586
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1589
1587
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1592,7 +1590,26 @@ module Google
|
|
|
1592
1590
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1593
1591
|
# * (`nil`) indicating no credentials
|
|
1594
1592
|
#
|
|
1595
|
-
# Warning:
|
|
1593
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1594
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1595
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1596
|
+
#
|
|
1597
|
+
# @example
|
|
1598
|
+
#
|
|
1599
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1600
|
+
# # on the appropriate credentials class for your environment.
|
|
1601
|
+
#
|
|
1602
|
+
# require "googleauth"
|
|
1603
|
+
#
|
|
1604
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1605
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1606
|
+
# )
|
|
1607
|
+
#
|
|
1608
|
+
# client = ::Google::Cloud::Recommender::V1::Recommender::Client.new do |config|
|
|
1609
|
+
# config.credentials = credentials
|
|
1610
|
+
# end
|
|
1611
|
+
#
|
|
1612
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1596
1613
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1597
1614
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1598
1615
|
# configuration to Google APIs can compromise the security of your systems and data.
|