google-cloud-access_approval-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: 3ab010fb8e0788f066153fa0fe62bf62653dcf586c0ca523816ec4e535736a21
|
|
4
|
+
data.tar.gz: 32006c456fb1549d9d060b19abaed5acfbc21486f6f94807290f2f794c80d833
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adfb7fd9816d4fd9dfa646debbd2bd966993ff16c85c11ef0be15a4dbf15e4d0dd1162e53c37c07cff7a5b00a810d15047a63b1d9611faced66ae5b648afc794
|
|
7
|
+
data.tar.gz: bef8026891062aeaa6190781f53189bc7cd67a48a572fa6d319e6f90b63d055e893e32628a2a79766fa37c9fbade5520b9360c9c0148f7ccb18d8ba3c8979fcd
|
|
@@ -1108,8 +1108,6 @@ module Google
|
|
|
1108
1108
|
# @return [::String,nil]
|
|
1109
1109
|
# @!attribute [rw] credentials
|
|
1110
1110
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1111
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1112
|
-
# * (`Hash`) A service account key as a Hash
|
|
1113
1111
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1114
1112
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1115
1113
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1118,7 +1116,26 @@ module Google
|
|
|
1118
1116
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1119
1117
|
# * (`nil`) indicating no credentials
|
|
1120
1118
|
#
|
|
1121
|
-
# Warning:
|
|
1119
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1120
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1121
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1122
|
+
#
|
|
1123
|
+
# @example
|
|
1124
|
+
#
|
|
1125
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1126
|
+
# # on the appropriate credentials class for your environment.
|
|
1127
|
+
#
|
|
1128
|
+
# require "googleauth"
|
|
1129
|
+
#
|
|
1130
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1131
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1132
|
+
# )
|
|
1133
|
+
#
|
|
1134
|
+
# client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
|
|
1135
|
+
# config.credentials = credentials
|
|
1136
|
+
# end
|
|
1137
|
+
#
|
|
1138
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1122
1139
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1123
1140
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1124
1141
|
# configuration to Google APIs can compromise the security of your systems and data.
|