google-cloud-alloy_db-v1 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: e1c9fac8426647695d12e7d4c5d3a159629ace299d77ac92c07efc02743fbb1b
4
- data.tar.gz: 30e3a378f7157ae54ccb16151e79243bf2a5b2fb8069f6013167642cc90177f5
3
+ metadata.gz: 1e87f1f40f284fda2932b75abb91300420ecad3bd8a288e5889b0af301e2041b
4
+ data.tar.gz: 33fa9b14ca73f390c836adc17f13b29b9227205f13b19ca7b1d29016d78da560
5
5
  SHA512:
6
- metadata.gz: f8837c14e6f8be4598adc3711a831a0335362ebd0838f5d1abbf59853db909f262717087d50c66dbf0224466c68441a3ce71d34494759fb94394ccb2aef2578e
7
- data.tar.gz: 0b46da0a3a18e73b26010551298531fb60f316c41afb2b10285bbdfe41a4161802dbcd1ec57fbf8da137d0d663f095358762b6148a72e81364195d6cac1c85b4
6
+ metadata.gz: 9d91667b78c689f29257e249007effccd050ad642874fe868a1104cd13bdd8760d14840c06d3794ba7c15b51d16fd964d1f8ff8de0d92faddbb7ec216afec918
7
+ data.tar.gz: 694989a78e7b4f2e7867ad5fbc3791d9f9f494fddf6ddbb339671c003376387d4db18997141226b34217e759a831ea4994934b1ce68fa622ba7504500b4d25a0
@@ -4387,8 +4387,6 @@ module Google
4387
4387
  # @return [::String,nil]
4388
4388
  # @!attribute [rw] credentials
4389
4389
  # Credentials to send with calls. You may provide any of the following types:
4390
- # * (`String`) The path to a service account key file in JSON format
4391
- # * (`Hash`) A service account key as a Hash
4392
4390
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4393
4391
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4394
4392
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4397,7 +4395,26 @@ module Google
4397
4395
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4398
4396
  # * (`nil`) indicating no credentials
4399
4397
  #
4400
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4398
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4399
+ # is deprecated. Providing an unvalidated credential configuration to
4400
+ # Google APIs can compromise the security of your systems and data.
4401
+ #
4402
+ # @example
4403
+ #
4404
+ # # The recommended way to provide credentials is to use the `make_creds` method
4405
+ # # on the appropriate credentials class for your environment.
4406
+ #
4407
+ # require "googleauth"
4408
+ #
4409
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4410
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4411
+ # )
4412
+ #
4413
+ # client = ::Google::Cloud::AlloyDB::V1::AlloyDBAdmin::Client.new do |config|
4414
+ # config.credentials = credentials
4415
+ # end
4416
+ #
4417
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4401
4418
  # external source for authentication to Google Cloud, you must validate it before
4402
4419
  # providing it to a Google API client library. Providing an unvalidated credential
4403
4420
  # 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::V1::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 V1
24
- VERSION = "1.6.0"
24
+ VERSION = "1.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-alloy_db-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC