google-maps-fleet_engine-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: 762e2e6dba5b52c2c6e3279284e3f4159838da46c59ba348f7543f733bf6d204
|
|
4
|
+
data.tar.gz: 1192f2b9c92e709a31d129a6740fb0ec2a6a8a5531bcc232d8deb0328b41e48b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18d920f11e63f209ad644efe35b23c429e95cf3ceb02f06e256685633b31671b4ca0b226cdbd35f2214ac26ba90c4c376abb9aa48935e36c52d03533e8b3be5c
|
|
7
|
+
data.tar.gz: b6aeee5c84561f32307da3ccf3ca7c3cfa29223b9b5db39ec4eec32708e0a43af9cc830e79edea041498a8c139f4f1fa6fa76b720861296c8150154d8a62c4e8
|
|
@@ -945,8 +945,6 @@ module Google
|
|
|
945
945
|
# @return [::String,nil]
|
|
946
946
|
# @!attribute [rw] credentials
|
|
947
947
|
# Credentials to send with calls. You may provide any of the following types:
|
|
948
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
949
|
-
# * (`Hash`) A service account key as a Hash
|
|
950
948
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
951
949
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
952
950
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -955,7 +953,26 @@ module Google
|
|
|
955
953
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
956
954
|
# * (`nil`) indicating no credentials
|
|
957
955
|
#
|
|
958
|
-
# Warning:
|
|
956
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
957
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
958
|
+
# Google APIs can compromise the security of your systems and data.
|
|
959
|
+
#
|
|
960
|
+
# @example
|
|
961
|
+
#
|
|
962
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
963
|
+
# # on the appropriate credentials class for your environment.
|
|
964
|
+
#
|
|
965
|
+
# require "googleauth"
|
|
966
|
+
#
|
|
967
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
968
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
969
|
+
# )
|
|
970
|
+
#
|
|
971
|
+
# client = ::Google::Maps::FleetEngine::V1::TripService::Client.new do |config|
|
|
972
|
+
# config.credentials = credentials
|
|
973
|
+
# end
|
|
974
|
+
#
|
|
975
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
959
976
|
# external source for authentication to Google Cloud, you must validate it before
|
|
960
977
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
961
978
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1248,8 +1248,6 @@ module Google
|
|
|
1248
1248
|
# @return [::String,nil]
|
|
1249
1249
|
# @!attribute [rw] credentials
|
|
1250
1250
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1251
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1252
|
-
# * (`Hash`) A service account key as a Hash
|
|
1253
1251
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1254
1252
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1255
1253
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1258,7 +1256,26 @@ module Google
|
|
|
1258
1256
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1259
1257
|
# * (`nil`) indicating no credentials
|
|
1260
1258
|
#
|
|
1261
|
-
# Warning:
|
|
1259
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1260
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1261
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1262
|
+
#
|
|
1263
|
+
# @example
|
|
1264
|
+
#
|
|
1265
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1266
|
+
# # on the appropriate credentials class for your environment.
|
|
1267
|
+
#
|
|
1268
|
+
# require "googleauth"
|
|
1269
|
+
#
|
|
1270
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1271
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1272
|
+
# )
|
|
1273
|
+
#
|
|
1274
|
+
# client = ::Google::Maps::FleetEngine::V1::VehicleService::Client.new do |config|
|
|
1275
|
+
# config.credentials = credentials
|
|
1276
|
+
# end
|
|
1277
|
+
#
|
|
1278
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1262
1279
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1263
1280
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1264
1281
|
# configuration to Google APIs can compromise the security of your systems and data.
|