google-cloud-config_service-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: eee7b136ca1d895195cbbafe74b383651393622fee57c829ce9d20fd5f815b83
4
- data.tar.gz: 7c0d85ac4e9075280089e774872bfb0ccdc00bfb7def9e063e9365f7d44492a6
3
+ metadata.gz: 1b73b2c123606b5828c274465b3fd59f0ea13b6b0274e8404e162d39713377b0
4
+ data.tar.gz: c9052b279eb441a51a5f8d10215a9f1965d03d7465e3c379bd8b01f4658622cc
5
5
  SHA512:
6
- metadata.gz: 623d1a5ebff49c03fd2dd0578dd3064615baebec084c4a620c7433c26de08c9dafbd78c735f09644d6ef0fd9235b9b3eaf2a4705f17ebada047f5e8b912af97d
7
- data.tar.gz: cfac07adca89f40822e9d44f0fa7778f5984241b031b521b86a41c3b958d8b9c8611745ddb27f3df45f8b4bb3acc20bf693841042b1675a65b5f7d1b84776a31
6
+ metadata.gz: b2df964ceec8889322ead7d2df21064285fd0c7470775ff62d3d44dcca4e51ecebffb7c8dbd57c8db567d3e0736fe49288c7744247194a9e272834794fad16fa
7
+ data.tar.gz: a6b76370562f8d2dc7e262aff299f431e4075a062d20479b756596ad429cd1c03706d139d6f829716bca9a66ebd56ebe043c7d3d3319e82d76eb8f79f11def96
@@ -3012,8 +3012,6 @@ module Google
3012
3012
  # @return [::String,nil]
3013
3013
  # @!attribute [rw] credentials
3014
3014
  # Credentials to send with calls. You may provide any of the following types:
3015
- # * (`String`) The path to a service account key file in JSON format
3016
- # * (`Hash`) A service account key as a Hash
3017
3015
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3018
3016
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3019
3017
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3022,7 +3020,26 @@ module Google
3022
3020
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3023
3021
  # * (`nil`) indicating no credentials
3024
3022
  #
3025
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3023
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3024
+ # is deprecated. Providing an unvalidated credential configuration to
3025
+ # Google APIs can compromise the security of your systems and data.
3026
+ #
3027
+ # @example
3028
+ #
3029
+ # # The recommended way to provide credentials is to use the `make_creds` method
3030
+ # # on the appropriate credentials class for your environment.
3031
+ #
3032
+ # require "googleauth"
3033
+ #
3034
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3035
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3036
+ # )
3037
+ #
3038
+ # client = ::Google::Cloud::ConfigService::V1::Config::Client.new do |config|
3039
+ # config.credentials = credentials
3040
+ # end
3041
+ #
3042
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3026
3043
  # external source for authentication to Google Cloud, you must validate it before
3027
3044
  # providing it to a Google API client library. Providing an unvalidated credential
3028
3045
  # 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 ConfigService
23
23
  module V1
24
- VERSION = "2.5.0"
24
+ VERSION = "2.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-config_service-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