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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 568b56ecedcadc4924994e4448efc30dbd879cd907c846c020ef1ab4d68c34dd
|
|
4
|
+
data.tar.gz: be3164d4496fc6beefb4b77d1fc4157f6d734f9ee7392be771ad30e75f481c63
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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.
|