google-maps-fleet_engine-delivery-v1 0.8.0 → 0.8.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: 47903d56c5f21f711df7031b5a17142309f797e6aaea47cce6ba6d4ff0710610
|
|
4
|
+
data.tar.gz: 6a517f93a6d3218443b4cc8e3be67eda81f9a5a52fbcda293ffc6c61835c7563
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d82f6bc89998afdd5e080f00b22a53a9bd2993fcb80bf32889ae1a82ddc7c2b5ef99610fb0e48be30aec79793b57e57b664f0338aa4927a7c9c98cfc48557145
|
|
7
|
+
data.tar.gz: b0697299bea88f1175770b807e6b3237d9ecc04df130792274404bd4c5fab64b9eb2bcc73231213ec1accf5f87d3c876c84320f6fe9f108889198621e3598ef2
|
|
@@ -1506,8 +1506,6 @@ module Google
|
|
|
1506
1506
|
# @return [::String,nil]
|
|
1507
1507
|
# @!attribute [rw] credentials
|
|
1508
1508
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1509
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1510
|
-
# * (`Hash`) A service account key as a Hash
|
|
1511
1509
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1512
1510
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1513
1511
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1516,7 +1514,26 @@ module Google
|
|
|
1516
1514
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1517
1515
|
# * (`nil`) indicating no credentials
|
|
1518
1516
|
#
|
|
1519
|
-
# Warning:
|
|
1517
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1518
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1519
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1520
|
+
#
|
|
1521
|
+
# @example
|
|
1522
|
+
#
|
|
1523
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1524
|
+
# # on the appropriate credentials class for your environment.
|
|
1525
|
+
#
|
|
1526
|
+
# require "googleauth"
|
|
1527
|
+
#
|
|
1528
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1529
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1530
|
+
# )
|
|
1531
|
+
#
|
|
1532
|
+
# client = ::Google::Maps::FleetEngine::Delivery::V1::DeliveryService::Client.new do |config|
|
|
1533
|
+
# config.credentials = credentials
|
|
1534
|
+
# end
|
|
1535
|
+
#
|
|
1536
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1520
1537
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1521
1538
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1522
1539
|
# configuration to Google APIs can compromise the security of your systems and data.
|