google-cloud-os_login-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: 31260ae404ed00bc564afa8776a20fd2d1a9be0c3abb1cb5c2dd41fc930f9923
4
- data.tar.gz: 31fa6ffe751dae775213032b2b3416553612954b0fd8759cc0226c456d5f0a90
3
+ metadata.gz: b1f43b4df13f595c64498e8264716b6d864ee61306a02b1a2cbbf3e8ffff89b3
4
+ data.tar.gz: df904dc409868752b1cd95e792c541df3222e72c6cadb50e559386437d7876b9
5
5
  SHA512:
6
- metadata.gz: dfac4c1f9a8139310862b255f322a7892d852bddf2a4e3d98294762d6fa3fe3e90e92a16a50f8d9f79aeaa3e29235a535a2eab7c105e296f6b5aa6aabbd1fc99
7
- data.tar.gz: c9f6ba04fa51318267f5ff5cd6a091392214014ee991b4a4b3d9fc2cf93402e219487bf1c4ef5b5f754443f029a6612155977aff5c66feed333cd89befdd0b54
6
+ metadata.gz: 9553736bf0826b67f08f840ec9bab168de4c984c6885af2a58c60afc8635527108dac64357428300909fe0f5900c303f617682f8a10e622e0a82534981210a9e
7
+ data.tar.gz: 92984ff0e76b7416bf41c9d5298ca4188d31a106181679c32f2f184b89da3e37c8539062c7cec995f256a72134cca78346ce982a723f0dfc6882257722f31b03
@@ -876,8 +876,6 @@ module Google
876
876
  # @return [::String,nil]
877
877
  # @!attribute [rw] credentials
878
878
  # Credentials to send with calls. You may provide any of the following types:
879
- # * (`String`) The path to a service account key file in JSON format
880
- # * (`Hash`) A service account key as a Hash
881
879
  # * (`Google::Auth::Credentials`) A googleauth credentials object
882
880
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
883
881
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -886,7 +884,26 @@ module Google
886
884
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
887
885
  # * (`nil`) indicating no credentials
888
886
  #
889
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
887
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
888
+ # is deprecated. Providing an unvalidated credential configuration to
889
+ # Google APIs can compromise the security of your systems and data.
890
+ #
891
+ # @example
892
+ #
893
+ # # The recommended way to provide credentials is to use the `make_creds` method
894
+ # # on the appropriate credentials class for your environment.
895
+ #
896
+ # require "googleauth"
897
+ #
898
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
899
+ # json_key_io: ::File.open("/path/to/keyfile.json")
900
+ # )
901
+ #
902
+ # client = ::Google::Cloud::OsLogin::V1::OsLoginService::Client.new do |config|
903
+ # config.credentials = credentials
904
+ # end
905
+ #
906
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
890
907
  # external source for authentication to Google Cloud, you must validate it before
891
908
  # providing it to a Google API client library. Providing an unvalidated credential
892
909
  # 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 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-os_login-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