google-cloud-financial_services-v1 0.4.0 → 0.4.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: 162bdd2ef0e236ab7e56cded4e036a9ec48e0443d8afabd3ca1467be95488288
4
- data.tar.gz: 397192331eb08d95fbddf02c464672ec0299cb0fa133ef28822bf5edbab020e6
3
+ metadata.gz: 3acfd70c4c963c6e962abe1993c19db05dd4f772bce7d9a17eb4ca4ff477c222
4
+ data.tar.gz: 34deb8fe0bdda7237bb63c79959c653a242a23317c8fbf94c4cf46fe5d2bce67
5
5
  SHA512:
6
- metadata.gz: c32934a9b65a389c4043dc732039f9a3263b561d57e5d04f8902287485993455407fdf656ea0be83e9c6da2e56b7c995432c11dc60a8393cfbcf1b3fa24b1482
7
- data.tar.gz: '009b281caf78eea88deb2f6f3556a921d0111d83cc4b3dbc2f049361475d3b6c8fcaead907da9c6d88bb23d0ef3c621d8ec95ddf5377c1286aff802c018f3e44'
6
+ metadata.gz: 29ee7c890db1a63e1bc900b2b7b27e81cbbc37af3eeee6ed638affa07ed33aa3fa9a03880cdbf096a2d3cf9093b5e767546dc0e1247130cdc405a72fb328cbdd
7
+ data.tar.gz: fa39e38b6a363de5b5a0c358e68a756ae304f1243a59103ff32f90cb7b9fdf66a06bdb04e4f9df46f912e98c924e8a560ff7016956254d6b2df476c81e2d9b86
@@ -4274,8 +4274,6 @@ module Google
4274
4274
  # @return [::String,nil]
4275
4275
  # @!attribute [rw] credentials
4276
4276
  # Credentials to send with calls. You may provide any of the following types:
4277
- # * (`String`) The path to a service account key file in JSON format
4278
- # * (`Hash`) A service account key as a Hash
4279
4277
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4280
4278
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4281
4279
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4284,7 +4282,26 @@ module Google
4284
4282
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4285
4283
  # * (`nil`) indicating no credentials
4286
4284
  #
4287
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4285
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4286
+ # is deprecated. Providing an unvalidated credential configuration to
4287
+ # Google APIs can compromise the security of your systems and data.
4288
+ #
4289
+ # @example
4290
+ #
4291
+ # # The recommended way to provide credentials is to use the `make_creds` method
4292
+ # # on the appropriate credentials class for your environment.
4293
+ #
4294
+ # require "googleauth"
4295
+ #
4296
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4297
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4298
+ # )
4299
+ #
4300
+ # client = ::Google::Cloud::FinancialServices::V1::AML::Client.new do |config|
4301
+ # config.credentials = credentials
4302
+ # end
4303
+ #
4304
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4288
4305
  # external source for authentication to Google Cloud, you must validate it before
4289
4306
  # providing it to a Google API client library. Providing an unvalidated credential
4290
4307
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module FinancialServices
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.4.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-cloud-financial_services-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC