google-cloud-rapid_migration_assessment-v1 2.3.0 → 2.3.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: 86829158849875b96aadc5e0922ab08a1276b7ff0fe679b3cb19553923f856cd
4
- data.tar.gz: 7cea3821d4fe300e7e6dcbe95e8f010003284046a5a11622835791f58016e3f5
3
+ metadata.gz: 2537a07e2d81e581397ed18972ee5c691f1332ed633ae39c87fd6a684283ac4c
4
+ data.tar.gz: f5917530586c697bf354416df90f64d549f4e27687c0ee78712c8de7ab19a2f1
5
5
  SHA512:
6
- metadata.gz: 78298c6e376e9571d1c2abb40f4f7e8d2ec0fdffd5f6fc6328ca33fbb945cc46f2b5ad75d246575e2de4b8715bb93aa1aff1e2ea860cc58b660a9f10bfb4748d
7
- data.tar.gz: 2fbb157200a90b46bbe11dccf26776f6d58b29b3bb763328e9cb1174ed4fe555916af806e1646926b59b86fdd973fe86e20d75fe5ad4a0900eeb432879a43020
6
+ metadata.gz: 0bcc703426497aac5176c686943f82149fe87c376d99d6d007a59bfd5ada4d5dda01645e5db01a0431b2613bc5a0de32b2d2fb086195abed73bfae45ea9934f0
7
+ data.tar.gz: 8e20389d2ec09f267759a2a3cc2efac4debabfbf5cdaa8e1a3ab6752ad455bef53d3dd6a07b18501b76f1e3cabe390cda1f26ff681959f2741d1110391f75a70
@@ -1293,8 +1293,6 @@ module Google
1293
1293
  # @return [::String,nil]
1294
1294
  # @!attribute [rw] credentials
1295
1295
  # Credentials to send with calls. You may provide any of the following types:
1296
- # * (`String`) The path to a service account key file in JSON format
1297
- # * (`Hash`) A service account key as a Hash
1298
1296
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1299
1297
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1300
1298
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1303,7 +1301,26 @@ module Google
1303
1301
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1304
1302
  # * (`nil`) indicating no credentials
1305
1303
  #
1306
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1304
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1305
+ # is deprecated. Providing an unvalidated credential configuration to
1306
+ # Google APIs can compromise the security of your systems and data.
1307
+ #
1308
+ # @example
1309
+ #
1310
+ # # The recommended way to provide credentials is to use the `make_creds` method
1311
+ # # on the appropriate credentials class for your environment.
1312
+ #
1313
+ # require "googleauth"
1314
+ #
1315
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1316
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1317
+ # )
1318
+ #
1319
+ # client = ::Google::Cloud::RapidMigrationAssessment::V1::RapidMigrationAssessment::Client.new do |config|
1320
+ # config.credentials = credentials
1321
+ # end
1322
+ #
1323
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1307
1324
  # external source for authentication to Google Cloud, you must validate it before
1308
1325
  # providing it to a Google API client library. Providing an unvalidated credential
1309
1326
  # 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 RapidMigrationAssessment
23
23
  module V1
24
- VERSION = "2.3.0"
24
+ VERSION = "2.3.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-rapid_migration_assessment-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC