google-cloud-cloud_dms-v1 1.5.0 → 1.5.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: 9b596c6bb6072cf375ab2f248c51500652e6a37011d45a2c977bd7e55e750cc7
4
- data.tar.gz: 46965756cdf56df59ba1794624998bcc862962880c4ef01391159ec53c45b2d1
3
+ metadata.gz: 26b9c415c009420c0a48c81bc3e4c61fa3e20ab2f9a3674119584b8bb22aef1f
4
+ data.tar.gz: d371216ca68c714141132a2528e794393352d83ff905ccce613173d0154888c6
5
5
  SHA512:
6
- metadata.gz: 2f746673b16182938fff726052b7c5182e62206f451a5689789c8892aaa287eb80a1675f5b123e05a8b1ba983cf0a03fd347ea54077b4b7821d367a0c48daaa1
7
- data.tar.gz: daad73e85eec49535d7f037cd9a259f245631dc2ac57e01997a8a7b5da814ecab18b0cef2022ab08708bca4692c123f083114ef22af1821ff1057ff1ac4326cc
6
+ metadata.gz: ae172279c3986542a78b1d7080d6c3a88002ee7fa192e3f63209b359030d156e116155dc4f92d46e5fac89c3f21c7f2773a5b8c2b277b5adeae8db13b8b17e60
7
+ data.tar.gz: 112d02b81594ae4ebff9c15d39209782cc84da6474191473feec7b6bad0a0096a37aa50f673660356923017815b9d691c537b22af15c31d483cb291ce00f4947
@@ -4496,8 +4496,6 @@ module Google
4496
4496
  # @return [::String,nil]
4497
4497
  # @!attribute [rw] credentials
4498
4498
  # Credentials to send with calls. You may provide any of the following types:
4499
- # * (`String`) The path to a service account key file in JSON format
4500
- # * (`Hash`) A service account key as a Hash
4501
4499
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4502
4500
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4503
4501
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4506,7 +4504,26 @@ module Google
4506
4504
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4507
4505
  # * (`nil`) indicating no credentials
4508
4506
  #
4509
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4507
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4508
+ # is deprecated. Providing an unvalidated credential configuration to
4509
+ # Google APIs can compromise the security of your systems and data.
4510
+ #
4511
+ # @example
4512
+ #
4513
+ # # The recommended way to provide credentials is to use the `make_creds` method
4514
+ # # on the appropriate credentials class for your environment.
4515
+ #
4516
+ # require "googleauth"
4517
+ #
4518
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4519
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4520
+ # )
4521
+ #
4522
+ # client = ::Google::Cloud::CloudDMS::V1::DataMigrationService::Client.new do |config|
4523
+ # config.credentials = credentials
4524
+ # end
4525
+ #
4526
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4510
4527
  # external source for authentication to Google Cloud, you must validate it before
4511
4528
  # providing it to a Google API client library. Providing an unvalidated credential
4512
4529
  # 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 CloudDMS
23
23
  module V1
24
- VERSION = "1.5.0"
24
+ VERSION = "1.5.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_dms-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC