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: 180b094437e8a79f4c50ec72840f0dadb641e24b2d9fb44b5fb47b2dbfcae155
4
- data.tar.gz: 47c46c5772e8961d19199ba231e7f01ef68a2d820f6e8672bd4a1e6e64d88a75
3
+ metadata.gz: 762e2e6dba5b52c2c6e3279284e3f4159838da46c59ba348f7543f733bf6d204
4
+ data.tar.gz: 1192f2b9c92e709a31d129a6740fb0ec2a6a8a5531bcc232d8deb0328b41e48b
5
5
  SHA512:
6
- metadata.gz: 201c3e13bfb0571f299dc152c8462ba29a996ede21e8bef924bc9d818e4925e345b215d0effbd588ede2c3510cfba54a3de52bf4498169790ffd1bad51704f6e
7
- data.tar.gz: e7a1e1248169a02e0860bd372c41b0a142006c7a8ad0f8be5a4185df771bce46f5458330c099bf7a95c9766d85f3ab3fe8107f452d4e3a947f8fca0b1e511dcc
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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Maps
22
22
  module FleetEngine
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "0.8.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-maps-fleet_engine-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC