google-cloud-os_login-v1beta 0.19.0 → 0.19.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: 84dfb9ba85dba62b2a37f1f4f2afa906b3d7b7c59b4321f7e07d46166e302c51
4
- data.tar.gz: d286208804e9f2969e2abc7adc193048f89d310dcf76a7030e9725f150939387
3
+ metadata.gz: a1e3d466ec8349c29aae34f77bbc9cb0e4a8a1e3c9667ad32a85b8d3fa1f7de9
4
+ data.tar.gz: a5e23a053f92dc91e85bed04b29a3fceb160df876fe560291537bdc820509e2b
5
5
  SHA512:
6
- metadata.gz: 7b7f5926c027ce6c78fee3fadb5485b043fb00fa3a4d423c36a51ab87c8d1f17e31eb7d25b4cb60a8e86fddc821f5ba26872f21fb57af2e743a394433744ae44
7
- data.tar.gz: 26a45526f21438c9ef650778ca505fb3635158591bdc829b051aec2a9b527b6ac9ef228e713f78bdd7e0c52f62d1eba3ac927e3c62f645a94c3136e2d26eccef
6
+ metadata.gz: 66a68f7747a4c6220258d1d4316f4808b37086965a1416a78d08f0d70bfbe285bf8a4517992baf7051f7a95916f28aeff7b141d9cb74c40bc3fc6e54a9c717b0
7
+ data.tar.gz: fcbf480778eb36e4534609dc1904fa99e5eaa36375632f96f1d310a35125effefbc049b2d2bff5d7f9f61653c82b0691fcc528dbe7a016731e96f6a22404bac8
@@ -967,8 +967,6 @@ module Google
967
967
  # @return [::String,nil]
968
968
  # @!attribute [rw] credentials
969
969
  # Credentials to send with calls. You may provide any of the following types:
970
- # * (`String`) The path to a service account key file in JSON format
971
- # * (`Hash`) A service account key as a Hash
972
970
  # * (`Google::Auth::Credentials`) A googleauth credentials object
973
971
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
974
972
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -977,7 +975,26 @@ module Google
977
975
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
978
976
  # * (`nil`) indicating no credentials
979
977
  #
980
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
978
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
979
+ # is deprecated. Providing an unvalidated credential configuration to
980
+ # Google APIs can compromise the security of your systems and data.
981
+ #
982
+ # @example
983
+ #
984
+ # # The recommended way to provide credentials is to use the `make_creds` method
985
+ # # on the appropriate credentials class for your environment.
986
+ #
987
+ # require "googleauth"
988
+ #
989
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
990
+ # json_key_io: ::File.open("/path/to/keyfile.json")
991
+ # )
992
+ #
993
+ # client = ::Google::Cloud::OsLogin::V1beta::OsLoginService::Client.new do |config|
994
+ # config.credentials = credentials
995
+ # end
996
+ #
997
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
981
998
  # external source for authentication to Google Cloud, you must validate it before
982
999
  # providing it to a Google API client library. Providing an unvalidated credential
983
1000
  # 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 OsLogin
23
23
  module V1beta
24
- VERSION = "0.19.0"
24
+ VERSION = "0.19.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-os_login-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC