google-cloud-alloy_db-v1alpha 0.17.0 → 0.17.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: 0cd71f403962c88f5494fcb0198b6bc874ff8832f80601be4c3936c48ae1130f
4
- data.tar.gz: e693da32e0ab25563b7e8af39f763fa5a656a4b53fa2d5e175d32228d3a83010
3
+ metadata.gz: 14730b9eadf4d0217c168004291a2172a106213f7a145f9bdab4b7345a28af28
4
+ data.tar.gz: f5f47b8b359ec7ce384865ce9458fb497dd6bc605aa76e92fd5e0bd284138124
5
5
  SHA512:
6
- metadata.gz: 67a7d3b4dd73d49191086d3e9795210e8b3d29e8b3f1e7df9517d624180bbc81679c75c7a1fb43c0dc0ddc3a1dd0ce123aa16f7094b0682e8b308d5d933ff572
7
- data.tar.gz: 928bf96d40579adadb1072e0dcd324354800c5061c1e6c8a113294bf33c0043ea95fdff58a546ae61cbd506080cc33608a65010e44f73b8725cf3029e4e96531
6
+ metadata.gz: f8324df0156ed01bde46acecbe7fa42205b6d054b4962b3c6515a933a9c87995632014e1e61e8479b5ed20db5dead84bd15e6a2e693816d69c51872c6666fabe
7
+ data.tar.gz: 2060b348c7ba9e6dfc8bb71ae364f2161739dd56fd08e73eca3f41e8490ef932a6ed6100eadf6016075b9359dba88ed5a8a871e2137e41805626621a6a83d788
@@ -4494,8 +4494,6 @@ module Google
4494
4494
  # @return [::String,nil]
4495
4495
  # @!attribute [rw] credentials
4496
4496
  # Credentials to send with calls. You may provide any of the following types:
4497
- # * (`String`) The path to a service account key file in JSON format
4498
- # * (`Hash`) A service account key as a Hash
4499
4497
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4500
4498
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4501
4499
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4504,7 +4502,26 @@ module Google
4504
4502
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4505
4503
  # * (`nil`) indicating no credentials
4506
4504
  #
4507
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4505
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4506
+ # is deprecated. Providing an unvalidated credential configuration to
4507
+ # Google APIs can compromise the security of your systems and data.
4508
+ #
4509
+ # @example
4510
+ #
4511
+ # # The recommended way to provide credentials is to use the `make_creds` method
4512
+ # # on the appropriate credentials class for your environment.
4513
+ #
4514
+ # require "googleauth"
4515
+ #
4516
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4517
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4518
+ # )
4519
+ #
4520
+ # client = ::Google::Cloud::AlloyDB::V1alpha::AlloyDBAdmin::Client.new do |config|
4521
+ # config.credentials = credentials
4522
+ # end
4523
+ #
4524
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4508
4525
  # external source for authentication to Google Cloud, you must validate it before
4509
4526
  # providing it to a Google API client library. Providing an unvalidated credential
4510
4527
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -365,8 +365,6 @@ module Google
365
365
  # @return [::String,nil]
366
366
  # @!attribute [rw] credentials
367
367
  # Credentials to send with calls. You may provide any of the following types:
368
- # * (`String`) The path to a service account key file in JSON format
369
- # * (`Hash`) A service account key as a Hash
370
368
  # * (`Google::Auth::Credentials`) A googleauth credentials object
371
369
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
372
370
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -375,7 +373,26 @@ module Google
375
373
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
376
374
  # * (`nil`) indicating no credentials
377
375
  #
378
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
376
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
377
+ # is deprecated. Providing an unvalidated credential configuration to
378
+ # Google APIs can compromise the security of your systems and data.
379
+ #
380
+ # @example
381
+ #
382
+ # # The recommended way to provide credentials is to use the `make_creds` method
383
+ # # on the appropriate credentials class for your environment.
384
+ #
385
+ # require "googleauth"
386
+ #
387
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
388
+ # json_key_io: ::File.open("/path/to/keyfile.json")
389
+ # )
390
+ #
391
+ # client = ::Google::Cloud::AlloyDB::V1alpha::AlloyDBCloudSQLAdmin::Client.new do |config|
392
+ # config.credentials = credentials
393
+ # end
394
+ #
395
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
379
396
  # external source for authentication to Google Cloud, you must validate it before
380
397
  # providing it to a Google API client library. Providing an unvalidated credential
381
398
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # 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 AlloyDB
23
23
  module V1alpha
24
- VERSION = "0.17.0"
24
+ VERSION = "0.17.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-alloy_db-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC