google-cloud-org_policy-v2 1.6.0 → 1.6.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: 8ec699f9f75d2233b4483bcb4866d49a635b61fa0cccf440b0a62a20bf6bc3da
|
|
4
|
+
data.tar.gz: 16b03a3b0c85b4c770310f2ae7bee193acf1fe6f2731b044db5b344a7d19a4fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6f8037d2e061b65a180130cc8186c63d211a7fbcddc5d4232afcdcf13300acab21622d3dcf5f34d71bf29e3eea2dd97139041a36e7037d430b2708f6db37d36
|
|
7
|
+
data.tar.gz: 9b2a07f8694358e50014f4c62a779123f0ab2a289d4b31bd78eeb52d31f60b0e9304e35009e3346ef350e058dd006fc21be2382f4b60fa02267ec61c87b2a4a1
|
|
@@ -1441,8 +1441,6 @@ module Google
|
|
|
1441
1441
|
# @return [::String,nil]
|
|
1442
1442
|
# @!attribute [rw] credentials
|
|
1443
1443
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1444
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1445
|
-
# * (`Hash`) A service account key as a Hash
|
|
1446
1444
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1447
1445
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1448
1446
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1451,7 +1449,26 @@ module Google
|
|
|
1451
1449
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1452
1450
|
# * (`nil`) indicating no credentials
|
|
1453
1451
|
#
|
|
1454
|
-
# Warning:
|
|
1452
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1453
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1454
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1455
|
+
#
|
|
1456
|
+
# @example
|
|
1457
|
+
#
|
|
1458
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1459
|
+
# # on the appropriate credentials class for your environment.
|
|
1460
|
+
#
|
|
1461
|
+
# require "googleauth"
|
|
1462
|
+
#
|
|
1463
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1464
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1465
|
+
# )
|
|
1466
|
+
#
|
|
1467
|
+
# client = ::Google::Cloud::OrgPolicy::V2::OrgPolicy::Client.new do |config|
|
|
1468
|
+
# config.credentials = credentials
|
|
1469
|
+
# end
|
|
1470
|
+
#
|
|
1471
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1455
1472
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1456
1473
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1457
1474
|
# configuration to Google APIs can compromise the security of your systems and data.
|