google-cloud-cloud_quotas-v1beta 0.6.0 → 0.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: ff45085b151efcb47fea1fa5d974e006202d383d1435414dfb2e923fb02cc767
|
|
4
|
+
data.tar.gz: 521343022ef06eccee3aecb3af70e5e93b2456198e6db49d1fc05e559a1a79bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8679d3cdc98b680b918f54691963a84717e372d39b7c22b9bb4d13e53d755136e22021249c86dbe8056ceb552e31a4cae856a03896759f8f45538b2f72d5dce8
|
|
7
|
+
data.tar.gz: 335074322b1ef77577a86f13223ebd2a59865a899444815adcfd0c978cb53ab165018ab35ca4bd913de794f3b94872102d16f24fa2eaee6f7a8362fed160770f
|
|
@@ -848,8 +848,6 @@ module Google
|
|
|
848
848
|
# @return [::String,nil]
|
|
849
849
|
# @!attribute [rw] credentials
|
|
850
850
|
# Credentials to send with calls. You may provide any of the following types:
|
|
851
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
852
|
-
# * (`Hash`) A service account key as a Hash
|
|
853
851
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
854
852
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
855
853
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -858,7 +856,26 @@ module Google
|
|
|
858
856
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
859
857
|
# * (`nil`) indicating no credentials
|
|
860
858
|
#
|
|
861
|
-
# Warning:
|
|
859
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
860
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
861
|
+
# Google APIs can compromise the security of your systems and data.
|
|
862
|
+
#
|
|
863
|
+
# @example
|
|
864
|
+
#
|
|
865
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
866
|
+
# # on the appropriate credentials class for your environment.
|
|
867
|
+
#
|
|
868
|
+
# require "googleauth"
|
|
869
|
+
#
|
|
870
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
871
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
872
|
+
# )
|
|
873
|
+
#
|
|
874
|
+
# client = ::Google::Cloud::CloudQuotas::V1beta::CloudQuotas::Client.new do |config|
|
|
875
|
+
# config.credentials = credentials
|
|
876
|
+
# end
|
|
877
|
+
#
|
|
878
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
862
879
|
# external source for authentication to Google Cloud, you must validate it before
|
|
863
880
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
864
881
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -410,8 +410,6 @@ module Google
|
|
|
410
410
|
# @return [::String,nil]
|
|
411
411
|
# @!attribute [rw] credentials
|
|
412
412
|
# Credentials to send with calls. You may provide any of the following types:
|
|
413
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
414
|
-
# * (`Hash`) A service account key as a Hash
|
|
415
413
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
416
414
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
417
415
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -420,7 +418,26 @@ module Google
|
|
|
420
418
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
421
419
|
# * (`nil`) indicating no credentials
|
|
422
420
|
#
|
|
423
|
-
# Warning:
|
|
421
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
422
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
423
|
+
# Google APIs can compromise the security of your systems and data.
|
|
424
|
+
#
|
|
425
|
+
# @example
|
|
426
|
+
#
|
|
427
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
428
|
+
# # on the appropriate credentials class for your environment.
|
|
429
|
+
#
|
|
430
|
+
# require "googleauth"
|
|
431
|
+
#
|
|
432
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
433
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
434
|
+
# )
|
|
435
|
+
#
|
|
436
|
+
# client = ::Google::Cloud::CloudQuotas::V1beta::QuotaAdjusterSettingsManager::Client.new do |config|
|
|
437
|
+
# config.credentials = credentials
|
|
438
|
+
# end
|
|
439
|
+
#
|
|
440
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
424
441
|
# external source for authentication to Google Cloud, you must validate it before
|
|
425
442
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
426
443
|
# configuration to Google APIs can compromise the security of your systems and data.
|