google-iam-v1beta 0.13.0 → 0.13.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: baff88397211b2fb7d8324ded82bf0c80e7147bde9934d2069ab517b993dc581
|
|
4
|
+
data.tar.gz: 2bacc0640b31a3d1a9734e48511d983440b641ebd337fbc4fa540a109a7110d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc9378e1506e1fb915bf43dfb0633bcf6a8b0350be577da3355792d838dbffab764a869c81f9a126d2e38bebe4c8e676e7ae566ff2d7f1b4c910a3d2e5ddf2a6
|
|
7
|
+
data.tar.gz: b91e2e845419c4e5b1d06e419b844dbffb043fa69f1db7360053039d47437d02f65c97b8af9d37eb74e2b41b004dc53723b67bfeb30bb3a3bcf4a929d4a9dc56
|
|
@@ -1471,8 +1471,6 @@ module Google
|
|
|
1471
1471
|
# @return [::String,nil]
|
|
1472
1472
|
# @!attribute [rw] credentials
|
|
1473
1473
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1474
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1475
|
-
# * (`Hash`) A service account key as a Hash
|
|
1476
1474
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1477
1475
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1478
1476
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1481,7 +1479,26 @@ module Google
|
|
|
1481
1479
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1482
1480
|
# * (`nil`) indicating no credentials
|
|
1483
1481
|
#
|
|
1484
|
-
# Warning:
|
|
1482
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1483
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1484
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1485
|
+
#
|
|
1486
|
+
# @example
|
|
1487
|
+
#
|
|
1488
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1489
|
+
# # on the appropriate credentials class for your environment.
|
|
1490
|
+
#
|
|
1491
|
+
# require "googleauth"
|
|
1492
|
+
#
|
|
1493
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1494
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1495
|
+
# )
|
|
1496
|
+
#
|
|
1497
|
+
# client = ::Google::Iam::V1beta::WorkloadIdentityPools::Client.new do |config|
|
|
1498
|
+
# config.credentials = credentials
|
|
1499
|
+
# end
|
|
1500
|
+
#
|
|
1501
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1485
1502
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1486
1503
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1487
1504
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -641,8 +641,6 @@ module Google
|
|
|
641
641
|
# @return [::String,nil]
|
|
642
642
|
# @!attribute [rw] credentials
|
|
643
643
|
# Credentials to send with calls. You may provide any of the following types:
|
|
644
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
645
|
-
# * (`Hash`) A service account key as a Hash
|
|
646
644
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
647
645
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
648
646
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -651,7 +649,26 @@ module Google
|
|
|
651
649
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
652
650
|
# * (`nil`) indicating no credentials
|
|
653
651
|
#
|
|
654
|
-
# Warning:
|
|
652
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
653
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
654
|
+
# Google APIs can compromise the security of your systems and data.
|
|
655
|
+
#
|
|
656
|
+
# @example
|
|
657
|
+
#
|
|
658
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
659
|
+
# # on the appropriate credentials class for your environment.
|
|
660
|
+
#
|
|
661
|
+
# require "googleauth"
|
|
662
|
+
#
|
|
663
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
664
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
665
|
+
# )
|
|
666
|
+
#
|
|
667
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
668
|
+
# config.credentials = credentials
|
|
669
|
+
# end
|
|
670
|
+
#
|
|
671
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
655
672
|
# external source for authentication to Google Cloud, you must validate it before
|
|
656
673
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
657
674
|
# configuration to Google APIs can compromise the security of your systems and data.
|