google-cloud-vm_migration-v1 2.5.0 → 2.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: 4ff91d6be15de56cb8ea408141ad1ef6fbe8e2095cdbf6a76366f83360799b0f
4
- data.tar.gz: 0c918b68220e184880b468dff821ea9e29014ca68bbde6827e8a76eb004487a5
3
+ metadata.gz: f94ca36436104aba3c97d42447edb85d17a5edcd2c5c59a0819711e5b4bb82fc
4
+ data.tar.gz: f34d23b4aa7050672e61ca119ddf2df48f2e0562d854871bc117690f2c799acd
5
5
  SHA512:
6
- metadata.gz: ce6d4125aa3285018a2208fa9e15cc8e5bffee4eeb8f9d21f5c8eedbd7cb42f90250124afb735e65374aec2f4dab50efd31eab6259a7da89336afa93d68c019e
7
- data.tar.gz: f0b61c478b29c9e61f79190e335bd0e87e098debead59b030850165f70bea36c7c7dfa8d323775493ef5ccbf9dad9d504611af87252fbadfbd00f38b0a4cd8b5
6
+ metadata.gz: 1d49dfa36bc636e7f38141c0f3857b6096e5480fcd4ec81f7cd7aa5b7aa7d0a57eae372668af6d698d13e19f22cd75e4656eb1c483bfcf02d4adf0e52be854a4
7
+ data.tar.gz: aa94984a60964f015f5df77762084bbb8593db780e805972f04af43af73fff0eaa26906fb03897e5f36a168c5048506ea5c0d6607051f9d00253d9085f579443
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VMMigration
23
23
  module V1
24
- VERSION = "2.5.0"
24
+ VERSION = "2.5.1"
25
25
  end
26
26
  end
27
27
  end
@@ -6575,8 +6575,6 @@ module Google
6575
6575
  # @return [::String,nil]
6576
6576
  # @!attribute [rw] credentials
6577
6577
  # Credentials to send with calls. You may provide any of the following types:
6578
- # * (`String`) The path to a service account key file in JSON format
6579
- # * (`Hash`) A service account key as a Hash
6580
6578
  # * (`Google::Auth::Credentials`) A googleauth credentials object
6581
6579
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
6582
6580
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -6585,7 +6583,26 @@ module Google
6585
6583
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
6586
6584
  # * (`nil`) indicating no credentials
6587
6585
  #
6588
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
6586
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
6587
+ # is deprecated. Providing an unvalidated credential configuration to
6588
+ # Google APIs can compromise the security of your systems and data.
6589
+ #
6590
+ # @example
6591
+ #
6592
+ # # The recommended way to provide credentials is to use the `make_creds` method
6593
+ # # on the appropriate credentials class for your environment.
6594
+ #
6595
+ # require "googleauth"
6596
+ #
6597
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
6598
+ # json_key_io: ::File.open("/path/to/keyfile.json")
6599
+ # )
6600
+ #
6601
+ # client = ::Google::Cloud::VMMigration::V1::VMMigration::Client.new do |config|
6602
+ # config.credentials = credentials
6603
+ # end
6604
+ #
6605
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
6589
6606
  # external source for authentication to Google Cloud, you must validate it before
6590
6607
  # providing it to a Google API client library. Providing an unvalidated credential
6591
6608
  # 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.
@@ -543,8 +543,6 @@ module Google
543
543
  # @return [::String,nil]
544
544
  # @!attribute [rw] credentials
545
545
  # Credentials to send with calls. You may provide any of the following types:
546
- # * (`String`) The path to a service account key file in JSON format
547
- # * (`Hash`) A service account key as a Hash
548
546
  # * (`Google::Auth::Credentials`) A googleauth credentials object
549
547
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
550
548
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -553,7 +551,26 @@ module Google
553
551
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
554
552
  # * (`nil`) indicating no credentials
555
553
  #
556
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
554
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
555
+ # is deprecated. Providing an unvalidated credential configuration to
556
+ # Google APIs can compromise the security of your systems and data.
557
+ #
558
+ # @example
559
+ #
560
+ # # The recommended way to provide credentials is to use the `make_creds` method
561
+ # # on the appropriate credentials class for your environment.
562
+ #
563
+ # require "googleauth"
564
+ #
565
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
566
+ # json_key_io: ::File.open("/path/to/keyfile.json")
567
+ # )
568
+ #
569
+ # client = ::Google::Iam::V1::IAMPolicy::Client.new do |config|
570
+ # config.credentials = credentials
571
+ # end
572
+ #
573
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
557
574
  # external source for authentication to Google Cloud, you must validate it before
558
575
  # providing it to a Google API client library. Providing an unvalidated credential
559
576
  # configuration to Google APIs can compromise the security of your systems and data.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vm_migration-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC