google-cloud-gsuite_add_ons-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: b8f378d298caaad6a32675dc86f24df6b4060b4329b8f5ba09c79eee6ad8c199
|
|
4
|
+
data.tar.gz: 1414fc52c96861ecec8d2d674cf5cf24d061a5517430b729696ee8651552bbb6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 832448aa7e45fc8fac3b126d3c644e5d6572123bd16d581b22e1f510944947d6f00be080fc9ba4f10eef0d39e709ff219c8a77bac39a4ee1c2f1bbd283ea091d
|
|
7
|
+
data.tar.gz: 6a740953a8c7000c217fec101bc6dbd68cf86a96fb3b10147ebd95638876b94186e54cb4c031ee85aa64ef513e915e88f6f21473b3b3909621d30c4fff83c6fd
|
|
@@ -1067,8 +1067,6 @@ module Google
|
|
|
1067
1067
|
# @return [::String,nil]
|
|
1068
1068
|
# @!attribute [rw] credentials
|
|
1069
1069
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1070
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1071
|
-
# * (`Hash`) A service account key as a Hash
|
|
1072
1070
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1073
1071
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1074
1072
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1077,7 +1075,26 @@ module Google
|
|
|
1077
1075
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1078
1076
|
# * (`nil`) indicating no credentials
|
|
1079
1077
|
#
|
|
1080
|
-
# Warning:
|
|
1078
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1079
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1080
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1081
|
+
#
|
|
1082
|
+
# @example
|
|
1083
|
+
#
|
|
1084
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1085
|
+
# # on the appropriate credentials class for your environment.
|
|
1086
|
+
#
|
|
1087
|
+
# require "googleauth"
|
|
1088
|
+
#
|
|
1089
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1090
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1091
|
+
# )
|
|
1092
|
+
#
|
|
1093
|
+
# client = ::Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Client.new do |config|
|
|
1094
|
+
# config.credentials = credentials
|
|
1095
|
+
# end
|
|
1096
|
+
#
|
|
1097
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1081
1098
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1082
1099
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1083
1100
|
# configuration to Google APIs can compromise the security of your systems and data.
|