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: c4877d22b8b524dd0767069f8b244c8a94b306f0aa58e30eb74f5c438fe7af99
4
- data.tar.gz: a5b383bc53ae6b4fb1266202865e99aa00ad29b310675d2108ab7b5fe2ecbe44
3
+ metadata.gz: ff45085b151efcb47fea1fa5d974e006202d383d1435414dfb2e923fb02cc767
4
+ data.tar.gz: 521343022ef06eccee3aecb3af70e5e93b2456198e6db49d1fc05e559a1a79bc
5
5
  SHA512:
6
- metadata.gz: f0997aeafbb1191419f2b8ace99fb2bed047033c79ae09ed2ef344c85bfb2b29d5a08b2616c20aaca1c783c6ebbf37ce763347e7b3d4f7928407e27cbed4a688
7
- data.tar.gz: 40f5d846a2f886c48ca1f7fd9cfdbfa7e0e61eadb8d261bd3ac247e6bcf146175bd39de618c1408b5324f9397313cd7d16c138c1fbc8999dfb77f21821795704
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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudQuotas
23
23
  module V1beta
24
- VERSION = "0.6.0"
24
+ VERSION = "0.6.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-cloud_quotas-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC