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: 20007981df5d6740ae8f555a2757abed31e919bf7e39d613975f6e4e322fcfd6
4
- data.tar.gz: 5ed5b1e282dcae6d9ae9138d59f6b732cc1ccf7af9be5daa6167804de88713df
3
+ metadata.gz: 47903d56c5f21f711df7031b5a17142309f797e6aaea47cce6ba6d4ff0710610
4
+ data.tar.gz: 6a517f93a6d3218443b4cc8e3be67eda81f9a5a52fbcda293ffc6c61835c7563
5
5
  SHA512:
6
- metadata.gz: b8b46c53b579422143ca0c5eba3f4ca2e1062d000dbacd6520781f06dbd07b698e5fe8fff7a99c762f10e846fe33ca825513247871133809c677401e97fe479c
7
- data.tar.gz: 49a4b48a4026971bc760548c57a26944d73bfbe49127de5048f02fb5b02fb21aae8170131d720d5019b124620a04d8781bc781cfdd15f4d105891c3e41345a00
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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -22,7 +22,7 @@ module Google
22
22
  module FleetEngine
23
23
  module Delivery
24
24
  module V1
25
- VERSION = "0.8.0"
25
+ VERSION = "0.8.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-maps-fleet_engine-delivery-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