google-cloud-essential_contacts-v1 1.4.0 → 1.4.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: b56d175da5abd2fa8cdd5abe7cd84581593be050e9a1ac9d0a2748be3c3eccf9
4
- data.tar.gz: ef6772ec7b7e8e3522c7eba599fd28a1886f00db4f4794c98d4ef1170665b05f
3
+ metadata.gz: 4063ef7fbe2319990aa02bf9b2e877015edfef1833a1edf6b62ecdfcac18e43d
4
+ data.tar.gz: 178d11b02f8c8684604be21cee2472e79f6823757285d48b6a9ffc223d280973
5
5
  SHA512:
6
- metadata.gz: b0ac77db56be7ad5eac181cbc45c9ae5031c6e9198964eb7fc8b5fcdda984551b8d37bf3fcc6710f97c05260dc5a75b730283efcf38aad21f521ca102f68c93d
7
- data.tar.gz: c2e2e5b2daaea712ddea85cde52b6ed86f6d87b5dc17aa82574da0b88783055b6a2852b4bf87bd67cdc46a5073f335038cfad066bf3ac0d1238ad164ae146384
6
+ metadata.gz: 3fccb822ef33a5edf7beec3c38b656dbc96ef72cff70bf0221d22c333764d670e1c6ab88a783b69fda7b14dce658c7b8b800baa607f9e603a0d8b9a95df205f8
7
+ data.tar.gz: 1d7aa0c18607008a4d135aa2be78060fe69ff2e11fc1ef8b1d08debe021d2f9d30ea2c821b92e07ecd2087ca81845e840bb9f63693c1ce8d83c434d061f1b18c
@@ -905,8 +905,6 @@ module Google
905
905
  # @return [::String,nil]
906
906
  # @!attribute [rw] credentials
907
907
  # Credentials to send with calls. You may provide any of the following types:
908
- # * (`String`) The path to a service account key file in JSON format
909
- # * (`Hash`) A service account key as a Hash
910
908
  # * (`Google::Auth::Credentials`) A googleauth credentials object
911
909
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
912
910
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -915,7 +913,26 @@ module Google
915
913
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
916
914
  # * (`nil`) indicating no credentials
917
915
  #
918
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
916
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
917
+ # is deprecated. Providing an unvalidated credential configuration to
918
+ # Google APIs can compromise the security of your systems and data.
919
+ #
920
+ # @example
921
+ #
922
+ # # The recommended way to provide credentials is to use the `make_creds` method
923
+ # # on the appropriate credentials class for your environment.
924
+ #
925
+ # require "googleauth"
926
+ #
927
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
928
+ # json_key_io: ::File.open("/path/to/keyfile.json")
929
+ # )
930
+ #
931
+ # client = ::Google::Cloud::EssentialContacts::V1::EssentialContactsService::Client.new do |config|
932
+ # config.credentials = credentials
933
+ # end
934
+ #
935
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
919
936
  # external source for authentication to Google Cloud, you must validate it before
920
937
  # providing it to a Google API client library. Providing an unvalidated credential
921
938
  # 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 EssentialContacts
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.4.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-essential_contacts-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC