google-cloud-location_finder-v1 0.1.0 → 0.1.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: 18abda5d72a6e23f80552bdcead5a9922e7ea4fe763f5b13558d655623ce15cb
4
- data.tar.gz: 738f950e8ffee46bd946cd14dd4dba5de6f6f4acc973ff977d8b37a986b8d0ea
3
+ metadata.gz: 568b56ecedcadc4924994e4448efc30dbd879cd907c846c020ef1ab4d68c34dd
4
+ data.tar.gz: be3164d4496fc6beefb4b77d1fc4157f6d734f9ee7392be771ad30e75f481c63
5
5
  SHA512:
6
- metadata.gz: 2c58dcebe57e71edb40228e7ca031f5757385b8794ad32b645a5ce4c43838a86116b20a4e1072d58b1313accdcbf51347e3767057a6f7c8c04f6f43f4b149aef
7
- data.tar.gz: b497717f8ed9f0e3bad831e4a27b3a95edc61b15573340b038f70b2897951709e524ccaba692788977a195aabf4e82876374c743613f8bb4623334197cddffc1
6
+ metadata.gz: 524a6fcd85fb4cc247c51c965c76be0e1a4fc5c3533f2f31e40908a74619de667b39bd87e1b9f4fe2915e18deee2f34eaf3ae45cb93d848b437d152f755d1a7d
7
+ data.tar.gz: ccd566b00fedabd3b82b68ae454b49f4937177ca25a2421c4386cee102dd2406f31fca12164ecfb4e8ed8b70a041b0d2960ffa720344cafac36b41de5f3876f3
@@ -554,8 +554,6 @@ module Google
554
554
  # @return [::String,nil]
555
555
  # @!attribute [rw] credentials
556
556
  # Credentials to send with calls. You may provide any of the following types:
557
- # * (`String`) The path to a service account key file in JSON format
558
- # * (`Hash`) A service account key as a Hash
559
557
  # * (`Google::Auth::Credentials`) A googleauth credentials object
560
558
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
561
559
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -564,7 +562,26 @@ module Google
564
562
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
565
563
  # * (`nil`) indicating no credentials
566
564
  #
567
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
565
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
566
+ # is deprecated. Providing an unvalidated credential configuration to
567
+ # Google APIs can compromise the security of your systems and data.
568
+ #
569
+ # @example
570
+ #
571
+ # # The recommended way to provide credentials is to use the `make_creds` method
572
+ # # on the appropriate credentials class for your environment.
573
+ #
574
+ # require "googleauth"
575
+ #
576
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
577
+ # json_key_io: ::File.open("/path/to/keyfile.json")
578
+ # )
579
+ #
580
+ # client = ::Google::Cloud::LocationFinder::V1::CloudLocationFinder::Client.new do |config|
581
+ # config.credentials = credentials
582
+ # end
583
+ #
584
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
568
585
  # external source for authentication to Google Cloud, you must validate it before
569
586
  # providing it to a Google API client library. Providing an unvalidated credential
570
587
  # 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 LocationFinder
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.1.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-location_finder-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC