google-cloud-os_login-v1 1.3.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: b1f43b4df13f595c64498e8264716b6d864ee61306a02b1a2cbbf3e8ffff89b3
|
|
4
|
+
data.tar.gz: df904dc409868752b1cd95e792c541df3222e72c6cadb50e559386437d7876b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|
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
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.2'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.2'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
95
|
version: '0'
|
|
96
96
|
requirements: []
|
|
97
|
-
rubygems_version: 3.6.
|
|
97
|
+
rubygems_version: 3.6.9
|
|
98
98
|
specification_version: 4
|
|
99
99
|
summary: You can use OS Login to manage access to your VM instances using IAM roles.
|
|
100
100
|
test_files: []
|