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: 9d823eba3ff85b443afcf6860e0e1bae5e4844fb4943e1d9811d0e83ca76c8b6
4
- data.tar.gz: 9edeee1381ab3eb659c5a930157ba978b7223a439563c20d1f7468514c25a7e4
3
+ metadata.gz: '05582de862581b0a45ebe76c311d81c3f4223197905bc79c2da82b1231487ec2'
4
+ data.tar.gz: eaccbbeca016a8d8576488f28bc46c637959738afa348bd116873f6dabdb4bea
5
5
  SHA512:
6
- metadata.gz: 7f2843edbfc7f95906313ab372f6a53934ac7bf7344547312b1c82266a3467617a4cddb214bc7c78db44803d9c116ead52125c73eaf2813a5bdd55c10b13c683
7
- data.tar.gz: 066efefdce8f9ffeca687acd8e1edd52865bf96a96621a25a51be661b69e0ebf1213ff90b2e8c2572d8a2f89a10c2882aab49a77372c26c87027360de4357240
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Recommender
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.4.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-recommender-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC